CentOS 7 - squid.service: control process exited, code=exited status=1 Please help!!

Support for security such as Firewalls and securing linux
Post Reply
vthej
Posts: 1
Joined: 2018/04/16 07:11:49

CentOS 7 - squid.service: control process exited, code=exited status=1 Please help!!

Post by vthej » 2018/04/16 07:16:00

[root@localhost ~]# systemctl status squid
● squid.service - Squid caching proxy
Loaded: loaded (/usr/lib/systemd/system/squid.service; disabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Mon 2018-04-16 12:39:57 IST; 3s ago
Process: 6292 ExecStop=/usr/sbin/squid -k shutdown -f $SQUID_CONF (code=exited, status=1/FAILURE)
Process: 6265 ExecStart=/usr/sbin/squid $SQUID_OPTS -f $SQUID_CONF (code=exited, status=0/SUCCESS)
Process: 6258 ExecStartPre=/usr/libexec/squid/cache_swap.sh (code=exited, status=0/SUCCESS)
Main PID: 6266 (code=exited, status=1/FAILURE)

Apr 16 12:39:57 localhost.localdomain squid[6292]: 2018/04/16 12:39:57| WARNING: (B) '127.0.0.1' is a subnetwork of (A) '127.0.0.1'
Apr 16 12:39:57 localhost.localdomain squid[6292]: 2018/04/16 12:39:57| WARNING: because of this '127.0.0.1' is ignored to keep splay tree searching predictable
Apr 16 12:39:57 localhost.localdomain squid[6292]: 2018/04/16 12:39:57| WARNING: You should probably remove '127.0.0.1' from the ACL named 'localhost'
Apr 16 12:39:57 localhost.localdomain squid[6292]: 2018/04/16 12:39:57| WARNING: (B) '127.0.0.0/8' is a subnetwork of (A) '127.0.0.0/8'
Apr 16 12:39:57 localhost.localdomain squid[6292]: 2018/04/16 12:39:57| WARNING: because of this '127.0.0.0/8' is ignored to keep splay tree searching predictable
Apr 16 12:39:57 localhost.localdomain squid[6292]: 2018/04/16 12:39:57| WARNING: You should probably remove '127.0.0.0/8' from the ACL named 'to_localhost'
Apr 16 12:39:57 localhost.localdomain squid[6292]: squid: ERROR: Could not send signal 15 to process 6289: (3) No such process
Apr 16 12:39:57 localhost.localdomain systemd[1]: squid.service: control process exited, code=exited status=1
Apr 16 12:39:57 localhost.localdomain systemd[1]: Unit squid.service entered failed state.
Apr 16 12:39:57 localhost.localdomain systemd[1]: squid.service failed.

pjsr2
Posts: 614
Joined: 2014/03/27 20:11:07

Re: CentOS 7 - squid.service: control process exited, code=exited status=1 Please help!!

Post by pjsr2 » 2018/04/16 12:36:40

Most likely, your squid configuration file(s) contain errors. Before starting squid, run

Code: Select all

squid -k parse
to verify the correctness of you configuration.

Post Reply