|
|

楼主 |
发表于 2004-4-7 15:23:24
|
显示全部楼层
[root@localhost sbin]# WARNING: Cannot write log file: /usr/local/squid/var/logs/cache.log
/usr/local/squid/var/logs/cache.log: Permission denied
messages will be sent to 'stderr'.
2004/04/07 15:17:38| Starting Squid Cache version 2.5.STABLE2 for i686-pc-linux-gnu...
2004/04/07 15:17:38| Process ID 2664
2004/04/07 15:17:38| With 1024 file descriptors available
2004/04/07 15:17:38| Performing DNS Tests...
2004/04/07 15:17:38| Successful DNS name lookup tests...
2004/04/07 15:17:38| DNS Socket created at 0.0.0.0, port 1025, FD 3
2004/04/07 15:17:38| Adding nameserver 202.101.172.46 from /etc/resolv.conf
2004/04/07 15:17:38| Adding nameserver 202.101.172.47 from /etc/resolv.conf
FATAL: Cannot open '/usr/local/squid/var/logs/access.log' for writing.
The parent directory must be writeable by the
user 'nobody', which is the cache_effective_user
set in squid.conf.
Squid Cache (Version 2.5.STABLE2): Terminated abnormally.
CPU Usage: 0.010 seconds = 0.010 user + 0.000 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 293
WARNING: Cannot write log file: /usr/local/squid/var/logs/cache.log
/usr/local/squid/var/logs/cache.log: Permission denied
messages will be sent to 'stderr'.
2004/04/07 15:17:42| Starting Squid Cache version 2.5.STABLE2 for i686-pc-linux-gnu...
2004/04/07 15:17:42| Process ID 2666
2004/04/07 15:17:42| With 1024 file descriptors available
2004/04/07 15:17:42| Performing DNS Tests...
2004/04/07 15:17:42| Successful DNS name lookup tests...
2004/04/07 15:17:42| DNS Socket created at 0.0.0.0, port 1025, FD 3
2004/04/07 15:17:42| Adding nameserver 202.101.172.46 from /etc/resolv.conf
2004/04/07 15:17:42| Adding nameserver 202.101.172.47 from /etc/resolv.conf
FATAL: Cannot open '/usr/local/squid/var/logs/access.log' for writing.
The parent directory must be writeable by the
user 'nobody', which is the cache_effective_user
set in squid.conf.
Squid Cache (Version 2.5.STABLE2): Terminated abnormally.
CPU Usage: 0.000 seconds = 0.000 user + 0.000 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 293
WARNING: Cannot write log file: /usr/local/squid/var/logs/cache.log
/usr/local/squid/var/logs/cache.log: Permission denied
messages will be sent to 'stderr'.
2004/04/07 15:17:45| Starting Squid Cache version 2.5.STABLE2 for i686-pc-linux-gnu...
2004/04/07 15:17:45| Process ID 2668
2004/04/07 15:17:45| With 1024 file descriptors available
2004/04/07 15:17:45| Performing DNS Tests...
2004/04/07 15:17:45| Successful DNS name lookup tests...
2004/04/07 15:17:45| DNS Socket created at 0.0.0.0, port 1025, FD 3
2004/04/07 15:17:45| Adding nameserver 202.101.172.46 from /etc/resolv.conf
2004/04/07 15:17:45| Adding nameserver 202.101.172.47 from /etc/resolv.conf
FATAL: Cannot open '/usr/local/squid/var/logs/access.log' for writing.
The parent directory must be writeable by the
user 'nobody', which is the cache_effective_user
set in squid.conf.
Squid Cache (Version 2.5.STABLE2): Terminated abnormally.
CPU Usage: 0.000 seconds = 0.000 user + 0.000 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 293
WARNING: Cannot write log file: /usr/local/squid/var/logs/cache.log
/usr/local/squid/var/logs/cache.log: Permission denied
messages will be sent to 'stderr'.
2004/04/07 15:17:48| Starting Squid Cache version 2.5.STABLE2 for i686-pc-linux-gnu...
2004/04/07 15:17:48| Process ID 2670
2004/04/07 15:17:48| With 1024 file descriptors available
2004/04/07 15:17:48| Performing DNS Tests...
2004/04/07 15:17:48| Successful DNS name lookup tests...
2004/04/07 15:17:48| DNS Socket created at 0.0.0.0, port 1025, FD 3
2004/04/07 15:17:48| Adding nameserver 202.101.172.46 from /etc/resolv.conf
2004/04/07 15:17:48| Adding nameserver 202.101.172.47 from /etc/resolv.conf
FATAL: Cannot open '/usr/local/squid/var/logs/access.log' for writing.
The parent directory must be writeable by the
user 'nobody', which is the cache_effective_user
set in squid.conf.
Squid Cache (Version 2.5.STABLE2): Terminated abnormally.
CPU Usage: 0.000 seconds = 0.000 user + 0.000 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 293
WARNING: Cannot write log file: /usr/local/squid/var/logs/cache.log
/usr/local/squid/var/logs/cache.log: Permission denied
messages will be sent to 'stderr'.
2004/04/07 15:17:51| Starting Squid Cache version 2.5.STABLE2 for i686-pc-linux-gnu...
2004/04/07 15:17:51| Process ID 2672
2004/04/07 15:17:51| With 1024 file descriptors available
2004/04/07 15:17:51| Performing DNS Tests...
2004/04/07 15:17:51| Successful DNS name lookup tests...
2004/04/07 15:17:51| DNS Socket created at 0.0.0.0, port 1025, FD 3
2004/04/07 15:17:51| Adding nameserver 202.101.172.46 from /etc/resolv.conf
2004/04/07 15:17:51| Adding nameserver 202.101.172.47 from /etc/resolv.conf
FATAL: Cannot open '/usr/local/squid/var/logs/access.log' for writing.
The parent directory must be writeable by the
user 'nobody', which is the cache_effective_user
set in squid.conf.
Squid Cache (Version 2.5.STABLE2): Terminated abnormally.
CPU Usage: 0.000 seconds = 0.000 user + 0.000 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 293 |
|