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

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



--
View this message in context: 
http://squid-web-proxy-cache.1019090.n4.nabble.com/Squid-not-listening-on-any-port-tp4667004p4667398.html
Sent from the Squid - Users mailing list archive at Nabble.com.


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

2014-08-27 Thread israelsilva1
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!



--
View this message in context: 
http://squid-web-proxy-cache.1019090.n4.nabble.com/Squid-not-listening-on-any-port-tp4667004p4667400.html
Sent from the Squid - Users mailing list archive at Nabble.com.


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-


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

2014-08-26 Thread babajaga
This is a bit strange:
2014/08/25 09:19:42| pinger: Initialising ICMP pinger ...
2014/08/25 09:19:42| pinger: ICMP socket opened.
2014/08/25 09:19:42| Pinger exiting.
2014/08/25 09:21:04| Current Directory is /root 

1) Pinger exiting. You might try to disable pinger in squid.conf
   pinger_enable off
2) Did you manually restart squid at 09:21:04 ?


Just for completeness: Pls, publish squid.conf, without comments.
Anonymized.



--
View this message in context: 
http://squid-web-proxy-cache.1019090.n4.nabble.com/Squid-not-listening-on-any-port-tp4667004p4667388.html
Sent from the Squid - Users mailing list archive at Nabble.com.


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

2014-08-26 Thread israelsilva1
hi,

thanks, yes I did reboot.


[root@dxb-squid34 ~]# cat /etc/squid/squid.conf
#
#
###
### MAIN  v01-PROX
###
#
#

# Listen Port
http_port 8081

#
#
###
### ACL DEFINITIONS
###
#
#

#acl CONNECT method CONNECT
#deny_info http://10.11.1.25/bannedfiles.php CONNECT

acl allowfiles dstdomain /etc/squid/local/good/files
http_access allow allowfiles

acl allow50MBfiles urlpath_regex -i /etc/squid/local/good/allow50MBfiles
http_access allow allow50MBfiles

acl blockfiles urlpath_regex -i /etc/squid/local/bad/blockfiles
deny_info http://10.11.1.25/bannedfiles.php blockfiles
http_access deny blockfiles

#acl blockhttps dstdomain -i /etc/squid/local/bad/blockhttps
#deny_info http://10.11.1.25/bannedfiles.php blockhttps
#http_access deny CONNECT blockhttps

#
acl AdminBoxes src 127.0.0.1
acl Purge method PURGE
http_access allow AdminBoxes Purge
http_access deny Purge
#
#
###
### ACL NETWORKS
###
#
#

acl polarcus-rd src 10.0.0.0/8
acl polarcus-rd-dst dst 10.0.0.0/8
acl polarcus-rd-dst dst x/22
acl polarcus-rd-v01 dst 10.x.0.0/16
acl survopt dst x/26

# Company Internal Sites
acl dxb-rd src 10.x.0.0/14
acl sto-rd src 10.x.0.0/16
acl v01-rd src 10.x.0.0/16
acl v02-rd src 10.x.0.0/16
acl v03-rd src 10.x.0.0/16
acl v04-rd src 10.x.0.0/16
acl v05-rd src 10.x.0.0/16
acl v06-rd src 10.x.0.0/16
acl v07-rd src 10.x.0.0/16
acl v08-rd src 10.x.0.0/16
acl v2v-rd src x.16.64.0/22

# Current Site Specific
...

# Misc
#acl manager proto cache_object
acl localhost src 10.11.1.29/32
acl to_localhost dst 10.11.1.29/32

# Safe ports
acl SSL_ports port 443 21
acl Safe_ports port 80  # http
acl Safe_ports port 21  # ftp
acl Safe_ports port 443 # https
acl Safe_ports port 70  # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535  # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http

# Connect Methods
acl CONNECT method CONNECT

# For FTP
acl FTP proto FTP

#
#
###
### ACL RULES - ACCES DENIED / GRANTED
###
#
#

# Only allow cachemgr access from localhost
http_access allow manager
#http_access deny manager

# Deny requests to unknown ports
http_access deny !Safe_ports

# Deny CONNECT to other than SSL ports
http_access deny CONNECT !SSL_ports

# Deny access to web services on localhost
http_access deny to_localhost

#
# INSERT YOUR OWN RULE(S) HERE TO ALLOW ACCESS FROM YOUR CLIENTS
#
...

#http_access deny social-sites
#http_access deny banned-sites

# Finally deny all other access to this proxy
http_access allow localhost
http_access deny all

#
#
###
### OTHER TAGS
###
#
#

# Make sure we only use the indirect client and not the X-Forwarded-For list
acl_uses_indirect_client on
delay_pool_uses_indirect_client on
log_uses_indirect_client on

# The following are needed only if your upstream proxy is using NTLM
authentication
#client_persistent_connections on
#server_persistent_connections on
#persistent_connection_after_error on

#
#
###
### UPSTREAM PROXY SETTINGS
###
#
#

# Setup Peer (downstream proxy)
#cache_peer sto-prox.plcs.local parent 8081 0 

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

2014-08-26 Thread israelsilva1
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...

[root@dxb-squid34 ~]# squid -N -d 9
2014/08/26 16:48:43| Warning: empty ACL: acl blockfiles urlpath_regex -i
/etc/squid/local/bad/blockfiles
2014/08/26 16:48:44| Current Directory is /root
2014/08/26 16:48:44| Starting Squid Cache version 3.4.6 for
x86_64-unknown-linux-gnu...
2014/08/26 16:48:44| Process ID 
2014/08/26 16:48:44| Process Roles: master worker
2014/08/26 16:48:44| With 4096 file descriptors available
2014/08/26 16:48:44| Initializing IP Cache...
2014/08/26 16:48:44| DNS Socket created at 0.0.0.0, FD 6
2014/08/26 16:48:44| Adding nameserver 10.11.1.11 from squid.conf
2014/08/26 16:48:44| Adding nameserver 10.11.1.12 from squid.conf
2014/08/26 16:48:44| helperOpenServers: Starting 0/100 'squidGuard'
processes
2014/08/26 16:48:44| helperOpenServers: No 'squidGuard' processes needed.
2014/08/26 16:48:44| Logfile: opening log /var/log/squid/access.log
2014/08/26 16:48:44| WARNING: log name now starts with a module name. Use
'stdio:/var/log/squid/access.log'
2014/08/26 16:48:44| Local cache digest enabled; rebuild/rewrite every
3600/3600 sec
2014/08/26 16:48:44| Logfile: opening log /var/log/squid/store.log
2014/08/26 16:48:44| WARNING: log name now starts with a module name. Use
'stdio:/var/log/squid/store.log'
2014/08/26 16:48:44| Swap maxSize 210944000 + 2097152 KB, estimated 16387780
objects
2014/08/26 16:48:44| Target number of buckets: 819389
2014/08/26 16:48:44| Using 1048576 Store buckets
2014/08/26 16:48:44| Max Mem  size: 2097152 KB
2014/08/26 16:48:44| Max Swap size: 210944000 KB
2014/08/26 16:48:44| Rebuilding storage in /cache2/squid (dirty log)
2014/08/26 16:48:44| Rebuilding storage in /cache3/squid (dirty log)
2014/08/26 16:48:44| Rebuilding storage in /cache4/squid (dirty log)
2014/08/26 16:48:44| Using Least Load store dir selection
2014/08/26 16:48:44| Current Directory is /root
2014/08/26 16:48:44| Finished loading MIME types and icons.
2014/08/26 16:48:44| HTCP Disabled.
2014/08/26 16:48:44| Squid plugin modules loaded: 0
2014/08/26 16:48:44| Adaptation support is off.
2014/08/26 16:48:44| Loading cache_dir #0 from /cache1/squid/rock
2014/08/26 16:48:44| Accepting HTTP Socket connections at local=0.0.0.0:8081
remote=[::] FD 17 flags=9
2014/08/26 16:48:44| Done reading /cache2/squid swaplog (0 entries)
2014/08/26 16:48:44| Store rebuilding is 0.00% complete
2014/08/26 16:48:44| Done reading /cache3/squid swaplog (0 entries)
2014/08/26 16:48:44| Done reading /cache4/squid swaplog (0 entries)
2014/08/26 16:48:53| Finished rebuilding storage from disk.
2014/08/26 16:48:53|   1638394 Entries scanned
2014/08/26 16:48:53| 0 Invalid entries.
2014/08/26 16:48:53| 0 With invalid flags.
2014/08/26 16:48:53| 0 Objects loaded.
2014/08/26 16:48:53| 0 Objects expired.
2014/08/26 16:48:53| 0 Objects cancelled.
2014/08/26 16:48:53| 0 Duplicate URLs purged.
2014/08/26 16:48:53| 0 Swapfile clashes avoided.
2014/08/26 16:48:53|   Took 8.71 seconds (  0.00 objects/sec).
2014/08/26 16:48:53| Beginning Validation Procedure
2014/08/26 16:48:53|   Completed Validation Procedure
2014/08/26 16:48:53|   Validated 0 Entries
2014/08/26 16:48:53|   store_swap_size = 16.00 KB
2014/08/26 16:48:53| storeLateRelease: released 0 objects




--
View this message in context: 
http://squid-web-proxy-cache.1019090.n4.nabble.com/Squid-not-listening-on-any-port-tp4667004p4667391.html
Sent from the Squid - Users mailing list archive at Nabble.com.


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

2014-08-26 Thread israelsilva1
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?

Thanks



--
View this message in context: 
http://squid-web-proxy-cache.1019090.n4.nabble.com/Squid-not-listening-on-any-port-tp4667004p4667396.html
Sent from the Squid - Users mailing list archive at Nabble.com.


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

2014-08-25 Thread babajaga
I would first eliminate the following warnings:
2014/08/25 09:21:04| Warning: empty ACL: acl blockfiles urlpath_regex -i
/etc/squid/local/bad/blockfiles
2014/08/25 09:21:04| WARNING: log name now starts with a module name. Use
'stdio:/var/log/squid/access.log'
2014/08/25 09:21:04| WARNING: log name now starts with a module name. Use
'stdio:/var/log/squid/store.log' 

and allow cache.log.
There might be some more info.



--
View this message in context: 
http://squid-web-proxy-cache.1019090.n4.nabble.com/Squid-not-listening-on-any-port-tp4667004p4667375.html
Sent from the Squid - Users mailing list archive at Nabble.com.


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

2014-08-25 Thread israelsilva1
babajaga wrote
 I would first eliminate the following warnings:
 2014/08/25 09:21:04| Warning: empty ACL: acl blockfiles urlpath_regex -i
 /etc/squid/local/bad/blockfiles
 2014/08/25 09:21:04| WARNING: log name now starts with a module name. Use
 'stdio:/var/log/squid/access.log'
 2014/08/25 09:21:04| WARNING: log name now starts with a module name. Use
 'stdio:/var/log/squid/store.log' 

OK I'll check that.


babajaga wrote
 and allow cache.log.
 There might be some more info.

It says:
/2014/08/25 09:19:42| Current Directory is /root
2014/08/25 09:19:42| Starting Squid Cache version 3.4.6 for
x86_64-unknown-linux-gnu...
2014/08/25 09:19:42| Process ID 30020
2014/08/25 09:19:42| Process Roles: master worker
2014/08/25 09:19:42| With 4096 file descriptors available
2014/08/25 09:19:42| Initializing IP Cache...
2014/08/25 09:19:42| DNS Socket created at 0.0.0.0, FD 6
2014/08/25 09:19:42| Adding nameserver 10.11.1.11 from squid.conf
2014/08/25 09:19:42| Adding nameserver 10.11.1.12 from squid.conf
2014/08/25 09:19:42| helperOpenServers: Starting 0/100 'squidGuard'
processes
2014/08/25 09:19:42| helperOpenServers: No 'squidGuard' processes needed.
2014/08/25 09:19:42| Logfile: opening log /var/log/squid/access.log
2014/08/25 09:19:42| WARNING: log name now starts with a module name. Use
'stdio:/var/log/squid/access.log'
2014/08/25 09:19:42| Local cache digest enabled; rebuild/rewrite every
3600/3600 sec
2014/08/25 09:19:42| Logfile: opening log /var/log/squid/store.log
2014/08/25 09:19:42| WARNING: log name now starts with a module name. Use
'stdio:/var/log/squid/store.log'
2014/08/25 09:19:42| Swap maxSize 210944000 + 2097152 KB, estimated 16387780
objects
2014/08/25 09:19:42| Target number of buckets: 819389
2014/08/25 09:19:42| Using 1048576 Store buckets
2014/08/25 09:19:42| Max Mem  size: 2097152 KB
2014/08/25 09:19:42| Max Swap size: 210944000 KB
2014/08/25 09:19:42| Rebuilding storage in /cache2/squid (dirty log)
2014/08/25 09:19:42| Rebuilding storage in /cache3/squid (dirty log)
2014/08/25 09:19:42| Rebuilding storage in /cache4/squid (dirty log)
2014/08/25 09:19:42| Using Least Load store dir selection
2014/08/25 09:19:42| Current Directory is /root
2014/08/25 09:19:42| Finished loading MIME types and icons.
2014/08/25 09:19:42| HTCP Disabled.
2014/08/25 09:19:42| pinger: Initialising ICMP pinger ...
2014/08/25 09:19:42| pinger: ICMP socket opened.
2014/08/25 09:19:42| Pinger exiting.
2014/08/25 09:21:04| Current Directory is /root
2014/08/25 09:21:04| Starting Squid Cache version 3.4.6 for
x86_64-unknown-linux-gnu...
2014/08/25 09:21:04| Process ID 30031
2014/08/25 09:21:04| Process Roles: master worker
2014/08/25 09:21:04| With 4096 file descriptors available
2014/08/25 09:21:04| Initializing IP Cache...
2014/08/25 09:21:04| DNS Socket created at 0.0.0.0, FD 6
2014/08/25 09:21:04| Adding nameserver 10.11.1.11 from squid.conf
2014/08/25 09:21:04| Adding nameserver 10.11.1.12 from squid.conf
2014/08/25 09:21:04| helperOpenServers: Starting 0/100 'squidGuard'
processes
2014/08/25 09:21:04| helperOpenServers: No 'squidGuard' processes needed.
2014/08/25 09:21:04| Logfile: opening log /var/log/squid/access.log
2014/08/25 09:21:04| WARNING: log name now starts with a module name. Use
'stdio:/var/log/squid/access.log'
2014/08/25 09:21:04| Local cache digest enabled; rebuild/rewrite every
3600/3600 sec
2014/08/25 09:21:04| Logfile: opening log /var/log/squid/store.log
2014/08/25 09:21:04| WARNING: log name now starts with a module name. Use
'stdio:/var/log/squid/store.log'
2014/08/25 09:21:04| Swap maxSize 210944000 + 2097152 KB, estimated 16387780
objects
2014/08/25 09:21:04| Target number of buckets: 819389
2014/08/25 09:21:04| Using 1048576 Store buckets
2014/08/25 09:21:04| Max Mem  size: 2097152 KB
2014/08/25 09:21:04| Max Swap size: 210944000 KB
2014/08/25 09:21:04| Rebuilding storage in /cache2/squid (dirty log)
2014/08/25 09:21:04| Rebuilding storage in /cache3/squid (dirty log)
2014/08/25 09:21:04| Rebuilding storage in /cache4/squid (dirty log)
2014/08/25 09:21:04| Using Least Load store dir selection
2014/08/25 09:21:04| Current Directory is /root
2014/08/25 09:21:04| Finished loading MIME types and icons.
2014/08/25 09:21:04| HTCP Disabled.
2014/08/25 09:21:04| pinger: Initialising ICMP pinger ...
2014/08/25 09:21:04| pinger: ICMP socket opened.
2014/08/25 09:21:04| Pinger exiting.
/

thanks



--
View this message in context: 
http://squid-web-proxy-cache.1019090.n4.nabble.com/Squid-not-listening-on-any-port-tp4667004p4667376.html
Sent from the Squid - Users mailing list archive at Nabble.com.


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

2014-08-24 Thread israelsilva1
Amos Jeffries wrote
  Um, 100 is not a debug level between 0 and 9.Amos

Nothing using 0:/[root@dxb-squid34 ~]# squid -N -d 02014/08/25 09:19:42|
Warning: empty ACL: acl blockfiles urlpath_regex -i
/etc/squid/local/bad/blockfiles2014/08/25 09:19:42| Starting Squid Cache
version 3.4.6 for x86_64-unknown-linux-gnu.../Same thing using
9:/[root@dxb-squid34 ~]# ps aux|grep squidroot 30030  0.0  0.0 103252  
828 pts/0S+   09:20   0:00 grep squid//[root@dxb-squid34 ~]# squid -N -d
92014/08/25 09:21:04| Warning: empty ACL: acl blockfiles urlpath_regex -i
/etc/squid/local/bad/blockfiles2014/08/25 09:21:04| Current Directory is
/root2014/08/25 09:21:04| Starting Squid Cache version 3.4.6 for
x86_64-unknown-linux-gnu...2014/08/25 09:21:04| Process ID 300312014/08/25
09:21:04| Process Roles: master worker2014/08/25 09:21:04| With 4096 file
descriptors available2014/08/25 09:21:04| Initializing IP Cache...2014/08/25
09:21:04| DNS Socket created at 0.0.0.0, FD 62014/08/25 09:21:04| Adding
nameserver 10.11.1.11 from squid.conf2014/08/25 09:21:04| Adding nameserver
10.11.1.12 from squid.conf2014/08/25 09:21:04| helperOpenServers: Starting
0/100 'squidGuard' processes2014/08/25 09:21:04| helperOpenServers: No
'squidGuard' processes needed.2014/08/25 09:21:04| Logfile: opening log
/var/log/squid/access.log2014/08/25 09:21:04| WARNING: log name now starts
with a module name. Use 'stdio:/var/log/squid/access.log'2014/08/25
09:21:04| Local cache digest enabled; rebuild/rewrite every 3600/3600
sec2014/08/25 09:21:04| Logfile: opening log
/var/log/squid/store.log2014/08/25 09:21:04| WARNING: log name now starts
with a module name. Use 'stdio:/var/log/squid/store.log'2014/08/25 09:21:04|
Swap maxSize 210944000 + 2097152 KB, estimated 16387780 objects2014/08/25
09:21:04| Target number of buckets: 8193892014/08/25 09:21:04| Using 1048576
Store buckets2014/08/25 09:21:04| Max Mem  size: 2097152 KB2014/08/25
09:21:04| Max Swap size: 210944000 KB2014/08/25 09:21:04| Rebuilding storage
in /cache2/squid (dirty log)2014/08/25 09:21:04| Rebuilding storage in
/cache3/squid (dirty log)2014/08/25 09:21:04| Rebuilding storage in
/cache4/squid (dirty log)2014/08/25 09:21:04| Using Least Load store dir
selection2014/08/25 09:21:04| Current Directory is /root2014/08/25 09:21:04|
Finished loading MIME types and icons.2014/08/25 09:21:04| HTCP
Disabled./Any thoughts?



--
View this message in context: 
http://squid-web-proxy-cache.1019090.n4.nabble.com/Squid-not-listening-on-any-port-tp4667004p4667371.html
Sent from the Squid - Users mailing list archive at Nabble.com.


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

2014-07-24 Thread israelsilva1
Thanks, yeah tried that too but not errors...

/[root@dxb-squid34 ~]# squid -N -d 100
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.
/


Nicolás wrote
 Hi,
 
 El 24/07/2014 7:31, israelsilva1 escribió:
 Hi everyone.

 I have compiled squid 3.4.6 from binaries.
 /Linux dxb-squid34 2.6.32-431.el6.x86_64 #1 SMP Fri Nov 22 03:15:09 UTC
 2013
 x86_64 x86_64 x86_64 GNU/Linux

 CentOS release 6.5 (Final)
 /
 squid.conf:
 /http_port 8081
 /

 I have squid running:

 [...]

 Can you help me finding out why this will not start listening?
 SElinux is disabled.
 Same squid conf is working on another server (squid 3.5.1HEAD)

 I suspect this is a permission issue?

 Thanks.

 --
 View this message in context:
 http://squid-web-proxy-cache.1019090.n4.nabble.com/Squid-not-listening-on-any-port-tp4667004.html
 Sent from the Squid - Users mailing list archive at Nabble.com.
 
 You could try starting squid3 in both no-daemon and debug mode and see 
 why it fails. Try running: squid3 -N -d 100
 
 This should print some extra info in your console to help you determine 
 why is it helping.
 
 Regards.





--
View this message in context: 
http://squid-web-proxy-cache.1019090.n4.nabble.com/Squid-not-listening-on-any-port-tp4667004p4667013.html
Sent from the Squid - Users mailing list archive at Nabble.com.


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