[squid-users] /var/run/squid gone on every reboot?!

Eliezer Croitoru eliezer at ngtech.co.il
Mon Jul 10 14:25:13 UTC 2017


Have you tried to use the Debian 9 default squid and see if it acts the same?
If not you can use their sysv init script for your version.

Eliezer

----
Eliezer Croitoru
Linux System Administrator
Mobile: +972-5-28704261
Email: eliezer at ngtech.co.il



-----Original Message-----
From: squid-users [mailto:squid-users-bounces at lists.squid-cache.org] On Behalf Of Heiler Bemerguy
Sent: Monday, July 10, 2017 17:12
To: squid-users at lists.squid-cache.org
Subject: Re: [squid-users] /var/run/squid gone on every reboot?!

Debian 9

Squid Cache: Version 3.5.26
Service Name: squid
configure options:  '--enable-htcp' '--disable-maintainer-mode' 
'--disable-dependency-tracking' '--disable-wccp' '--disable-snmp' 
'--enable-inline' '--enable-async-io=32' '--enable-storeio=aufs,rock' 
'--enable-underscores' '--enable-removal-policies=lru,heap' 
'--enable-http-violations' '--disable-ident-lookups' 
'--with-large-files' '--enable-ssl' '--enable-ltdl-convenience' 
'--prefix=/usr' '--localstatedir=/var' '--libexecdir=/lib/squid' 
'--srcdir=.' '--datadir=/usr/share/squid' '--sysconfdir=/etc/squid' 
'--with-default-user=proxy' '--with-logdir=/var/log' 
'--with-pidfile=/var/run/squid.pid' '--with-filedescriptors=16384' 
'--with-aufs-threads=32' '--disable-translation' 'CFLAGS=-march=native 
-g -Ofast -pipe -Wformat -Werror=format-security -Wall' 
'CXXFLAGS=-march=native -g -Ofast -pipe -Wformat -Werror=format-security'

It has a squid.rc inside "init.d" borrowed from "tools/sysvinit", but 
even if we try to start it manually after rebooting, it gives a lot of 
mixed errors and won't work till someone re-creates /var/run/squid with 
proxy:proxy permission


-- 
Atenciosamente / Best Regards,

Heiler Bemerguy
Network Manager - CINBESA
55 91 98151-4894/3184-1751


Em 07/07/2017 05:00, Antony Stone escreveu:
> On Friday 07 July 2017 at 08:22:29, Heiler Bemerguy wrote:
>
>> 3.5. Everytime I must recreate this. What I'm missing?
> Hm, dunno.
>
> Give us a clue...
>
> What operating system are you running under, and how did you install squid?
>
> How does squid (try to) start at boot time?
>
>
>
> Antony.
>

_______________________________________________
squid-users mailing list
squid-users at lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users



More information about the squid-users mailing list