joaolaureano
(usa Outra)
Enviado em 25/08/2015 - 10:43h
Oi,pessoal
Eu usei o SQUID3 e estou só para fazer um servidor de cache
Usei esse link coimo referência :
http://www.hardware.com.br/livros/linux-redes/configurando-cache-paginas-arquivos.html
Copiei tudo e tal, mas acontece um erro um pouco estranho
root@debian:/etc/squid3# service squid3 status
● squid3.service - LSB: Squid HTTP Proxy version 3.x
Loaded: loaded (/etc/init.d/squid3)
Active: inactive (dead) since Ter 2015-08-25 07:24:36 BRT; 14min ago
Process: 2428 ExecStop=/etc/init.d/squid3 stop (code=exited, status=0/SUCCESS)
Process: 487 ExecStart=/etc/init.d/squid3 start (code=exited, status=0/SUCCESS)
Ago 25 07:04:12 debian squid[892]: Squid Parent: (squid-1) process 1109 exited with status 1
Ago 25 07:04:15 debian squid[892]: Squid Parent: (squid-1) process 1162 started
Ago 25 07:04:15 debian (squid-1)[1162]: Cannot open '/var/log/squid/access.log' because
the parent directory does not exist.
Please create the directory....
Ago 25 07:04:15 debian squid[892]: Squid Parent: (squid-1) process 1162 exited with status 1
Ago 25 07:04:18 debian squid[892]: Squid Parent: (squid-1) process 1188 started
Ago 25 07:04:18 debian (squid-1)[1188]: Cannot open '/var/log/squid/access.log' because
the parent directory does not exist.
Please create the directory....
Ago 25 07:04:18 debian squid[892]: Squid Parent: (squid-1) process 1188 exited with status 1
Ago 25 07:04:18 debian squid[892]: Squid Parent: (squid-1) process 1188 will not be restarted due to repeated, frequent failures
Ago 25 07:04:18 debian squid[892]: Exiting due to repeated, frequent failures
Ago 25 07:24:36 debian squid3[2428]: Stopping Squid HTTP Proxy 3.x: squid3.
Hint: Some lines were ellipsized, use -l to show in full.
PElo que entendi, ele não consegue ver o access.log,mas eu criei esse arquivo,como pode ver aqui:
root@debian:/etc/squid3# cd "/var/log"
root@debian:/var/log# cd "squid"
root@debian:/var/log/squid# ls
access.log
"OBS: o comando LS devolve todo os arquivos que estão no diretório,o nome deles..."
Alguma sugestão?