Dear Amos, thanks for your comments.
I realized that I have some clues in cache.log:2019/02/01 15:51:44 kid1| helperOpenServers: Starting 0/20 'squidGuard' processes
2019/02/01 15:51:44 kid1| helperOpenServers: No 'squidGuard' processes needed.
2019/02/01 15:51:44 kid1| helperOpenServers: Starting 0/5 'squid_ldap_auth' processes
2019/02/01 15:51:44 kid1| helperOpenServers: No 'squid_ldap_auth' processes needed.
These lines appears after I execute "systemctl reload squid".
Users and rights are OK.
Please can you help me one more time?
Because I have compared squid.conf and squidGuard.conf between this server and the other running OK, and both files are similar.
Thanking in advance.
Robert
El vie., 1 feb. 2019 a las 3:45, Amos Jeffries (<squid3@xxxxxxxxxxxxx>) escribió:
On 1/02/19 8:48 am, Roberto Carna wrote:
> Dear, I have Squid 3.5.23 and I use Squidguard for URL and domain filtering.
>
> In squid.conf I have this line:
>
> url_rewrite_program /usr/bin/squidGuard -c /etc/squidguard/squidGuard.conf
>
> but in this proxy server, the line is not executed by Squid, so
> Squidguard doesn't work at all.
>
> Same configuration in another proxy server works OK.
>
> Please can you tell me how I can force the execution of
> url_rewrite_program line ???
If the helper is not even being started:
Check cache.log
Check that the Squid low-privileges user account is allowed to run that
helper.
Check that there are not other copies of the line replacing the helper
with another later in the config. That includes the
backward-compatibility alias of this directive: redirector_program.
Check what startup=N option to the url_rewrite_children (and alias
redirector_children) are using. If it is set to '0' the helper will not
be started until it is necessary to handle a URL.
If the helper is starting but crashing or exiting immediately (see
cache.log):
Check that your version of SquidGuard has been patched to comply with
the Squid-3.4+ helper protocol.
Check that the Squid low-privileges user account is allowed to run that
helper.
If the helper is running but appears not to be doing anything:
Check your url_rewrite_access lines (and alias redirector_access) to
ensure that the traffic you want to re-write is allowed to be passed to
the helper.
PS. Please consider using ufdbguard instead of SquidGuard which has not
been maintained in many years.
Amos
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users
_______________________________________________ squid-users mailing list squid-users@xxxxxxxxxxxxxxxxxxxxx http://lists.squid-cache.org/listinfo/squid-users