Hello,

Is anyone running Squid on Debian 12? I installed it but I can not get it
to start via systemd.

root@hp-debian:/home/tmb# systemctl status squid.service
× squid.service - Squid Web Proxy Server
    Loaded: loaded (/lib/systemd/system/squid.service; enabled; preset:
enabled)
    Active: failed (Result: timeout) since Fri 2024-12-06 04:34:58 EST; 20s
ago
      Docs: man:squid(8)
   Process: 24544 ExecStartPre=/usr/sbin/squid --foreground -z
(code=exited, status=0/SUCCESS)
   Process: 24547 ExecStart=/usr/sbin/squid --foreground -sYC (code=exited,
status=1/FAILURE)
  Main PID: 24547 (code=exited, status=1/FAILURE)
       CPU: 186ms

Dec 06 04:33:28 hp-debian squid[24549]: Finished loading MIME types and
icons.
Dec 06 04:33:28 hp-debian squid[24549]: HTCP Disabled.
Dec 06 04:34:58 hp-debian systemd[1]: squid.service: start operation timed
out. Terminating.
Dec 06 04:34:58 hp-debian squid[24547]: Squid Parent: squid-1 process 24549
exited due to signal 15 with status 0
Dec 06 04:34:58 hp-debian squid[24547]: Exiting due to unexpected forced
shutdown
Dec 06 04:34:58 hp-debian squid[24547]: Removing PID file (/run/squid.pid)
Dec 06 04:34:58 hp-debian systemd[1]: squid.service: Main process exited,
code=exited, status=1/FAILURE
Dec 06 04:34:58 hp-debian systemd[1]: squid.service: Killing process 24551
(pinger) with signal SIGKILL.
Dec 06 04:34:58 hp-debian systemd[1]: squid.service: Failed with result
'timeout'.
Dec 06 04:34:58 hp-debian systemd[1]: Failed to start squid.service - Squid
Web Proxy Server.

root@hp-debian:/home/tmb# journalctl -xeu squid.service
Dec 06 04:33:28 hp-debian squid[24549]: Process ID 24549
Dec 06 04:33:28 hp-debian squid[24549]: Process Roles: worker
Dec 06 04:33:28 hp-debian squid[24549]: With 1024 file descriptors available
Dec 06 04:33:28 hp-debian squid[24549]: Initializing IP Cache...
Dec 06 04:33:28 hp-debian squid[24549]: DNS Socket created at [::], FD 8
Dec 06 04:33:28 hp-debian squid[24549]: DNS Socket created at 0.0.0.0, FD 9
Dec 06 04:33:28 hp-debian squid[24549]: Adding nameserver 192.168.195.2
from /etc/resolv.conf
Dec 06 04:33:28 hp-debian squid[24549]: Adding nameserver
2600:380:8c28:f0aa::df from /etc/resolv.conf
Dec 06 04:33:28 hp-debian squid[24549]: Logfile: opening log
daemon:/var/log/squid/access.log
Dec 06 04:33:28 hp-debian squid[24549]: Logfile Daemon: opening log
/var/log/squid/access.log
Dec 06 04:33:28 hp-debian squid[24549]: Local cache digest enabled;
rebuild/rewrite every 3600/3600 sec
Dec 06 04:33:28 hp-debian squid[24549]: Store logging disabled
Dec 06 04:33:28 hp-debian squid[24549]: Swap maxSize 0 + 262144 KB,
estimated 20164 objects
Dec 06 04:33:28 hp-debian squid[24549]: Target number of buckets: 1008
Dec 06 04:33:28 hp-debian squid[24549]: Using 8192 Store buckets
Dec 06 04:33:28 hp-debian squid[24549]: Max Mem  size: 262144 KB
Dec 06 04:33:28 hp-debian squid[24549]: Max Swap size: 0 KB
Dec 06 04:33:28 hp-debian squid[24549]: Using Least Load store dir selection
Dec 06 04:33:28 hp-debian squid[24549]: Set Current Directory to
/var/spool/squid
Dec 06 04:33:28 hp-debian squid[24549]: Finished loading MIME types and
icons.
Dec 06 04:33:28 hp-debian squid[24549]: HTCP Disabled.
Dec 06 04:34:58 hp-debian systemd[1]: squid.service: start operation timed
out. Terminating.
Dec 06 04:34:58 hp-debian squid[24547]: Squid Parent: squid-1 process 24549
exited due to signal 15 with status 0
Dec 06 04:34:58 hp-debian squid[24547]: Exiting due to unexpected forced
shutdown
Dec 06 04:34:58 hp-debian squid[24547]: Removing PID file (/run/squid.pid)
Dec 06 04:34:58 hp-debian systemd[1]: squid.service: Main process exited,
code=exited, status=1/FAILURE
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ An ExecStart= process belonging to unit squid.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 1.
Dec 06 04:34:58 hp-debian systemd[1]: squid.service: Killing process 24551
(pinger) with signal SIGKILL.
Dec 06 04:34:58 hp-debian systemd[1]: squid.service: Failed with result
'timeout'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ The unit squid.service has entered the 'failed' state with result
'timeout'.
Dec 06 04:34:58 hp-debian systemd[1]: Failed to start squid.service - Squid
Web Proxy Server.
░░ Subject: A start job for unit squid.service has failed
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ A start job for unit squid.service has finished with a failure.
░░
░░ The job identifier is 28852 and the job result is failed.

Squid starts via command line.
root@hp-debian:/home/tmb# squid
root@hp-debian:/home/tmb# squid
2024/12/06 04:41:16| FATAL: Squid is already running: Found fresh instance
PID file (/run/squid.pid) with PID 24701
   exception location: Instance.cc(121) ThrowIfAlreadyRunningWith

-- 
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org/
⠈⠳⣄⠀⠀

Reply via email to