LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   xinetd failed on restart, help : ( (https://www.linuxquestions.org/questions/linux-newbie-8/xinetd-failed-on-restart-help-664148/)

davidstvz 08-20-2008 03:26 PM

xinetd failed on restart, help : (
 
I have posted information about this in my vsftpd thread. I would have left it at that thread, but I feel this is a larger issue now as a lot more things are broken with xinetd failing to restart.

I don't see what it could be as I have completely abandoned vsftpd for the moment and it still won't restart.

The error log looked like this while trying to run vsftpd, when I took out the vsftpd file from the /xinetd.d/ directory, it looks the same except the last 3 lines go away (and of course the line in the middle about loading vsftpd). Any idea what might have went wrong?

If it's this easy to break something and be unable to at least revert to its original form, I have a feeling I am going to be seriously screwed.

Code:

Aug 20 14:36:57 serv2 xinetd[7180]: Reading included configuration file: /etc/xinetd.d/chargen [file=/etc/xinetd.conf] [line=26]
Aug 20 14:36:57 serv2 xinetd[7180]: Reading included configuration file: /etc/xinetd.d/chargen-udp [file=/etc/xinetd.d/chargen-udp] [line=13]
Aug 20 14:36:57 serv2 xinetd[7180]: Reading included configuration file: /etc/xinetd.d/cups-lpd [file=/etc/xinetd.d/cups-lpd] [line=14]
Aug 20 14:36:57 serv2 xinetd[7180]: Reading included configuration file: /etc/xinetd.d/cvs [file=/etc/xinetd.d/cvs] [line=11]
Aug 20 14:36:57 serv2 xinetd[7180]: Reading included configuration file: /etc/xinetd.d/daytime [file=/etc/xinetd.d/daytime] [line=16]
Aug 20 14:36:57 serv2 xinetd[7180]: Reading included configuration file: /etc/xinetd.d/daytime-udp [file=/etc/xinetd.d/daytime-udp] [line=13]
Aug 20 14:36:57 serv2 xinetd[7180]: Reading included configuration file: /etc/xinetd.d/echo [file=/etc/xinetd.d/echo] [line=14]
Aug 20 14:36:57 serv2 xinetd[7180]: Reading included configuration file: /etc/xinetd.d/echo-udp [file=/etc/xinetd.d/echo-udp] [line=13]
Aug 20 14:36:57 serv2 xinetd[7180]: Reading included configuration file: /etc/xinetd.d/fam [file=/etc/xinetd.d/fam] [line=14]
Aug 20 14:36:57 serv2 xinetd[7180]: Reading included configuration file: /etc/xinetd.d/imap [file=/etc/xinetd.d/imap] [line=16]
Aug 20 14:36:57 serv2 xinetd[7180]: Reading included configuration file: /etc/xinetd.d/nagios-nrpe [file=/etc/xinetd.d/nagios-nrpe] [line=69]
Aug 20 14:36:57 serv2 xinetd[7180]: Reading included configuration file: /etc/xinetd.d/netstat [file=/etc/xinetd.d/netstat] [line=15]
Aug 20 14:36:57 serv2 xinetd[7180]: Reading included configuration file: /etc/xinetd.d/qpopper [file=/etc/xinetd.d/qpopper] [line=16]
Aug 20 14:36:57 serv2 xinetd[7180]: Reading included configuration file: /etc/xinetd.d/rsync [file=/etc/xinetd.d/rsync] [line=14]
Aug 20 14:36:57 serv2 xinetd[7180]: Reading included configuration file: /etc/xinetd.d/sane-port [file=/etc/xinetd.d/sane-port] [line=12]
Aug 20 14:36:57 serv2 xinetd[7180]: Reading included configuration file: /etc/xinetd.d/servers [file=/etc/xinetd.d/servers] [line=14]
Aug 20 14:36:57 serv2 xinetd[7180]: Reading included configuration file: /etc/xinetd.d/services [file=/etc/xinetd.d/services] [line=13]
Aug 20 14:36:57 serv2 xinetd[7180]: Reading included configuration file: /etc/xinetd.d/swat [file=/etc/xinetd.d/swat] [line=13]
Aug 20 14:36:57 serv2 xinetd[7180]: Reading included configuration file: /etc/xinetd.d/systat [file=/etc/xinetd.d/systat] [line=12]
Aug 20 14:36:57 serv2 xinetd[7180]: Reading included configuration file: /etc/xinetd.d/tftp [file=/etc/xinetd.d/tftp] [line=17]
Aug 20 14:36:57 serv2 xinetd[7180]: Reading included configuration file: /etc/xinetd.d/time [file=/etc/xinetd.d/time] [line=14]
Aug 20 14:36:57 serv2 xinetd[7180]: Reading included configuration file: /etc/xinetd.d/time-udp [file=/etc/xinetd.d/time-udp] [line=14]
Aug 20 14:36:57 serv2 xinetd[7180]: Reading included configuration file: /etc/xinetd.d/vnc [file=/etc/xinetd.d/vnc] [line=14]
Aug 20 14:36:57 serv2 xinetd[7180]: Reading included configuration file: /etc/xinetd.d/vsftpd [file=/etc/xinetd.d/vsftpd] [line=90]
Aug 20 14:36:57 serv2 xinetd[7180]: removing chargen
Aug 20 14:36:57 serv2 xinetd[7180]: removing chargen
Aug 20 14:36:57 serv2 xinetd[7180]: removing printer
Aug 20 14:36:57 serv2 xinetd[7180]: removing cvspserver
Aug 20 14:36:57 serv2 xinetd[7180]: removing daytime
Aug 20 14:36:57 serv2 xinetd[7180]: removing daytime
Aug 20 14:36:57 serv2 xinetd[7180]: removing echo
Aug 20 14:36:57 serv2 xinetd[7180]: removing echo
Aug 20 14:36:57 serv2 xinetd[7180]: removing fam
Aug 20 14:36:57 serv2 xinetd[7180]: removing pop2
Aug 20 14:36:57 serv2 xinetd[7180]: removing pop3
Aug 20 14:36:57 serv2 xinetd[7180]: removing pop3s
Aug 20 14:36:57 serv2 xinetd[7180]: removing imap
Aug 20 14:36:57 serv2 xinetd[7180]: removing imaps
Aug 20 14:36:57 serv2 xinetd[7180]: removing 9991
Aug 20 14:36:57 serv2 xinetd[7180]: removing netstat
Aug 20 14:36:57 serv2 xinetd[7180]: removing pop3
Aug 20 14:36:57 serv2 xinetd[7180]: removing rsync
Aug 20 14:36:57 serv2 xinetd[7180]: removing sane-port
Aug 20 14:36:57 serv2 xinetd[7180]: removing servers
Aug 20 14:36:57 serv2 xinetd[7180]: removing services
Aug 20 14:36:57 serv2 xinetd[7180]: removing swat
Aug 20 14:36:57 serv2 xinetd[7180]: removing systat
Aug 20 14:36:57 serv2 xinetd[7180]: removing tftp
Aug 20 14:36:57 serv2 xinetd[7180]: removing time
Aug 20 14:36:57 serv2 xinetd[7180]: removing time
Aug 20 14:36:57 serv2 xinetd[7180]: removing vnc1
Aug 20 14:36:57 serv2 xinetd[7180]: removing vnc2
Aug 20 14:36:57 serv2 xinetd[7180]: removing vnc3
Aug 20 14:36:57 serv2 xinetd[7180]: removing vnchttpd1
Aug 20 14:36:57 serv2 xinetd[7180]: removing vnchttpd2
Aug 20 14:36:57 serv2 xinetd[7180]: removing vnchttpd3
Aug 20 14:36:57 serv2 xinetd[7180]: bind failed (Address already in use (errno = 98)). service = ftp
Aug 20 14:36:57 serv2 xinetd[7180]: Service ftp failed to start and is deactivated.
Aug 20 14:36:57 serv2 xinetd[7180]: 7180 {init_services} no services. Exiting...


jomen 08-20-2008 03:51 PM

xinetd is just printing out all the services it is not going to handle/serve - because they are marked as "disabled" in the configuration files mentioned.

Look into those files and you will see.
This is normal - nothing wrong here.

davidstvz 08-20-2008 04:01 PM

ah..

So it's failing to start because there is nothing to start? and when I try to add the one thing (vsftpd) there is a configuration problem so it also fails?

I guess I need to find out what's wrong with the vsftpd configuration then.

sigh and thanks much. I'm going to be a basket case during the next few days (and to a lesser extent weeks/months)

jomen 08-20-2008 04:37 PM

actually: xinetd is NOT failing to start !
it is starting and is just telling you that it is not going to manage the mentioned services - because the configuration says "disable it"
...but the result is as you understood it: nothing wrong here with xinetd


All times are GMT -5. The time now is 12:44 PM.