Hey guys

I'm a newbie.
Sorry if this is a common problem.
Please, provide me the a way to resolve.

I'm getting the following message when starting squid:


root@fwhcr:/etc/squid# systemctl stop squid.service
root@fwhcr:/etc/squid# systemctl start squid.service
Job for squid.service failed because the control process exited with error
code.
See "systemctl status squid.service" and "journalctl -xeu squid.service"
for details.
root@fwhcr:/etc/squid# systemctl status squid.service
× squid.service - Squid Web Proxy Server
    Loaded: loaded (/lib/systemd/system/squid.service; enabled; preset:
enabled)
    Active: failed (Result: exit-code) since Mon 2024-01-29 16:27:10 -03;
4s ago
  Duration: 2h 59min 59.188s
      Docs: man:squid(8)
   Process: 525742 ExecStartPre=/usr/sbin/squid --foreground -z (code=exited,
status=1/FAILURE)
       CPU: 22ms

jan 29 16:27:10 fwhcr systemd[1]: Starting squid.service - Squid Web Proxy
Server...
jan 29 16:27:10 fwhcr squid[525742]: 2024/01/29 16:27:10| FATAL: getpwnam
failed to find userid for effective user 'squid'
jan 29 16:27:10 fwhcr squid[525742]: 2024/01/29 16:27:10| Squid Cache
(Version 5.7): Terminated abnormally.
jan 29 16:27:10 fwhcr squid[525742]: CPU Usage: 0.021 seconds = 0.015 user
+ 0.005 sys
jan 29 16:27:10 fwhcr squid[525742]: Maximum Resident Size: 40496 KB
jan 29 16:27:10 fwhcr squid[525742]: Page faults with physical i/o: 0
jan 29 16:27:10 fwhcr squid[525742]: FATAL: getpwnam failed to find userid
for effective user 'squid'
jan 29 16:27:10 fwhcr systemd[1]: squid.service: Control process exited,
code=exited, status=1/FAILURE
jan 29 16:27:10 fwhcr systemd[1]: squid.service: Failed with result
'exit-code'.
jan 29 16:27:10 fwhcr systemd[1]: Failed to start squid.service - Squid Web
Proxy Server.


SQUID.CONF
LINE 39:

access_log daemon:/var/log/squid/access.log squid
_______________________________________________
squid-users mailing list
squid-users@lists.squid-cache.org
https://lists.squid-cache.org/listinfo/squid-users

Reply via email to