LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   squid issue with ncsa authentication (https://www.linuxquestions.org/questions/linux-server-73/squid-issue-with-ncsa-authentication-665532/)

rajat83 08-26-2008 10:06 AM

squid issue with ncsa authentication
 
Hi friends,
I have been using squid proxy from the last one and half year , but few days back I configured a squid Authentication for my users using ncsa and I stuck in a very weired issue, When I am restarting the squid proxy , it is showing me a error
[root@localhost Desktop]# service squid status
squid (pid 5748 5746 5744 5568 5567 5566 5565 5564 5563 5560 5559 5558 5539 5535 5534 5509 5504 5501 5500 5499 5498 5497 5496 5492 5491 5490 5489 5488 5487 5486 5485 5479 5459 4609) is running...
squid: ERROR: No running copy

There is no squid.pid file
Other parameters like spool file and permission over it is ok
drwxr-x--- 18 squid squid 4096 Aug 26 23:18 .
-rw-r--r-- 1 squid squid 1612080 Aug 26 23:18 swap.state
-rw-r--r-- 1 squid squid 0 Aug 26 23:18 swap.state.last-clean
drwxr-xr-x 258 squid squid 4096 Mar 30 21:57 06
drwxr-xr-x 258 squid squid 4096 Mar 30 21:57 07
drwxr-xr-x 258 squid squid 4096 Mar 30 21:57 08
drwxr-xr-x 258 squid squid 4096 Mar 30 21:57 09
drwxr-xr-x 258 squid squid 4096 Mar 30 21:57 0A
drwxr-xr-x 258 squid squid 4096 Mar 30 21:57 0B
drwxr-xr-x 258 squid squid 4096 Mar 30 21:57 0C
drwxr-xr-x 258 squid squid 4096 Mar 30 21:57 0D
drwxr-xr-x 258 squid squid 4096 Mar 30 21:57 0E
drwxr-xr-x 258 squid squid 4096 Mar 30 21:57 0F
drwxr-xr-x 258 squid squid 4096 Mar 30 21:57 00
drwxr-xr-x 258 squid squid 4096 Mar 30 21:57 01
drwxr-xr-x 258 squid squid 4096 Mar 30 21:57 02
drwxr-xr-x 258 squid squid 4096 Mar 30 21:57 03
drwxr-xr-x 258 squid squid 4096 Mar 30 21:57 04
drwxr-xr-x 258 squid squid 4096 Mar 30 21:57 05


cache.log
008/08/26 23:18:11| DNS Socket created at 0.0.0.0, port 42374, FD 4
2008/08/26 23:18:11| Adding nameserver 202.131.144.27 from /etc/resolv.conf
2008/08/26 23:18:11| Adding nameserver 202.131.152.27 from /etc/resolv.conf
2008/08/26 23:18:11| Adding nameserver 172.25.20.12 from /etc/resolv.conf
2008/08/26 23:18:11| helperOpenServers: Starting 10 'ncsa_auth' processes
2008/08/26 23:18:11| WARNING: Cannot run '/usr/lib/squid/ncsa_auth' process.
2008/08/26 23:21:20| WARNING: Cannot run '/usr/lib/squid/ncsa_auth'
process.


My cache effective user and group is squid and it is there in /etc/passwd file

If any other detail you want to have in order to sort this issue, please write it


Thanx in advance

datopdog 08-28-2008 04:55 AM

I think the file is missing. what is the output of
Code:

ls -l /usr/lib/squid/ncsa_auth


All times are GMT -5. The time now is 02:49 AM.