Networking
cancel
Showing results for 
Search instead for 
Did you mean: 

swinstall/swlist not working on pure IPV6 HPUX machine.

SOLVED
Go to solution
sarveshpat
Visitor

swinstall/swlist not working on pure IPV6 HPUX machine.

HI

I am getting error while installing .depot on PURE IPV6 HPUX machine. version information is here.

B.11.31 U ia64 0049746860..

Do we need dual stack configuration for the sake of installtion?

6 REPLIES
Steven Schweda
Honored Contributor

Re: swinstall/swlist not working on pure IPV6 HPUX machine.

> I am getting error [...]

   Is the actual error message a secret?  Sometimes the actual command
can be interesting, too.

sarveshpat
Visitor

Re: swinstall/swlist not working on pure IPV6 HPUX machine.

this is the error i am getting.

ERROR:   Invalid protocol sequence specified as part of the
         "rpc_binding_info=" configuration option.
ERROR:   Terminating prematurely - cannot serve Remote Procedure Call

sarveshpat
Visitor

Re: swinstall/swlist not working on pure IPV6 HPUX machine.

detailed logs:

bash-2.05# swinstall -s xxxxx:/package.depot \*

=======  12/05/17 13:20:54 IST  BEGIN swinstall SESSION
         (non-interactive) (jobid=xxxxx-0686)

       * Session started for user "root@xxxxx".

       * Beginning Selection
ERROR:   Could not contact host "xxxxx" because of an invalid
         protocol sequence.  Protocol sequences are specified with the
         "-x rpc_binding_info" option.  Make sure this option is
         specified correctly.
       * Target connection failed for "xxxxx:/".
ERROR:   More information may be found in the daemon logfile on this
         target (default location is
         xxxxx:/var/adm/sw/swagentd.log).
       * Selection had errors.

=======  12/05/17 13:20:54 IST  END swinstall SESSION (non-interactive)
         (jobid=xxxxx-0686)

bash-2.05#

this is coming in PURE IPV6 setup but when i switch to dual stack or IPV4 only thnigs are good.

your views are welcome.

Highlighted
Duncan Edmonstone
Honored Contributor
Solution

Re: swinstall/swlist not working on pure IPV6 HPUX machine.

Try this...

edit the file /var/adm/sw/defaults

and ensure it contains the line:

rpc_binding_info=ncacn_ipv6_tcp:[2121] ncadg_ipv6_udp:[2121]

Then stop and start swagentd:

swagentd -k
swagentd

Then edit the file /${HOME}/.swdefaults

and add the line:

rpc_binding_info=ncacn_ipv6_tcp:[2121] ncadg_ipv6_udp:[2121]

 

Then try your commands again...


HTH

Duncan
sarveshpat
Visitor

Re: swinstall/swlist not working on pure IPV6 HPUX machine.

Thanks For the solution. It worked for me. Could you please tell me what this entry means ?

Duncan Edmonstone
Honored Contributor

Re: swinstall/swlist not working on pure IPV6 HPUX machine.

Go read the man page for swagentd and specifically look at the information for rpc_binding_info - that should explain all...


HTH

Duncan