Re: ext_time_quota

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Sun, 28 Apr 2013 02:16:05 +1200

On 28/04/2013 12:46 a.m., Amir Mottaghian wrote:
> Dear all,
>
> i have compiled squid 3.3.3 with the following options:
>
>
> ./configure --prefix=/usr --sbindir=/usr/sbin --sysconfdir=/etc/squid3
> --includedir=/usr/include --datadir=/usr/share
> --libexecdir=/usr/lib/squid3 --localstatedir=/var
> --enable-removal-policies=lru --enable-delay-pools
> --enable-storeio=aufs,ufs --with-large-files --disable-ident-lookups
> --with-default-user=proxy --enable-basic-auth-helpers="LDAP,NCSA"
> --enable-external-acl-helpers="wbinfo_group,ldap_group,ip_user,unix_group,time_quota,AD_group,kerberos_ldap_group"
> --enable-negotiate-auth-helpers="squid_kerb_auth"
>
>
>
> but after compile and make install procedure the ext_time_quota not
> found in "/USR/LIB/SQUID3" ,

This is puzzling me how that could happen. I just ran a test build and
it does install there.
Note that the binary name is ext_time_quota_acl withan "_acl" part on
the end. If you are searching for the exact binary name that will matter.

> so when i change config file and run squid
> ,it do not start and i view the following error at the end of
> screen,when i execute "/usr/sbin/squid -NCd1"
>
> 2013/04/22 17:12:08| WARNING: time_quota #1 exited
> 2013/04/22 17:12:08| Too few time_quota processes are running (need 1/1)
> 2013/04/22 17:12:08| Closing HTTP port [::]:3128
> 2013/04/22 17:12:08| storeDirWriteCleanLogs: Starting...
> 2013/04/22 17:12:08| Finished. Wrote 1019 entries.
> 2013/04/22 17:12:08| Took 0.00 seconds (554708.76 entries/sec).
> FATAL: The time_quota helpers are crashing too rapidly, need help!
>
> could you please help me ?

If you configure Squid with the path to a binary which does not exist
(as in #1 above) Squid will abort on startup with a message talking
about missing helper program.
So this looks like the helpers *are* being found whereever they are but
cannot run for some reason.

I would suspect the ext_time_quote.db is missing, or has permissions
problems accessing its database.

Amos
Received on Sat Apr 27 2013 - 14:16:18 MDT

This archive was generated by hypermail 2.2.0 : Sun Apr 28 2013 - 12:00:14 MDT