I had the same problem. I don't know if it's the nicest solution, but I
added a line to /etc/inittab:
sq:2345:once:/usr/local/squid/bin/squid -s
Sander
> nithin ravanikar wrote:
>
> Hi,
> I have a problem with squid version 2.2.STABLE4.
> Its bit urgent.
>
> I am not able to start squid during boot time.
> I need to manually enter the command squid after boot
> to enable it
> in the backgroud.
>
> I have included the path to the squid bin in the file
> /etc/rc.d/rc.local
> /usr/sbin/squid
>
> but after the system is rebooted, checking from the
> client, squid is still not started.
> I enable it manually with the squid command after
> boot.
>
> How do i enable it during boot?
>
> If i run squid -NCd1 to debug the starting squid bin
> it gives the following message...
>
> 2000/04/08 13:13:09| Starting Squid Cache version
> 2.2.STABLE4 for i686-pc-linux-
> gnu...
> 2000/04/08 13:13:09| Process ID 746
> 2000/04/08 13:13:09| With 1024 file descriptors
> available
> 2000/04/08 13:13:09| Performing DNS Tests...
> 2000/04/08 13:13:09| Successful DNS name lookup
> tests...
> 2000/04/08 13:13:09| helperOpenServers: Starting 5
> 'dnsserver' processes
> 2000/04/08 13:13:14| Unlinkd pipe opened on FD 13
> 2000/04/08 13:13:14| Swap maxSize 102400 KB,
> estimated
> 7876 objects
> 2000/04/08 13:13:14| Target number of buckets: 157
> 2000/04/08 13:13:14| Using 8192 Store buckets,
> replacement runs every 10 seconds
> 2000/04/08 13:13:14| Max Mem size: 8192 KB
> 2000/04/08 13:13:14| Max Swap size: 102400 KB
> 2000/04/08 13:13:14| Rebuilding storage in Cache Dir
> #0 (DIRTY)
> 2000/04/08 13:13:14| Set Current Directory to
> /var/spool/squid
> 2000/04/08 13:13:14| Loaded Icons.
> 2000/04/08 13:13:14| commBind: Cannot bind socket FD
> 36 to *:3128: (98) Address
> already in use
> FATAL: Cannot open HTTP Port
>
> Kindly help
>
> Nithin
>
> __________________________________________________
> Do You Yahoo!?
> Talk to your friends online with Yahoo! Messenger.
> http://im.yahoo.com
>
>
**********************************************************************
Disclaimer
This email is confidential and intended solely for the use of
the individual to whom it is addressed. Any views or opinions
presented are solely those of the author and do not
necessarily represent those of the Azlan Holdings bv and/or
subsidiary. If you are not the intended recipient, be advised
that you have received this email in error and that any use,
dissemination, forwarding, printing, or copying of this email
is strictly prohibited.
If you have received this email in error please notify
Azlan Holdings MIS Helpdesk by telephone on
+31 (0) 79 3443200.
**********************************************************************
Received on Mon Apr 10 2000 - 02:17:07 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:52:53 MST