Squid FATAL: The basic authenticator helpers are crashing too rapidly, need help!!!
Hello all,
Running Squid version 2.6.STABLE21 on CentOS5 release 5.5 (Final) in non transparent mode. All the browsers are configured to connect to the squid on the said port. And that is working fine in conjunction with dansguardian. Now I want to integrate ncsa_auth basic authentication mechanism into squid. And the error is what is mentioned in the thread title. Here is cache.out file contents: Code:
2011/01/12 18:16:14| Starting Squid Cache version 2.6.STABLE21 for i686-redhat-linux-gnu... |
Quote:
|
No. That is not the error. passwd file is readable by squid user. It is world readable.
|
And this is what I see if I try to manually run the authenticator for the command line
Code:
[root@squid passwords]# /usr/lib/squid/ncsa_auth /etc/squid/passwords/.htpasswd |
I think there is no limit to ones stupidness. If there is, then I am an exception. Sorry solved the issue. The error was due to the spelling mistake of the directory name where password file resides. :o :doh: :banghead:
|
the splash_page helpers are crashing too rapidly need help
hi,
i am trying to configure squid proxy server and set up a splash page the moment browser is opened. i have configured my /etc/squid3/squid.conf file as following : acl localnet src 10.0.2.0/16 acl localnet src 10.0.3.0/16 acl localnet src 10.0.0.0/8 # RFC1918 possible internal network acl SSL_ports port 443 acl Safe_ports port 80 # http acl Safe_ports port 21 # ftp acl Safe_ports port 443 # https acl Safe_ports port 70 # gopher acl Safe_ports port 210 # wais acl Safe_ports port 1025-65535 # unregistered ports http_access allow localhost manager http_access deny manager http_access allow localnet http_access allow localhost http_access deny all http_port 3128 coredump_dir /var/spool/squid ## addition for splash page passive## external_acl_type splash_page ttl=60 concurrency=100 %SRC /usr/lib/squid/ext_session_acl -t 7200 -b /var/run/squid/session.db acl existing_users external splash_page http_access deny !existing_users deny_info 511:/usr/share/nginx/html/splash.html existing_users but i am getting the following error: sudo squid3 -NDd1 2017/08/03 16:42:45| WARNING: -D command-line option is obsolete. 2017/08/03 16:42:45| aclIpParseIpData: WARNING: Netmask masks away part of the specified IP in '10.0.2.0/16' 2017/08/03 16:42:45| aclIpParseIpData: WARNING: Netmask masks away part of the specified IP in '10.0.3.0/16' 2017/08/03 16:42:45| WARNING: (B) '10.0.0.0/16' is a subnetwork of (A) '10.0.0.0/16' 2017/08/03 16:42:45| WARNING: because of this '10.0.0.0/16' is ignored to keep splay tree searching predictable 2017/08/03 16:42:45| WARNING: You should probably remove '10.0.0.0/16' from the ACL named 'localnet' 2017/08/03 16:42:45| WARNING: (B) '10.0.0.0/16' is a subnetwork of (A) '10.0.0.0/8' 2017/08/03 16:42:45| WARNING: because of this '10.0.0.0/8' is ignored to keep splay tree searching predictable 2017/08/03 16:42:45| WARNING: You should probably remove '10.0.0.0/16' from the ACL named 'localnet' 2017/08/03 16:42:45| Starting Squid Cache version 3.3.8 for x86_64-pc-linux-gnu... 2017/08/03 16:42:45| Process ID 7070 2017/08/03 16:42:45| Process Roles: master worker 2017/08/03 16:42:45| With 65536 file descriptors available 2017/08/03 16:42:45| Initializing IP Cache... 2017/08/03 16:42:45| DNS Socket created at [::], FD 5 2017/08/03 16:42:45| DNS Socket created at 0.0.0.0, FD 6 2017/08/03 16:42:45| Warning: Could not find any nameservers. Trying to use localhost 2017/08/03 16:42:45| Please check your /etc/resolv.conf file 2017/08/03 16:42:45| or use the 'dns_nameservers' option in squid.conf. 2017/08/03 16:42:45| helperOpenServers: Starting 5/5 'ext_session_acl' processes 2017/08/03 16:42:45| Logfile: opening log daemon:/var/log/squid3/access.log 2017/08/03 16:42:45| Logfile Daemon: opening log /var/log/squid3/access.log 2017/08/03 16:42:45| Local cache digest enabled; rebuild/rewrite every 3600/3600 sec 2017/08/03 16:42:45| Store logging disabled 2017/08/03 16:42:45| Swap maxSize 0 + 262144 KB, estimated 20164 objects 2017/08/03 16:42:45| Target number of buckets: 1008 2017/08/03 16:42:45| Using 8192 Store buckets 2017/08/03 16:42:45| Max Mem size: 262144 KB 2017/08/03 16:42:45| Max Swap size: 0 KB 2017/08/03 16:42:45| Using Least Load store dir selection 2017/08/03 16:42:45| chdir: /var/spool/squid: (2) No such file or directory 2017/08/03 16:42:45| Current Directory is /usr/lib/squid 2017/08/03 16:42:45| Loaded Icons. 2017/08/03 16:42:45| HTCP Disabled. 2017/08/03 16:42:45| Pinger socket opened on FD 21 2017/08/03 16:42:45| Configuring Parent 10.0.0.2/3128/0 2017/08/03 16:42:45| Squid plugin modules loaded: 0 2017/08/03 16:42:45| Adaptation support is off. 2017/08/03 16:42:45| Accepting HTTP Socket connections at local=[::]:3128 remote=[::] FD 19 flags=9 2017/08/03 16:42:45| WARNING: splash_page #3 exited 2017/08/03 16:42:45| Too few splash_page processes are running (need 1/5) 2017/08/03 16:42:45| Closing HTTP port [::]:3128 2017/08/03 16:42:45| storeDirWriteCleanLogs: Starting... 2017/08/03 16:42:45| Finished. Wrote 0 entries. 2017/08/03 16:42:45| Took 0.00 seconds ( 0.00 entries/sec). FATAL: The splash_page helpers are crashing too rapidly, need help! 2017/08/03 16:42:45| Closing Pinger socket on FD 21 Any help is welcome... |
All times are GMT -5. The time now is 01:55 AM. |