[TriLUG] squid error

Mack.Joseph at epamail.epa.gov Mack.Joseph at epamail.epa.gov
Fri Feb 25 10:45:13 EST 2005


Joseph Mack PhD, High Performance Computing & Scientific Visualisation
LMIT, Supporting the EPA Research Triangle Park, NC 919-541-0007
Federal Contact - John B. Smith 919-541-1087 - smith.john at epa.gov

trilug-bounces at trilug.org wrote on 02/25/2005 10:27:35 AM:

> Starting squid for the first time in forever.. I'm getting
> the following error:
>
> init_cache_dir /var/spool/squid... /etc/init.d/squid: line
> 163: 12120 Aborted                 $SQUID -z -F -D 2>/dev/null
> Starting squid: /etc/init.d/squid: line 163: 12121 Aborted
> $SQUID $SQUID_OPTS 2>/dev/null
>                                                            [FAILED]
>
> line 163 is the "esac" of a case statement.  Has anyone
> else seen this error?

squid startup is touchy.

The demon writes as nobody.nobody and
needs write access to the logging directory before it will start.
I'm sure there are lots of other things that will
prevent squid from starting.

You are supposed to create a special directory for squid to log to
(/usr/var/something...) with the correct permissions. Looking
in several places for logs is a pain so I send the logs to /var/log/
and changed the permissions on /var/log/ to get it to
go. I'm sure this is a security violation, but I've decided to
do it anyhow.

Joe






More information about the TriLUG mailing list