LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-13-2005, 09:27 PM   #1
pas
LQ Newbie
 
Registered: Oct 2004
Posts: 12

Rep: Reputation: 0
xinetd dead but pid file exists


But when I restart xinetd and check the
status, I see:

xinetd dead but pid file exists
 
Old 01-13-2005, 09:48 PM   #2
wolfe2554
Member
 
Registered: Apr 2003
Location: denver co
Distribution: redhat9
Posts: 156

Rep: Reputation: 30
I had this problem with a bunch of programs and determined it was when the stop function of the daemon was ran it failed and there for the pid file in /var/run/??.pid was still there. First try to kill the file. rm /var/run/xinetd.pid
then restart the daemon. If this does not work reinstall xinetd as it is too teidious to track it down.
 
Old 01-21-2005, 03:52 PM   #3
Valacosa
LQ Newbie
 
Registered: Jan 2005
Location: University of Waterloo
Distribution: Redhat 9
Posts: 2

Rep: Reputation: 0
Not Hopeless after all

I recently caused this problem for myself when I tried to get swat to work. Yeah, I killed the var/run/xinetd.pid file, but I just kept getting the error message.

Rather than reinstall, I just removed the line I had inserted into the /etc/xinetd.conf file, which was
#swat stream tcp nowait.400 root /usr/sbin/swat swat
If you too are trying to get swat working, adding that line isn't the way to do it in RedHat 9!

In case your xinetd.conf file is mangled beyond reconigition, here's how my (working) conf file looks:

#
# Simple configuration file for xinetd
#
# Some defaults, and include /etc/xinetd.d/

defaults
{
instances = 60
log_type = SYSLOG authpriv
log_on_success = HOST PID
log_on_failure = HOST
cps = 25 30
}

includedir /etc/xinetd.d
 
  


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
nmbd dead but pid file exists mammajamma101 Linux - Newbie 2 01-14-2005 09:16 AM
Xinetd dead --xinetd dead but pid file exists hillxy Linux - General 1 04-15-2004 02:10 PM
nmbd dead but pid file exists Zaius Linux - Newbie 8 01-26-2004 02:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:09 AM.

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