1833959 Members
1705 Online
110063 Solutions
New Discussion

Re: Booting time

 
podichin
Advisor

Booting time

Hi Experts,

I am facing problem in one of our K class servers,(os version HPUX 11i)


Problem dicription,

System is taking around 1 hour and 20 minutes for complete reboot(For coming back to run level 3), But i noticed ,when i am switching the run levels (First single user mode, Init 1,Init 2 and Init 3,), I can make the system up within 35 to 40 Minutes,

During complete reboot each startup script is taking too much time comparing to switching the run levels,

Waiting for replay,
Thanks in advance,
Siju

6 REPLIES 6
Joseph Loo
Honored Contributor

Re: Booting time

hi,

first of all, assign points:

http://forums1.itrc.hp.com/service/forums/pageList.do?userId=CA1309047&listType=unassigned&forumId=1

any ERROR/WARNING messages from /etc/rc.log?

regards.
what you do not see does not mean you should not believe
Sivakumar TS
Honored Contributor

Re: Booting time


Dear Podichin,

It is quite unusall to take such a long time to boot. Some sevices like NFS may a really very long time to start/complete if the concerned NFS servers are not available during the boot time. Please check this.

Could you tell us where exactly the server hangs...during boottime,at which service?

HtH

Siva.
Nothing is Impossible !
podichin
Advisor

Re: Booting time

Hi Siva,

NFS is not enabled on on the server and am even renamed files for NFS and NIS in /sbin/rc*.d,

As i mentioned already, System is taking too much time all the startup scripts,

Even for stating the net interface also, Its taking around 4 minutes,

Thanks in advance,

Siju
Raj D.
Honored Contributor

Re: Booting time

Hi Podichin ,

Check /etc/rc.log for any error or warnings , and also check /var/adm/syslog/OLDsyslog.log for any errors.

Also check /var/opt/resmon/log/event.log for details.

Use sar ,top , glance to check everything is ok.

Check if any changes done recently.!

hth,
Raj.
" If u think u can , If u think u cannot , - You are always Right . "
Bill Hassell
Honored Contributor

Re: Booting time

You'll need to track down the slow startup scripts. Most likely the basics (enabling volumes, mounting disks, etc) run OK, but it's quite common for misconfigured networking to slow everything down. Make sure that *ALL* NFS options (in the /etc/rc.config.d/nfsconf file) are turned off (ie, =0). Make sure that all entries in /etc/resolv.conf file (DNS servers) actually work by testing them:

nslookup www.hp.com dns_server1
nslookup www.hp.com dns_server2
nslookup www.hp.com dns_server3

If any do not respond, take them out of resolv.conf or fix the server(s).

Finally, you need to identify which scripts are running slow. You can modify /sbin/rc (which starts all the startup scripts) to print the start time for each script. Then look at /etc/rc.log to see where the big delays actually occur. The run level isn't important, it's the actual run time of the various scripts. Something is hanging on a long timeout.


Bill Hassell, sysadmin
Bill Hassell
Honored Contributor

Re: Booting time

I just noticed:

"NFS is not enabled on on the server and am even renamed files for NFS and NIS in /sbin/rc*.d"

Not a good idea at all. They should be renamed back to their original names and instead, turn off NFS and NFS (and any other non-essential subsystems) in /etc/rc.config.d. Renaming scripts in /sbin and especially /sbin/init.d will cause future problems. And DON'T create any backup copies of files in /etc/rc.config.d as *every* file in this directory is run during bootup. You might look at the age of files in this directory, most recently changed listed first:

ll -t /etc/rc.config.d

If you see anything strange, especially any test files, that may be source of all your delays.


Bill Hassell, sysadmin