Operating System - HP-UX
1833777 Members
2064 Online
110063 Solutions
New Discussion

Re: swreg problem when registering a depot

 
Neil Harris
Regular Advisor

swreg problem when registering a depot

I am getting this output when registering a depot

ERROR: RPC exception: "Communications failure (dce / rpc)" 01/26/04
14:46:16 GMT
ERROR: A Remote Procedure Call to a daemon has failed. Could not
start a management session for
"babylon1:/tmp/PHCO_26422.depot". Make sure the host is
accessible from the network, and that its daemon, swagentd, is
running.
ERROR: More information may be found in the daemon logfile on this
target (default location is
babylon1:/var/adm/sw/swagentd.log).
* Selection had errors.

I am quite at a loss to know what is causing this any help would be appriciated
An inveterate hacker
10 REPLIES 10
Jeff Schussele
Honored Contributor

Re: swreg problem when registering a depot

Hi Neil,

Try bouncing the swagentd daemon on both systems

/usr/sbin/swagentd -r

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Neil Harris
Regular Advisor

Re: swreg problem when registering a depot

here is the log file:-

WARNING: Failure registering as Remote Procedure Call server using
protocol sequence "ncacn_ip_tcp" with endpoint "2121". No
addresses (dce / rpc)
* Checking job queue at 1 minute intervals.
* Started configure agent on "/" for root@localhost, pid=88,
01/25/04 21:24:39 EST
* Agent pid=88 completed. 01/25/04 21:40:24 EST
* Started configure agent on "/" for root@localhost, pid=3857,
01/25/04 21:40:27 EST
* Agent pid=3857 completed. 01/25/04 21:46:38 EST
* Started configure agent on "/" for root@localhost, pid=5390,
01/25/04 21:46:41 EST
* Agent pid=5390 completed. 01/25/04 21:47:54 EST
An inveterate hacker
Neil Harris
Regular Advisor

Re: swreg problem when registering a depot

Hi Jeff thanks,

I tried that already

Neil
An inveterate hacker
Robert-Jan Goossens
Honored Contributor

Re: swreg problem when registering a depot

Jeff Schussele
Honored Contributor

Re: swreg problem when registering a depot

Hi (again) Neil,

If bouncing swagentd doesn't solve the problem, then try bouncing the dced daemon

/sbin/init.d/dce stop
then
/sbin/init.d/dce start

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Neil Harris
Regular Advisor

Re: swreg problem when registering a depot

ok folks that did not work either
An inveterate hacker
Jeff Schussele
Honored Contributor

Re: swreg problem when registering a depot

Are you trying to register to a remote system or locally?

If remote can port 2121 requests get there?
Try
telnet remote_server 2121
If you don't get a connect then 2121 is being blocked somewhere.

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Neil Harris
Regular Advisor

Re: swreg problem when registering a depot

Hi Jeff,

No this is a local system
An inveterate hacker
Jeff Schussele
Honored Contributor

Re: swreg problem when registering a depot

Other things to check:

Can this system resolve itself by name AND IP?

Are you current on patches - specifically SD-UX cumulative?

Is Measureware running?

Any other sw* processes running?

Any corrupt/incomplete patch installs?
swlist -l patch -a state > /tmp/swlist.out

I searched the forum & patches with "ncacn_ip_tcp" and got several hits.

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Anil C. Sedha
Trusted Contributor

Re: swreg problem when registering a depot

Sometimes SD utility does not work even locally if there is a problem with name resolution. Also bind the system to itself and you can verify that by "ypwhich"

Then, you can ping the hostname and verify if it provides the correct IP and do a nslookup with IP and then it should resolve the hostname, else add the entry in /etc/hosts.

Thirdly, the issue can be pertaining to the swagent daemon. Try doing a stop/start on that, & also on nis.client.

Let us know if this worked.

Anil
If you need to learn, now is the best opportunity