Leonardo,

alterei em meu rc.squid:

de:
...   elif [ -G /usr/local/squid/sbin/squid ]; then
      /usr/local/squid/sbin/squid &&

para:
...   elif [ -G /usr/local/squid/sbin/squid ]; then
      /usr/local/squid/sbin/squid -D &&

e mesmo colocando um dns "nada a ver" ele não morre como antes,
ele dá um "warning" mas inicia o squid...


Abraços,

####################################
      Marcelo Salavee Lemos
  Servidores, Sistemas e Seguranca
 Nucleo de Tecnologia da Informacao
     Faculdade de Medicina USP
####################################



Leonardo Buonsanti escreveu:
> Marcelo,
>
> minha opinião é colocar no squid.conf
>
> nameserver 201.6.0.113 <http://201.6.0.113/>
> nameserver 201.6.0.100 <http://201.6.0.100/>
>
> eu acredito que se vc desabilitar esse teste...o squid não resolve 
> nome, e ninguém acessa nada..hehehehehe....
>
> tenta colocar essas tags no squid.conf e vê q q rola...
>
> abs!
>
> 2008/10/17 Marcelo Salavee Lemos <[EMAIL PROTECTED] 
> <mailto:[EMAIL PROTECTED]>>
>
>     Leonardo,
>
>     CPU Usage: 0.008 seconds = 0.004 user + 0.004 sys
>     Maximum Resident Size: 0 KB
>     Page faults with physical i/o: 0
>     2008/10/17 12:32:10| Starting Squid Cache version 3.0.STABLE6 for
>     i686-pc-linux-gnu...
>     2008/10/17 12:32:10| Process ID 3953
>     2008/10/17 12:32:10| With 1024 file descriptors available
>     2008/10/17 12:32:10| Performing DNS Tests...
>
>
>     FATAL: ipcache_init: DNS name lookup tests failed.
>     Squid Cache (Version 3.0.STABLE6): Terminated abnormally.
>     CPU Usage: 0.008 seconds = 0.008 user + 0.000 sys
>     Maximum Resident Size: 0 KB
>     Page faults with physical i/o: 0
>
>     depois do usuário desligar a religar a máquina:
>
>     2008/10/17 12:42:30| Starting Squid Cache version 3.0.STABLE6 for
>     i686-pc-linux-gnu...
>     2008/10/17 12:42:30| Process ID 3857
>     2008/10/17 12:42:30| With 1024 file descriptors available
>     2008/10/17 12:42:30| Performing DNS Tests...
>     2008/10/17 12:42:30| Successful DNS name lookup tests...
>     2008/10/17 12:42:30| DNS Socket created at 0.0.0.0
>     <http://0.0.0.0>, port 32879, FD 6
>     2008/10/17 12:42:30| Adding domain virtua.com.br
>     <http://virtua.com.br> from /etc/resolv.conf
>     2008/10/17 12:42:30| Adding nameserver 201.6.0.113
>     <http://201.6.0.113> from /etc/resolv.conf
>     2008/10/17 12:42:30| Adding nameserver 201.6.0.100
>     <http://201.6.0.100> from /etc/resolv.conf
>     2008/10/17 12:42:31| Unlinkd pipe opened on FD 10
>     2008/10/17 12:42:31| Store logging disabled
>     2008/10/17 12:42:31| Swap maxSize 102400 KB, estimated 7876 objects
>     2008/10/17 12:42:31| Target number of buckets: 393
>     2008/10/17 12:42:31| Using 8192 Store buckets
>     2008/10/17 12:42:31| Max Mem size: 8192 KB
>     2008/10/17 12:42:31| Max Swap size: 102400 KB
>     2008/10/17 12:42:31| Version 1 of swap file with LFS support
>     detected...
>     2008/10/17 12:42:31| Rebuilding storage in /usr/local/squid/var/cache
>     (DIRTY)
>     2008/10/17 12:42:31| Using Least Load store dir selection
>     2008/10/17 12:42:31| Set Current Directory to
>     /usr/local/squid/var/cache
>     2008/10/17 12:42:31| Loaded Icons.
>     2008/10/17 12:42:31| Accepting transparently proxied HTTP
>     connections at
>     0.0.0.0 <http://0.0.0.0>, port 3128, FD 11.
>     2008/10/17 12:42:31| Accepting ICP messages at 0.0.0.0
>     <http://0.0.0.0>, port 3130, FD 12.
>     2008/10/17 12:42:31| HTCP Disabled.
>     2008/10/17 12:42:31| Ready to serve requests.
>     2008/10/17 12:42:32| Store rebuilding is 6.34% complete
>     2008/10/17 12:42:33| Done reading /usr/local/squid/var/cache swaplog
>     (65155 entries)
>     2008/10/17 12:42:33| Finished rebuilding storage from disk.
>     2008/10/17 12:42:33| 35591 Entries scanned
>     2008/10/17 12:42:33| 0 Invalid entries.
>     2008/10/17 12:42:33| 0 With invalid flags.
>     2008/10/17 12:42:33| 6375 Objects loaded.
>     2008/10/17 12:42:33| 0 Objects expired.
>     2008/10/17 12:42:33| 29216 Objects cancelled.
>     2008/10/17 12:42:33| 0 Duplicate URLs purged.
>     2008/10/17 12:42:33| 0 Swapfile clashes avoided.
>     2008/10/17 12:42:33| Took 1.72 seconds (3708.86 objects/sec).
>     2008/10/17 12:42:33| Beginning Validation Procedure
>     2008/10/17 12:42:33| Completed Validation Procedure
>     2008/10/17 12:42:33| Validated 12775 Entries
>     2008/10/17 12:42:33| store_swap_size = 91876
>     2008/10/17 12:42:33| storeLateRelease: released 0 objects
>
>     não tem como desabilitar esta checagem do ipcache_init ? algo como um
>     "-D" da vida...
>
>     mistérios....
>
>     Abraços,
>     Marcelo
>
>
>     ----------------------------------------------------------
>     Esta mensagem pode conter informacao confidencial.
>     Se voce nao for o destinatario ou a pessoa autorizada a receber
>     esta mensagem, nao podera usar, copiar ou divulgar as informacoes nela
>     contidas ou tomar qualquer acao baseada nessas informacoes. Se
>     voce recebeu esta mensagem por engano, favor avisar imediatamente o
>     remetente, respondendo o e-mail e, em seguida, apague-o.
>     Agradecemos sua cooperacao.
>
>     This message may contain confidential information.
>     If you are not the addressee or authorized person to receive it
>     for the
>     addressee, you must not use, copy, disclose or take any action
>     based on
>     this message or any information herein. If you have received this
>     message
>     in error, please advise the sender immediately by replying this
>     e-mail
>     message and delete it.
>     Thanks in advance for your cooperation.
>     ----------------------------------------------------------
>     Nucleo de Tecnologia da Informacao - Faculdade de Medicina USP
>     ----------------------------------------------------------
>
>
>
>
> -- 
> Leonardo Buonsanti
>  

---------------------------------------------------------------------
Esta mensagem pode conter informacao confidencial.
Se voce nao for o destinatario ou a pessoa autorizada a receber
esta mensagem, nao podera usar, copiar ou divulgar as informacoes nela
contidas ou tomar qualquer acao baseada nessas informacoes. Se
voce recebeu esta mensagem por engano, favor avisar imediatamente o
remetente, respondendo o e-mail e, em seguida, apague-o.
Agradecemos sua cooperacao.

This message may contain confidential information.
If you are not the addressee or authorized person to receive it for the
addressee, you must not use, copy, disclose or take any action based on
this message or any information herein. If you have received this message
in error, please advise the sender immediately by replying this e-mail 
message and delete it.
Thanks in advance for your cooperation.
----------------------------------------------------------------------
   Nucleo de Tecnologia da Informacao - Faculdade de Medicina USP
----------------------------------------------------------------------

Responder a