My Oracle Support Banner

The Squid Service in Failed State with Error: "Failed to make swap directory /var/spool/squid/00: (13) Permission denied" (Doc ID 2537455.1)

Last updated on MAY 06, 2019

Applies to:

Linux OS - Version Oracle Linux 7.6 and later
Linux x86-64

Symptoms

The squid service in failed state with below error:
 
# systemctl status squid.service
● squid.service - Squid caching proxy
  Loaded: loaded (/usr/lib/systemd/system/squid.service; enabled; vendor preset: disabled)
  Active: failed (Result: exit-code) since Wed 2019-05-01 16:34:19 GMT; 2min 50s ago
  Process: 2022 ExecStartPre=/usr/libexec/squid/cache_swap.sh (code=exited, status=1/FAILURE)

May 01 16:34:19 <hostname> systemd[1]: Starting Squid caching proxy...
May 01 16:34:19 <hostname> squid[2027]: Failed to make swap directory /var/spool/squid/00: (13) Permission denied   >>
May 01 16:34:19 <hostname> cache_swap.sh[2022]: init_cache_dir /var/spool/squid...
May 01 16:34:19 <hostname> systemd[1]: squid.service: control process exited, code=exited status=1
May 01 16:34:19 <hostname> systemd[1]: Failed to start Squid caching proxy.
May 01 16:34:19 <hostname> systemd[1]: Unit squid.service entered failed state.
May 01 16:34:19 <hostname> systemd[1]: squid.service failed.

Changes

 NA

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.