i guess rc.local line is wrong because squid exec file is in 
/usr/local/sbin/squid not in  /usr/local/squid/sbin/squid (as you wrote ). i 
mean you tell rc. to search for a file from one location and execute the file 
from another location

how did you install squid? from packages or from source (aka 
www.squid-cache.org -> squid.....tar.gz)?

if you install squid from packages then exec file is in /usr/local/sbin/squid 
and verify /etc/rc.local to have put this line BEFORE ECHO "."

if [ -f /usr/local/sbin/squid ]; then
       echo -n 'starting squid.......';   /usr/local/sbin/squid
fi

best regards,

edi

Luke Fogarty <[EMAIL PROTECTED]> wrote: Hi

Since moving from Cable to DSL, squid no longer starts on boot. I have
the following entry in /etc/rc.local

#start squid
if [ -f /usr/local/squid/sbin/squid ]; then
                echo -n ' Squid'
                /usr/local/sbin/squid

I've also tried just having /usr/local/sbin/squid in there

For DSL I'm using a modem, and the OpenBSD box is creating a virtual
tun0 interface and is making the PPPOE connection, I'm assuming it has
something to do with this? I have the squid startup line AFTER the PPPOE
connection line in rc.local? Squid starts fine once the machine has
completely booted.

I've checked /var/log/messages and /var/log/daemon but nothing of use in
there as far as I can tell

Any guidance is appreciated!

Regards

Luke
 Use Photomail to share photos without annoying attachments.

Reply via email to