Была такая тема 2 года назад, но тамошнее решение не помогло. Не могу заставить работать squd. При старте пишет DONE, но не работает и при проверке пишет, то, что написанов заголовке темы.
Вот что имею в данный момент.
конфиг
acl localnet src 192.168.0.0/16 # RFC1918 possible internal network
acl SSL_ports port 443
acl SSL_ports port 3050
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
acl CONNECT method CONNECT
acl redirect dstdomain "/etc/squid/bl"
http_access deny redirect
deny_info http://search.skydns.ru redirect
http_access allow localhost manager
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localnet
http_access allow localhost
http_access deny all
http_port 192.168.1.1:3128
visible_hostname mbou58-squid
вот сто выдает лог после запуска
2016/05/25 15:43:49 kid1| Starting Squid Cache version 3.2.13-BZR for i586-alt-linux-gnu...
2016/05/25 15:43:49 kid1| Process ID 9892
2016/05/25 15:43:49 kid1| Process Roles: worker
2016/05/25 15:43:49 kid1| With 16384 file descriptors available
2016/05/25 15:43:49 kid1| Initializing IP Cache...
2016/05/25 15:43:49 kid1| DNS Socket created at [::], FD 7
2016/05/25 15:43:49 kid1| DNS Socket created at 0.0.0.0, FD 8
2016/05/25 15:43:49 kid1| Adding nameserver 127.0.0.1 from /etc/resolv.conf
2016/05/25 15:43:49 kid1| Logfile: opening log daemon:/var/log/squid/access.log
2016/05/25 15:43:49 kid1| Logfile Daemon: opening log /var/log/squid/access.log
2016/05/25 15:43:49 kid1| Local cache digest enabled; rebuild/rewrite every 3600/3600 sec
2016/05/25 15:43:49 kid1| Store logging disabled
2016/05/25 15:43:49 kid1| Swap maxSize 0 + 262144 KB, estimated 20164 objects
2016/05/25 15:43:49 kid1| Target number of buckets: 1008
2016/05/25 15:43:49 kid1| Using 8192 Store buckets
2016/05/25 15:43:49 kid1| Max Mem size: 262144 KB
2016/05/25 15:43:49 kid1| Max Swap size: 0 KB
2016/05/25 15:43:49 kid1| Using Least Load store dir selection
2016/05/25 15:43:49 kid1| Current Directory is /
2016/05/25 15:43:49 kid1| Loaded Icons.
2016/05/25 15:43:49 kid1| commBind: Cannot bind socket FD 11 to 192.168.1.1:3128: (98) Address already in use
2016/05/25 15:43:49 kid1| HTCP Disabled.
2016/05/25 15:43:49 kid1| Pinger socket opened on FD 13
2016/05/25 15:43:49 kid1| Squid plugin modules loaded: 0
2016/05/25 15:43:49 kid1| Adaptation support is off.
2016/05/25 15:43:49 kid1| Closing HTTP port 192.168.1.1:3128
2016/05/25 15:43:49 kid1| storeDirWriteCleanLogs: Starting...
2016/05/25 15:43:49 kid1| Finished. Wrote 0 entries.
2016/05/25 15:43:49 kid1| Took 0.00 seconds ( 0.00 entries/sec).
FATAL: Unable to open HTTP Socket
Squid Cache (Version 3.2.13-BZR): Terminated abnormally.
CPU Usage: 0.040 seconds = 0.028 user + 0.012 sys
Maximum Resident Size: 49264 KB
Page faults with physical i/o: 0
Memory usage for squid via mallinfo():
total space in arena: 4924 KB
Ordinary blocks: 4828 KB 4 blks
Small blocks: 0 KB 2 blks
Holding blocks: 7252 KB 6 blks
Free Small blocks: 0 KB
Free Ordinary blocks: 95 KB
Total in use: 12080 KB 245%
Total free: 95 KB 2%
2016/05/25 15:43:49 kid1| Closing Pinger socket on FD 13
2016/05/25 15:43:49| pinger: Initialising ICMP pinger ...
2016/05/25 15:43:49| pinger: ICMP socket opened.
2016/05/25 15:43:49| pinger: ICMPv6 socket opened
2016/05/25 15:43:49| Pinger exiting.
netstat -natp
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 5464/sshd
tcp 0 0 0.0.0.0:631 0.0.0.0:* LISTEN 5514/cupsd
tcp 0 0 192.168.1.1:3128 0.0.0.0:* LISTEN 9369/(squid-1)
tcp 0 0 0.0.0.0:37752 0.0.0.0:* LISTEN -
tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN 4839/named
tcp 0 0 0.0.0.0:762 0.0.0.0:* LISTEN 5579/rpc.rquotad
tcp 0 0 0.0.0.0:1947 0.0.0.0:* LISTEN 5940/hasplmd
tcp 0 0 0.0.0.0:54043 0.0.0.0:* LISTEN 5643/rpc.mountd
tcp 0 0 0.0.0.0:35069 0.0.0.0:* LISTEN 5643/rpc.mountd
tcp 0 0 127.0.0.1:65534 0.0.0.0:* LISTEN 7112/nrpe
tcp 0 0 0.0.0.0:2049 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:58280 0.0.0.0:* LISTEN 5643/rpc.mountd
tcp 0 0 127.0.0.1:10026 0.0.0.0:* LISTEN 6170/clamsmtpd
tcp 0 0 0.0.0.0:3050 0.0.0.0:* LISTEN 5413/xinetd
tcp 0 0 0.0.0.0:39756 0.0.0.0:* LISTEN 4702/rpc.statd
tcp 0 0 0.0.0.0:13 0.0.0.0:* LISTEN 5413/xinetd
tcp 0 0 0.0.0.0:9102 0.0.0.0:* LISTEN 6009/bacula-fd
tcp 0 0 0.0.0.0:9103 0.0.0.0:* LISTEN 6061/bacula-sd
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 4652/rpcbind
tcp 0 0 10.8.0.1:53 0.0.0.0:* LISTEN 4839/named
tcp 0 0 192.168.10.1:53 0.0.0.0:* LISTEN 4839/named
tcp 0 0 192.168.1.1:53 0.0.0.0:* LISTEN 4839/named
tcp 0 0 188.130.186.9:53 0.0.0.0:* LISTEN 4839/named
tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 4839/named
tcp 0 0 188.130.186.9:52360 87.240.143.241:443 ESTABLISHED 9369/(squid-1)
tcp 0 0 188.130.186.9:56213 46.165.2.23:443 ESTABLISHED 9369/(squid-1)
tcp 0 0 188.130.186.9:38297 104.20.89.243:443 ESTABLISHED 9369/(squid-1)
tcp 0 0 192.168.1.1:3128 192.168.1.11:51361 ESTABLISHED 9369/(squid-1)
tcp 0 0 188.130.186.9:34477 87.250.247.172:443 ESTABLISHED 9369/(squid-1)
tcp 0 0 192.168.1.1:3128 192.168.1.34:51703 ESTABLISHED 9369/(squid-1)
tcp 0 0 188.130.186.9:52429 217.69.135.163:80 ESTABLISHED 9369/(squid-1)
tcp 0 0 188.130.186.9:34903 46.165.2.59:443 ESTABLISHED 9369/(squid-1)
tcp 0 0 192.168.1.1:3128 192.168.1.11:51363 ESTABLISHED 9369/(squid-1)
tcp 0 0 192.168.1.1:3128 192.168.1.34:51689 ESTABLISHED 9369/(squid-1)
tcp 0 0 192.168.1.1:3128 192.168.1.34:51685 ESTABLISHED 9369/(squid-1)
tcp 0 0 188.130.186.9:34824 217.69.133.145:443 ESTABLISHED 9369/(squid-1)
tcp 0 0 192.168.1.1:3128 192.168.1.34:51639 ESTABLISHED 9369/(squid-1)
tcp 0 0 192.168.1.1:3128 192.168.1.11:51367 ESTABLISHED 9369/(squid-1)
tcp 0 0 192.168.1.1:22 192.168.1.42:40521 ESTABLISHED 8286/sshd: mbou58 [
tcp 0 0 192.168.1.1:3128 192.168.1.34:51698 ESTABLISHED 9369/(squid-1)
tcp 0 0 188.130.186.9:45528 87.250.250.119:443 ESTABLISHED 9369/(squid-1)
tcp 0 0 :::22 :::* LISTEN 5464/sshd
tcp 0 0 :::33751 :::* LISTEN 5643/rpc.mountd
tcp 0 0 :::631 :::* LISTEN 5514/cupsd
tcp 0 0 :::443 :::* LISTEN 6913/httpd2
tcp 0 0 :::2049 :::* LISTEN -
tcp 0 0 :::46309 :::* LISTEN -
tcp 0 0 :::33862 :::* LISTEN 5643/rpc.mountd
tcp 0 0 :::53097 :::* LISTEN 4702/rpc.statd
tcp 0 0 :::58602 :::* LISTEN 5643/rpc.mountd
tcp 0 0 :::111 :::* LISTEN 4652/rpcbind
tcp 0 0 :::8080 :::* LISTEN 7303/guile18
tcp 0 0 :::80 :::* LISTEN 6913/httpd2
ps -aux | grep 9369
squid 9369 0.0 0.7 31408 14476 ? S 15:40 0:00 (squid-1) -f /etc/squid/squid.conf
root 10335 0.0 0.0 3956 796 pts/0 S+ 15:52 0:00 grep --color=auto 9369
то есть он вроде как работает, но не работает