LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-30-2007, 09:49 PM   #1
chenboly
LQ Newbie
 
Registered: May 2007
Posts: 7

Rep: Reputation: 0
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
 
Old 05-31-2007, 01:50 AM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
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.
 
Old 05-31-2007, 02:59 AM   #3
chenboly
LQ Newbie
 
Registered: May 2007
Posts: 7

Original Poster
Rep: Reputation: 0
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
 
Old 05-31-2007, 02:10 PM   #4
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ntpd dead but pid file exists wjn Linux - Networking 15 05-22-2005 12:32 PM
crond dead but pid file exists ryedunn Linux - General 0 01-27-2005 10:23 AM
xinetd dead but pid file exists pas Linux - Newbie 2 01-21-2005 03:52 PM
nmbd dead but pid file exists mammajamma101 Linux - Newbie 2 01-14-2005 09:16 AM
nmbd dead but pid file exists Zaius Linux - Newbie 8 01-26-2004 02:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration