Set your logs to go into /var/log, otherwise do a chmod +x on /usr/share

Lary Holland
President - Think Extreme, Inc.
http://www.thinkextreme.com
--------------------------------------------
Listening, Leading, and Delivering Broadband
Internet Technologies
--------------------------------------------

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Amy Anderson
Sent: Saturday, March 08, 2003 12:07 AM
To: [EMAIL PROTECTED]
Subject: Cant Write to file.


Hi all, 

I am not sure why squidguard is not able to write to the log, I do have
cache_effective_user squid cache_effective_grout squid 
in my squid.conf file.  The owner of the logs are squid with permissions
of 660.  Squidguard seems to be running and not going into emergency
mode.  But I am not sure why it is not able to write to the log.  Even
the log folder is owned by squid.  Any ideas would be very helpful. 
Thank you very much. If there is any other info that may help, let me
know.  
Amy

this is my cache.log after restarting squid

2003-03-07 23:44:26 [22328] loading dbfile
/usr/share/squidGuard-1.2.0/db/porn/domains.db
2003-03-07 23:44:26 [22330] loading dbfile
/usr/share/squidGuard-1.2.0/db/porn/domains.db
2003-03-07 23:44:26 [22329] loading dbfile
/usr/share/squidGuard-1.2.0/db/porn/domains.db
2003-03-07 23:44:26 [22331] loading dbfile
/usr/share/squidGuard-1.2.0/db/porn/domains.db
2003-03-07 23:44:26 [22332] loading dbfile
/usr/share/squidGuard-1.2.0/db/porn/domains.db
2003-03-07 23:44:26 [22328] init domainlist
/usr/share/squidGuard-1.2.0/db/porn/urls
2003-03-07 23:44:26 [22330] init domainlist
/usr/share/squidGuard-1.2.0/db/porn/urls
2003-03-07 23:44:26 [22328] loading dbfile
/usr/share/squidGuard-1.2.0/db/porn/urls.db
2003-03-07 23:44:26 [22330] loading dbfile
/usr/share/squidGuard-1.2.0/db/porn/urls.db
2003-03-07 23:44:26 [22329] init domainlist
/usr/share/squidGuard-1.2.0/db/porn/urls
2003-03-07 23:44:26 [22329] loading dbfile
/usr/share/squidGuard-1.2.0/db/porn/urls.db
2003-03-07 23:44:26 [22331] init domainlist
/usr/share/squidGuard-1.2.0/db/porn/urls
2003-03-07 23:44:26 [22331] loading dbfile
/usr/share/squidGuard-1.2.0/db/porn/urls.db
2003-03-07 23:44:26 [22332] init domainlist
/usr/share/squidGuard-1.2.0/db/porn/urls
2003-03-07 23:44:26 [22332] loading dbfile
/usr/share/squidGuard-1.2.0/db/porn/urls.db
2003-03-07 23:44:26 [22328] (squidGuard): can't write to logfile
/usr/share/squidGuard-1.2.0/logs/squidGuard.log
2003-03-07 23:44:26 [22328] squidGuard 1.2.0 started (1047098666.752)
2003-03-07 23:44:26 [22328] squidGuard ready for requests
(1047098666.942) 2003-03-07 23:44:26 [22330] (squidGuard): can't write
to logfile /usr/share/squidGuard-1.2.0/logs/squidGuard.log
2003-03-07 23:44:26 [22330] squidGuard 1.2.0 started (1047098666.755)
2003-03-07 23:44:26 [22330] squidGuard ready for requests
(1047098666.943) 2003-03-07 23:44:26 [22329] (squidGuard): can't write
to logfile /usr/share/squidGuard-1.2.0/logs/squidGuard.log
2003-03-07 23:44:26 [22329] squidGuard 1.2.0 started (1047098666.757)
2003-03-07 23:44:26 [22329] squidGuard ready for requests
(1047098666.944) 2003-03-07 23:44:26 [22331] (squidGuard): can't write
to logfile /usr/share/squidGuard-1.2.0/logs/squidGuard.log
2003-03-07 23:44:26 [22331] squidGuard 1.2.0 started (1047098666.760)
2003-03-07 23:44:26 [22331] squidGuard ready for requests
(1047098666.945) 2003-03-07 23:44:26 [22332] (squidGuard): can't write
to logfile /usr/share/squidGuard-1.2.0/logs/squidGuard.log
2003-03-07 23:44:26 [22332] squidGuard 1.2.0 started (1047098666.763)
2003-03-07 23:44:26 [22332] squidGuard ready for requests
(1047098666.946) 2003/03/07 23:44:26| Unlinkd pipe opened on FD 14
2003/03/07 23:44:26| Swap maxSize 102400 KB, estimated 7876 objects
2003/03/07 23:44:26| Target number of buckets: 393 2003/03/07 23:44:26|
Using 8192 Store buckets 2003/03/07 23:44:26| Max Mem  size: 8192 KB
2003/03/07 23:44:26| Max Swap size: 102400 KB 2003/03/07 23:44:26|
Rebuilding storage in /var/spool/squid (CLEAN) 2003/03/07 23:44:26|
Using Least Load store dir selection 2003/03/07 23:44:26| Set Current
Directory to /var/spool/squid 2003/03/07 23:44:26| Loaded Icons.
2003/03/07 23:44:27| Accepting HTTP connections at 0.0.0.0, port 3128,
FD 16. 2003/03/07 23:44:27| Accepting HTCP messages on port 4827, FD 17.
2003/03/07 23:44:27| Accepting SNMP messages on port 3401, FD 18.
2003/03/07 23:44:27| WCCP Disabled. 2003/03/07 23:44:27| Ready to serve
requests. 2003/03/07 23:44:27| Store rebuilding is 52.5% complete
2003/03/07 23:44:27| Done reading /var/spool/squid swaplog (7806
entries) 2003/03/07 23:44:27| Finished rebuilding storage from disk.
2003/03/07 23:44:27|      7806 Entries scanned
2003/03/07 23:44:27|         0 Invalid entries.
2003/03/07 23:44:27|         0 With invalid flags.
2003/03/07 23:44:27|      7806 Objects loaded.
2003/03/07 23:44:27|         0 Objects expired.
2003/03/07 23:44:27|         0 Objects cancelled.
2003/03/07 23:44:27|         0 Duplicate URLs purged.
2003/03/07 23:44:27|         0 Swapfile clashes avoided.
2003/03/07 23:44:27|   Took 0.7 seconds (10752.2 objects/sec).
2003/03/07 23:44:27| Beginning Validation Procedure
2003/03/07 23:44:27|   Completed Validation Procedure
2003/03/07 23:44:27|   Validated 7806 Entries
2003/03/07 23:44:27|   store_swap_size = 76796k
2003/03/07 23:44:27| storeLateRelease: released 0 objects

-- 
Amy Anderson <[EMAIL PROTECTED]>


Reply via email to