Re: [squid-users] Re: Squid not listening on any port

2014-08-27 Thread Eliezer Croitoru

On 08/27/2014 09:31 AM, israelsilva1 wrote:

babajaga wrote

As long as you do not use parent proxy, no need for pinger. And, even in
case of parent, pinger is nice to have.

I don't. So that's ok.

Thanks!

Just make sure you have the sticky execution bit of a root user on the 
pinger binary file.

If it's not set it would be the cause for it.
(and as a side note: only root privileged user can use ICMP\PING unless 
used with sticky bit)


Eliezer


Re: [squid-users] Re: Squid not listening on any port

2014-08-27 Thread Amos Jeffries
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 27/08/2014 5:19 p.m., israelsilva1 wrote:
 israelsilva1 wrote
 
 babajaga wrote
 1) Pinger exiting. You might try to disable pinger in
 squid.conf pinger_enable off
 
 Just for completeness: Pls, publish squid.conf, without
 comments. Anonymized.
 Disabled and it started listening!
 
 Thanks a lot...
 
 Now the question is: Why did pinger fail and should I bother fixing
 it?

Most common reasons for fails are opening its sockets. Either the
binary needs root owner:group and access to open the necessary
sockets, or IPv6 socket for ICMPv6 fails to open on true dual-stack or
split-stack operating systems.

Amos

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.22 (MingW32)

iQEcBAEBAgAGBQJT/eiVAAoJELJo5wb/XPRjSRcIAL0DrCjgG49aBBD4JrjViFyn
0w/XqS+7qNHNhlGJX5ZfcV0V8yLpvJssNxa69WzIy50Tymb/mg68lozoUdhquof8
vH7rr/6fDxKw25Y5roahmHxNHiN9T5injq2JERqPRrd1kh/gpGA4Hul4ZDVgHtci
ibmVLzwDjyRMXV82QgQ6IWJ+a11ZxgYtsODQqnBIdTcYIJFk3zzelc/1YDhWeDX/
P+cPtq2jNOrb9faTj/GZbspuzCOboHcC2V3+3js+iGjXuH2Ca2OVEckGJ69HUqfT
uyaJ4Nm6uCyOLXhU1kpcwtyMiyZFrdB9vz80FixqV1A5jiM2xpvTQkzfrF0PlP8=
=C54d
-END PGP SIGNATURE-


Re: [squid-users] Re: Squid not listening on any port

2014-07-24 Thread Amos Jeffries
On 24/07/2014 9:41 p.m., israelsilva1 wrote:
 Thanks, yeah tried that too but not errors...
 
 /[root@dxb-squid34 ~]# squid -N -d 100

 Um, 100 is not a debug level between 0 and 9.


 2014/07/24 13:38:18| Warning: empty ACL: acl blockfiles urlpath_regex -i
 /etc/squid/local/bad/blockfiles
 2014/07/24 13:38:18| Current Directory is /root
 2014/07/24 13:38:18| Starting Squid Cache version 3.4.6 for
 x86_64-unknown-linux-gnu...
 2014/07/24 13:38:18| Process ID 12812
 2014/07/24 13:38:18| Process Roles: master worker
 2014/07/24 13:38:18| With 4096 file descriptors available
 2014/07/24 13:38:18| Initializing IP Cache...
 2014/07/24 13:38:18| DNS Socket created at 0.0.0.0, FD 6
 2014/07/24 13:38:18| Adding nameserver 10.11.1.11 from squid.conf
 2014/07/24 13:38:18| Adding nameserver 10.11.1.12 from squid.conf
 2014/07/24 13:38:18| helperOpenServers: Starting 0/100 'squidGuard'
 processes
 2014/07/24 13:38:18| helperOpenServers: No 'squidGuard' processes needed.
 2014/07/24 13:38:18| Logfile: opening log /var/log/squid/access.log
 2014/07/24 13:38:18| WARNING: log name now starts with a module name. Use
 'stdio:/var/log/squid/access.log'
 2014/07/24 13:38:18| Local cache digest enabled; rebuild/rewrite every
 3600/3600 sec
 2014/07/24 13:38:18| Logfile: opening log /var/log/squid/store.log
 2014/07/24 13:38:18| WARNING: log name now starts with a module name. Use
 'stdio:/var/log/squid/store.log'
 2014/07/24 13:38:18| Swap maxSize 210944000 + 2097152 KB, estimated 16387780
 objects
 2014/07/24 13:38:18| Target number of buckets: 819389
 2014/07/24 13:38:18| Using 1048576 Store buckets
 2014/07/24 13:38:18| Max Mem  size: 2097152 KB
 2014/07/24 13:38:18| Max Swap size: 210944000 KB
 2014/07/24 13:38:18| Rebuilding storage in /cache2/squid (clean log)
 2014/07/24 13:38:18| Rebuilding storage in /cache3/squid (clean log)
 2014/07/24 13:38:18| Rebuilding storage in /cache4/squid (clean log)
 2014/07/24 13:38:18| Using Least Load store dir selection
 2014/07/24 13:38:18| Current Directory is /root
 2014/07/24 13:38:18| Finished loading MIME types and icons.
 2014/07/24 13:38:18| HTCP Disabled.

Squid is still loading the cache_dir data into memory and there has been
no mention of ports loaded from the config file yet.
 Where is the rest of the startup log?

Amos