Re: [squid-users] Cannot run '/usr/lib/squid3/squid_session' process

From: Stefanie Clormann <clormann_at_ub.uni-heidelberg.de>
Date: Tue, 10 Jul 2012 09:48:59 +0200

I did run it from the command line with all parameters with the user
"proxy".
It did not give me any errors and the permissions are right.

So, any more clues?
Thanks,
Stefanie

On 26.06.2012 20:08, Eliezer Croitoru wrote:
> i dont know this external acl but i would try to first run it from
> command line with all the parameters.
> "/usr/lib/squid3/squid_session -t 60 -b /usr/share/squid3/session.db"
>
> you should get the feeling of it running or not.
> it's ubuntu so try sudo and also su - proxy "command..."
> so you would get the feeling of root permissions and the proxy user
> that runs the command for squid.
> also make sure that all the tree of directories "/usr/lib/squid3/" has
> permissions that allows the proxy user access to them.
> maybe the specific file has the right ones but the tree dirs dont.
>
> Regards,
> Eliezer
>
> On 6/26/2012 1:23 PM, Stefanie Clormann wrote:
>> Hi,
>>
>> I am running an Ubuntu Linux Server 12.04 - 64 bit - Kernel
>> 3.2.0-24-generic.
>> and the squid3 package (3.1.19-1ubuntu3).
>>
>> I wanted to try the following:
>> # Test 2
>> external_acl_type splash_page ttl=60 concurrency=200 %SRC
>> /usr/lib/squid3/squid_session -t 60 -b /usr/share/squid3/session.db
>> acl existing_users external splash_page
>> deny_info splash.html existing_users
>> http_access deny !existing_users
>>
>> and I get this error:
>> 2012/06/26 12:00:52| helperOpenServers: Starting 5/5 'squid_session'
>> processes
>> 2012/06/26 12:01:55| WARNING: Cannot run '/usr/lib/squid3/squid_session'
>> process.
>> 2012/06/26 12:02:58| WARNING: Cannot run '/usr/lib/squid3/squid_session'
>> process.
>> 2012/06/26 12:04:01| WARNING: Cannot run '/usr/lib/squid3/squid_session'
>> process.
>> 2012/06/26 12:05:04| WARNING: Cannot run '/usr/lib/squid3/squid_session'
>> process.
>>
>> Output of:
>> ls -la /usr/lib/squid3/squid_session:
>> -rwxr-xr-x 1 root root 10200 Jun 21 11:53 /usr/lib/squid3/squid_session
>> ls -la/usr/share/squid3/session.db
>> -rw-r--r-- 1 proxy proxy 0 Mai 16 13:32 /usr/share/squid3/session.db
>>
>>
>> I also tried a compiled source version (squid-3.1.20 ) - but it gives me
>> the same error.
>>
>> What could be the problem?
>> Stefanie
>
>
Received on Tue Jul 10 2012 - 07:49:02 MDT

This archive was generated by hypermail 2.2.0 : Tue Jul 10 2012 - 12:00:02 MDT