This is a discussion on Squid problems (first time run). within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> Hi, I've configured squid to run on my Slackware server. I've read the manual and configured everything ok, but ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi, I've configured squid to run on my Slackware server. I've read the manual and configured everything ok, but when I try to start the server it can't create/access swap files. So, I've run "squid -z" to initialize the files, but I receive this error message: FATAL: Failed to make swap directory /var/lib/squid/cache/00: (13) Permission denied Squid Cache (Version 2.5.STABLE6): Terminated abnormally. Can anyone help me? Thanks in advance, Nuno Paquete |
| |||
| Nuno Paquete wrote: > Hi, > > I've configured squid to run on my Slackware server. > I've read the manual and configured everything ok, but when I try to start > the server it can't create/access swap files. > So, I've run "squid -z" to initialize the files, but I receive this error > message: > > FATAL: Failed to make swap directory /var/lib/squid/cache/00: (13) > Permission denied > Squid Cache (Version 2.5.STABLE6): Terminated abnormally. > > Can anyone help me? > Thanks in advance, > > Nuno Paquete > > > Create a group and user name squid with home directory /usr/local/squid, then chown that directory and subdirs to squid:squid. I think you can then squid -z as root, but then start squid as user squid. I'm sure all this is in the docs. DB |
| ||||
| DB wrote: >> FATAL: Failed to make swap directory /var/lib/squid/cache/00: (13) >> Permission denied >> Squid Cache (Version 2.5.STABLE6): Terminated abnormally. > > Create a group and user name squid with home directory /usr/local/squid, > then chown that directory and subdirs to squid:squid. I think you can > then squid -z as root, but then start squid as user squid. I'm sure all > this is in the docs. depends on how you configure squid as to where files go, but this particular person has happily supplied us with the exact error so .... go through squid.conf and find out what user/group it is set to run as then chown -R /var/lib/squid to that user/group -- Arbitrary systems, pl.n.: Systems about which nothing general can be said, save "nothing general can be said." |