0

The squid service keeps crushing and below is the message seen when i run service “status”, could anyone please tell me what the problem could be?

See below my Linux OS version: 

# cat /etc/os-release
NAME=”Linux Mint”
VERSION=”21.1 (Vera)”
ID=linuxmint
ID_LIKE=”ubuntu debian”
PRETTY_NAME=”Linux Mint 21.1″
VERSION_ID=”21.1″
HOME_URL=”https://www.linuxmint.com/”
SUPPORT_URL=”https://forums.linuxmint.com/”
BUG_REPORT_URL=”http://linuxmint-troubleshooting-guide.readthedocs.io/en/latest/”
PRIVACY_POLICY_URL=”https://www.linuxmint.com/”
VERSION_CODENAME=vera
UBUNTU_CODENAME=jammy

And the sample error message when i check “service squid status”:

# service squid status
× squid.service – Squid Web Proxy Server
Loaded: loaded (/lib/systemd/system/squid.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Fri 2023-02-24 19:20:53 CAT; 2 days ago
Docs: man:squid(8)
Process: 671188 ExecStartPre=/usr/sbin/squid –foreground -z (code=exited, status=0/SUCCESS)
Process: 671191 ExecStart=/usr/sbin/squid –foreground -sYC (code=exited, status=1/FAILURE)
Main PID: 671191 (code=exited, status=1/FAILURE)
CPU: 2min 15.674s

squid[671191]: Squid Parent: squid-1 process 672979 exited with status 1
squid[671191]: Squid Parent: squid-1 process 672979 will not be restarted for 3600 seconds due to repeated, frequent failures
squid[671191]: Exiting due to repeated, frequent failures
squid[671191]: Removing PID file (/run/squid.pid)
systemd[1]: squid.service: Main process exited, code=exited, status=1/FAILURE
systemd[1]: squid.service: Killing process 672981 (pinger) with signal SIGKILL.
systemd[1]: squid.service: Killing process 672981 (pinger) with signal SIGKILL.
systemd[1]: squid.service: Failed with result ‘exit-code’.
systemd[1]: squid.service: Unit process 672981 (pinger) remains running after unit stopped.
systemd[1]: squid.service: Consumed 2min 15.674s CPU time.

Spread the word:
Tech Junction Answered question February 27, 2023