[squid-users] building squid 4 terminates with fatal error but doesnt say the error

robert k Wild robertkwild at gmail.com
Tue Nov 26 09:54:04 UTC 2019


nice one Amos, i did -

touch /usr/local/squid/var/logs/access.log
chmod 777 /usr/local/squid/var/logs/access.log

On Tue, 26 Nov 2019 at 06:11, Amos Jeffries <squid3 at treenet.co.nz> wrote:

> On 26/11/19 1:55 pm, robert k Wild wrote:
> > hi all,
> >
> > im building squid 4 by following this guide -
> >
> > https://wiki.squid-cache.org/ConfigExamples/Intercept/SslBumpExplicit
> >
> > and when i try to run it, i get this error -
> >
> > [root at squid ~]# /usr/local/squid/sbin/squid -NCd1
> > 2019/11/26 00:43:59| Created PID file
> (/usr/local/squid/var/run/squid.pid)
> > 2019/11/26 00:43:59| Set Current Directory to
> > /usr/local/squid/var/cache/squid
> > 2019/11/26 00:43:59| Starting Squid Cache version 4.9 for
> > x86_64-pc-linux-gnu...
> > 2019/11/26 00:43:59| Service Name: squid
> > 2019/11/26 00:43:59| Process ID 1774
> > 2019/11/26 00:43:59| Process Roles: master worker
> > 2019/11/26 00:43:59| With 1024 file descriptors available
> > 2019/11/26 00:43:59| Initializing IP Cache...
> > 2019/11/26 00:43:59| DNS Socket created at [::], FD 3
> > 2019/11/26 00:43:59| DNS Socket created at 0.0.0.0, FD 9
> > 2019/11/26 00:43:59| Adding domain robo84.home from /etc/resolv.conf
> > 2019/11/26 00:43:59| Adding nameserver 8.8.8.8 from /etc/resolv.conf
>
> Not a good idea to use this resolver with SSL-Bump features. See
> <https://wiki.squid-cache.org/KnowledgeBase/HostHeaderForgery>.
>
>
> > 2019/11/26 00:43:59| Logfile: opening log
> > daemon:/usr/local/squid/var/logs/access.log
> > 2019/11/26 00:43:59| Logfile Daemon: opening log
> > /usr/local/squid/var/logs/access.log
> ...
> > 2019/11/26 00:44:00| logfileHandleWrite:
> > daemon:/usr/local/squid/var/logs/access.log: error writing ((32) Broken
> > pipe)
>
> There is your error message.
>
> Check that the folder path all exists and has the correct permissions
> for Squid's low-privilege account to create the access.log file there.
>
>
> > 2019/11/26 00:44:00| FATAL: I don't handle this error well!
> > 2019/11/26 00:44:00| Squid Cache (Version 4.9): Terminated abnormally.
>
>
> Amos
> _______________________________________________
> squid-users mailing list
> squid-users at lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users
>


-- 
Regards,

Robert K Wild.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20191126/fbd3b486/attachment.html>


More information about the squid-users mailing list