On Tue, Dec 08, 1998 at 11:28:25AM +1100, Dean McDonald wrote: > >[squid-2.1.PATCH1]# /usr/local/squid/bin/squid -z > >FATAL: none: (2) No such file or directory > >Squid Cache (Version 2.1.PATCH1): Terminated abnormally. > >CPU Usage: 0.050 seconds > >Maximum Resident Size: 0 KB > >Page faults with physical i/o: 231 > What did you set cache_effective_user to?. if you have set that to > nobody you need to chown your cache directories to the same. I don't think that's it: cache_effective_user nobody cache_effective_group nobody # ls -l /usr/local/squid/ total 4 drwxr-xr-x 2 nobody nobody 1024 Dec 7 15:32 bin drwxr-xr-x 2 nobody nobody 1024 Dec 7 18:51 cache drwxr-xr-x 4 nobody nobody 1024 Dec 7 18:54 etc drwxr-xr-x 2 nobody nobody 1024 Dec 7 15:32 logs > The > "No such file or directory" error, im not sure what would cause that, > usually that happens if you specify an alternative logging directory > and don't physically create it.. cache_access_log /usr/local/squid/logs/access.log cache_log /usr/local/squid/logs/cache.log cache_store_log /usr/local/squid/logs/store.log pid_filename /usr/local/squid/logs/squid.pid #ls -l /usr/local/squid/logs/ total 0 -rw-r--r-- 1 nobody nobody 0 Dec 7 18:58 access.log -rw-r--r-- 1 nobody nobody 0 Dec 7 18:58 cache.log -rw-r--r-- 1 nobody nobody 0 Dec 7 19:01 squid.pid -rw-r--r-- 1 nobody nobody 0 Dec 7 18:58 store.log > I'd say make sure that all your directories exist (logs/cache) > and check the permissions on /usr/local/squid/* , Its safe to have > /usr/local/squid/bin,etc owned by root, but you should have the "cache" and > "logs" directories owned by cache_effective_user. > > You could also try "touching" all the relevent logs files to make sure > they exist, although im sure that's not necessary. > > anyone feel free to contradict should I be incorrect. Thanks Dean. I did 'touch' all the log files, but that didn't solve the problem: # /usr/local/squid/bin/squid -z FATAL: none: (2) No such file or directory Squid Cache (Version 2.1.PATCH1): Terminated abnormally. CPU Usage: 0.030 seconds Maximum Resident Size: 0 KB Page faults with physical i/o: 157 -- John White Triceratops Admin [EMAIL PROTECTED]
