RE: [squid-users] Error due to access.log

From: ads squid <adssquid@dont-contact.us>
Date: Wed, 26 Nov 2003 08:09:36 -0800 (PST)

I think it was not symbolic link it was hard link.

I tried ln as follows :
ln -sd /var/log/squid/ /usr/local/squid/var/logs/
and got message "ln: `/usr/local/squid/var/log': File
exists
"

But problem is not solved.
Do I have to reinstall squid?
Thanks for support.

--- Anthony Boynes <atb@msasolutions.com> wrote:
> A symbolic link is like a pointer to a file in
> another location. If you had
> a hard symbolic link to the access.log file it could
> have actually existed
> in /usr/local/squid/var and you could access it as
> if it was in /var/log.
> Deleting a hard link deletes the file from its true
> location.
>
> See the man pages for ln for specifics on how it
> works.
>
> --
> Anthony Boynes
>
> -----Original Message-----
> From: ads squid [mailto:adssquid@yahoo.com]
> Sent: Wednesday, November 26, 2003 8:29 AM
> To: Anthony Boynes; squid-users@squid-cache.org
> Subject: RE: [squid-users] Error due to access.log
>
>
> I am not getting what do you mean by symbolic link.
> Thank for support
> --- Anthony Boynes <atb@msasolutions.com> wrote:
> > Was it a symbolic link?
> >
> > -----Original Message-----
> > From: ads squid [mailto:adssquid@yahoo.com]
> > Sent: Wednesday, November 26, 2003 8:01 AM
> > To: squid-users@squid-cache.org
> > Subject: [squid-users] Error due to access.log
> >
> >
> > Hi,
> > Following is error in /var/log/messages file
> >
> > Nov 26 20:11:22 xyz squid[20230]: Squid Parent:
> > child
> > process 20574 started
> > Nov 26 20:11:28 xyz (squid): Cannot open
> > '/usr/local/squid/var/logs/access.log' for
> writing. ^IThe parent
> > directory must be writeable by the ^Iuser
> 'adssquid', which is
> > the
> > cache_effective_user ^Iset in squid.conf.
> >
> > By mistake I deleted /var/log/squid/access.log
> file.
> > Then recreated it in same directory and changed
> mode
> > of directory as required to by command "chmod 770
> /var/log/squid/"
> >
> > I do not know how come it is asking for access.log
> > file in directory '/usr/local/squid/var/logs/'.
> > There no such directory.
> >
> >
> > Follwoing are cache log messages.
> > "
> > 2003/11/26 20:11:22| Adding nameserver
> 202.63.164.18
> > from /etc/resolv.conf
> > FATAL: Cannot open
> > '/usr/local/squid/var/logs/access.log' for
> writing.
> > The parent directory must be writeable by the
> > user 'adssquid', which is the
> > cache_effective_user
> > set in squid.conf.
> > Squid Cache (Version 2.5.STABLE4): Terminated
> > abnormally.
> > CPU Usage: 0.006 seconds = 0.004 user + 0.002 sys
> > Maximum Resident Size: 0 KB
> > Page faults with physical i/o: 301
> > "
> > I can not resolve this problem.
> > Help appreciated.
> > Thanks
> >
> >
> >
> > __________________________________
> > Do you Yahoo!?
> > Protect your identity with Yahoo! Mail
> AddressGuard
> > http://antispam.yahoo.com/whatsnewfree
> >
> >
> >
>
>
> __________________________________
> Do you Yahoo!?
> Free Pop-Up Blocker - Get it now
> http://companion.yahoo.com/
>
>
>

__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/
Received on Wed Nov 26 2003 - 09:09:38 MST

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