Tips on how to restart inetd service in Linux
Learn to restart inetd service in Linux. Xinetd service is substitute for inetd service in new Linux variations.
inetd or xinetd service in Linux
inetd is web daemon. Inetd is answerable for web providers like telnet, pop3, ftp and so forth. At any time when a packet comes over community to server on specific port, inetd is accountable to test it and launch the suitable program to deal with the connection request.
Beneath are listing of instructions to handle inetd service. In newer programs inetd is changed with extra highly effective daemon xinetd.
Begin inetd service
# /and so forth/init.d/inetd begin
# /and so forth/init.d/inetd begin
Cease inetd service
# /and so forth/init.d/inetd cease
# /and so forth/init.d/inetd cease
Restart inetd service
# /and so forth/init.d/inetd restart OR # killall -HUP inetd
# /and so forth/init.d/inetd restart OR # killall -HUP inetd
All inetd configuration might be present in file /and so forth/inetd.conf
On newer programs inetd is being changed by xinetd. xinetd is Prolonged web daemon. For those who fails to run above command your system most likely runs xinetd as a inetd substitute. In that case comply with beneath instructions –
Begin inetd service
# service xinetd begin
# service xinetd begin
Cease inetd service
# service xinetd cease
# service xinetd cease
Restart inetd service
# service xinetd restart
# service xinetd restart
Verify xinetd service state
root@kerneltalks # service xinetd standing
● xinetd.service – Xinetd A Highly effective Substitute For Inetd
Loaded: loaded (/usr/lib/systemd/system/xinetd.service; enabled; vendor preset: disabled)
Lively: energetic (operating) since Wed 2019-01-02 17:17:31 EST; 6s in the past
Predominant PID: 17135 (xinetd)
Duties: 1 (restrict: 512)
CGroup: /system.slice/xinetd.service
└─17135 /usr/sbin/xinetd -stayalive -dontfork
root@kerneltalks # service xinetd standing
● xinetd.service – Xinetd A Highly effective Substitute For Inetd
Loaded: loaded (/usr/lib/systemd/system/xinetd.service; enabled; vendor preset: disabled)
Lively: energetic (operating) since Wed 2019–01–02 17:17:31 EST; 6s in the past
Predominant PID: 17135 (xinetd)
Duties: 1 (restrict: 512)
CGroup: /system.slice/xinetd.service
└─17135 /usr/sbin/xinetd –stayalive –dontfork
All of the providers being dealt with by xinetd might be discovered below /and so forth/xinetd.d listing. Every service has its personal configuration file below /and so forth/xinetd.d listing.