Re: [squid-users] Problem squid at boot

From: mrdlnf <mrdlnf@dont-contact.us>
Date: Mon, 1 Aug 2005 21:28:55 -0700 (PDT)

Hi Kevin,

What effect if i don't use -N flag? -N option is for
non-daemon mode right? CMIIW

I put the pid file at default
(/usr/local/squid/var/logs).

what factor can cause my problem happen?

sorry for bad english :-(

Regards,
Davy

--- Kevin <kkadow@gmail.com> wrote:

> On 8/1/05, mrdlnf <mrdlnf@yahoo.com> wrote:
> > Hi Alls,
> >
> > I installed squid-2.5stable9 on Slackware 10.1,
> > I put /usr/local/squid/sbin/squid -DNsY in
> > /etc/rc.d/rc.local
>
> Are you sure you want to use the "-N" flag in
> rc.local?
>
>
> > But If i reboot or shutdown or unplug power or if
> the
> > power terminated accidentally, message at boot
> said
> > "Squid alerady running" n after that squid didn't
> > work.
> > i use diskd for squid.
> >
> > Any have experiences with this problem? or any
> advice?
>
> The technically correct solution is to ensure that
> 'shutdown' does a clean
> shutdown of your squid daemon, that will fix the
> majority of the cases
> where you might encounter "Squid already running".
>
> Secondly, check that your pidfile is written into a
> location that will
> be flushed
> at reboot (e.g. /var/run) . This is OS-dependent,
> so you might ask on a
> Slackware support list.
>
> Kevin
>

                
____________________________________________________
Start your day with Yahoo! - make it your home page
http://www.yahoo.com/r/hs
 
Received on Mon Aug 01 2005 - 22:28:57 MDT

This archive was generated by hypermail pre-2.1.9 : Thu Sep 01 2005 - 12:00:01 MDT