Operating System - HP-UX
1824218 Members
3577 Online
109669 Solutions
New Discussion юеВ

How to start inetd at boot time.

 
SOLVED
Go to solution
senthil_kumar_1
Super Advisor

How to start inetd at boot time.

Hi

I am using hpux 11.00.

How to start the inetd at boot time.
8 REPLIES 8
Mel Burslan
Honored Contributor

Re: How to start inetd at boot time.

inetd is always started as part of the boot up process. If yours is not starting, you might want to check your /etc/rc.log and see if the startup is failing with a core dump or something.
________________________________
UNIX because I majored in cryptology...
James R. Ferguson
Acclaimed Contributor

Re: How to start inetd at boot time.

Hi Senthil:

The 'inetd' daemon is started by the script '/sbin/init.d/inetd' in run-level-2.

You may need to uncomment some of the services defined in '/etc/inetd.conf' and reconfigure a new running daemon:

# /usr/sbin/inetd -c

Regards!

...JRF...
senthil_kumar_1
Super Advisor

Re: How to start inetd at boot time.

Hi Friends,

My default runlevel is 3.

As JFR said The 'inetd' daemon is started by the script '/sbin/init.d/inetd' in run-level-2.

But when i restart the server. then i net will not be started automatically. since my default runlevel is 3.

How to solve this?
Patrick Wallek
Honored Contributor
Solution

Re: How to start inetd at boot time.

>>then i net will not be started automatically. since my default runlevel is 3.

Yes, it will. When HP-UX boots up to run level 3 it starts everything for run level 1, 2 AND 3.

If inetd is not starting, then you need to investigate why. Have a look in /etc/rc.log for any errors.
Nido
Trusted Contributor

Re: How to start inetd at boot time.

Hello Senthil,

>>>>But when i restart the server. then i net will not be started automatically. since my default runlevel is 3

Check the /etc/rc.log file contents and you'll learn the startup process.

Your system will come to run-level 3 as default after run-level 1 and 2 completes respectively.

Thanks,
" Let Villagers Be Happy!! "
Mel Burslan
Honored Contributor

Re: How to start inetd at boot time.

please post the contents of /etc/inetd.conf file here. Also, as I have previously mentioned, check /etc/rc.log and look for words like error, fail etc. (case insentive of course) to see if something bad happening at the startup time.
________________________________
UNIX because I majored in cryptology...
senthil_kumar_1
Super Advisor

Re: How to start inetd at boot time.

Hi Patrick Wallek and Nido.

yes, you both are correct.

i am able to see "inetd" in /etc/rc.log.

Now i understand following things:

1) when starting the server in runlevel 3, all the scripts available in runlevel 1 (/etc/rc1.d), runlevel2 (/etc/rc2.d) and runlevel3 (/etc/rc3.d) will be ran.

So all three runlevels (rc1.d, rc2.d and rc3.d) will be executed when we are setting runlevel 3 as default.


Mel Burslan
Honored Contributor

Re: How to start inetd at boot time.

yes your understanding is correct. do you see something like this in the /etc/rc.log

Start Internet services daemon
Output from "/sbin/rc2.d/S500inetd start":
----------------------------
Internet Services started


________________________________
UNIX because I majored in cryptology...