You are not logged in.

#1 2021-05-12 11:34:42

bsautner
Member
Registered: 2021-05-12
Posts: 4

[SOLVED] squid error after install

Hi,

Minty fresh install of Arch and following https://wiki.archlinux.org/title/Squid#Installation

ran

$sudo pacman -S squid

verified 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

#2 2021-05-12 13:45:55

bsautner
Member
Registered: 2021-05-12
Posts: 4

Re: [SOLVED] squid error after install

I figured this out - the doc doesn't say it but you need to start the service first

Offline

#3 2021-05-12 13:50:56

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [SOLVED] squid error after install

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


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

Board footer

Powered by FluxBB