Permission Denied in Squid Proxy Server The 2019 Stack Overflow Developer Survey Results Are In Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) Come Celebrate our 10 Year Anniversary!Squid running out of file descriptors on UbuntuFailed to run Squid on CentOS 5Squid Proxy and AD auth generating errors on Squid startupsquid cache shutting down errorsquid authentication error kerberos - windows active directoryUbuntu 14.04: tomcat7 permission deniedNo write permission for Wordpress under Nginx in CentOS 7Squid Proxy: 400 Bad Request when “%25” (Percent Sign) in URLSquid proxy not working when upgrade to 3.5Squid Access Denied on SslBumpAndSplice

different output for groups and groups USERNAME after adding a username to a group

What's the point in a preamp?

How to support a colleague who finds meetings extremely tiring?

What force causes entropy to increase?

Windows 10: How to Lock (not sleep) laptop on lid close?

One-dimensional Japanese puzzle

Student Loan from years ago pops up and is taking my salary

Using dividends to reduce short term capital gains?

Homework question about an engine pulling a train

"... to apply for a visa" or "... and applied for a visa"?

Why doesn't a hydraulic lever violate conservation of energy?

Pretty sure I'm over complicating my loops but unsure how to simplify

Is an up-to-date browser secure on an out-of-date OS?

Didn't get enough time to take a Coding Test - what to do now?

Was credit for the black hole image misappropriated?

How do I design a circuit to convert a 100 mV and 50 Hz sine wave to a square wave?

What does Linus Torvalds mean when he says that Git "never ever" tracks a file?

Voltage transmission

Is it ok to offer lower paid work as a trial period before negotiating for a full-time job?

Do working physicists consider Newtonian mechanics to be "falsified"?

Is every episode of "Where are my Pants?" identical?

ELI5: Why do they say that Israel would have been the fourth country to land a spacecraft on the Moon and why do they call it low cost?

Can the DM override racial traits?

Why can I use a list index as an indexing variable in a for loop?



Permission Denied in Squid Proxy Server



The 2019 Stack Overflow Developer Survey Results Are In
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
Come Celebrate our 10 Year Anniversary!Squid running out of file descriptors on UbuntuFailed to run Squid on CentOS 5Squid Proxy and AD auth generating errors on Squid startupsquid cache shutting down errorsquid authentication error kerberos - windows active directoryUbuntu 14.04: tomcat7 permission deniedNo write permission for Wordpress under Nginx in CentOS 7Squid Proxy: 400 Bad Request when “%25” (Percent Sign) in URLSquid proxy not working when upgrade to 3.5Squid Access Denied on SslBumpAndSplice



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








0















I have successfully installed and configured Squid Proxy Server 3.5.26 in Slackware 14.2. Im currently logged in as root user and I get an error when starting Squid using the command sudo squid -z:



WARNING: Cannot write log file: /var/log/squid/cache.log
/var/log/squid/cache.clog: Permission Denied
messages will be sent to 'stderr'

2019/04/08 16:16:20 kid1| Set Current Directory to
/var/log/squid/cache/squid
2019/04/08 16:16:20 kid1| Creating missing swap directories

FATAL: Failed to make swap directory /var/cache/squid: (13) Permission Denied
Squid Cache (Version 3.5.26): Terminated abnormally.
CPU Usage: 0.008 seconds = 0.006 user + 0.002 sys
Maximum Resident Size: 45392 KB
Page faults with physical i/o:0

Even if i made /var/log/squid permissions to 777. Still the application is unable to write cache.log.

Running :

squid -NCd1


The command outputs:



 WARNING: Cannot write log file: /var/log/squid/cache.log
/var/log/squid/cache.log: Permission denied
messages will be sent to 'stderr'.
2019/04/08 17:26:44| Set Current Directory to /var/log/squid/cache/squid
WARNING: Cannot write log file: /var/log/squid/cache.log
/var/log/squid/cache.log: Permission denied
messages will be sent to 'stderr'.
2019/04/08 17:26:44| WARNING: Closing open FD 2
2019/04/08 17:26:44| Starting Squid Cache version 3.5.26 for x86_64-
slackware-linux-gnu...
2019/04/08 17:26:44| Service Name: squid
2019/04/08 17:26:44| Process ID 1669
2019/04/08 17:26:44| Process Roles: master worker
2019/04/08 17:26:44| With 1024 file descriptors available
2019/04/08 17:26:44| Initializing IP Cache...
2019/04/08 17:26:44| parseEtcHosts: /etc/hosts: (13) Permission denied
2019/04/08 17:26:44| DNS Socket created at [::], FD 8
2019/04/08 17:26:44| DNS Socket created at 0.0.0.0, FD 9
2019/04/08 17:26:44| /etc/resolv.conf: (13) Permission denied
2019/04/08 17:26:44| Warning: Could not find any nameservers. Trying to
use localhost
2019/04/08 17:26:44| Please check your /etc/resolv.conf file
2019/04/08 17:26:44| or use the 'dns_nameservers' option in squid.conf.
2019/04/08 17:26:44|
'/usr/share/squid/errors/templates/ERR_ACCESS_DENIED':
(13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_ACCESS_DENIED
2019/04/08 17:26:44|
'/usr/share/squid/errors/templates/ERR_CACHE_ACCESS_DENIED': (13)
Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_CACHE_ACCESS_DENIED
2019/04/08 17:26:44|
'/usr/share/squid/errors/templates/ERR_CACHE_MGR_ACCESS_DENIED': (13)
Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_CACHE_MGR_ACCESS_DENIED
2019/04/08 17:26:44|
'/usr/share/squid/errors/templates/ERR_FORWARDING_DENIED': (13)
Permission
denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_FORWARDING_DENIED
2019/04/08 17:26:44| '/usr/share/squid/errors/templates/ERR_NO_RELAY':
(13)
Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_NO_RELAY
2019/04/08 17:26:44|
'/usr/share/squid/errors/templates/ERR_CANNOT_FORWARD': (13) Permission
denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_CANNOT_FORWARD
2019/04/08 17:26:44|
'/usr/share/squid/errors/templates/ERR_READ_TIMEOUT':
(13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_READ_TIMEOUT
2019/04/08 17:26:44|
'/usr/share/squid/errors/templates/ERR_LIFETIME_EXP':
(13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_LIFETIME_EXP
2019/04/08 17:26:44| '/usr/share/squid/errors/templates/ERR_READ_ERROR':
(13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_READ_ERROR
2019/04/08 17:26:44| '/usr/share/squid/errors/templates/ERR_WRITE_ERROR':
(13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_WRITE_ERROR
2019/04/08 17:26:44|
'/usr/share/squid/errors/templates/ERR_CONNECT_FAIL':
(13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_CONNECT_FAIL
2019/04/08 17:26:44|
'/usr/share/squid/errors/templates/ERR_SECURE_CONNECT_FAIL': (13)
Permission
denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_SECURE_CONNECT_FAIL
2019/04/08 17:26:44|
'/usr/share/squid/errors/templates/ERR_SOCKET_FAILURE':
( 13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_SOCKET_FAILURE
2019/04/08 17:26:44| '/usr/share/squid/errors/templates/ERR_DNS_FAIL':
(13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_DNS_FAIL
2019/04/08 17:26:44| '/usr/share/squid/errors/templates/ERR_URN_RESOLVE':
(13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_URN_RESOLVE
2019/04/08 17:26:44|
'/usr/share/squid/errors/templates/ERR_ONLY_IF_CACHED_MISS': (13)
Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_ONLY_IF_CACHED_MISS
2019/04/08 17:26:44| '/usr/share/squid/errors/templates/ERR_TOO_BIG':
(13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_TOO_BIG
2019/04/08 17:26:44|
'/usr/share/squid/errors/templates/ERR_INVALID_RESP':
(13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_INVALID_RESP
2019 /04/08 17:26:44|
'/usr/share/squid/errors/templates/ERR_UNSUP_HTTPVERSION': (13)
Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_UNSUP_HTTPVERSION
2019/04/08 17:26:44| '/usr/share/squid/errors/templates/ERR_INVALID_REQ':
(13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_INVALID_REQ
2019/04/08 17:26:44| '/usr/share/squid/errors/templates/ERR_UNSUP_REQ':
(13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_UNSUP_REQ
2019/04/08 17:26:44| '/usr/share/squid/errors/templates/ERR_INVALID_URL':
(13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_INVALID_URL
2019/04/08 17:26:44|
'/usr/share/squid/errors/templates/ERR_ZERO_SIZE_OBJECT': (13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_ZERO_SIZE_OBJECT
2019/04/08 17:26:44|
'/usr/share/squid/errors/templates/ERR_PRECONDITION_FAILED': (13)
Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_PRECONDITION_FAILED
2019/04/08 17:26:44| '/usr/share/squid/errors/templates/ERR_CONFLICT_HOST':
(13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_CONFLICT_HOST
2019/04/08 17:26:44| '/usr/share/squid/errors/templates/ERR_FTP_DISABLED':
(13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_FTP_DISABLED
2019/04/08 17:26:44|
'/usr/share/squid/errors/templates/ERR_FTP_UNAVAILABLE': (13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_FTP_UNAVAILABLE
2019/04/08 17:26:44| '/usr/share/squid/errors/templates/ERR_FTP_FAILURE':
(13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_FTP_FAILURE
2019/04/08 17:26:44| '/usr/share/squid/errors/templates/ERR_FTP_PUT_ERROR':
(13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_FTP_PUT_ERROR
2019/04/08 17:26:44| '/usr/share/squid/errors/templates/ERR_FTP_NOT_FOUND':
(13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_FTP_NOT_FOUND
2019/04/08 17:26:44| '/usr/share/squid/errors/templates/ERR_FTP_FORBIDDEN':
(13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_FTP_FORBIDDEN
2019/04/08 17:26:44|
'/usr/share/squid/errors/templates/ERR_FTP_PUT_CREATED': (13) Permission
denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_FTP_PUT_CREATED
2019/04/08 17:26:44|
'/usr/share/squid/errors/templates/ERR_FTP_PUT_MODIFIED': (13) Permission
denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_FTP_PUT_MODIFIED
2019/04/08 17:26:44| '/usr/share/squid/errors/templates/ERR_ESI': (13)
Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_ESI
2019/04/08 17:26:44|
'/usr/share/squid/errors/templates/ERR_ICAP_FAILURE':
(13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_ICAP_FAILURE
2019/04/08 17:26:44|
'/usr/share/squid/errors/templates/ERR_GATEWAY_FAILURE': (13) Permission
denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_GATEWAY_FAILURE
2019/04/08 17:26:44| '/usr/share/squid/errors/templates/ERR_DIR_LISTING':
(13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_DIR_LISTING
2019/04/08 17:26:44|
'/usr/share/squid/errors/templates/ERR_SHUTTING_DOWN':
(13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_SHUTTING_DOWN
2019/04/08 17:26:44| Logfile: opening log
daemon:/var/log/squid/access.log
2019/04/08 17:26:44| Logfile Daemon: opening log
/var/log/squid/access.log
2019/04/08 17:26:44| ipcCreate: /usr/libexec/log_file_daemon: (22)
Invalid argument
2019/04/08 17:26:44| Unlinkd pipe opened on FD 15
2019/04/08 17:26:44| ipcCreate: /usr/libexec/unlinkd: (22) Invalid
argument
2019/04/08 17:26:44| Store logging disabled
2019/04/08 17:26:44| Swap maxSize 262144 + 262144 KB, estimated 40329
objects
2019/04/08 17:26:44| Target number of buckets: 2016
2019/04/08 17:26:44| Using 8192 Store buckets
2019/04/08 17:26:44| Max Mem size: 262144 KB
2019/04/08 17:26:44| Max Swap size: 262144 KB
2019/04/08 17:26:44| ERROR: /var/cache/squid: (13) Permission denied
FATAL: Failed to verify one of the swap directories, Check cache.log
for details. Run 'squid -z' to create swap directories
if needed, or if running Squid for the first time.
Squid Cache (Version 3.5.26): Terminated abnormally.
CPU Usage: 0.023 seconds = 0.016 user + 0.007 sys
Maximum Resident Size: 58800 KB
Page faults with physical i/o: 0









share|improve this question









New contributor




ABC is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.















  • 1





    Hi, welcome to Server Fault, please take a moment to learn how to format posts so that it is more easily readable. Thanks!

    – Michael Hampton
    Apr 8 at 13:04

















0















I have successfully installed and configured Squid Proxy Server 3.5.26 in Slackware 14.2. Im currently logged in as root user and I get an error when starting Squid using the command sudo squid -z:



WARNING: Cannot write log file: /var/log/squid/cache.log
/var/log/squid/cache.clog: Permission Denied
messages will be sent to 'stderr'

2019/04/08 16:16:20 kid1| Set Current Directory to
/var/log/squid/cache/squid
2019/04/08 16:16:20 kid1| Creating missing swap directories

FATAL: Failed to make swap directory /var/cache/squid: (13) Permission Denied
Squid Cache (Version 3.5.26): Terminated abnormally.
CPU Usage: 0.008 seconds = 0.006 user + 0.002 sys
Maximum Resident Size: 45392 KB
Page faults with physical i/o:0

Even if i made /var/log/squid permissions to 777. Still the application is unable to write cache.log.

Running :

squid -NCd1


The command outputs:



 WARNING: Cannot write log file: /var/log/squid/cache.log
/var/log/squid/cache.log: Permission denied
messages will be sent to 'stderr'.
2019/04/08 17:26:44| Set Current Directory to /var/log/squid/cache/squid
WARNING: Cannot write log file: /var/log/squid/cache.log
/var/log/squid/cache.log: Permission denied
messages will be sent to 'stderr'.
2019/04/08 17:26:44| WARNING: Closing open FD 2
2019/04/08 17:26:44| Starting Squid Cache version 3.5.26 for x86_64-
slackware-linux-gnu...
2019/04/08 17:26:44| Service Name: squid
2019/04/08 17:26:44| Process ID 1669
2019/04/08 17:26:44| Process Roles: master worker
2019/04/08 17:26:44| With 1024 file descriptors available
2019/04/08 17:26:44| Initializing IP Cache...
2019/04/08 17:26:44| parseEtcHosts: /etc/hosts: (13) Permission denied
2019/04/08 17:26:44| DNS Socket created at [::], FD 8
2019/04/08 17:26:44| DNS Socket created at 0.0.0.0, FD 9
2019/04/08 17:26:44| /etc/resolv.conf: (13) Permission denied
2019/04/08 17:26:44| Warning: Could not find any nameservers. Trying to
use localhost
2019/04/08 17:26:44| Please check your /etc/resolv.conf file
2019/04/08 17:26:44| or use the 'dns_nameservers' option in squid.conf.
2019/04/08 17:26:44|
'/usr/share/squid/errors/templates/ERR_ACCESS_DENIED':
(13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_ACCESS_DENIED
2019/04/08 17:26:44|
'/usr/share/squid/errors/templates/ERR_CACHE_ACCESS_DENIED': (13)
Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_CACHE_ACCESS_DENIED
2019/04/08 17:26:44|
'/usr/share/squid/errors/templates/ERR_CACHE_MGR_ACCESS_DENIED': (13)
Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_CACHE_MGR_ACCESS_DENIED
2019/04/08 17:26:44|
'/usr/share/squid/errors/templates/ERR_FORWARDING_DENIED': (13)
Permission
denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_FORWARDING_DENIED
2019/04/08 17:26:44| '/usr/share/squid/errors/templates/ERR_NO_RELAY':
(13)
Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_NO_RELAY
2019/04/08 17:26:44|
'/usr/share/squid/errors/templates/ERR_CANNOT_FORWARD': (13) Permission
denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_CANNOT_FORWARD
2019/04/08 17:26:44|
'/usr/share/squid/errors/templates/ERR_READ_TIMEOUT':
(13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_READ_TIMEOUT
2019/04/08 17:26:44|
'/usr/share/squid/errors/templates/ERR_LIFETIME_EXP':
(13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_LIFETIME_EXP
2019/04/08 17:26:44| '/usr/share/squid/errors/templates/ERR_READ_ERROR':
(13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_READ_ERROR
2019/04/08 17:26:44| '/usr/share/squid/errors/templates/ERR_WRITE_ERROR':
(13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_WRITE_ERROR
2019/04/08 17:26:44|
'/usr/share/squid/errors/templates/ERR_CONNECT_FAIL':
(13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_CONNECT_FAIL
2019/04/08 17:26:44|
'/usr/share/squid/errors/templates/ERR_SECURE_CONNECT_FAIL': (13)
Permission
denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_SECURE_CONNECT_FAIL
2019/04/08 17:26:44|
'/usr/share/squid/errors/templates/ERR_SOCKET_FAILURE':
( 13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_SOCKET_FAILURE
2019/04/08 17:26:44| '/usr/share/squid/errors/templates/ERR_DNS_FAIL':
(13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_DNS_FAIL
2019/04/08 17:26:44| '/usr/share/squid/errors/templates/ERR_URN_RESOLVE':
(13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_URN_RESOLVE
2019/04/08 17:26:44|
'/usr/share/squid/errors/templates/ERR_ONLY_IF_CACHED_MISS': (13)
Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_ONLY_IF_CACHED_MISS
2019/04/08 17:26:44| '/usr/share/squid/errors/templates/ERR_TOO_BIG':
(13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_TOO_BIG
2019/04/08 17:26:44|
'/usr/share/squid/errors/templates/ERR_INVALID_RESP':
(13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_INVALID_RESP
2019 /04/08 17:26:44|
'/usr/share/squid/errors/templates/ERR_UNSUP_HTTPVERSION': (13)
Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_UNSUP_HTTPVERSION
2019/04/08 17:26:44| '/usr/share/squid/errors/templates/ERR_INVALID_REQ':
(13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_INVALID_REQ
2019/04/08 17:26:44| '/usr/share/squid/errors/templates/ERR_UNSUP_REQ':
(13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_UNSUP_REQ
2019/04/08 17:26:44| '/usr/share/squid/errors/templates/ERR_INVALID_URL':
(13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_INVALID_URL
2019/04/08 17:26:44|
'/usr/share/squid/errors/templates/ERR_ZERO_SIZE_OBJECT': (13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_ZERO_SIZE_OBJECT
2019/04/08 17:26:44|
'/usr/share/squid/errors/templates/ERR_PRECONDITION_FAILED': (13)
Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_PRECONDITION_FAILED
2019/04/08 17:26:44| '/usr/share/squid/errors/templates/ERR_CONFLICT_HOST':
(13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_CONFLICT_HOST
2019/04/08 17:26:44| '/usr/share/squid/errors/templates/ERR_FTP_DISABLED':
(13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_FTP_DISABLED
2019/04/08 17:26:44|
'/usr/share/squid/errors/templates/ERR_FTP_UNAVAILABLE': (13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_FTP_UNAVAILABLE
2019/04/08 17:26:44| '/usr/share/squid/errors/templates/ERR_FTP_FAILURE':
(13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_FTP_FAILURE
2019/04/08 17:26:44| '/usr/share/squid/errors/templates/ERR_FTP_PUT_ERROR':
(13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_FTP_PUT_ERROR
2019/04/08 17:26:44| '/usr/share/squid/errors/templates/ERR_FTP_NOT_FOUND':
(13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_FTP_NOT_FOUND
2019/04/08 17:26:44| '/usr/share/squid/errors/templates/ERR_FTP_FORBIDDEN':
(13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_FTP_FORBIDDEN
2019/04/08 17:26:44|
'/usr/share/squid/errors/templates/ERR_FTP_PUT_CREATED': (13) Permission
denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_FTP_PUT_CREATED
2019/04/08 17:26:44|
'/usr/share/squid/errors/templates/ERR_FTP_PUT_MODIFIED': (13) Permission
denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_FTP_PUT_MODIFIED
2019/04/08 17:26:44| '/usr/share/squid/errors/templates/ERR_ESI': (13)
Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_ESI
2019/04/08 17:26:44|
'/usr/share/squid/errors/templates/ERR_ICAP_FAILURE':
(13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_ICAP_FAILURE
2019/04/08 17:26:44|
'/usr/share/squid/errors/templates/ERR_GATEWAY_FAILURE': (13) Permission
denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_GATEWAY_FAILURE
2019/04/08 17:26:44| '/usr/share/squid/errors/templates/ERR_DIR_LISTING':
(13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_DIR_LISTING
2019/04/08 17:26:44|
'/usr/share/squid/errors/templates/ERR_SHUTTING_DOWN':
(13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_SHUTTING_DOWN
2019/04/08 17:26:44| Logfile: opening log
daemon:/var/log/squid/access.log
2019/04/08 17:26:44| Logfile Daemon: opening log
/var/log/squid/access.log
2019/04/08 17:26:44| ipcCreate: /usr/libexec/log_file_daemon: (22)
Invalid argument
2019/04/08 17:26:44| Unlinkd pipe opened on FD 15
2019/04/08 17:26:44| ipcCreate: /usr/libexec/unlinkd: (22) Invalid
argument
2019/04/08 17:26:44| Store logging disabled
2019/04/08 17:26:44| Swap maxSize 262144 + 262144 KB, estimated 40329
objects
2019/04/08 17:26:44| Target number of buckets: 2016
2019/04/08 17:26:44| Using 8192 Store buckets
2019/04/08 17:26:44| Max Mem size: 262144 KB
2019/04/08 17:26:44| Max Swap size: 262144 KB
2019/04/08 17:26:44| ERROR: /var/cache/squid: (13) Permission denied
FATAL: Failed to verify one of the swap directories, Check cache.log
for details. Run 'squid -z' to create swap directories
if needed, or if running Squid for the first time.
Squid Cache (Version 3.5.26): Terminated abnormally.
CPU Usage: 0.023 seconds = 0.016 user + 0.007 sys
Maximum Resident Size: 58800 KB
Page faults with physical i/o: 0









share|improve this question









New contributor




ABC is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.















  • 1





    Hi, welcome to Server Fault, please take a moment to learn how to format posts so that it is more easily readable. Thanks!

    – Michael Hampton
    Apr 8 at 13:04













0












0








0








I have successfully installed and configured Squid Proxy Server 3.5.26 in Slackware 14.2. Im currently logged in as root user and I get an error when starting Squid using the command sudo squid -z:



WARNING: Cannot write log file: /var/log/squid/cache.log
/var/log/squid/cache.clog: Permission Denied
messages will be sent to 'stderr'

2019/04/08 16:16:20 kid1| Set Current Directory to
/var/log/squid/cache/squid
2019/04/08 16:16:20 kid1| Creating missing swap directories

FATAL: Failed to make swap directory /var/cache/squid: (13) Permission Denied
Squid Cache (Version 3.5.26): Terminated abnormally.
CPU Usage: 0.008 seconds = 0.006 user + 0.002 sys
Maximum Resident Size: 45392 KB
Page faults with physical i/o:0

Even if i made /var/log/squid permissions to 777. Still the application is unable to write cache.log.

Running :

squid -NCd1


The command outputs:



 WARNING: Cannot write log file: /var/log/squid/cache.log
/var/log/squid/cache.log: Permission denied
messages will be sent to 'stderr'.
2019/04/08 17:26:44| Set Current Directory to /var/log/squid/cache/squid
WARNING: Cannot write log file: /var/log/squid/cache.log
/var/log/squid/cache.log: Permission denied
messages will be sent to 'stderr'.
2019/04/08 17:26:44| WARNING: Closing open FD 2
2019/04/08 17:26:44| Starting Squid Cache version 3.5.26 for x86_64-
slackware-linux-gnu...
2019/04/08 17:26:44| Service Name: squid
2019/04/08 17:26:44| Process ID 1669
2019/04/08 17:26:44| Process Roles: master worker
2019/04/08 17:26:44| With 1024 file descriptors available
2019/04/08 17:26:44| Initializing IP Cache...
2019/04/08 17:26:44| parseEtcHosts: /etc/hosts: (13) Permission denied
2019/04/08 17:26:44| DNS Socket created at [::], FD 8
2019/04/08 17:26:44| DNS Socket created at 0.0.0.0, FD 9
2019/04/08 17:26:44| /etc/resolv.conf: (13) Permission denied
2019/04/08 17:26:44| Warning: Could not find any nameservers. Trying to
use localhost
2019/04/08 17:26:44| Please check your /etc/resolv.conf file
2019/04/08 17:26:44| or use the 'dns_nameservers' option in squid.conf.
2019/04/08 17:26:44|
'/usr/share/squid/errors/templates/ERR_ACCESS_DENIED':
(13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_ACCESS_DENIED
2019/04/08 17:26:44|
'/usr/share/squid/errors/templates/ERR_CACHE_ACCESS_DENIED': (13)
Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_CACHE_ACCESS_DENIED
2019/04/08 17:26:44|
'/usr/share/squid/errors/templates/ERR_CACHE_MGR_ACCESS_DENIED': (13)
Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_CACHE_MGR_ACCESS_DENIED
2019/04/08 17:26:44|
'/usr/share/squid/errors/templates/ERR_FORWARDING_DENIED': (13)
Permission
denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_FORWARDING_DENIED
2019/04/08 17:26:44| '/usr/share/squid/errors/templates/ERR_NO_RELAY':
(13)
Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_NO_RELAY
2019/04/08 17:26:44|
'/usr/share/squid/errors/templates/ERR_CANNOT_FORWARD': (13) Permission
denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_CANNOT_FORWARD
2019/04/08 17:26:44|
'/usr/share/squid/errors/templates/ERR_READ_TIMEOUT':
(13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_READ_TIMEOUT
2019/04/08 17:26:44|
'/usr/share/squid/errors/templates/ERR_LIFETIME_EXP':
(13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_LIFETIME_EXP
2019/04/08 17:26:44| '/usr/share/squid/errors/templates/ERR_READ_ERROR':
(13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_READ_ERROR
2019/04/08 17:26:44| '/usr/share/squid/errors/templates/ERR_WRITE_ERROR':
(13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_WRITE_ERROR
2019/04/08 17:26:44|
'/usr/share/squid/errors/templates/ERR_CONNECT_FAIL':
(13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_CONNECT_FAIL
2019/04/08 17:26:44|
'/usr/share/squid/errors/templates/ERR_SECURE_CONNECT_FAIL': (13)
Permission
denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_SECURE_CONNECT_FAIL
2019/04/08 17:26:44|
'/usr/share/squid/errors/templates/ERR_SOCKET_FAILURE':
( 13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_SOCKET_FAILURE
2019/04/08 17:26:44| '/usr/share/squid/errors/templates/ERR_DNS_FAIL':
(13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_DNS_FAIL
2019/04/08 17:26:44| '/usr/share/squid/errors/templates/ERR_URN_RESOLVE':
(13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_URN_RESOLVE
2019/04/08 17:26:44|
'/usr/share/squid/errors/templates/ERR_ONLY_IF_CACHED_MISS': (13)
Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_ONLY_IF_CACHED_MISS
2019/04/08 17:26:44| '/usr/share/squid/errors/templates/ERR_TOO_BIG':
(13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_TOO_BIG
2019/04/08 17:26:44|
'/usr/share/squid/errors/templates/ERR_INVALID_RESP':
(13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_INVALID_RESP
2019 /04/08 17:26:44|
'/usr/share/squid/errors/templates/ERR_UNSUP_HTTPVERSION': (13)
Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_UNSUP_HTTPVERSION
2019/04/08 17:26:44| '/usr/share/squid/errors/templates/ERR_INVALID_REQ':
(13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_INVALID_REQ
2019/04/08 17:26:44| '/usr/share/squid/errors/templates/ERR_UNSUP_REQ':
(13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_UNSUP_REQ
2019/04/08 17:26:44| '/usr/share/squid/errors/templates/ERR_INVALID_URL':
(13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_INVALID_URL
2019/04/08 17:26:44|
'/usr/share/squid/errors/templates/ERR_ZERO_SIZE_OBJECT': (13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_ZERO_SIZE_OBJECT
2019/04/08 17:26:44|
'/usr/share/squid/errors/templates/ERR_PRECONDITION_FAILED': (13)
Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_PRECONDITION_FAILED
2019/04/08 17:26:44| '/usr/share/squid/errors/templates/ERR_CONFLICT_HOST':
(13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_CONFLICT_HOST
2019/04/08 17:26:44| '/usr/share/squid/errors/templates/ERR_FTP_DISABLED':
(13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_FTP_DISABLED
2019/04/08 17:26:44|
'/usr/share/squid/errors/templates/ERR_FTP_UNAVAILABLE': (13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_FTP_UNAVAILABLE
2019/04/08 17:26:44| '/usr/share/squid/errors/templates/ERR_FTP_FAILURE':
(13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_FTP_FAILURE
2019/04/08 17:26:44| '/usr/share/squid/errors/templates/ERR_FTP_PUT_ERROR':
(13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_FTP_PUT_ERROR
2019/04/08 17:26:44| '/usr/share/squid/errors/templates/ERR_FTP_NOT_FOUND':
(13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_FTP_NOT_FOUND
2019/04/08 17:26:44| '/usr/share/squid/errors/templates/ERR_FTP_FORBIDDEN':
(13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_FTP_FORBIDDEN
2019/04/08 17:26:44|
'/usr/share/squid/errors/templates/ERR_FTP_PUT_CREATED': (13) Permission
denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_FTP_PUT_CREATED
2019/04/08 17:26:44|
'/usr/share/squid/errors/templates/ERR_FTP_PUT_MODIFIED': (13) Permission
denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_FTP_PUT_MODIFIED
2019/04/08 17:26:44| '/usr/share/squid/errors/templates/ERR_ESI': (13)
Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_ESI
2019/04/08 17:26:44|
'/usr/share/squid/errors/templates/ERR_ICAP_FAILURE':
(13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_ICAP_FAILURE
2019/04/08 17:26:44|
'/usr/share/squid/errors/templates/ERR_GATEWAY_FAILURE': (13) Permission
denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_GATEWAY_FAILURE
2019/04/08 17:26:44| '/usr/share/squid/errors/templates/ERR_DIR_LISTING':
(13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_DIR_LISTING
2019/04/08 17:26:44|
'/usr/share/squid/errors/templates/ERR_SHUTTING_DOWN':
(13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_SHUTTING_DOWN
2019/04/08 17:26:44| Logfile: opening log
daemon:/var/log/squid/access.log
2019/04/08 17:26:44| Logfile Daemon: opening log
/var/log/squid/access.log
2019/04/08 17:26:44| ipcCreate: /usr/libexec/log_file_daemon: (22)
Invalid argument
2019/04/08 17:26:44| Unlinkd pipe opened on FD 15
2019/04/08 17:26:44| ipcCreate: /usr/libexec/unlinkd: (22) Invalid
argument
2019/04/08 17:26:44| Store logging disabled
2019/04/08 17:26:44| Swap maxSize 262144 + 262144 KB, estimated 40329
objects
2019/04/08 17:26:44| Target number of buckets: 2016
2019/04/08 17:26:44| Using 8192 Store buckets
2019/04/08 17:26:44| Max Mem size: 262144 KB
2019/04/08 17:26:44| Max Swap size: 262144 KB
2019/04/08 17:26:44| ERROR: /var/cache/squid: (13) Permission denied
FATAL: Failed to verify one of the swap directories, Check cache.log
for details. Run 'squid -z' to create swap directories
if needed, or if running Squid for the first time.
Squid Cache (Version 3.5.26): Terminated abnormally.
CPU Usage: 0.023 seconds = 0.016 user + 0.007 sys
Maximum Resident Size: 58800 KB
Page faults with physical i/o: 0









share|improve this question









New contributor




ABC is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












I have successfully installed and configured Squid Proxy Server 3.5.26 in Slackware 14.2. Im currently logged in as root user and I get an error when starting Squid using the command sudo squid -z:



WARNING: Cannot write log file: /var/log/squid/cache.log
/var/log/squid/cache.clog: Permission Denied
messages will be sent to 'stderr'

2019/04/08 16:16:20 kid1| Set Current Directory to
/var/log/squid/cache/squid
2019/04/08 16:16:20 kid1| Creating missing swap directories

FATAL: Failed to make swap directory /var/cache/squid: (13) Permission Denied
Squid Cache (Version 3.5.26): Terminated abnormally.
CPU Usage: 0.008 seconds = 0.006 user + 0.002 sys
Maximum Resident Size: 45392 KB
Page faults with physical i/o:0

Even if i made /var/log/squid permissions to 777. Still the application is unable to write cache.log.

Running :

squid -NCd1


The command outputs:



 WARNING: Cannot write log file: /var/log/squid/cache.log
/var/log/squid/cache.log: Permission denied
messages will be sent to 'stderr'.
2019/04/08 17:26:44| Set Current Directory to /var/log/squid/cache/squid
WARNING: Cannot write log file: /var/log/squid/cache.log
/var/log/squid/cache.log: Permission denied
messages will be sent to 'stderr'.
2019/04/08 17:26:44| WARNING: Closing open FD 2
2019/04/08 17:26:44| Starting Squid Cache version 3.5.26 for x86_64-
slackware-linux-gnu...
2019/04/08 17:26:44| Service Name: squid
2019/04/08 17:26:44| Process ID 1669
2019/04/08 17:26:44| Process Roles: master worker
2019/04/08 17:26:44| With 1024 file descriptors available
2019/04/08 17:26:44| Initializing IP Cache...
2019/04/08 17:26:44| parseEtcHosts: /etc/hosts: (13) Permission denied
2019/04/08 17:26:44| DNS Socket created at [::], FD 8
2019/04/08 17:26:44| DNS Socket created at 0.0.0.0, FD 9
2019/04/08 17:26:44| /etc/resolv.conf: (13) Permission denied
2019/04/08 17:26:44| Warning: Could not find any nameservers. Trying to
use localhost
2019/04/08 17:26:44| Please check your /etc/resolv.conf file
2019/04/08 17:26:44| or use the 'dns_nameservers' option in squid.conf.
2019/04/08 17:26:44|
'/usr/share/squid/errors/templates/ERR_ACCESS_DENIED':
(13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_ACCESS_DENIED
2019/04/08 17:26:44|
'/usr/share/squid/errors/templates/ERR_CACHE_ACCESS_DENIED': (13)
Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_CACHE_ACCESS_DENIED
2019/04/08 17:26:44|
'/usr/share/squid/errors/templates/ERR_CACHE_MGR_ACCESS_DENIED': (13)
Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_CACHE_MGR_ACCESS_DENIED
2019/04/08 17:26:44|
'/usr/share/squid/errors/templates/ERR_FORWARDING_DENIED': (13)
Permission
denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_FORWARDING_DENIED
2019/04/08 17:26:44| '/usr/share/squid/errors/templates/ERR_NO_RELAY':
(13)
Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_NO_RELAY
2019/04/08 17:26:44|
'/usr/share/squid/errors/templates/ERR_CANNOT_FORWARD': (13) Permission
denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_CANNOT_FORWARD
2019/04/08 17:26:44|
'/usr/share/squid/errors/templates/ERR_READ_TIMEOUT':
(13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_READ_TIMEOUT
2019/04/08 17:26:44|
'/usr/share/squid/errors/templates/ERR_LIFETIME_EXP':
(13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_LIFETIME_EXP
2019/04/08 17:26:44| '/usr/share/squid/errors/templates/ERR_READ_ERROR':
(13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_READ_ERROR
2019/04/08 17:26:44| '/usr/share/squid/errors/templates/ERR_WRITE_ERROR':
(13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_WRITE_ERROR
2019/04/08 17:26:44|
'/usr/share/squid/errors/templates/ERR_CONNECT_FAIL':
(13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_CONNECT_FAIL
2019/04/08 17:26:44|
'/usr/share/squid/errors/templates/ERR_SECURE_CONNECT_FAIL': (13)
Permission
denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_SECURE_CONNECT_FAIL
2019/04/08 17:26:44|
'/usr/share/squid/errors/templates/ERR_SOCKET_FAILURE':
( 13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_SOCKET_FAILURE
2019/04/08 17:26:44| '/usr/share/squid/errors/templates/ERR_DNS_FAIL':
(13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_DNS_FAIL
2019/04/08 17:26:44| '/usr/share/squid/errors/templates/ERR_URN_RESOLVE':
(13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_URN_RESOLVE
2019/04/08 17:26:44|
'/usr/share/squid/errors/templates/ERR_ONLY_IF_CACHED_MISS': (13)
Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_ONLY_IF_CACHED_MISS
2019/04/08 17:26:44| '/usr/share/squid/errors/templates/ERR_TOO_BIG':
(13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_TOO_BIG
2019/04/08 17:26:44|
'/usr/share/squid/errors/templates/ERR_INVALID_RESP':
(13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_INVALID_RESP
2019 /04/08 17:26:44|
'/usr/share/squid/errors/templates/ERR_UNSUP_HTTPVERSION': (13)
Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_UNSUP_HTTPVERSION
2019/04/08 17:26:44| '/usr/share/squid/errors/templates/ERR_INVALID_REQ':
(13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_INVALID_REQ
2019/04/08 17:26:44| '/usr/share/squid/errors/templates/ERR_UNSUP_REQ':
(13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_UNSUP_REQ
2019/04/08 17:26:44| '/usr/share/squid/errors/templates/ERR_INVALID_URL':
(13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_INVALID_URL
2019/04/08 17:26:44|
'/usr/share/squid/errors/templates/ERR_ZERO_SIZE_OBJECT': (13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_ZERO_SIZE_OBJECT
2019/04/08 17:26:44|
'/usr/share/squid/errors/templates/ERR_PRECONDITION_FAILED': (13)
Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_PRECONDITION_FAILED
2019/04/08 17:26:44| '/usr/share/squid/errors/templates/ERR_CONFLICT_HOST':
(13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_CONFLICT_HOST
2019/04/08 17:26:44| '/usr/share/squid/errors/templates/ERR_FTP_DISABLED':
(13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_FTP_DISABLED
2019/04/08 17:26:44|
'/usr/share/squid/errors/templates/ERR_FTP_UNAVAILABLE': (13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_FTP_UNAVAILABLE
2019/04/08 17:26:44| '/usr/share/squid/errors/templates/ERR_FTP_FAILURE':
(13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_FTP_FAILURE
2019/04/08 17:26:44| '/usr/share/squid/errors/templates/ERR_FTP_PUT_ERROR':
(13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_FTP_PUT_ERROR
2019/04/08 17:26:44| '/usr/share/squid/errors/templates/ERR_FTP_NOT_FOUND':
(13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_FTP_NOT_FOUND
2019/04/08 17:26:44| '/usr/share/squid/errors/templates/ERR_FTP_FORBIDDEN':
(13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_FTP_FORBIDDEN
2019/04/08 17:26:44|
'/usr/share/squid/errors/templates/ERR_FTP_PUT_CREATED': (13) Permission
denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_FTP_PUT_CREATED
2019/04/08 17:26:44|
'/usr/share/squid/errors/templates/ERR_FTP_PUT_MODIFIED': (13) Permission
denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_FTP_PUT_MODIFIED
2019/04/08 17:26:44| '/usr/share/squid/errors/templates/ERR_ESI': (13)
Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_ESI
2019/04/08 17:26:44|
'/usr/share/squid/errors/templates/ERR_ICAP_FAILURE':
(13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_ICAP_FAILURE
2019/04/08 17:26:44|
'/usr/share/squid/errors/templates/ERR_GATEWAY_FAILURE': (13) Permission
denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_GATEWAY_FAILURE
2019/04/08 17:26:44| '/usr/share/squid/errors/templates/ERR_DIR_LISTING':
(13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_DIR_LISTING
2019/04/08 17:26:44|
'/usr/share/squid/errors/templates/ERR_SHUTTING_DOWN':
(13) Permission denied
2019/04/08 17:26:44| WARNING: failed to find or read error text file
ERR_SHUTTING_DOWN
2019/04/08 17:26:44| Logfile: opening log
daemon:/var/log/squid/access.log
2019/04/08 17:26:44| Logfile Daemon: opening log
/var/log/squid/access.log
2019/04/08 17:26:44| ipcCreate: /usr/libexec/log_file_daemon: (22)
Invalid argument
2019/04/08 17:26:44| Unlinkd pipe opened on FD 15
2019/04/08 17:26:44| ipcCreate: /usr/libexec/unlinkd: (22) Invalid
argument
2019/04/08 17:26:44| Store logging disabled
2019/04/08 17:26:44| Swap maxSize 262144 + 262144 KB, estimated 40329
objects
2019/04/08 17:26:44| Target number of buckets: 2016
2019/04/08 17:26:44| Using 8192 Store buckets
2019/04/08 17:26:44| Max Mem size: 262144 KB
2019/04/08 17:26:44| Max Swap size: 262144 KB
2019/04/08 17:26:44| ERROR: /var/cache/squid: (13) Permission denied
FATAL: Failed to verify one of the swap directories, Check cache.log
for details. Run 'squid -z' to create swap directories
if needed, or if running Squid for the first time.
Squid Cache (Version 3.5.26): Terminated abnormally.
CPU Usage: 0.023 seconds = 0.016 user + 0.007 sys
Maximum Resident Size: 58800 KB
Page faults with physical i/o: 0






ubuntu permissions proxy squid slackware






share|improve this question









New contributor




ABC is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




ABC is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited Apr 9 at 12:44







ABC













New contributor




ABC is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked Apr 8 at 10:31









ABCABC

1011




1011




New contributor




ABC is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





ABC is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






ABC is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.







  • 1





    Hi, welcome to Server Fault, please take a moment to learn how to format posts so that it is more easily readable. Thanks!

    – Michael Hampton
    Apr 8 at 13:04












  • 1





    Hi, welcome to Server Fault, please take a moment to learn how to format posts so that it is more easily readable. Thanks!

    – Michael Hampton
    Apr 8 at 13:04







1




1





Hi, welcome to Server Fault, please take a moment to learn how to format posts so that it is more easily readable. Thanks!

– Michael Hampton
Apr 8 at 13:04





Hi, welcome to Server Fault, please take a moment to learn how to format posts so that it is more easily readable. Thanks!

– Michael Hampton
Apr 8 at 13:04










0






active

oldest

votes












Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "2"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);






ABC is a new contributor. Be nice, and check out our Code of Conduct.









draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f961997%2fpermission-denied-in-squid-proxy-server%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes








ABC is a new contributor. Be nice, and check out our Code of Conduct.









draft saved

draft discarded


















ABC is a new contributor. Be nice, and check out our Code of Conduct.












ABC is a new contributor. Be nice, and check out our Code of Conduct.











ABC is a new contributor. Be nice, and check out our Code of Conduct.














Thanks for contributing an answer to Server Fault!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f961997%2fpermission-denied-in-squid-proxy-server%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

How to write a 12-bar blues melodyI-IV-V blues progressionHow to play the bridges in a standard blues progressionHow does Gdim7 fit in C# minor?question on a certain chord progressionMusicology of Melody12 bar blues, spread rhythm: alternative to 6th chord to avoid finger stretchChord progressions/ Root key/ MelodiesHow to put chords (POP-EDM) under a given lead vocal melody (starting from a good knowledge in music theory)Are there “rules” for improvising with the minor pentatonic scale over 12-bar shuffle?Confusion about blues scale and chords

What if the end-user didn't have the required library?What is setup.py?What is a clean, pythonic way to have multiple constructors in Python?What does Ruby have that Python doesn't, and vice versa?What is the reason for having '//' in Python?How do I create a namespace package in Python?How to package shared objects that python modules depend on?setuptools vs. distutils: why is distutils still a thing?Navigation in Windows 10 vs code not going to virtualenv library when the same library is installed at user levelPython create package for local usePackaging a project that uses multiple python versionsWhy is permission denied on pip install except for when “--user” is included at end of command?

Why did Thanos need his ship to help him in the battle scene?Which actor plays Thanos in the Avengers mid-credits scene?Are there economic implications portrayed in comics where the buildings and cities are ruined almost daily?Old X-Men comic where team travels to alien world with a ring-like sun that needs recharging?Why does Ego need help sleeping?Is there an objective answer to who “the strongest Avenger” is?How did Banner get unstuck?Why did Thanos get hit?How did Thanos (or anyone) know the Infinity Stones would give him this power?Did Thanos leave Eitri alive for his after-sales service?In Avengers 1, why does Thanos need Loki?