• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

xinetd fails on Debian Lenny

Mrinal KantiM

New Pleskian
Hi,

I see the following error message upon boot:

Starting internet superserver: xined failed!

Below are the xinetd related messages from /var/log/syslog
May 7 03:57:06 server xinetd[2800]: Reading included configuration file: /etc/xinetd.d/chargen [file=/etc/xinetd.conf] [line=14]
May 7 03:57:06 server xinetd[2800]: Reading included configuration file: /etc/xinetd.d/daytime [file=/etc/xinetd.d/daytime] [line=28]
May 7 03:57:06 server xinetd[2800]: Reading included configuration file: /etc/xinetd.d/discard [file=/etc/xinetd.d/discard] [line=26]
May 7 03:57:07 server xinetd[2800]: Reading included configuration file: /etc/xinetd.d/echo [file=/etc/xinetd.d/echo] [line=25]
May 7 03:57:07 server xinetd[2800]: Reading included configuration file: /etc/xinetd.d/ftp_psa [file=/etc/xinetd.d/ftp_psa] [line=26]
May 7 03:57:07 server xinetd[2800]: Reading included configuration file: /etc/xinetd.d/poppassd_psa [file=/etc/xinetd.d/poppassd_psa] [line=13]
May 7 03:57:07 server xinetd[2800]: Reading included configuration file: /etc/xinetd.d/time [file=/etc/xinetd.d/time] [line=12]
May 7 03:57:07 server xinetd[2800]: removing chargen
May 7 03:57:07 server xinetd[2800]: removing chargen
May 7 03:57:07 server xinetd[2800]: removing daytime
May 7 03:57:07 server xinetd[2800]: removing daytime
May 7 03:57:07 server xinetd[2800]: removing discard
May 7 03:57:07 server xinetd[2800]: removing discard
May 7 03:57:07 server xinetd[2800]: removing echo
May 7 03:57:07 server xinetd[2800]: removing echo
May 7 03:57:07 server xinetd[2800]: removing time
May 7 03:57:07 server xinetd[2800]: removing time
May 7 03:57:07 server xinetd[2800]: xinetd Version 2.3.14 started with libwrap loadavg options compiled in.
May 7 03:57:07 server xinetd[2800]: Started working: 2 available services

/etc/init.d/xinetd restart
successfully restarts xinetd with the same output in the /var/log/syslog above. Any pointers in debugging this would be very helpful.

Regards,
Mrinal
 
Why do you think that it is somehow related to Plesk? Did you checked it on fresh Debian Lenny installation without Plesk?
 
Who else if not Plesk?

Hi,

A fresh installation of Lenny on x86_64 uses inetd as the internet superserver and there are no failure messages in the logs. After installation of Plesk 9.5.1 using the autoinstaller, the internet superserver is now displayed as xinetd and displays the specified error. To reiterate, Plesk is the first thing that was installed after a fresh installation of Lenny x86_64 (using the net installer).

The Plesk installation messages clearly indicated the configuration of xinetd, so I am assuming it is Plesk who replaced the original inetd with xinted. However, I would be glad to stand corrected.

Regards,
Mrinal
 
I have even tried manually installing xinetd before installing Plesk. xinetd works fine after replacing inetd on the clean install of Lenny i.e. no errors are displayed during boot. But soon after Plesk 9.5.1/9.5.2 is installed I see the xinetd "failed" message in the logs.
 
Not sure about this but maybe the problem is that xinetd is started by an own start script and after that plesk tries to start it again.
Please try:
/etc/init.d/psa stopall; /etc/init.d/xinetd stop; /etc/init.d/psa start
If this doesn't produce an error, I would simply ignore the error at startup or remove xinetd from startup.
 
I followed these steps:
1. /etc/init.d/psa stopall
2. /etc/init.d/xinetd stop
3. /etc/init.d/psa start

The error is still similar. Below is the output of the steps from /var/log/syslog:
May 10 09:39:10 server xinetd[4117]: Starting reconfiguration
May 10 09:39:10 server xinetd[4117]: Reading included configuration file: /etc/xinetd.d/chargen [file=/etc/xinetd.conf] [line=14]
May 10 09:39:10 server xinetd[4117]: Reading included configuration file: /etc/xinetd.d/daytime [file=/etc/xinetd.d/daytime] [line=28]
May 10 09:39:10 server xinetd[4117]: Reading included configuration file: /etc/xinetd.d/discard [file=/etc/xinetd.d/discard] [line=26]
May 10 09:39:10 server xinetd[4117]: Reading included configuration file: /etc/xinetd.d/echo [file=/etc/xinetd.d/echo] [line=25]
May 10 09:39:10 server xinetd[4117]: Reading included configuration file: /etc/xinetd.d/ftp_psa [file=/etc/xinetd.d/ftp_psa] [line=26]
May 10 09:39:10 server xinetd[4117]: Reading included configuration file: /etc/xinetd.d/poppassd_psa [file=/etc/xinetd.d/poppassd_psa] [line=13]
May 10 09:39:10 server xinetd[4117]: Reading included configuration file: /etc/xinetd.d/smtp_psa [file=/etc/xinetd.d/smtp_psa] [line=12]
May 10 09:39:10 server xinetd[4117]: Reading included configuration file: /etc/xinetd.d/smtps_psa [file=/etc/xinetd.d/smtps_psa] [line=12]
May 10 09:39:10 server xinetd[4117]: Reading included configuration file: /etc/xinetd.d/submission_psa [file=/etc/xinetd.d/submission_psa] [line=12]
May 10 09:39:10 server xinetd[4117]: Reading included configuration file: /etc/xinetd.d/time [file=/etc/xinetd.d/time] [line=12]
May 10 09:39:10 server xinetd[4117]: removing chargen
May 10 09:39:10 server xinetd[4117]: removing chargen
May 10 09:39:10 server xinetd[4117]: removing daytime
May 10 09:39:10 server xinetd[4117]: removing daytime
May 10 09:39:10 server xinetd[4117]: removing discard
May 10 09:39:10 server xinetd[4117]: removing discard
May 10 09:39:10 server xinetd[4117]: removing echo
May 10 09:39:10 server xinetd[4117]: removing echo
May 10 09:39:10 server xinetd[4117]: removing time
May 10 09:39:10 server xinetd[4117]: removing time
May 10 09:39:10 server xinetd[4117]: Swapping defaults
May 10 09:39:10 server xinetd[4117]: readjusting service ftp
May 10 09:39:10 server xinetd[4117]: readjusting service poppassd
May 10 09:39:10 server xinetd[4117]: Reconfigured: new=3 old=2 dropped=0 (services)
 
I have the same problem. I installed Debian 5 -> xinetd started without problems, after the installation from Plesk 9.5.2 I get this error.

But after these steps
1. /etc/init.d/psa stopall
2. /etc/init.d/xinetd stop
3. /etc/init.d/psa start
xinetd is starting.

Can I really ignore this error at startup?
 
OK, now I have installed xinetd before plesk on a pure debian 5 and after the installation from Plesk xinetd failed.

Anybody an idea?
 
Could you please clarify this problem a little bit? If you have 'failed' xinetd starting - do you have started this process despite this 'failed'? Check it please with 'ps ax | grep xinetd'. If process is started - why you can't ignore this 'failed'?
 
I have installed a new Debian 5. After the installation from Plesk 9.5.2 I get the following error:
Starting internet superserver: xined failed!
xinetd service is done without problems while debian is starting.
ps ax | grep xinetd
2996 ? Ss 0:00 /usr/sbin/xinetd -pidfile /var/run/xinetd.pid -stayalive
3870 pts/0 R+ 0:00 grep xinetd
If process is started - why you can't ignore this 'failed'?
May I???? Does Plesk need this or not?
 
It looks like xinetd tried to start two times - by system and by psa script. I can suggest you try to change

# Required-Start: $remote_fs $time

to

# Required-Start: $remote_fs $time inetd

in /etc/init.d/psa file.
 
Maybe it is different problems? Why do you think that drweb is related to initial issue?
 
I don´t think DrWeb is related to initial issue. I think it is curious that I install minimal Debian and after Plesk (parallels_installer_v3.6.0_build100407.15_os_Debian_5.0_x86_64) in VMware 2.0.0 and I get this error. On my Server (Intel® Core™ i7-920 Quad-Core, 8 GB DDR3 RAM, 2 x 750 GB SATA-II HDD,Software-RAID 1) it is reproducible.
 
Last edited:
my boot log:
Setting the system clock.
Activating swap...done.
Checking root file system...fsck 1.41.3 (12-Oct-2008)
/dev/sda1: clean, 219462/35119104 files, 3249256/140444238 blocks
done.
Setting the system clock.
Cleaning up ifupdown....
Loading kernel modules...done.
Checking file systems...fsck 1.41.3 (12-Oct-2008)
done.
Setting kernel variables (/etc/sysctl.conf)...done.
Mounting local filesystems...done.
Activating swapfile swap...done.
Setting up networking....
Configuring network interfaces...done.
Starting portmap daemon....
Starting NFS common utilities: statd.
Setting console screen modes and fonts.
INIT: Entering runlevel: 2
Starting enhanced syslogd: rsyslogd.
Starting ACPI services....
Starting domain name service...: bind9.
Starting OpenBSD Secure Shell server: sshd.
Starting MySQL database server: mysqld.
Checking for corrupt, not cleanly closed and upgrade needing tables..
Starting Courier-IMAP server:
Starting imapd done
Starting imap-ssl done
Starting pop3 done
Starting pop3-ssl done

Starting Dr. Web daemon...
Dr.Web (R) daemon for Linux/Plesk Edition v5.0.0 (Jun 4 2009)
Copyright (c) Igor Daniloff, 1992-2009
Doctor Web, Moscow, Russia
Support service: http://support.drweb.com
To purchase: http://buy.drweb.com
Shell version: 5.0.0.10060 <API:2.2>
Engine version: 5.0.2.3300 <API:2.2>
Loading /var/drweb/bases/drwtoday.vdb - Ok, virus records: 1161
Loading /var/drweb/bases/drwdaily.vdb - Ok, virus records: 6905
Loading /var/drweb/bases/drw50025.vdb - Ok, virus records: 18009
......

Total virus records: 1338698
Key file: /opt/drweb/drweb32.key - loaded.
License key number:
License key activates: 2010-05-10
License key expires: 2010-06-10
License for Internet gateways: None
License for file-servers: Unlimited
License for mail-servers: Unlimited
Daemon is installed, active interfaces: /var/drweb/run/.daemon 127.0.0.1:3000
Site list for mailman missing (looking for list named 'mailman'). ^[[33m(warning).^[[39;49m
Please create it; until then, mailman will refuse to start. ^[[33m(warning).^[[39;49m
Starting NFS common utilities: statd.
^[[80C^[[10D^[[1;32mdone^[[m\017
^[[80C^[[10D^[[1;32mdone^[[m\017
^[[80C^[[10D^[[1;32mdone^[[m\017
^[[80C^[[10D^[[1mnot installed^[[m\017
^[[80C^[[10D^[[1;32mdone^[[m\017e...
^[[80C^[[10D^[[1;32mdone^[[m\017
Starting mail handlers tmpfs storage
Starting Plesk ^[[80C^[[10D^[[1;32mdone^[[m\017
Starting drweb service^[[80C^[[10D^[[1;31mfailed^[[m\017
psa-firewall: service is disabled
Starting psa-spamassassin service: done
psa-vpn: OpenVPN is disabled
Starting Samba daemons: nmbd smbd.
Starting SWsoft control panels server... already running. ok
Starting internet superserver: xinetd ^[[31mfailed!^[[39;49m
Starting deferred execution scheduler: atd.
Starting periodic command scheduler: crond.
Starting web server: apache2httpd (pid 3154) already running

/etc/init.d/drwebd start
Starting Dr. Web daemon...
Dr.Web (R) daemon for Linux/Plesk Edition v5.0.0 (Jun 4 2009)
Copyright (c) Igor Daniloff, 1992-2009
Doctor Web, Moscow, Russia
Support service: http://support.drweb.com
To purchase: http://buy.drweb.com
Shell version: 5.0.0.10060 <API:2.2>
Engine version: 5.0.2.3300 <API:2.2>
Loading /var/drweb/bases/drwtoday.vdb - Ok, virus records: 1250
Loading /var/drweb/bases/drwdaily.vdb - Ok, virus records: 6905
Loading /var/drweb/bases/drw50025.vdb - Ok, virus records: 18009
Loading /var/drweb/bases/drw50024.vdb - Ok, virus records: 24685
Loading /var/drweb/bases/drw50023.vdb - Ok, virus records: 13715
Loading /var/drweb/bases/drw50022.vdb - Ok, virus records: 16025
Loading /var/drweb/bases/drw50021.vdb - Ok, virus records: 15644
Loading /var/drweb/bases/drw50020.vdb - Ok, virus records: 23265
Loading /var/drweb/bases/drw50019.vdb - Ok, virus records: 23135
Loading /var/drweb/bases/drw50018.vdb - Ok, virus records: 20510
Loading /var/drweb/bases/drw50017.vdb - Ok, virus records: 25475
Loading /var/drweb/bases/drw50016.vdb - Ok, virus records: 16298
Loading /var/drweb/bases/drw50015.vdb - Ok, virus records: 19357
Loading /var/drweb/bases/drw50014.vdb - Ok, virus records: 18381
Loading /var/drweb/bases/drw50013.vdb - Ok, virus records: 19562
Loading /var/drweb/bases/drw50012.vdb - Ok, virus records: 27102
Loading /var/drweb/bases/drw50011.vdb - Ok, virus records: 21223
Loading /var/drweb/bases/drw50010.vdb - Ok, virus records: 26228
Loading /var/drweb/bases/drw50009.vdb - Ok, virus records: 23251
Loading /var/drweb/bases/drw50008.vdb - Ok, virus records: 14982
Loading /var/drweb/bases/drw50007.vdb - Ok, virus records: 17748
Loading /var/drweb/bases/drw50006.vdb - Ok, virus records: 18725
Loading /var/drweb/bases/drw50005.vdb - Ok, virus records: 18429
Loading /var/drweb/bases/drw50004.vdb - Ok, virus records: 872
Loading /var/drweb/bases/drw50003.vdb - Ok, virus records: 142240
Loading /var/drweb/bases/drw50002.vdb - Ok, virus records: 66726
Loading /var/drweb/bases/drw50001.vdb - Ok, virus records: 24512
Loading /var/drweb/bases/drw50000.vdb - Ok, virus records: 82762
Loading /var/drweb/bases/drwebase.vdb - Ok, virus records: 514157
Loading /var/drweb/bases/dwrtoday.vdb - Ok, virus records: 183
Loading /var/drweb/bases/dwr50006.vdb - Ok, virus records: 1812
Loading /var/drweb/bases/dwr50005.vdb - Ok, virus records: 1738
Loading /var/drweb/bases/dwr50004.vdb - Ok, virus records: 1885
Loading /var/drweb/bases/dwr50003.vdb - Ok, virus records: 2091
Loading /var/drweb/bases/dwr50002.vdb - Ok, virus records: 1569
Loading /var/drweb/bases/dwr50001.vdb - Ok, virus records: 1834
Loading /var/drweb/bases/dwntoday.vdb - Ok, virus records: 1586
Loading /var/drweb/bases/dwn50013.vdb - Ok, virus records: 2596
Loading /var/drweb/bases/dwn50012.vdb - Ok, virus records: 2024
Loading /var/drweb/bases/dwn50011.vdb - Ok, virus records: 1609
Loading /var/drweb/bases/dwn50010.vdb - Ok, virus records: 1471
Loading /var/drweb/bases/dwn50009.vdb - Ok, virus records: 1445
Loading /var/drweb/bases/dwn50008.vdb - Ok, virus records: 1895
Loading /var/drweb/bases/dwn50007.vdb - Ok, virus records: 2312
Loading /var/drweb/bases/dwn50006.vdb - Ok, virus records: 3006
Loading /var/drweb/bases/dwn50005.vdb - Ok, virus records: 2146
Loading /var/drweb/bases/dwn50004.vdb - Ok, virus records: 1714
Loading /var/drweb/bases/dwn50003.vdb - Ok, virus records: 2095
Loading /var/drweb/bases/dwn50002.vdb - Ok, virus records: 2715
Loading /var/drweb/bases/dwn50001.vdb - Ok, virus records: 2545
Loading /var/drweb/bases/dwn50000.vdb - Ok, virus records: 2801
Loading /var/drweb/bases/drwrisky.vdb - Ok, virus records: 6197
Loading /var/drweb/bases/drwnasty.vdb - Ok, virus records: 28348
Total virus records: 1338790
Key file: /opt/drweb/drweb32.key - loaded.
License key number: 0013161005
License key activates: 2010-05-10
License key expires: 2010-06-10
License for Internet gateways: None
License for file-servers: Unlimited
License for mail-servers: Unlimited
Interface binding error (/var/drweb/run/.daemon - Address already in use)!
Interface binding error (127.0.0.1:3000 - Address already in use)!
No valid sockets created!
I will now start the migration and hope Plesk has no problems with this errors.
 
Interface binding error (/var/drweb/run/.daemon - Address already in use)!
Interface binding error (127.0.0.1:3000 - Address already in use)!

As you can see port 3000 is opened already.
Check it with

lsof -i tcp:3000

before drwebd starting.
 
lsof -i tcp:3000
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
drwebd.re 2953 drweb 5u IPv4 7506 TCP localhost:3000 (LISTEN)
drwebd.re 7070 drweb 5u IPv4 7506 TCP localhost:3000 (LISTEN)
drwebd.re 7071 drweb 5u IPv4 7506 TCP localhost:3000 (LISTEN)
drwebd.re 7072 drweb 5u IPv4 7506 TCP localhost:3000 (LISTEN)
drwebd.re 7073 drweb 5u IPv4 7506 TCP localhost:3000 (LISTEN)
drweb is starting in the beginning of boot log and failed in the end of boot log. I think drweb is ok, but is call 2 times.
But what is with
Starting internet superserver: xinetd failed!
 
now we have solved the drweb problem.
what's happen with the xinetd one?

I have the same problem xinetd is running but its tried to starts twice.

Clean Debain 5 minimal install.
install xinetd = all fine
install plesk 9.5.2 = startproblem

same on

Clean Debain 5 minimal install.
install plesk 9.5.2 = startproblem
 
Back
Top