Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
05-30-2007, 10:49 PM
|
#1
|
LQ Newbie
Registered: May 2007
Posts: 7
Rep:
|
squid dead but pid file exists
Dear All,
I am a newbie here, I have a Redhat Linux server ES 3 running Squid, serving as a proxy.
This morning internet access went down, after looking around and googling a bit got started with service status commands etc.
When I do a service squid status I get:
squid dead but pid file exists
squid: ERROR: Could not send signal 0 to process 4220: (3) No such process
Ok, so I found the pid file under /var/run/squid.pid and did rm /var/run/squid.pid, and also run command for clear the squid cache rm -rf /var/spool/squid/* and all object are gone, and i restart the squid service but it's still show the error and squid still not work.
Can u guys help me out here ?
Thanks,
Boly
|
|
|
05-31-2007, 02:50 AM
|
#2
|
Senior Member
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141
Rep:
|
Hopefully there's more info in your squid logs. Can you have a look in your access, cache and store logs and post the entries from the shutdown and startups commands that you ran? Their location is specified in squid.conf in the settings access_log, cache_log and cache_store_log.
|
|
|
05-31-2007, 03:59 AM
|
#3
|
LQ Newbie
Registered: May 2007
Posts: 7
Original Poster
Rep:
|
Thanks for reply,
sorry, i already remove all the squid and all log are gone, so i cannot post this log file. but normally if this error message happend, how can we fix it without reinstall sqid?
Regards;
Boly
|
|
|
05-31-2007, 03:10 PM
|
#4
|
Senior Member
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141
Rep:
|
Fixing it would depend on what the error was... I don't know why it wouldn't re-start the first time, but I'm guessing that for your second problem after you deleted the cache directories that you needed to run squid -z to re-build the cache directories.
|
|
|
All times are GMT -5. The time now is 10:47 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|