Operating System - HP-UX
1756308 Members
2667 Online
108844 Solutions
New Discussion юеВ

create depot script fails

 
SOLVED
Go to solution
Shawn Miller_2
Frequent Advisor

create depot script fails

When I run create_depot_hp-ux_11 script it fails. The swagentd.log shows error, access denied to root@10.2.3.1 to start copy agent. This IP used to be for a heartbeat on a cluster. The cluster has been removed a while ago and the NIC that had 10.2.3.1 is no longer configured. Any suggestions on how to fix this. Not sure why swinstall is even trying this 'dead' ip to create a local depot.
4 REPLIES 4
Steve Steel
Honored Contributor
Solution

Re: create depot script fails

Hi


Its a cached entry

Restart the swagent daemon with "/usr/sbin/swagentd -r"

Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Luk Vandenbussche
Honored Contributor

Re: create depot script fails

Hi,

Is swlist working?

Try

/sbin/init.d/swagentd stop
/sbin/init.d/swagentd start
Shawn Miller_2
Frequent Advisor

Re: create depot script fails

The advised that it was a cached entry was correct. Thanks.
Craig Johnson_1
Regular Advisor

Re: create depot script fails

Oooh I think I know the answer.

swagentd is not nsswitch aware, it always looks in /etc/hosts to match the hostname to IP. That old address is probabably still in there with the hostname, preceding the line that defines the hostname to primary IP.