Howto restart inetd service / daemon under Linux

by on May 1, 2007 · 8 comments· LAST UPDATED May 1, 2007

in , ,

Q. Can you tell us the command to restart inetd service under Linux?

A. inetd is a daemon on many Linux and Unix like systems that manages Internet services such as ftp, pop3 and many others.

According to wikipedia:
Often called a super-server, inetd listens on all ports used by internet services such as FTP, POP3, and telnet. When a TCP packet or UDP packet comes in with a particular port number, inetd launches the appropriate server program to handle the connection. For services that are not expected to run with high loads, this method uses memory more efficiently, as the specific servers run only when needed.

Task: Start inetd service

Type the command:
# /etc/init.d/inetd start

Task: Stop inetd service

Type the command:
# /etc/init.d/inetd stop

Task: Restart inetd service

Type the command:
# /etc/init.d/inetd restart

See also:

TwitterFacebookGoogle+PDF versionFound an error/typo on this page? Help us!

{ 8 comments… read them below or add one }

1 tuxxer September 8, 2007 at 3:35 pm

Does not work for me: File does not exist!

Reply

2 nick humphrey May 28, 2008 at 6:39 am

maybe
/usr/sbin/update-inetd
?
just try:
locate inetd

Reply

3 nick humphrey May 28, 2008 at 6:48 am

sudo apt-get install telnetd

Reply

4 nick humphrey May 28, 2008 at 7:32 am

then to restart inetd you run:
sudo /etc/init.d/openbsd-inetd restart

Reply

5 Fractalspace December 5, 2014 at 5:01 pm

YES. ‘openbsd-inetd’ it is.
Thanks.

Reply

6 mariaczi February 1, 2010 at 10:18 am

The best way is
killall -HUP inetd
will work on all linux version :)

Reply

7 zimmer August 29, 2010 at 7:01 pm

Beginning with 2.3.11 xinetd is shipped with an optional inetd.conf compatibility mode.

Parse all the xinetd config files first, then parse /etc/inetd.conf, and add services from there (if it exists). Use the -inetd_compat option to read inetd.conf.

Read document: /usr/share/doc/xinetd/README.update-inetd if you have xinetd installed.

Reply

8 Felix Mwango Mutale January 10, 2011 at 2:19 pm

Hi,
Could anyone help me, how one can tell the port_numbers that are in use ? For instance, which port_number a printer could be using ?

Reply

Leave a Comment

Tagged as:

Previous Faq:

Next Faq: