LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Xinetd dead --xinetd dead but pid file exists (https://www.linuxquestions.org/questions/linux-general-1/xinetd-dead-xinetd-dead-but-pid-file-exists-170591/)

hillxy 04-15-2004 01:43 PM

Xinetd dead --xinetd dead but pid file exists
 
Hi,

I set up the Linux box as printing server. It works well most of the time. sometime I can not print from other computer and all I need to do is to restart cups service. However, since last week, xinetd fails!!!

I am using RH9.0.

Got message in /var/log/messages as


"
Apr 15 14:23:32 servername xinetd: xinetd shutdown failed
Apr 15 14:23:32 servername xinetd[12904]: missing service keyword [line=1]
Apr 15 14:23:32 servername xinetd[12904]: missing } in last service entry [line=2]
Apr 15 14:23:32 servernamexinetd[12904]: 12904 {general_handler} (12904) Unexpected signal: 11 (Segmentation fault)
Apr 15 14:23:32 servername xinetd[12904]: 12904 {bad_signal} Received 10 signals in 1 seconds. Exiting...
Apr 15 14:23:32 servername xinetd: xinetd startup succeeded
"

and when I
"root@servername xinetd.d]# /etc/init.d/xinetd status"
system replys
"xinetd dead but pid file exists"

there is a blank file in /var/lock/subsys called "xinetd". If I deleted it, it simply generate again when I restart "xinetd"


Anyone could give some explain on it? Can you tell which service has problem?

Thanks a lot

hillxy 04-15-2004 02:10 PM

fixed and can not reproduce the error
 
Hi,
all I did is

edit one of the service config file in /etc/xinetd.d/

I modifed vsftp from
"
disable = no
"
to
"
service vsftp
{
disable = no
}
"

Then it works. When I change the file back to origin, it still works.


Hillxy.


All times are GMT -5. The time now is 04:00 PM.