You are not logged in.
Hi,
Minty fresh install of Arch and following https://wiki.archlinux.org/title/Squid#Installation
ran
$sudo pacman -S squidverified files existed (left unedited for now)
/etc/squid/squid.con
ran
$squid -k check
WARNING: Cannot write log file: /var/log/squid/cache.lo
/var/log/squid/cache.log: Permission denied
messages will be sent to 'stderr'.
2021/05/12 07:27:47| Set Current Directory to /var/cache/squid
2021/05/12 07:27:47| FATAL: failed to open /run/squid.pid: (2) No such file or directory
exception location: File.cc(190) open
tried
$sudo squid -k check
WARNING: Cannot write log file: /var/log/squid/cache.log
/var/log/squid/cache.log: Permission denied
messages will be sent to 'stderr'.
2021/05/12 07:27:47| Set Current Directory to /var/cache/squid
2021/05/12 07:27:47| FATAL: failed to open /run/squid.pid: (2) No such file or directory
exception location: File.cc(190) open
I've installed squid on other platforms but despite 25 years of linux i'm on day two of loving arch
What am i missing? I tried to chown of the log file to myself but still got the fatal error
Last edited by bsautner (2021-05-12 16:45:51)
Offline
I figured this out - the doc doesn't say it but you need to start the service first
Offline
In that case it would be a good idea for you to add it to the wiki.
Please remember to mark this thread as [SOLVED]...
https://gitlab.archlinux.org/archlinux/ … ow-to-post
Offline