LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-12-2011, 07:19 AM   #1
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,629

Rep: Reputation: Disabled
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...
2011/01/12 18:16:14| Process ID 29318
2011/01/12 18:16:14| With 1024 file descriptors available
2011/01/12 18:16:14| Using epoll for the IO loop
2011/01/12 18:16:14| DNS Socket created at 0.0.0.0, port 52054, FD 6
2011/01/12 18:16:14| Adding domain ib.com.local from /etc/resolv.conf
2011/01/12 18:16:14| Adding domain ib from /etc/resolv.conf
2011/01/12 18:16:14| Adding domain localdomain from /etc/resolv.conf
2011/01/12 18:16:14| Adding nameserver 192.168.2.2 from /etc/resolv.conf
2011/01/12 18:16:14| Adding nameserver 202.54.29.5 from /etc/resolv.conf
2011/01/12 18:16:14| Adding nameserver 202.54.10.2 from /etc/resolv.conf
2011/01/12 18:16:14| helperOpenServers: Starting 5 'squidclamav' processes
Wed Jan 12 18:16:14 2011 LOG Reading configuration from /etc/squidclamav.conf
Wed Jan 12 18:16:14 2011 LOG Reading configuration from /etc/squidclamav.conf
Wed Jan 12 18:16:14 2011 LOG Reading configuration from /etc/squidclamav.conf
Wed Jan 12 18:16:14 2011 LOG Reading configuration from /etc/squidclamav.conf
2011/01/12 18:16:14| helperOpenServers: Starting 10 'ncsa_auth' processes
cannot stat /etc/squid/password/.htpasswd
cannot stat /etc/squid/password/.htpasswd
cannot stat /etc/squid/password/.htpasswd
cannot stat /etc/squid/password/.htpasswd
Wed Jan 12 18:16:14 2011 LOG Reading configuration from /etc/squidclamav.conf
cannot stat /etc/squid/password/.htpasswd
cannot stat /etc/squid/password/.htpasswd
cannot stat /etc/squid/password/.htpasswd
cannot stat /etc/squid/password/.htpasswd
2011/01/12 18:16:14| User-Agent logging is disabled.
2011/01/12 18:16:14| Referer logging is disabled.
cannot stat /etc/squid/password/.htpasswd
cannot stat /etc/squid/password/.htpasswd
2011/01/12 18:16:14| Unlinkd pipe opened on FD 26
2011/01/12 18:16:14| Swap maxSize 102400 + 8192 KB, estimated 0 objects
2011/01/12 18:16:14| Target number of buckets: 425
2011/01/12 18:16:14| Using 8192 Store buckets
2011/01/12 18:16:14| Max Mem  size: 8192 KB
2011/01/12 18:16:14| Max Swap size: 102400 KB
2011/01/12 18:16:14| Local cache digest enabled; rebuild/rewrite every 3600/3600 sec
2011/01/12 18:16:14| Rebuilding storage in /var/spool/squid (DIRTY)
2011/01/12 18:16:14| Using Least Load store dir selection
2011/01/12 18:16:14| Set Current Directory to /var/spool/squid
2011/01/12 18:16:14| Loaded Icons.
2011/01/12 18:16:15| Accepting proxy HTTP connections at 192.168.2.1, port 3128, FD 28.
2011/01/12 18:16:15| Accepting ICP messages at 0.0.0.0, port 3130, FD 29.
2011/01/12 18:16:15| WCCP Disabled.
2011/01/12 18:16:15| Ready to serve requests.
2011/01/12 18:16:15| WARNING: basicauthenticator #10 (FD 21) exited
2011/01/12 18:16:15| WARNING: basicauthenticator #9 (FD 20) exited
2011/01/12 18:16:15| WARNING: basicauthenticator #8 (FD 19) exited
2011/01/12 18:16:15| WARNING: basicauthenticator #7 (FD 18) exited
2011/01/12 18:16:15| WARNING: basicauthenticator #6 (FD 17) exited
2011/01/12 18:16:15| Too few basicauthenticator processes are running
FATAL: The basicauthenticator helpers are crashing too rapidly, need help!

Squid Cache (Version 2.6.STABLE21): Terminated abnormally.
 
Old 01-13-2011, 12:33 AM   #2
Sayan Acharjee
Member
 
Registered: Feb 2010
Location: Chennai, India
Distribution: Manjaro
Posts: 623

Rep: Reputation: 64
Quote:
Originally Posted by linuxlover.chaitanya View Post
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...
2011/01/12 18:16:14| Process ID 29318
2011/01/12 18:16:14| With 1024 file descriptors available
2011/01/12 18:16:14| Using epoll for the IO loop
2011/01/12 18:16:14| DNS Socket created at 0.0.0.0, port 52054, FD 6
2011/01/12 18:16:14| Adding domain ib.com.local from /etc/resolv.conf
2011/01/12 18:16:14| Adding domain ib from /etc/resolv.conf
2011/01/12 18:16:14| Adding domain localdomain from /etc/resolv.conf
2011/01/12 18:16:14| Adding nameserver 192.168.2.2 from /etc/resolv.conf
2011/01/12 18:16:14| Adding nameserver 202.54.29.5 from /etc/resolv.conf
2011/01/12 18:16:14| Adding nameserver 202.54.10.2 from /etc/resolv.conf
2011/01/12 18:16:14| helperOpenServers: Starting 5 'squidclamav' processes
Wed Jan 12 18:16:14 2011 LOG Reading configuration from /etc/squidclamav.conf
Wed Jan 12 18:16:14 2011 LOG Reading configuration from /etc/squidclamav.conf
Wed Jan 12 18:16:14 2011 LOG Reading configuration from /etc/squidclamav.conf
Wed Jan 12 18:16:14 2011 LOG Reading configuration from /etc/squidclamav.conf
2011/01/12 18:16:14| helperOpenServers: Starting 10 'ncsa_auth' processes
cannot stat /etc/squid/password/.htpasswd
cannot stat /etc/squid/password/.htpasswd
cannot stat /etc/squid/password/.htpasswd
cannot stat /etc/squid/password/.htpasswd
Wed Jan 12 18:16:14 2011 LOG Reading configuration from /etc/squidclamav.conf
cannot stat /etc/squid/password/.htpasswd
cannot stat /etc/squid/password/.htpasswd
cannot stat /etc/squid/password/.htpasswd
cannot stat /etc/squid/password/.htpasswd
2011/01/12 18:16:14| User-Agent logging is disabled.
2011/01/12 18:16:14| Referer logging is disabled.
cannot stat /etc/squid/password/.htpasswd
cannot stat /etc/squid/password/.htpasswd
2011/01/12 18:16:14| Unlinkd pipe opened on FD 26
2011/01/12 18:16:14| Swap maxSize 102400 + 8192 KB, estimated 0 objects
2011/01/12 18:16:14| Target number of buckets: 425
2011/01/12 18:16:14| Using 8192 Store buckets
2011/01/12 18:16:14| Max Mem  size: 8192 KB
2011/01/12 18:16:14| Max Swap size: 102400 KB
2011/01/12 18:16:14| Local cache digest enabled; rebuild/rewrite every 3600/3600 sec
2011/01/12 18:16:14| Rebuilding storage in /var/spool/squid (DIRTY)
2011/01/12 18:16:14| Using Least Load store dir selection
2011/01/12 18:16:14| Set Current Directory to /var/spool/squid
2011/01/12 18:16:14| Loaded Icons.
2011/01/12 18:16:15| Accepting proxy HTTP connections at 192.168.2.1, port 3128, FD 28.
2011/01/12 18:16:15| Accepting ICP messages at 0.0.0.0, port 3130, FD 29.
2011/01/12 18:16:15| WCCP Disabled.
2011/01/12 18:16:15| Ready to serve requests.
2011/01/12 18:16:15| WARNING: basicauthenticator #10 (FD 21) exited
2011/01/12 18:16:15| WARNING: basicauthenticator #9 (FD 20) exited
2011/01/12 18:16:15| WARNING: basicauthenticator #8 (FD 19) exited
2011/01/12 18:16:15| WARNING: basicauthenticator #7 (FD 18) exited
2011/01/12 18:16:15| WARNING: basicauthenticator #6 (FD 17) exited
2011/01/12 18:16:15| Too few basicauthenticator processes are running
FATAL: The basicauthenticator helpers are crashing too rapidly, need help!

Squid Cache (Version 2.6.STABLE21): Terminated abnormally.
Looks like an authentication error, may be the passwd file is not readble by the user account that squid is trying to use?
 
Old 01-13-2011, 01:04 AM   #3
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,629

Original Poster
Rep: Reputation: Disabled
No. That is not the error. passwd file is readable by squid user. It is world readable.
 
Old 01-13-2011, 01:08 AM   #4
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,629

Original Poster
Rep: Reputation: Disabled
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 
 
ERR

ERR

ERR

ERR
 
Old 01-13-2011, 03:55 AM   #5
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,629

Original Poster
Rep: Reputation: Disabled
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.
 
1 members found this post helpful.
Old 08-03-2017, 06:38 AM   #6
mmma
LQ Newbie
 
Registered: Oct 2016
Posts: 7

Rep: Reputation: Disabled
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...

Last edited by mmma; 08-03-2017 at 06:43 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Squid helpers squid_session compile markotitel Linux - Server 3 05-30-2009 01:13 AM
linux router + authenticator+bandwith limiter beepee Linux - Networking 3 02-19-2007 11:52 PM
Want to reinstall Gnome, basic applets are crashing davious Fedora 2 11-14-2004 12:47 PM
Squid Fatal Error with RH 9.0 ryanzietlow Linux - Networking 4 03-16-2004 11:34 PM
Fatal error in Squid HELP!!!! kbrian38 Linux - Networking 3 02-15-2004 08:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration