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