Re: [squid-users] NCSA(BASIC) AUTHENTICATION IN SQUID 2.5 STABLE 1

From: Graeme Wood <Graeme.Wood@dont-contact.us>
Date: Mon, 13 Jan 2003 15:59:50 +0000 (GMT)

I think your keyboard is broken.

I suspect your problem is caused by the permissions on your password file.
I have seen the same behaviour when the password file is unreadable by the
user account that squid is using (probably nobody).

Cheers
Graeme

On Mon, 13 Jan 2003, Srikamal S wrote:

> I HAVE DOWNLOADED SQUID 2.5 STABLE 1, COMPILED AND RUN IT WITH
> NCSA(HELPER) ENABLED, ON REDHAT LINUX 8.0.
>
> WHEN EVER I TRY TO GIVE USERNAME AND PASSWORD ON THE BROWSER, THE
> FOLLOWING MESSAGE APPEARS ON THE SQUID SERVER AND CACHE DENIED MESSAGE
> APPEARS.
>
> =====================================================================
> 2003/01/13 14:39:17| WARNING: basicauthenticator #1 (FD 7) exited
> 2003/01/13 14:39:23| WARNING: basicauthenticator #2 (FD 8) exited
> 2003/01/13 14:39:34| WARNING: basicauthenticator #3 (FD 9) exited
> 2003/01/13 14:39:42| WARNING: basicauthenticator #4 (FD 10) exited
> =====================================================================
>
> PLEASE LET ME KNOW, WHERE EXACTLY I AM GOING WRONG, AND WHY NCSA
> AUTHENTICATION IS NOT WORKING
>
> I AM INCLUDING THE SQUID MESSAGE FOR YOUR KIND REFERENCE
>
> AN EARLY REPLY WILL BE APPRECIATED
>
> [root@instest root]# /usr/local/squid/sbin/squid -N -d 1 -D
> 2003/01/13 14:38:16| Starting Squid Cache version 2.5.STABLE1 for
> i586-pc-linux-gnu...
> 2003/01/13 14:38:16| Process ID 2080
> 2003/01/13 14:38:16| With 1024 file descriptors available
> 2003/01/13 14:38:16| DNS Socket created at 0.0.0.0, port 1037, FD 5
> 2003/01/13 14:38:16| Adding nameserver 172.16.12.2 from squid.conf
> 2003/01/13 14:38:16| Adding nameserver 172.16.12.5 from squid.conf
> 2003/01/13 14:38:16| helperOpenServers: Starting 10 'ncsa_auth' processes
> 2003/01/13 14:38:17| User-Agent logging is disabled.
> 2003/01/13 14:38:17| Unlinkd pipe opened on FD 20
> 2003/01/13 14:38:17| Swap maxSize 434176 KB, estimated 33398 objects
> 2003/01/13 14:38:17| Target number of buckets: 1669
> 2003/01/13 14:38:17| Using 8192 Store buckets
> 2003/01/13 14:38:17| Max Mem size: 16384 KB
> 2003/01/13 14:38:17| Max Swap size: 434176 KB
> 2003/01/13 14:38:17| Rebuilding storage in /cache (CLEAN)
> 2003/01/13 14:38:17| Using Least Load store dir selection
> 2003/01/13 14:38:17| Set Current Directory to /usr/local/squid/cache
> 2003/01/13 14:38:17| Loaded Icons.
> 2003/01/13 14:38:17| Accepting HTTP connections at 0.0.0.0, port 8080,
> FD 22.
> 2003/01/13 14:38:17| Accepting ICP messages at 0.0.0.0, port 3130, FD 23.
> 2003/01/13 14:38:17| Accepting SNMP messages on port 3401, FD 24.
> 2003/01/13 14:38:17| WCCP Disabled.
> 2003/01/13 14:38:17| Ready to serve requests.
> 2003/01/13 14:38:18| Done reading /cache swaplog (165 entries)
> 2003/01/13 14:38:18| Finished rebuilding storage from disk.
> 2003/01/13 14:38:18| 165 Entries scanned
> 2003/01/13 14:38:18| 0 Invalid entries.
> 2003/01/13 14:38:18| 0 With invalid flags.
> 2003/01/13 14:38:18| 165 Objects loaded.
> 2003/01/13 14:38:18| 0 Objects expired.
> 2003/01/13 14:38:18| 0 Objects cancelled.
> 2003/01/13 14:38:18| 0 Duplicate URLs purged.
> 2003/01/13 14:38:18| 0 Swapfile clashes avoided.
> 2003/01/13 14:38:18| Took 1.2 seconds ( 135.4 objects/sec).
> 2003/01/13 14:38:18| Beginning Validation Procedure
> 2003/01/13 14:38:18| Completed Validation Procedure
> 2003/01/13 14:38:18| Validated 165 Entries
> 2003/01/13 14:38:18| store_swap_size = 1126k
> 2003/01/13 14:38:19| storeLateRelease: released 0 objects
> 2003/01/13 14:39:17| WARNING: basicauthenticator #1 (FD 7) exited
> 2003/01/13 14:39:23| WARNING: basicauthenticator #2 (FD 8) exited
> 2003/01/13 14:39:34| WARNING: basicauthenticator #3 (FD 9) exited
> 2003/01/13 14:39:42| WARNING: basicauthenticator #4 (FD 10) exited
> 2003/01/13 14:40:32| Preparing for shutdown after 9 requests
> 2003/01/13 14:40:32| Waiting 0 seconds for active connections to finish
> 2003/01/13 14:40:32| FD 22 Closing HTTP connection
> 2003/01/13 14:40:33| Shutting down...
> 2003/01/13 14:40:33| FD 23 Closing ICP connection
> 2003/01/13 14:40:33| FD 24 Closing SNMP socket
> 2003/01/13 14:40:33| Closing unlinkd pipe on FD 20
> 2003/01/13 14:40:33| storeDirWriteCleanLogs: Starting...
> 2003/01/13 14:40:34| Finished. Wrote 165 entries.
> 2003/01/13 14:40:34| Took 0.0 seconds (67623.0 entries/sec).
> [root@instest root]#
>
>
> THANKS
>
>
> SRIKAMAL
>
>
>
>

=============================================================================
Graeme Wood Email: Graeme.Wood@ed.ac.uk
Unix Systems Support Phone: +44 131 650 5003
The University of Edinburgh Fax: +44 131 650 6552
=============================================================================
Received on Mon Jan 13 2003 - 09:00:01 MST

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