Operating System - HP-UX
1753931 Members
9784 Online
108810 Solutions
New Discussion юеВ

Re: how to start the inetd at boot time

 
SOLVED
Go to solution
senthil_kumar_1
Super Advisor

how to start the inetd at boot time

Hi

I am new to HP-UX.

is inetd service started at boot automatically?

if not, what is the procedure?

Ex: To start NFS automatically at boot.
we can use the file /etc/rc.config.d/nfsconf
6 REPLIES 6
Richard Hepworth
Esteemed Contributor
Solution

Re: how to start the inetd at boot time

Senthil,

It should start automatically on boot:

/sbin/rc2.d/S500inetd

regards,

Richard
Pete Randall
Outstanding Contributor

Re: how to start the inetd at boot time

It's controlled by /sbin/init.d/inetd and should always be started. Take a look at the config script /etc/rc.config.d/netdaemons:

# Super daemon for various Internet Services
#
# NOTE: inetd is always started as part of the boot up process.
#
# INETD_ARGS: The command line arguments to be used when
# starting inetd. ("-l" is the only option
# available at startup.)
#
export INETD_ARGS=


Note that there is no 1/0 switch to start/not start.


Pete

Pete
Pete Randall
Outstanding Contributor

Re: how to start the inetd at boot time

Forgive the duplicate post - I meant to check the retain format box so it would be readable.

It's controlled by /sbin/init.d/inetd and should always be started. Take a look at the config script /etc/rc.config.d/netdaemons:

# Super daemon for various Internet Services
#
# NOTE: inetd is always started as part of the boot up process.
#
# INETD_ARGS: The command line arguments to be used when
# starting inetd. ("-l" is the only option
# available at startup.)
#
export INETD_ARGS=


Note that there is no 1/0 switch to start/not start.


Pete

Pete
Ganesan R
Honored Contributor

Re: how to start the inetd at boot time

Hi Senthil kumar,

Since it is a master daemon for ARPA/Berkely services, it's started by system during boot.

You can check if it is running or not.

#ps -ef |grep -i inetd
Best wishes,

Ganesh.
Ganesan R
Honored Contributor

Re: how to start the inetd at boot time

Hi again,

If it is not running you can start by this command.

#/sbin/init.d/inetd start

To stop

#/sbin/init.d/inetd stop

see man inetd for more details.
Best wishes,

Ganesh.
Sharma Sanjeev
Respected Contributor

Re: how to start the inetd at boot time

Hi Senthil

Yes, system will start it automatically when it comes up
if you want to start/stop manually

#/sbin/init.d/inetd start/Stop

Regards
Sanjeev
Everything is Possible as " IMPOSSIBLE" word itself says I M POSSIBLE