1759984 Members
2713 Online
108889 Solutions
New Discussion юеВ

swagentd restart error

 
SOLVED
Go to solution
catastro
Super Advisor

swagentd restart error

Hi all.
I have a little problem with swagentd. I changed my default_realm name in several files for running swlist from another system, and I am not able to restart swagentd, as it says this to me:

madrid:/var#/usr/sbin/swagentd -r
ERROR: swagentd exiting due to initialization error in background process. Check the logfile "/var/adm/sw/swagentd.log" for more information.

madrid:/var#tail -25 /var/adm/sw/swagentd.log
======= Mi├й, 21 Feb 2007 10:06:23 MET BEGIN swagentd (pid = 20815).
* Restarting swagentd program, process ID 1652.
ERROR: Unable to restart swagentd program, process ID 1652.
======= Mi├й, 21 Feb 2007 10:06:33 MET END swagentd (pid = 20815, startup error).

I al ready tried the swagentd -r command as trying to stop and to start the daemon again but it says this:

madrid:/var#/sbin/init.d/swagentd stop
The swagentd daemon is stopped.
madrid:/var#/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 nformation.
ERROR: Unable to restart swagentd after initializing networking.

madrid:/var#ps -eaf | grep swagentd
root 1652 1 0 Dic 6 ? 0:53 /usr/sbin/swagentd -r
root 6867 2387 0 09:51:04 pts/0 0:00 grep swagentd

A possibility could be killing the swagentd daemon with its pid and the starting it over again? Thanks
2 REPLIES 2
Steven E. Protter
Exalted Contributor
Solution

Re: swagentd restart error

Shalom,

I suggest manually killing the swagentd process.

Check /etc/nsswitch.conf exists and is valid.

Then start the swagentd daemon.

Check /var/adm/syslog/syslog.log for errors.

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
catastro
Super Advisor

Re: swagentd restart error

Thanks a lot man, it worked as I thought it was going to, but I wanted to check with a person that knew more.