← Back to team overview

enterprise-support team mailing list archive

Re: [Question #680111]: squid won't listen on configured port

 

Question #680111 on squid in Ubuntu changed:
https://answers.launchpad.net/ubuntu/+source/squid/+question/680111

    Status: Needs information => Open

Thomas gave more information on the question:
root@proxy:~# sed 's/http_port 3128/http_port 3129/g' -i /etc/squid/squid.conf
root@proxy:~# grep '^http_port' /etc/squid/squid.conf
http_port 3129

than I stopped squid and made sure, that no squid process is running,
before I started the service again.

root@proxy:~# netstat -plant | grep -i squid
root@proxy:~# grep 3129 /var/log/squid/cache.log

# they gives me no output

root@proxy:~# service squid status
● squid.service - LSB: Squid HTTP Proxy version 3.x
   Loaded: loaded (/etc/init.d/squid; bad; vendor preset: enabled)
   Active: active (running) since Do 2019-04-11 14:29:23 CEST; 6min ago
     Docs: man:systemd-sysv-generator(8)
  Process: 12320 ExecStop=/etc/init.d/squid stop (code=exited, status=0/SUCCESS)
  Process: 11866 ExecReload=/etc/init.d/squid reload (code=exited, status=0/SUCCESS)
  Process: 12495 ExecStart=/etc/init.d/squid start (code=exited, status=0/SUCCESS)
    Tasks: 9
   Memory: 36.3M
      CPU: 264ms
   CGroup: /system.slice/squid.service
           ├─ 1027 (pinger)
           ├─ 1484 (pinger)
           ├─ 1626 (pinger)
           ├─ 2457 (pinger)
           ├─ 2480 (pinger)
           ├─12536 /usr/sbin/squid -YC -f /etc/squid/squid.conf
           ├─12538 (squid-1) -YC -f /etc/squid/squid.conf
           ├─12539 (logfile-daemon) /var/log/squid/access.log
           └─12540 (pinger)

Apr 11 14:29:23 proxy systemd[1]: Starting LSB: Squid HTTP Proxy version 3.x...
Apr 11 14:29:23 proxy squid[12495]:  * Starting Squid HTTP Proxy squid
Apr 11 14:29:23 proxy squid[12536]: Squid Parent: will start 1 kids
Apr 11 14:29:23 proxy squid[12536]: Squid Parent: (squid-1) process 12538 started
Apr 11 14:29:23 proxy squid[12495]:    ...done.
Apr 11 14:29:23 proxy systemd[1]: Started LSB: Squid HTTP Proxy version 3.x.

cache.log has this content:
2019/04/11 14:29:23 kid1| Set Current Directory to /var/spool/squid
2019/04/11 14:29:23 kid1| Starting Squid Cache version 3.5.12 for x86_64-pc-linux-gnu...
2019/04/11 14:29:23 kid1| Service Name: squid
2019/04/11 14:29:23 kid1| Process ID 12538
2019/04/11 14:29:23 kid1| Process Roles: worker
2019/04/11 14:29:23 kid1| With 65535 file descriptors available
2019/04/11 14:29:23 kid1| Initializing IP Cache...
2019/04/11 14:29:23 kid1| DNS Socket created at [::], FD 6
2019/04/11 14:29:23 kid1| DNS Socket created at 0.0.0.0, FD 8
2019/04/11 14:29:23 kid1| Adding nameserver 127.0.0.1 from /etc/resolv.conf
2019/04/11 14:29:23 kid1| Adding domain zeppelin.lan from /etc/resolv.conf
2019/04/11 14:29:23 kid1| Adding domain fritz.box from /etc/resolv.conf
2019/04/11 14:29:23 kid1| Logfile: opening log daemon:/var/log/squid/access.log
2019/04/11 14:29:23 kid1| Logfile Daemon: opening log /var/log/squid/access.log
2019/04/11 14:29:23 kid1| Local cache digest enabled; rebuild/rewrite every 3600/3600 sec
2019/04/11 14:29:23 kid1| Store logging disabled
2019/04/11 14:29:23 kid1| Swap maxSize 0 + 262144 KB, estimated 20164 objects
2019/04/11 14:29:23 kid1| Target number of buckets: 1008
2019/04/11 14:29:23 kid1| Using 8192 Store buckets
2019/04/11 14:29:23 kid1| Max Mem  size: 262144 KB
2019/04/11 14:29:23 kid1| Max Swap size: 0 KB
2019/04/11 14:29:23 kid1| Using Least Load store dir selection
2019/04/11 14:29:23 kid1| Set Current Directory to /var/spool/squid
2019/04/11 14:29:23 kid1| Finished loading MIME types and icons.
2019/04/11 14:29:23 kid1| HTCP Disabled.
2019/04/11 14:29:23| pinger: Initialising ICMP pinger ...
2019/04/11 14:29:23| pinger: ICMP socket opened.
2019/04/11 14:29:23| pinger: ICMPv6 socket opened

-- 
You received this question notification because your team Ubuntu
Server/Client Support Team is an answer contact for squid in Ubuntu.