can not load squid at boot

From: commando <commando@dont-contact.us>
Date: Tue, 06 Oct 1998 19:15:32 +0800

I follow the faq and document to install squid 2.0 , I create a user
"squid" with squid group , install squid into /usr/local/bin/squid/
,I want to load squid when system boot , so I add the line :

exec nohup su squid -c "/usr/local/squid/bin/squid -sY -d4" &

into /etc/rc.d/rc.local ( my os is RedHat 5.1 for x86 ), but it does not
work , I checked nohup.out in /etc/rc.d/ , there is a line :

1998/10/06 19:00:41| commBind: Cannot bind socket FD 42 to *:3128: (98) Address
already in use
FATAL: Cannot open HTTP Port

I guess this is the reason , but why ? under console , the command :

exec nohup su squid -c "/usr/local/squid/bin/squid -sY -d4" &

works well.
Received on Tue Oct 06 1998 - 04:17:45 MDT

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