G.Moraes
(usa Ubuntu)
Enviado em 14/04/2009 - 12:45h
meu squid.conf contem as linhas cache_effective_user proxy e cache_effective_group proxy
o dono e grupo da pasta /var/log/squid é o proxy com mask recursiva 774 e o mesmo vale para o diretorio /var/spool/squid
porém quando tento debugar dá isso:
professor@server:~$ squid -d 9
professor@server:~$ 2009/04/14 12:37:06| ALERT: setgid: (1) Operation not permitted
WARNING: Cannot write log file: /var/log/squid/cache.log
/var/log/squid/cache.log: Permission denied
messages will be sent to 'stderr'.
2009/04/14 12:37:06| Starting Squid Cache version 2.7.STABLE3 for i386-debian-linux-gnu...
2009/04/14 12:37:06| Process ID 4015
2009/04/14 12:37:06| With 1024 file descriptors available
2009/04/14 12:37:06| Using epoll for the IO loop
2009/04/14 12:37:06| Performing DNS Tests...
2009/04/14 12:37:06| Successful DNS name lookup tests...
2009/04/14 12:37:06| DNS Socket created at 0.0.0.0, port 59333, FD 5
2009/04/14 12:37:06| Adding nameserver 208.67.222.222 from /etc/resolv.conf
2009/04/14 12:37:06| Adding nameserver 208.67.220.220 from /etc/resolv.conf
2009/04/14 12:37:06| User-Agent logging is disabled.
2009/04/14 12:37:06| Referer logging is disabled.
2009/04/14 12:37:06| logfileOpen: opening log /var/log/squid/access.log
FATAL: Cannot open '/var/log/squid/access.log' for writing.
The parent directory must be writeable by the
user 'proxy', which is the cache_effective_user
set in squid.conf. [[[[[JÁ ESTÁÁÁÁ]]]]
Squid Cache (Version 2.7.STABLE3): Terminated abnormally.
CPU Usage: 0.004 seconds = 0.004 user + 0.000 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0