1834811 Members
2099 Online
110070 Solutions
New Discussion

Re: swlist

 
j773303
Super Advisor

swlist

swlist can't work properly. I try to restart the swagentd, but get the below error? Does any one know how to fix it?

./swagentd start
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
Hero
3 REPLIES 3
Elmar P. Kolkman
Honored Contributor

Re: swlist

Could it be that you changed the hostname of your server (perhaps accidentially) ?
Every problem has at least one solution. Only some solutions are harder to find.
j773303
Super Advisor

Re: swlist

yes, I changed the hostname. Any impact on swagentd?
Hero
Fabio Ettore
Honored Contributor

Re: swlist

Hi,
swagentd and (in general) install of software on HP-UX system depends from network and hostname functionality.
If one of these are not working properly then swagentd could not work.
How did you change hostname? By set_parms?
You should verify

# hostname
# more /etc/rc.config.d/hostname

if hostname is configured properly.
Otherwise just launch

# /sbin/set_parms hostname

to re-configure hostname and then re-try swagentd start.

I hope this helps you.

Best regards,
Ettore
WISH? IMPROVEMENT!