Discussion Locked

can't run squid

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I'm unable to run squid.
I've installed squid on RH7.1
I run:
# /usr/local/squid/bin/squid -z
(no error)
but when I run:
# /usr/local/squid/bin/squid -Ns&
[1] 6413

3 replies

by spellbinder

The 1st command is to create cache directories. This is to be run only once (ie after squid is installed).

The 2nd command has option 'N' for cancelling background operation followed by '&' for being a background process. You can run the 2nd command as: /usr/local/bin/squid -d1 and check the log file /usr/local/squid/logs/cache.log for info.

More info can be given if you tell what you have found in the logs. Also if you have an rpm install (but this looks like a source-based one), you can give: service squid start|stop|restart.
Also make sure that the cache directories have correct ownerships - the user which squid runs as whould have write/execute permissions for them.
Hope this helps.

The FAQ: www.squid-cache.org/doc/faq/faq.html is very good.

This discussion is closed to new replies.