Squid start upon boot

From: Anthony Lemons <[email protected]>
Date: Thu, 05 Nov 1998 14:18:55 -0500

Hi. I recently installed squid on a Linux RH5.1 machine. It works well but
I cannot figure out how to get it to automatically start when the machine
boots up. Can anyone provide any help? I've read the faq and have tried
all of the suggested ways of doing this yet they don't seem to work for me.
Here is what I presently have in rc.local:

if [ -f /usr/local/squid/bin/RunCache ]; then
     echo -n ' Squid'
     (/usr/local/squid/bin/RunCache &)
fi

Upon bootup, it appears to try and start squid but a line which reads,
"Running: squid -SY >> /usr/local/squid/squid.out 2>&1" keeps repeating on
the console. If I hit enter and do a ps ax it shows

 304 ? S 0:00 sh /usr/local/squid/bin/RunCache
 690 ? S 0:00 squid -sY

Every few seconds the following will show in ps but then disappear:
 
  716 ? R 0:00 (squid) -sY
  717 ? S 0:00 (dnsserver) -s 207.0.147.2 204.70.25.234
  718 ? S 0:00 (dnsserver) -s 207.0.147.2 204.70.25.234
  719 ? S 0:00 (dnsserver) -s 207.0.147.2 204.70.25.234
  720 ? S 0:00 (dnsserver) -s 207.0.147.2 204.70.25.234
  721 ? S 0:00 (dnsserver) -s 207.0.147.2 204.70.25.234
  722 ? S 0:00 (unlinkd)

Would appreciate any suggestions on this

Anthony Lemons
Received on Thu Nov 05 1998 - 12:50:56 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:42:58 MST