Hi Hans,in the logfile you provided (which is attached again for the record in the bug tracking software), I found these lines at the end of the first execution of squid:
2005/11/27 18:13:24| storeDirWriteCleanLogs: Starting... 2005/11/27 18:13:25| Finished. Wrote 0 entries. 2005/11/27 18:13:25| Took 0.0 seconds ( 0.0 entries/sec). FATAL: Bungled squid.conf line 2: http_access deny all Squid Cache (Version 2.5.STABLE9): Terminated abnormally.It seems that you first started squid with a uncorrect squid.conf and startup terminated abnormally before ownership of /var/spool/squid/ swap.state was set correctly. This can happen since squid drops root privileges late in the startup process, expecially the first time it is executed.
Please check the /etc/squid/squid.conf file for the error on line 2. Regards, L Il giorno 28/nov/05, alle ore 16:26, Hans Musil ha scritto:
Hi Luigi,The file owner for /var/spool/squid/swap.state is root.proxy, but should probably be proxy.proxy. The result is that squid terminates abnormaly.This file is not part of the squid package but is created by the squid process itself when it first creates the cache directory (with - z option). In a standard installation the cache dir is automatically created at the first run, with right owner of /var/spool/squid/ swap.state.OK, then /var/spool/squid/swap.state has probably been created at the end of the installation process, when calling invoke-rc.d squid start .Can you please provide more information on your local install?On my system, I have a basic standard installation, i.e. nothing selected in the tasksel dialog, plus very few other packages. The system has been newly installed only some days ago, so nothing special has happend to it. I did install squid via aptitude (only squid, nothing else in this step) and checked its log messages in /var/log/squid/cache.log . It told me about an abnormal termination of squid since the permission to open (write?) swap.state had been denied. I send you my cache.log as attatchment. After changing the file permission, I could start squid manualy and didn't get no more complains. Something else you want to know? Please tell me. Hans <cache.log.gz>
-- Luigi Gangitano -- <[EMAIL PROTECTED]> -- <[EMAIL PROTECTED]> GPG: 1024D/924C0C26: 12F8 9C03 89D3 DB4A 9972 C24A F19B A618 924C 0C26
cache.log.gz
Description: GNU Zip compressed data
PGP.sig
Description: Questa รจ un messaggio firmato elettronicamente

