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