<div dir="ltr"><div><pre class="gmail-tw-data-text gmail-tw-text-large gmail-tw-ta" id="gmail-tw-target-text" style="text-align:left" dir="ltr"><span class="gmail-Y2IQFc" lang="en">Hey guys<br>
I'm a newbie.
Sorry if this is a common problem.
<br>Please, </span><span class="gmail-Y2IQFc" lang="en">provide me the a way to resolve</span><span class="gmail-Y2IQFc" lang="en">.<br>
I'm getting the following message when starting squid:</span></pre></div><div><br></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">root@fwhcr:/etc/squid# systemctl stop squid.service </span><br>root@fwhcr:/etc/squid# systemctl start squid.service <br><span style="font-weight:bold;color:rgb(255,84,84);background-color:rgb(255,255,255)">Job for squid.service failed because the control process exited with error code.</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br><span style="font-weight:bold;color:rgb(255,84,84);background-color:rgb(255,255,255)">See "systemctl status squid.service" and "journalctl -xeu squid.service" for details.</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br>root@fwhcr:/etc/squid# systemctl status squid.service <br><span style="font-weight:bold;color:rgb(255,84,84);background-color:rgb(255,255,255)">×</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)"> squid.service - Squid Web Proxy Server
</span><br> Loaded: loaded (/lib/systemd/system/squid.service; <span style="font-weight:bold;color:rgb(84,255,84);background-color:rgb(255,255,255)">enabled</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">; preset: </span><span style="font-weight:bold;color:rgb(84,255,84);background-color:rgb(255,255,255)">enabled</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">)
</span><br> Active: <span style="font-weight:bold;color:rgb(255,84,84);background-color:rgb(255,255,255)">failed</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)"> (Result: exit-code) since Mon 2024-01-29 16:27:10 -03; 4s ago
</span><br> Duration: 2h 59min 59.188s
<br> Docs: man:squid(8)
<br> Process: 525742 ExecStartPre=/usr/sbin/squid --foreground -z <span style="font-weight:bold;color:rgb(255,84,84);background-color:rgb(255,255,255)">(code=exited, status=1/FAILURE)</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br> CPU: 22ms
<br>
<br>jan 29 16:27:10 fwhcr systemd[1]: Starting squid.service - Squid Web Proxy Server...
<br>jan 29 16:27:10 fwhcr squid[525742]: 2024/01/29 16:27:10| FATAL: getpwnam failed to find userid for effective user 'squid'
<br>jan 29 16:27:10 fwhcr squid[525742]: 2024/01/29 16:27:10| Squid Cache (Version 5.7): Terminated abnormally.
<br>jan 29 16:27:10 fwhcr squid[525742]: CPU Usage: 0.021 seconds = 0.015 user + 0.005 sys
<br>jan 29 16:27:10 fwhcr squid[525742]: Maximum Resident Size: 40496 KB
<br>jan 29 16:27:10 fwhcr squid[525742]: Page faults with physical i/o: 0
<br>jan 29 16:27:10 fwhcr squid[525742]: <span style="font-weight:bold;color:rgb(255,84,84);background-color:rgb(255,255,255)">FATAL: getpwnam failed to find userid for effective user 'squid'</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br>jan 29 16:27:10 fwhcr systemd[1]: <span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">squid.service: Control process exited, code=exited, status=1/FAILURE</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br>jan 29 16:27:10 fwhcr systemd[1]: <span style="font-weight:bold;color:rgb(215,215,95);background-color:rgb(255,255,255)">squid.service: Failed with result 'exit-code'.</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br>jan 29 16:27:10 fwhcr systemd[1]: <span style="font-weight:bold;color:rgb(255,84,84);background-color:rgb(255,255,255)">Failed to start squid.service - Squid Web Proxy Server.</span><br><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br></span></div><div><span style="font-family:monospace"><br></span></div><div><span style="font-family:monospace">SQUID.CONF<br></span></div><div><span style="font-family:monospace">LINE 39:<br></span></div><div><span style="font-family:monospace"><br></span></div><div><span style="font-family:monospace">access_log daemon:/var/log/squid/access.log squid<br><br></span></div></div>