AW: [squid-users] Empty cache

From: Rost, Werner <[email protected]>
Date: Fri, 22 Feb 2002 16:18:23 +0100

I had the same problem.
 
Reason: I had created the swap directory with user root. Squid runs as user
"squid" which had no rights to write to cache_dir.
 
Solutions:
 
1. Change protections:
       logon as user root
       cd <cache_dir>
       chmod -R 777 *
 
2. Better: Create the cache directory a user squid
 
 
 

regards
Werner Rost, KIR
ZF Boge GmbH

Tel.: 0228/3825 420
Fax: 0228/3825 398

 

-----Urspr�ngliche Nachricht-----
Von: Dr. Radhakrishnan T [mailto:radhakrishnan@nrcg.guj.nic.in]
Gesendet am: Freitag, 22. Februar 2002 12:22
An: Squid-Users
Betreff: [squid-users] Empty cache

Dear friends,
My cache directory is empty right from creation and cache.log reads as
follows;
Can anybody tell me why squid is not caching any sites?
Thanks,
Radhakrishnan
 
CACHE LOG FROM LATEST SQUID RESTART
<!--StartFragment-->2002/02/22 06:16:55| Starting Squid Cache version
2.4.STABLE2 for ...
2002/02/22 06:16:55| Process ID 1208
2002/02/22 06:16:55| With 1024 file descriptors available
2002/02/22 06:16:55| DNS Socket created on FD 4
2002/02/22 06:16:55| Adding nameserver 127.0.0.1 from /etc/resolv.conf
2002/02/22 06:16:55| Adding nameserver 164.100.53.1 from /etc/resolv.conf
2002/02/22 06:16:55| Adding nameserver 164.100.3.1 from /etc/resolv.conf
2002/02/22 06:16:55| helperOpenServers: Starting 5 'ncsa_auth' processes
2002/02/22 06:16:55| Unlinkd pipe opened on FD 14
2002/02/22 06:16:55| Swap maxSize 20480000 KB, estimated 1575384 objects
2002/02/22 06:16:55| Target number of buckets: 78769
2002/02/22 06:16:55| Using 131072 Store buckets
2002/02/22 06:16:55| Max Mem size: 65536 KB
2002/02/22 06:16:55| Max Swap size: 20480000 KB
2002/02/22 06:16:55| Rebuilding storage in /cache (CLEAN)
2002/02/22 06:16:55| Using Least Load store dir selection
2002/02/22 06:16:55| Set Current Directory to /cache
2002/02/22 06:16:55| Loaded Icons.
2002/02/22 06:16:55| Accepting HTTP connections at 192.168.1.1, port 8080,
FD 38.
2002/02/22 06:16:55| Accepting ICP messages at 0.0.0.0, port 3130, FD 39.
2002/02/22 06:16:55| WCCP Disabled.
2002/02/22 06:16:55| Ready to serve requests.
2002/02/22 06:17:17| Done scanning /cache swaplog (0 entries)
2002/02/22 06:17:17| Finished rebuilding storage from disk.
2002/02/22 06:17:17| 0 Entries scanned
2002/02/22 06:17:17| 0 Invalid entries.
2002/02/22 06:17:17| 0 With invalid flags.
2002/02/22 06:17:17| 0 Objects loaded.
2002/02/22 06:17:17| 0 Objects expired.
2002/02/22 06:17:17| 0 Objects cancelled.
2002/02/22 06:17:17| 0 Duplicate URLs purged.
2002/02/22 06:17:17| 0 Swapfile clashes avoided.
2002/02/22 06:17:17| Took 21.2 seconds ( 0.0 objects/sec).
2002/02/22 06:17:17| Beginning Validation Procedure
2002/02/22 06:17:17| Completed Validation Procedure
2002/02/22 06:17:17| Validated 0 Entries
2002/02/22 06:17:17| store_swap_size = 84k
2002/02/22 06:17:18| storeLateRelease: released 0 objects
2002/02/22 09:57:49| aclDecodeProxyAuth: Disallowing empty password,user is
''
2002/02/22 09:57:49| aclDecodeProxyAuth: Disallowing empty password,user is
''
2002/02/22 09:57:50| aclDecodeProxyAuth: Disallowing empty password,user is
''
2002/02/22 09:57:50| aclDecodeProxyAuth: Disallowing empty password,user is
''
2002/02/22 09:57:58| aclDecodeProxyAuth: Disallowing empty password,user is
''
2002/02/22 09:57:58| aclDecodeProxyAuth: Disallowing empty password,user is
''
2002/02/22 09:57:58| aclDecodeProxyAuth: Disallowing empty password,user is
''
2002/02/22 09:57:58| aclDecodeProxyAuth: Disallowing empty password,user is
''
2002/02/22 09:57:59| aclDecodeProxyAuth: Disallowing empty password,user is
''

 
_____________________________
Dr. Radhakrishnan T
Senior Scientist,
National Research Centre for Groundnut,
P O Box 5, Junagadh 362001,
Gujarat, India.
Tel. Off. +91 285 623041, 623461
       Res. +91 285 653855
Fax. Off. +91 285 651550
 

---------------------------------------------------------
This Mail has been checked for Viruses
Attention: Encrypted mails can NOT be checked!

**

Diese Mail wurde auf Viren geprueft
Hinweis: Verschluesselte mails koennen NICHT auf Viren geprueft werden!
---------------------------------------------------------

---------------------------------------------------------
This Mail has been checked for Viruses
Attention: Encrypted mails can NOT be checked!

**

Diese Mail wurde auf Viren geprueft
Hinweis: Verschluesselte mails koennen NICHT auf Viren geprueft werden!
---------------------------------------------------------

Received on Fri Feb 22 2002 - 08:14:26 MST

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