Hi!
I'm on Slackware 14.2 and installed Squid version 3.5.26 but I'm having this problem everytime I ran in the terminal:
# squid -z
# squid -N -D -d1
and check the /var/log/squid/cache.log
Most of the errors shown is "(13) Permission denied" on the files at folders /usr/share/squid/errors/templates/ and usr/share/squid/icons/silk/
Here's an excerpt:
2019/04/11 14:04:22| '/usr/share/squid/errors/templates/ERR_ACCESS_DENIED': (13) Permission denied
2019/04/11 14:04:22| WARNING: failed to find or read error text file ERR_ACCESS_DENIED
2019/04/11 14:04:22| '/usr/share/squid/errors/templates/ERR_CACHE_ACCESS_DENIED': (13) Permission denied
2019/04/11 14:04:22| WARNING: failed to find or read error text file ERR_CACHE_ACCESS_DENIED
2019/04/11 14:04:22| '/usr/share/squid/errors/templates/ERR_CACHE_MGR_ACCESS_DENIED': (13) Permission denied
2019/04/11 14:04:22| WARNING: failed to find or read error text file ERR_CACHE_MGR_ACCESS_DENIED
2019/04/11 14:04:22| '/usr/share/squid/errors/templates/ERR_FORWARDING_DENIED': (13) Permission denied
2019/04/11 14:04:22| WARNING: failed to find or read error text file ERR_FORWARDING_DENIED
2019/04/11 14:04:22| '/usr/share/squid/errors/templates/ERR_NO_RELAY': (13) Permission denied
2019/04/11 14:04:22| WARNING: failed to find or read error text file ERR_NO_RELAY
2019/04/11 14:04:22| '/usr/share/squid/errors/templates/ERR_CANNOT_FORWARD': (13) Permission denied
2019/04/11 14:04:22| WARNING: failed to find or read error text file ERR_CANNOT_FORWARD
2019/04/11 14:04:22| '/usr/share/squid/errors/templates/ERR_READ_TIMEOUT': (13) Permission denied
2019/04/11 14:04:22| WARNING: failed to find or read error text file ERR_READ_TIMEOUT
2019/04/11 14:04:22| '/usr/share/squid/errors/templates/ERR_LIFETIME_EXP': (13) Permission denied
2019/04/11 14:04:22| WARNING: failed to find or read error text file ERR_LIFETIME_EXP
2019/04/11 14:04:22| '/usr/share/squid/errors/templates/ERR_READ_ERROR': (13) Permission denied
2019/04/11 14:04:22| WARNING: failed to find or read error text file ERR_READ_ERROR
...
2019/04/11 14:04:22| ERROR: opening icon file /usr/share/squid/icons/silk/image.png: (13) Permission denied
2019/04/11 14:04:22| ERROR: opening icon file /usr/share/squid/icons/silk/page_white_text.png: (13) Permission denied
2019/04/11 14:04:22| ERROR: opening icon file /usr/share/squid/icons/silk/arrow_up.png: (13) Permission denied
2019/04/11 14:04:22| ERROR: opening icon file /usr/share/squid/icons/silk/folder.png: (13) Permission denied
2019/04/11 14:04:22| ERROR: opening icon file /usr/share/squid/icons/silk/link.png: (13) Permission denied
2019/04/11 14:04:22| ERROR: opening icon file /usr/share/squid/icons/SN.png: (13) Permission denied
2019/04/11 14:04:22| ERROR: opening icon file /usr/share/squid/icons/silk/folder_table.png: (13) Permission denied
2019/04/11 14:04:22| ERROR: opening icon file /usr/share/squid/icons/silk/music.png: (13) Permission denied
2019/04/11 14:04:22| ERROR: opening icon file /usr/share/squid/icons/silk/film.png: (13) Permission denied
2019/04/11 14:04:22| ERROR: opening icon file /usr/share/squid/icons/silk/computer_link.png: (13) Permission denied
2019/04/11 14:04:22| ERROR: opening icon file /usr/share/squid/icons/silk/application.png: (13) Permission denied
2019/04/11 14:04:22| ERROR: opening icon file /usr/share/squid/icons/silk/bullet_red.png: (13) Permission denied
2019/04/11 14:04:22| ERROR: opening icon file /usr/share/squid/icons/silk/page_white.png: (13) Permission denied
2019/04/11 14:04:22| ERROR: opening icon file /usr/share/squid/icons/silk/package_go.png: (13) Permission denied
2019/04/11 14:04:22| ERROR: opening icon file /usr/share/squid/icons/silk/page_white_acrobat.png: (13) Permission denied
2019/04/11 14:04:22| ERROR: opening icon file /usr/share/squid/icons/silk/page_green.png: (13) Permission denied
2019/04/11 14:04:22| ERROR: opening icon file /usr/share/squid/icons/silk/page_white_picture.png: (13) Permission denied
2019/04/11 14:04:22| ERROR: opening icon file /usr/share/squid/icons/silk/compress.png: (13) Permission denied
2019/04/11 14:04:22| ERROR: opening icon file /usr/share/squid/icons/silk/script.png: (13) Permission denied
2019/04/11 14:04:22| ERROR: opening icon file /usr/share/squid/icons/silk/database.png: (13) Permission denied
2019/04/11 14:04:22| ERROR: opening icon file /usr/share/squid/icons/silk/cd.png: (13) Permission denied
2019/04/11 14:04:22| ERROR: opening icon file /usr/share/squid/icons/silk/page_white_magnify.png: (13) Permission denied
2019/04/11 14:04:22| ERROR: opening icon file /usr/share/squid/icons/silk/box.png: (13) Permission denied
2019/04/11 14:04:22| ERROR: opening icon file /usr/share/squid/icons/silk/page_white_stack.png: (13) Permission denied
Here is the complete output in the cache.log - http://termbin.com/apfa
I typed in lsattr -R on /usr/share/squid and this is the result - http://termbin.com/k37c
I checked the permissions and owner at /usr/share/squid/errors/templates/ and it is correct - http://termbin.com/jo0e
The cache_effective_user in /etc/squid/squid.conf is "squid" and the cache_effective_group is "squid"
I mostly followed the settings written in this post - https://www.linuxquestions.org/questions/blog/arniekat-436077/slackware-14-1-squid-3-4-7-36215/
But yeah, when I ran:
# squid -N -D -d1
squid really doesn't start when I checked when I ran:
# netstat -ltup
port 3128 doesn't show and squid is not in the output
Any help in fixing this soon is very much appreciated.
Thank you in advance.
Ais
I'm on Slackware 14.2 and installed Squid version 3.5.26 but I'm having this problem everytime I ran in the terminal:
# squid -z
# squid -N -D -d1
and check the /var/log/squid/cache.log
Most of the errors shown is "(13) Permission denied" on the files at folders /usr/share/squid/errors/templates/ and usr/share/squid/icons/silk/
Here's an excerpt:
2019/04/11 14:04:22| '/usr/share/squid/errors/templates/ERR_ACCESS_DENIED': (13) Permission denied
2019/04/11 14:04:22| WARNING: failed to find or read error text file ERR_ACCESS_DENIED
2019/04/11 14:04:22| '/usr/share/squid/errors/templates/ERR_CACHE_ACCESS_DENIED': (13) Permission denied
2019/04/11 14:04:22| WARNING: failed to find or read error text file ERR_CACHE_ACCESS_DENIED
2019/04/11 14:04:22| '/usr/share/squid/errors/templates/ERR_CACHE_MGR_ACCESS_DENIED': (13) Permission denied
2019/04/11 14:04:22| WARNING: failed to find or read error text file ERR_CACHE_MGR_ACCESS_DENIED
2019/04/11 14:04:22| '/usr/share/squid/errors/templates/ERR_FORWARDING_DENIED': (13) Permission denied
2019/04/11 14:04:22| WARNING: failed to find or read error text file ERR_FORWARDING_DENIED
2019/04/11 14:04:22| '/usr/share/squid/errors/templates/ERR_NO_RELAY': (13) Permission denied
2019/04/11 14:04:22| WARNING: failed to find or read error text file ERR_NO_RELAY
2019/04/11 14:04:22| '/usr/share/squid/errors/templates/ERR_CANNOT_FORWARD': (13) Permission denied
2019/04/11 14:04:22| WARNING: failed to find or read error text file ERR_CANNOT_FORWARD
2019/04/11 14:04:22| '/usr/share/squid/errors/templates/ERR_READ_TIMEOUT': (13) Permission denied
2019/04/11 14:04:22| WARNING: failed to find or read error text file ERR_READ_TIMEOUT
2019/04/11 14:04:22| '/usr/share/squid/errors/templates/ERR_LIFETIME_EXP': (13) Permission denied
2019/04/11 14:04:22| WARNING: failed to find or read error text file ERR_LIFETIME_EXP
2019/04/11 14:04:22| '/usr/share/squid/errors/templates/ERR_READ_ERROR': (13) Permission denied
2019/04/11 14:04:22| WARNING: failed to find or read error text file ERR_READ_ERROR
...
2019/04/11 14:04:22| ERROR: opening icon file /usr/share/squid/icons/silk/image.png: (13) Permission denied
2019/04/11 14:04:22| ERROR: opening icon file /usr/share/squid/icons/silk/page_white_text.png: (13) Permission denied
2019/04/11 14:04:22| ERROR: opening icon file /usr/share/squid/icons/silk/arrow_up.png: (13) Permission denied
2019/04/11 14:04:22| ERROR: opening icon file /usr/share/squid/icons/silk/folder.png: (13) Permission denied
2019/04/11 14:04:22| ERROR: opening icon file /usr/share/squid/icons/silk/link.png: (13) Permission denied
2019/04/11 14:04:22| ERROR: opening icon file /usr/share/squid/icons/SN.png: (13) Permission denied
2019/04/11 14:04:22| ERROR: opening icon file /usr/share/squid/icons/silk/folder_table.png: (13) Permission denied
2019/04/11 14:04:22| ERROR: opening icon file /usr/share/squid/icons/silk/music.png: (13) Permission denied
2019/04/11 14:04:22| ERROR: opening icon file /usr/share/squid/icons/silk/film.png: (13) Permission denied
2019/04/11 14:04:22| ERROR: opening icon file /usr/share/squid/icons/silk/computer_link.png: (13) Permission denied
2019/04/11 14:04:22| ERROR: opening icon file /usr/share/squid/icons/silk/application.png: (13) Permission denied
2019/04/11 14:04:22| ERROR: opening icon file /usr/share/squid/icons/silk/bullet_red.png: (13) Permission denied
2019/04/11 14:04:22| ERROR: opening icon file /usr/share/squid/icons/silk/page_white.png: (13) Permission denied
2019/04/11 14:04:22| ERROR: opening icon file /usr/share/squid/icons/silk/package_go.png: (13) Permission denied
2019/04/11 14:04:22| ERROR: opening icon file /usr/share/squid/icons/silk/page_white_acrobat.png: (13) Permission denied
2019/04/11 14:04:22| ERROR: opening icon file /usr/share/squid/icons/silk/page_green.png: (13) Permission denied
2019/04/11 14:04:22| ERROR: opening icon file /usr/share/squid/icons/silk/page_white_picture.png: (13) Permission denied
2019/04/11 14:04:22| ERROR: opening icon file /usr/share/squid/icons/silk/compress.png: (13) Permission denied
2019/04/11 14:04:22| ERROR: opening icon file /usr/share/squid/icons/silk/script.png: (13) Permission denied
2019/04/11 14:04:22| ERROR: opening icon file /usr/share/squid/icons/silk/database.png: (13) Permission denied
2019/04/11 14:04:22| ERROR: opening icon file /usr/share/squid/icons/silk/cd.png: (13) Permission denied
2019/04/11 14:04:22| ERROR: opening icon file /usr/share/squid/icons/silk/page_white_magnify.png: (13) Permission denied
2019/04/11 14:04:22| ERROR: opening icon file /usr/share/squid/icons/silk/box.png: (13) Permission denied
2019/04/11 14:04:22| ERROR: opening icon file /usr/share/squid/icons/silk/page_white_stack.png: (13) Permission denied
Here is the complete output in the cache.log - http://termbin.com/apfa
I typed in lsattr -R on /usr/share/squid and this is the result - http://termbin.com/k37c
I checked the permissions and owner at /usr/share/squid/errors/templates/ and it is correct - http://termbin.com/jo0e
The cache_effective_user in /etc/squid/squid.conf is "squid" and the cache_effective_group is "squid"
I mostly followed the settings written in this post - https://www.linuxquestions.org/questions/blog/arniekat-436077/slackware-14-1-squid-3-4-7-36215/
But yeah, when I ran:
# squid -N -D -d1
squid really doesn't start when I checked when I ran:
# netstat -ltup
port 3128 doesn't show and squid is not in the output
Any help in fixing this soon is very much appreciated.
Thank you in advance.
Ais
_______________________________________________ squid-users mailing list squid-users@xxxxxxxxxxxxxxxxxxxxx http://lists.squid-cache.org/listinfo/squid-users