Operating System - HP-UX
1832645 Members
3104 Online
110043 Solutions
New Discussion

Re: swagentd fails to start

 
SOLVED
Go to solution
kevin donnelly
Advisor

swagentd fails to start

I have a newly delivered K class 11i machine that I am trying to install and configure.

On boot swagentd fails to start with the following message:
Running /usr/lib/sw/mx/configure to reset hostname.
ERROR: Failed to package AgentConfig into /var/opt/mx/depot11.
swpackage did not run or produced no output.
ERROR: Failed to package AgentConfig into /var/opt/mx/depot10.
swpackage did not run or produced no output.
WARNING: Could not properly configure SD into ServiceControl.
You may try again later by running /usr/lib/sw/mx/configure

I found the following message http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=277246 and I have tried resetting the hostname using set_parms. I have even tried running set_parms initial and I still get the same error.
3 REPLIES 3
RAC_1
Honored Contributor

Re: swagentd fails to start

If you have run set_parms to set host name, check it is OK in following files.

/etc/hosts
/etc/rc.config.d/netconf

Does hostname returns OK?? uname??
Double check /etc/hosts file.

Anil
There is no substitute to HARDWORK
Steven E. Protter
Exalted Contributor
Solution

Re: swagentd fails to start

the 11i install, back when I first did it did not put a nsswitch.conf file in place in /etc/

Copy one of the candidates in /etc as nsswitch.conf (ll /etc/nsswitch.*

Then start swagentd. It will work.

/sbin/init.d/swagentd start

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
kevin donnelly
Advisor

Re: swagentd fails to start

Creating a nsswitch.conf solved both my problems!!!!!!

Thanks!