I've got Squid 6.7 on my OpenWRT installation (system version 23.05 / kernel version 5.15.150). After I had to shut it down, it no longer starts! Even harder: I get the message that it's running:
mixtile@ClusterBox:~$ sudo /etc/init.d/squid start
mixtile@ClusterBox:~$ sudo /etc/init.d/squid status
running
But: There is no squid process running!
mixtile@ClusterBox:~$ ps | grep squid
3614 mixtile 1404 S grep squid
I don't even get a trace of Squid starting in its logfile /opt/squid/log/cache.log:
mixtile@ClusterBox:~$ sudo tail /opt/squid/log/cache.log
CPU Usage: 2.232 seconds = 2.002 user + 0.230 sys
Maximum Resident Size: 67264 KB
Page faults with physical i/o: 3
2026/04/07 17:59:21| Logfile: closing log stdio:/opt/squid/log/cache_store.log
2026/04/07 17:59:21| Logfile: closing log stdio:/opt/squid/log/access.log
2026/04/07 17:59:21| Open FD UNSTARTED 0 stdin
2026/04/07 17:59:21| Open FD UNSTARTED 1 stdout
2026/04/07 17:59:21| Open FD UNSTARTED 2 stderr
2026/04/07 17:59:21| Squid Cache (Version 6.7): Exiting normally.
2026/04/07 17:59:21| Removing PID file (/var/run/squid.pid)
Nor does a try to start Squid leave a trace in the syslog. Even stranger: I've just found out that the squid.conf file has been overwritten without my consent:
mixtile@ClusterBox:/etc/squid$ ls -al squid.conf*
-rw------- 1 root root 114 Apr 7 18:28 squid.conf
-rw-r--r-- 1 root root 3049 Oct 1 2025 squid.conf.default
-rw-r--r-- 1 root root 359278 Oct 1 2025 squid.conf.documented
-rw------- 1 root root 2887 Jan 15 15:38 squid.conf~
The new config file is much smaller than the old one:
mixtile@ClusterBox:~$ sudo cat /etc/squid/squid.conf
http_port 3128
coredump_dir /tmp/squid
visible_hostname OpenWrt
pinger_enable off
mime_table /tmp/squid/mime.conf
What's wrong here? Particularly: Why doesn't Squid start without even one single message?