Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #275335

Squid on Debian 12 not staring via systemd

From Timothy M Butterworth <timothy.m.butterworth@gmail.com>
Newsgroups linux.debian.user
Subject Squid on Debian 12 not staring via systemd
Date 2024-12-06 11:10 +0100
Message-ID <JQDrz-e87r-5@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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/
⠈⠳⣄⠀⠀

Back to linux.debian.user | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Squid on Debian 12 not staring via systemd Timothy M Butterworth <timothy.m.butterworth@gmail.com> - 2024-12-06 11:10 +0100
  Re: Squid on Debian 12 not staring via systemd Timothy M Butterworth <timothy.m.butterworth@gmail.com> - 2024-12-06 11:30 +0100
    Re: Squid on Debian 12 not staring via systemd Jeffrey Walton <noloader@gmail.com> - 2024-12-06 17:30 +0100
      Re: Squid on Debian 12 not staring via systemd Timothy M Butterworth <timothy.m.butterworth@gmail.com> - 2024-12-06 18:20 +0100
        Re: Squid on Debian 12 not staring via systemd Jeffrey Walton <noloader@gmail.com> - 2024-12-06 19:20 +0100
          Re: Squid on Debian 12 not staring via systemd Charles Curley <charlescurley@charlescurley.com> - 2024-12-06 20:10 +0100
      Re: Squid on Debian 12 not staring via systemd Timothy M Butterworth <timothy.m.butterworth@gmail.com> - 2024-12-06 22:40 +0100
        Re: Squid on Debian 12 not staring via systemd Timothy M Butterworth <timothy.m.butterworth@gmail.com> - 2024-12-06 23:40 +0100
          Re: Squid on Debian 12 not staring via systemd "Andrew M.A. Cater" <amacater@einval.com> - 2024-12-07 00:20 +0100
            Re: Squid on Debian 12 not staring via systemd Timothy M Butterworth <timothy.m.butterworth@gmail.com> - 2024-12-07 12:40 +0100
          Re: Squid on Debian 12 not staring via systemd Timothy M Butterworth <timothy.m.butterworth@gmail.com> - 2024-12-07 04:00 +0100
            Re: Squid on Debian 12 not staring via systemd Andy Smith <andy@strugglers.net> - 2024-12-07 04:20 +0100
            Re: Squid on Debian 12 not staring via systemd Greg Wooledge <greg@wooledge.org> - 2024-12-07 04:40 +0100
            Re: Squid on Debian 12 not staring via systemd Timothy M Butterworth <timothy.m.butterworth@gmail.com> - 2024-12-07 05:00 +0100
  Re: Squid on Debian 12 not staring via systemd Stefan Monnier <monnier@iro.umontreal.ca> - 2024-12-06 17:00 +0100

csiph-web