General discussion

Locked

can't run squid

By luie ·
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

This conversation is currently closed to new comments.

3 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

can't run squid

by spellbinder In reply to can't run squid

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.

Collapse -

can't run squid

by luie In reply to can't run squid

Poster rated this answer

Collapse -

can't run squid

by luie In reply to can't run squid

This question was closed by the author

Back to Linux Forum
3 total posts (Page 1 of 1)  

Related Discussions

Related Forums