1847253 Members
4459 Online
110263 Solutions
New Discussion

Error starting swagentd

 
SOLVED
Go to solution

Error starting swagentd

Hi

I have an 11.11 system which I have just restored from an ignite-ux recovery backup (and restored things from data protector too). I am having trouble starting swagentd. This is the error message:

# /sbin/init.d/swagentd start
ERROR: swagentd exiting due to initialization error in background
process. Check the logfile "/var/adm/sw/swagentd.log" for
more information.
ERROR: Unable to restart swagentd after initializing networking.
#
# swagentd -r
ERROR: swagentd exiting due to initialization error in background
process. Check the logfile "/var/adm/sw/swagentd.log" for
more information.

I have searched the forums and have seen some people putting entries into the /var/adm/sw/defaults file, but having tried a few combinations of this, it still hasn't helped or even changed the error message above.

Does anyone have any clues what might be going on? Any help is appreciated.

- Andrew
14 REPLIES 14
skt_skt
Honored Contributor

Re: Error starting swagentd

what did /var/adm/sw/swagentd.log exactly says?

Re: Error starting swagentd

the swagentd.log file says this:

======= 08/28/08 12:02:50 est END swagentd (pid = 3338).

ERROR: Invalid protocol sequence specified as part of the
"rpc_binding_info=" configuration option.
ERROR: Terminating prematurely - cannot serve Remote Procedure Call
requests.

======= Thu, Aug 28, 2008 12:02:51 PM est END swagentd (pid = 3719,
startup error).


The /var/adm/sw/defaults file is empty by the way.

Thanks for the reply.
- Andrew
Anshumali
Esteemed Contributor

Re: Error starting swagentd

Andrew,

i hope you have already checked for any already running or hung swagentd process, anyways...if its just ignited, can we check the behavior after restart if this is not yet in production.Also, whats your patch level or was there any hardening done recently/

Anshu

Dreams are not which you see while sleeping, Dreams are which doesnt allow you to sleep while you are chasing for them!!

Re: Error starting swagentd

Hi

There are no running swagentd processes, it fails during bootup also according to /etc/rc.log.

The December 2007 Patch Bundle has been applied, so fairly recent.

There was no hardening done.

Thanks.

- Andrew
Deepak Kr
Respected Contributor

Re: Error starting swagentd

Can you recycle nfs services and then try again!!
"There is always some scope for improvement"

Re: Error starting swagentd

actually, /etc/rc.log doesn't show an error. Take that back. It does appear to be running after a reboot.
But, stopping the daemon and starting it again with these commands fails:


# ps -ef | grep swagentd
root 3308 1 0 13:57:55 ? 0:00 /usr/sbin/swagentd -r
#
# /sbin/init.d/swagentd stop
The swagentd daemon is stopped.
# ps -ef | grep swagentd
# /sbin/init.d/swagentd start
ERROR: swagentd exiting due to initialization error in background
process. Check the logfile "/var/adm/sw/swagentd.log" for
more information.
ERROR: Unable to restart swagentd after initializing networking.
#

Re: Error starting swagentd

I stopped all the NFS components (server, client, core) and started them up (core, client, server), and tried starting swagentd, but it gives the same error message and fails.
Thanks though.
- Andrew
Fabio Ettore
Honored Contributor
Solution

Re: Error starting swagentd

Hi,

check /etc/rc.log for more info about the error, check rpcd, swagentd, nfs.core services. Did they start all correctly on last boot?

I think the problem is not directly about swagentd daemon, rather it's about something with networking/rpc.

HTH.

Best regards,
Fabio
WISH? IMPROVEMENT!
Deepak Kr
Respected Contributor

Re: Error starting swagentd

Hi,

provide
#ps -ef|grep rpc

Also have you recycled nfs services on this box??
"There is always some scope for improvement"
Vihang.
Trusted Contributor

Re: Error starting swagentd

Hi,

Can you post cat /etc/hosts output? I guess it could be because of some invalid or duplicate entry in your host file. Also, paste the output of below commands.

# hostname
# uname -n

You say that swgaentd starts after reboot of the server. Have you tried running swlist after a reboot when your swagentd is running? If yes, what does it say? Probably, there is a DHCP lease if you restored ignite from network. In that case, run "set_parms initial" & setup the entire networking again & take a reboot.
Hope this helps.


Regards,
Vihang.
R.O.
Esteemed Contributor

Re: Error starting swagentd

Hi,

Check the existence of the directory "/dev/ip6". If it exists, try to rename it and restart swagentd.

Regards,
"When you look into an abyss, the abyss also looks into you"

Re: Error starting swagentd

Hi all, thanks for the information.

We couldn't figure it out in time, so we decided to just re-install the OS. We were in the process of doing an upgrade to 11.23, so we just installed that from scratch and re-installed software.

Thanks again for the replies! Points assigned.

- Andy

Re: Error starting swagentd

closed

Re: Error starting swagentd

By the way, if I took the system down to run level 1, then back up to 3, swagentd would start, but if I stopped it and restarted it, it would fail to restart. But if I took it down to runlevel 1 and back up again, it would start!

RPC was running fine, rpcinfo looked normal.

I tried recycling the NFS services using init.d scripts, no help there.

There was no dhcp configured on the network.

So it's still a mystery, but extremely strange that going to runlevel 1 and back up again would actually make swagentd startup normally!

Thanks again.

- Andrew