Cletion,

Obrigado pela ajuda.
Mas os passo que tu me recomenda eu já fiz.
Confesso que não sei oque fazer.

Alguma sugestã mais ?

Velmont
  ----- Original Message ----- 
  From: [email protected] 
  To: [email protected] 
  Sent: Thursday, July 23, 2009 11:30 AM
  Subject: Re: [squid-br] Squid error


    


        "Velmont" <[email protected]> 
        Enviado por: [email protected] 
        23/07/2009 08:50 Favor responder a
              [email protected] 


       Para <[email protected]>  
              cc  
              Assunto [squid-br] Squid error 

              

       



    


        Ao tentar levantar o squid tenho falha e a mensagem no 
/var/log/messages. 

         
        Alguem sabe do que se trata? 
          
        O que fiz: 
        1.        Espaço em disco esta ok. 
        2.        existe o diretorio /var/log/squid 
        3.        permissões estão para a pasta /var/log/squid como 777 
        4.        diretório e arquivos para o user squid e grupo squid. 
        5.        Start como squid.conf simples da o mesmo erro. 
        6.        removido todo squid via yum e instalado novamente. 
        7.        Abaixo o squid.conf báciso. 
        http_port 3128 transparent
        visible_hostname empresaTLM 

        acl all src 0.0.0.0/0.0.0.0
        acl manager proto cache_object
        acl localhost src 127.0.0.1/255.255.255.255
        acl SSL_ports port 443 563
        acl Safe_ports port 80 # http
        acl Safe_ports port 21 # ftp
        acl Safe_ports port 443 563 # https, snews
        acl Safe_ports port 70 # gopher
        acl Safe_ports port 210 # wais
        acl Safe_ports port 280 # http-mgmt
        acl Safe_ports port 488 # gss-http
        acl Safe_ports port 591 # filemaker
        acl Safe_ports port 777 # multiling http
        acl Safe_ports port 901 # swat
        acl Safe_ports port 1025-65535 # portas altas
        acl purge method PURGE
        acl CONNECT method CONNECT 
          
        http_access allow manager localhost
        http_access deny manager
        http_access allow purge localhost
        http_access deny purge
        http_access deny !Safe_ports
        http_access deny CONNECT !SSL_ports 
          
        http_access allow localhost 
          

        http_access deny all 
        ---------------------------------------------------------------------- 
          
        Jul 23 08:57:14 empresaTLM squid[12256]: Squid Parent: child process 
12258 started
        Jul 23 08:57:15 empresaTLM (squid): Cannot open 
'/var/log/squid/store.log' for writing.#012#011The parent directory must be 
writeable by the#012#011user 'squid', which is the 
cache_effective_user#012#011set in squid.conf.
        Jul 23 08:57:15 empresaTLM squid[12256]: Squid Parent: child process 
12258 exited due to signal 6
        Jul 23 08:57:18 empresaTLM squid[12256]: Squid Parent: child process 
12265 started
        Jul 23 08:57:18 empresaTLM (squid): Cannot open 
'/var/log/squid/store.log' for writing.#012#011The parent directory must be 
writeable by the#012#011user 'squid', which is the 
cache_effective_user#012#011set in squid.conf.
        Jul 23 08:57:18 empresaTLM squid[12256]: Squid Parent: child process 
12265 exited due to signal 6
        Jul 23 08:57:21 empresaTLM squid[12256]: Squid Parent: child process 
12271 started
        Jul 23 08:57:21 empresaTLM dhcpd: DHCPREQUEST for 192.168.1.193 from 
00:11:d8:ad:f8:b0 (PC-06) via eth1
        Jul 23 08:57:21 empresaTLM dhcpd: DHCPACK on 192.168.1.193 to 
00:11:d8:ad:f8:b0 (PC-06) via eth1
        Jul 23 08:57:21 empresaTLM (squid): Cannot open 
'/var/log/squid/store.log' for writing.#012#011The parent directory must be 
writeable by the#012#011user 'squid', which is the 
cache_effective_user#012#011set in squid.conf.
        Jul 23 08:57:21 empresaTLM squid[12256]: Squid Parent: child process 
12271 exited due to signal 6
        Jul 23 08:57:24 empresaTLM squid[12256]: Squid Parent: child process 
12277 started
        Jul 23 08:57:24 empresaTLM (squid): Cannot open 
'/var/log/squid/store.log' for writing.#012#011The parent directory must be 
writeable by the#012#011user 'squid', which is the 
cache_effective_user#012#011set in squid.conf.
        Jul 23 08:57:24 empresaTLM squid[12256]: Squid Parent: child process 
12277 exited due to signal 6
        Jul 23 08:57:27 empresaTLM squid[12256]: Squid Parent: child process 
12284 started
        Jul 23 08:57:28 empresaTLM (squid): Cannot open 
'/var/log/squid/store.log' for writing.#012#011The parent directory must be 
writeable by the#012#011user 'squid', which is the 
cache_effective_user#012#011set in squid.conf.
        Jul 23 08:57:28 empresaTLM squid[12256]: Squid Parent: child process 
12284 exited due to signal 6
        Jul 23 08:57:28 empresaTLM squid[12256]: Exiting due to repeated, 
frequent failures 
          
        Obrigado, 
          
        Velmont 
          


        .
       

  Cara nessa linha: 

  " Cannot open '/var/log/squid/store.log' for writing.#012#011The parent 
directory must be writeable by the#012#011user 'squid', which is the 
cache_effective_user#012#011set in squid.conf. " 

  esta dizendo que o diretório/arquivo não estão com as permissões corretas... 
o que é realmente estranho, já que você disse que as permissões estão como 777. 

  Em todo caso manda um chown -R squid  /var/logs/squid  ou um chown -R 
squid.squid  /var/logs/squid 

  E antes disso, para desencargo de consciência, verifica se o sistema criou o 
usuário squid... 


  

Responder a