Re: [squid-users] echo "" > access.log

From: Brad Evans <djed@dont-contact.us>
Date: Mon, 7 May 2001 22:40:20 +1000

Are you running squid as root?

If not, binding to port 80 will require you to load it as root, otherwise
try a port above 1024

-Brad Evans

----- Original Message -----
From: "Stefan Berg" <stefan.berg@ausystem.com>
To: <squid-users@squid-cache.org>
Sent: Monday, May 07, 2001 9:13 PM
Subject: RE: [squid-users] echo "" > access.log

>
> My guess is that you already have a HTTP deamon bound to port 80 (such as
> Apache for example).
>
> Try using another port. I use port "8080".
>
> /Stefan
>
> > -----Original Message-----
> > From: Rizwan Khan [mailto:rizwan@beaconet.net]
> > Sent: den 7 maj 2001 01:14
> > To: Krasi Zlatev
> > Cc: squid-users@squid-cache.org
> > Subject: Re: [squid-users] echo "" > access.log
> >
> >
> > Hi,
> > I am new user of Squid and facing some problems , anyone pls. guide me
> > what i did wrong, problem is as follow
> > 001/05/06 05:35:47| Starting Squid Cache version 2.4.STABLE1 for
> > i586-pc-linux-gnu...
> > 2001/05/06 05:35:47| Process ID 1210
> > 2001/05/06 05:35:47| With 1024 file descriptors available
> > 2001/05/06 05:35:47| DNS Socket created on FD 4
> > 2001/05/06 05:35:47| Adding nameserver 192.168.2.1 from
> > /etc/resolv.conf
> >
> > 2001/05/06 05:35:47| Unlinkd pipe opened on FD 9
> > 2001/05/06 05:35:47| Swap maxSize 51200 KB, estimated 3938 objects
> > 2001/05/06 05:35:47| Target number of buckets: 196
> > 2001/05/06 05:35:47| Using 8192 Store buckets
> > 2001/05/06 05:35:47| Max Mem size: 8192 KB
> > 2001/05/06 05:35:47| Max Swap size: 51200 KB
> > 2001/05/06 05:35:47| Rebuilding storage in /cache/cache (DIRTY)
> > 2001/05/06 05:35:47| Using Least Load store dir selection
> > 2001/05/06 05:35:47| Set Current Directory to /cache/cache
> > 2001/05/06 05:35:47| Loaded Icons.
> > 2001/05/06 05:35:47| commBind: Cannot bind socket FD 10 to *:80: (13)
> > Permission denied
> > FATAL: Cannot open HTTP Port
> > Squid Cache (Version 2.4.STABLE1): Terminated abnormally.
> > CPU Usage: 0.210 seconds = 0.120 user + 0.090 sys
> > Maximum Resident Size: 0 KB
> > Page faults with physical i/o: 294
> > Memory usage for squid via mallinfo():
> > total space in arena: 2138 KB
> > Ordinary blocks: 2128 KB 4 blks
> > Small blocks: 0 KB 0 blks
> > Holding blocks: 176 KB 1 blks
> > Free Small blocks: 0 KB
> > Free Ordinary blocks: 9 KB
> > Total in use: 2304 KB 108%
> > Total free: 9 KB 0%
> >
> >
> > Rizwan Khan
> >
> >
> >
> > Krasi Zlatev wrote:
> >
> > > Is it a bad thing ot do echo "" > access.log
> > > echo "" > store.log, instead of squid -k rotate?
> > > Thank you.
> > >
> > > =====
> > > krasi@freeshell.org
> > >
> > > __________________________________________________
> > > Do You Yahoo!?
> > > Yahoo! Auctions - buy the things you want at great prices
> > > http://auctions.yahoo.com/
> >
>
Received on Mon May 07 2001 - 05:21:21 MDT

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