Operating System - HP-UX
1837897 Members
3307 Online
110123 Solutions
New Discussion

Re: swinstall does not work outside firewall

 
Mike ONeal
Occasional Contributor

swinstall does not work outside firewall

Hi,

Since one of our boxes was moved outside the firewall I have not been able to get swinstall to work. I get this message when I try contact the machine with the depots:

A Remote Procedure Call to a daemon has failed. Could not start a management session for "cobalt:". Make sure the host is accessible from the network, and that its daemon, swagentd, is running.

What tcp ports must the firewall pass for swinstall to work? Is NFS needed?

Tnx,

Mike
2 REPLIES 2
Alex Glennie
Honored Contributor

Re: swinstall does not work outside firewall

By default SD-UX connects with port 2121, then goes back to LISTEN and
the connection switches to another random higher port. Other SD-UX
sessions will also initially connect to port 2121, then switch so that
2121 is only used for the initial connection for a brief period of time
before switching to a higher port and putting 2121 back to LISTEN.

The man page for swagentd gives the port information:
Remote Procedure Call Options
These options apply to the DCE, Security and Remote Procedure Call
(RPC) options:
swagentd.rpc_binding_info=ncadg_ip_udp:[2121] ncacn_ip_tcp:[2121]
Defines the protocol sequence(s) and endpoint(s) which
may be used to contact swagentd. This value should be
consistent among all hosts that work together. See
sd(5) for details on specifying this option.


Alex Glennie
Honored Contributor

Re: swinstall does not work outside firewall

You may also need to useglance or lsof to get the exact port numbers involved as I'm sure 2121 is not the only one.