Re: [squid-users] 3.4.4 chroot

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Mon, 12 May 2014 19:39:54 +1200

On 12/05/2014 7:02 p.m., Cinaed Simson wrote:
> Hi - I'm having trouble getting squid 3.4.4 to run a chroot environment.
>
> Squid runs outside the chroot environment without any problems.
>
> I looked at the example on the wiki but it didn't work for me.
>
> Regardless of what I do, squid complains about not being able to find
> the file:
>
> -rw-r----- 1 squid nobody 0 May 11 23:15 access.log
>
> But it can find the cache.log file which is in the same directory as
> access.log.
>
> Enclosed is the error message logged to /var/squid/logs/cache.log and
> the squid.conf files is attached.
>
> Any help would be greatly appreciated.
>
> -- Cinaed
>
> 2014/05/11 20:42:37 kid1| Starting Squid Cache version 3.4.4 for
> x86_64-unknown-
> linux-gnu...
> 2014/05/11 20:42:37 kid1| Process ID 22095
> 2014/05/11 20:42:37 kid1| Process Roles: worker
> 2014/05/11 20:42:37 kid1| With 1024 file descriptors available
> 2014/05/11 20:42:37 kid1| Initializing IP Cache...
> 2014/05/11 20:42:37 kid1| DNS Socket created at [::], FD 6
> 2014/05/11 20:42:37 kid1| DNS Socket created at 0.0.0.0, FD 7
> 2014/05/11 20:42:37 kid1| Adding nameserver x.x.x.x from /etc/resolv.conf
> 2014/05/11 20:42:37 kid1| Adding nameserver x.x.x.x from /etc/resolv.conf
> 2014/05/11 20:42:37 kid1| Adding domain xxxxx.com from /etc/resolv.conf
> 2014/05/11 20:42:37 kid1| Logfile: opening log
> daemon:/var/squid/logs/access.log
> 2014/05/11 20:42:37 kid1| Logfile Daemon: opening log
> /var/squid/logs/access.log
> 2014/05/11 20:42:37 kid1| ipcCreate: /opt/squid/libexec/log_file_daemon:
> (2) No
> such file or directory
>

The problem here is the log_file_daemon helper program being unavailable
or missing.

Amos
Received on Mon May 12 2014 - 07:40:01 MDT

This archive was generated by hypermail 2.2.0 : Mon May 12 2014 - 12:00:05 MDT