Operating System - HP-UX
1833052 Members
2412 Online
110049 Solutions
New Discussion

Daemon taking long time to start during boot up

 
SOLVED
Go to solution

Daemon taking long time to start during boot up

Hi All,

This is rp7420 B 11.11 server with oracle 9i release 2 and oracle 10g application server. This server was started normally before but this morning it is taking too much time to start its daemon like snmp MIB2, nfs client, hp distributed print service, FCD mas storage, send mail, cde login and many more.

Can anyone help me to find out the real cause of this behaviour? Its not a live server I can apply any command you want me to apply. Please help.

Rgds,
Shovon
11 REPLIES 11
IT_2007
Honored Contributor

Re: Daemon taking long time to start during boot up

look at /etc/rc.log and /var/adm/syslog/syslog.log files. Where exactly process hangs or takes too much time? May be you need to bring them manually and see how much time it takes.

thanks,
Srini

Re: Daemon taking long time to start during boot up

Hi all,

At last my system is up but I am getting following message in the console.

INIT: Command is respawning too rapidly.
Will try again in 5 minutes.
Check for possible errors.
id:samd "/usr/sam/lbin/samd # system mgmt daemon"

Could you pls. help me?

Rgds,
Shovon
IT_2007
Honored Contributor

Re: Daemon taking long time to start during boot up

bring down system into single user mode and comment out for the following entry:

samd:23456:respawn:/usr/sam/lbin/samd

and reboot your system.
Steven E. Protter
Exalted Contributor
Solution

Re: Daemon taking long time to start during boot up

Shalom Shovon,

Your /etc/inittab has either been hacked,modified or corrupted.

vi the file and see if you can find something obvious, or copy the file in from a working system.

Then restart the unhappy system.


SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com

Re: Daemon taking long time to start during boot up

Hi Srini/Steven,

Is it possible to comment out the samd daemon in multiuser mode and then restart inittab? Is this the only reason of taking long time to boot up? System is up now but taking time to connect with the telnet, taking time of using sam and can not do ftp to the system. I think something wrong with the netconf file. I can ping the system using ip_addres but can not ping the system's hostname. Please help.

Rgds,
Shovon
IT_2007
Honored Contributor

Re: Daemon taking long time to start during boot up

yes. Don't have to have an entry in /etc/inittab unless you want to run sam remotely. Please comment out an entry in inittab and fix any errors in /etc/rc.config.d/netconf file. Restart samd manully and run sam.

This kind of error you get when you have netconf file wrong on binary file corrupt for samd.
IT_2007
Honored Contributor

Re: Daemon taking long time to start during boot up

yes. Don't have to have an entry in /etc/inittab unless you want to run sam remotely. Please comment out an entry in inittab and fix any errors in /etc/rc.config.d/netconf file. Restart samd manully and run sam.

This kind of error you get when you have netconf file wrong or binary file corrupt for samd.

Re: Daemon taking long time to start during boot up

Hi Srini,

Can you tell me how can I stop and start the samd mannually? Pls. .....

Rgds,
Shovon
IT_2007
Honored Contributor

Re: Daemon taking long time to start during boot up

Once you comment out in /etc/inittab at single user mode then it won't comeup. To start manually run /usr/sam/lbin/samd

Re: Daemon taking long time to start during boot up

Hi,

Do you mean the command

#/usr/sam/lbin/samd start

I did it but no change.

Rgds,
Shovon
IT_2007
Honored Contributor

Re: Daemon taking long time to start during boot up

if you run /usr/sam/lbin/samd and don't have to give start option and check ps -ef |grep samd and you should see samd running.