Re: [squid-users] Squid start problem

From: Ehsan Lesani <ehsan@dont-contact.us>
Date: Tue, 2 Sep 2003 09:09:11 +0430

Dear Friend.
You should not make access.log, cache.log & swap.log your self.
The squid will create them when it begins to work.

Best wishes.
Ehsan Lesani.

----- Original Message -----
From: "ads squid" <adssquid@yahoo.com>
To: "Ehsan Lesani" <ehsan@safineh.net>; <squid-users@squid-cache.org>
Sent: Monday, September 01, 2003 2:13 PM
Subject: Re: [squid-users] Squid start problem

> I have added user and gruop.
> Then i Have given command :
> /usr/local/squid/sbin/squid -k parse
>
> No error.
> then command
> /usr/local/squid/sbin/squid -z
>
> Then I created files in directory "/var/log/squid"
> cache.log, access.log, store.log and swap.log
>
> no error.
> When i gave command
> /usr/local/squid/sbin/squid -NCd1 for first start of
> squid. It gives error as follows:
>
> [root@xyz root]# /usr/local/squid/sbin/squid -NCd1
> 2003/09/01 14:56:54| Starting Squid Cache version
> 2.5.STABLE3 for i686-pc-linux-gnu...
> 2003/09/01 14:56:54| Process ID 11628
> 2003/09/01 14:56:54| With 1024 file descriptors
> available
> 2003/09/01 14:56:54| Performing DNS Tests...
> 2003/09/01 14:56:54| Successful DNS name lookup
> tests...
> 2003/09/01 14:56:54| DNS Socket created at 0.0.0.0,
> port 32778, FD 4
> 2003/09/01 14:56:54| Adding nameserver 202.63.164.17
> from /etc/resolv.conf
> 2003/09/01 14:56:54| Adding nameserver 202.63.164.18
> from /etc/resolv.conf
> 2003/09/01 14:56:54| Unlinkd pipe opened on FD 9
> 2003/09/01 14:56:54| Swap maxSize 5120000 KB,
> estimated 102400 objects
> 2003/09/01 14:56:54| Target number of buckets: 5120
> 2003/09/01 14:56:54| Using 8192 Store buckets
> 2003/09/01 14:56:54| Max Mem size: 131072 KB
> 2003/09/01 14:56:54| Max Swap size: 5120000 KB
> 2003/09/01 14:56:54| /var/log/squid/swap.log.00: (13)
> Permission denied
> FATAL: storeUfsDirOpenSwapLog: Failed to open swap
> log.
> Aborted
>
> I have chomod swap.log to '777' still error.
> Help appreciated.
> Thanks
>
> --- Ehsan Lesani <ehsan@safineh.net> wrote:
> > You can add a new group by 'groupadd' command.
> > You can do it in X also.
> >
> > Best Regards.
> > Ehsan Lesani.
> > ----- Original Message -----
> > From: ads squid
> > To: Ehsan Lesani ; squid-users@squid-cache.org
> > Sent: Sunday, August 31, 2003 9:07 AM
> > Subject: Re: [squid-users] Squid start problem
> >
> >
> > How to add user and user group for squid on Linux
> > 8.0
> > Thanks
> >
> >
> > Ehsan Lesani <ehsan@safineh.net> wrote:
> > Dear friend you can change the
> > cache_effective_user in your squid.conf
> > configuration file.But it would be better if you
> > add a squid user and a
> > squid group to your Linux.
> >
> > Best Ragrds.
> > Ehsan Lesani.
> > ----- Original Message -----
> > From: "ads squid"
> > To:
> > Sent: Saturday, August 30, 2003 10:15 PM
> > Subject: [squid-users] Squid start problem
> >
> >
> > > I have compiled and installedsquid-2.5.STABLE3
> > version
> > > on my Linix 8.0 machine. It went smothly.
> > > As per squid FAQ I have created cache
> > directory. cache
> > > partition is also there.
> > >
> > > when I gave command
> > > [root@netshastri squid-2.5.STABLE3]#
> > > /usr/local/squid/sbin/squid -k parse
> > > It gives error.
> > >
> > > FATAL: getpwnam failed to find userid for
> > effective
> > > user 'squid'
> > > Squid Cache (Version 2.5.STABLE3): Terminated
> > > abnormally.
> > > CPU Usage: 0.004 seconds = 0.000 user + 0.004
> > sys
> > > Maximum Resident Size: 0 KB
> > > Page faults with physical i/o: 248
> > > Aborted
> > >
> > > Any clue for problem ?
> > > thanks
> > >
> > >
> > > __________________________________
> > > Do you Yahoo!?
> > > Yahoo! SiteBuilder - Free, easy-to-use web
> > site design software
> > > http://sitebuilder.yahoo.com
> >
> >
> >
> >
> --------------------------------------------------------------------------

----
> >   Do you Yahoo!?
> >   Yahoo! SiteBuilder - Free, easy-to-use web site
> > design software
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site design software
> http://sitebuilder.yahoo.com
Received on Mon Sep 01 2003 - 22:39:17 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:19:28 MST