1847299 Members
2421 Online
110264 Solutions
New Discussion

SD_UX error

 
SOLVED
Go to solution
Azaru
Regular Advisor

SD_UX error

Hi,

I have problem with sd commands. Please help me.

# swlist
# Initializing...
# Contacting target "Eclear"...
ERROR: Could not contact host "Eclear" because of an invalid protocol
sequence. Protocol sequences are specified with the "-x
rpc_binding_info" option. Make sure this option is specified
correctly.
ERROR: More information may be found in the daemon logfile on this
target (default location is Eclear:/var/adm/sw/swagentd.log).


Regards
azaru
10 REPLIES 10
Steven E. Protter
Exalted Contributor

Re: SD_UX error

Shalom azaru,

What is /etc/nsswitch.conf

It needs to be there for sd-ux to work.

What does the file say:
/var/adm/sw/swagentd.log

/sbin/init.d/swagentd -r

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Asif Sharif
Honored Contributor

Re: SD_UX error

Hi Azaru,

Make sure the host name is correct.
/usr/sbin/swagentd -r
# more /var/adm/sw/swagentd.log

Regards,
Asif Sharif
Regards,
Asif Sharif
Azaru
Regular Advisor

Re: SD_UX error

Hi,

Here the output for above questions



# more /etc/nsswitch.conf
#
# /etc/nsswitch.files:
#
# @(#)B.11.11_LR
#
# An example file that could be copied over to /etc/nsswitch.conf; it
# does not use any name services.
#
passwd: files
group: files
hosts: files
services: files
networks: files
protocols: files
rpc: files
publickey: files
netgroup: files
automount: files
aliases: files
#


======= Mon, Aug 25, 2008 11:41:05 PM IST BEGIN swagentd (pid =
11380).

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

======= Mon, Aug 25, 2008 11:41:05 PM IST END swagentd (pid = 11380,
startup error).

#


# /sbin/init.d/swagentd -r
usage: /sbin/init.d/swagentd {start|stop}
# /sbin/init.d/swagentd start
ERROR: swagentd exiting due to initialization error in background
process. Check the logfile "/var/adm/sw/swagentd.log" for
more information.
ERROR: Unable to restart swagentd after initializing networking.
#


# /usr/sbin/swagentd -r
ERROR: swagentd exiting due to initialization error in background
process. Check the logfile "/var/adm/sw/swagentd.log" for
more information.
#


azaru
Torsten.
Acclaimed Contributor

Re: SD_UX error

... Check the logfile "/var/adm/sw/swagentd.log" for
more information. ...

Please do it.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Azaru
Regular Advisor

Re: SD_UX error

Hi,

Content of swagentd.log file

# cat /var/adm/sw/swagentd.log


======= 08/25/08 23:44:39 IST BEGIN swagentd (pid = 12771).

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

======= 08/25/08 23:44:39 IST END swagentd (pid = 12771, startup
error).


======= Mon, Aug 25, 2008 11:45:07 PM IST BEGIN swagentd (pid =
12952).

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

======= Mon, Aug 25, 2008 11:45:07 PM IST END swagentd (pid = 12952,
startup error).



azaru
Michael Steele_2
Honored Contributor

Re: SD_UX error

a) Verify your dns entries for ip and hostname

nslookup hostname
nslookup ip

b) check you sd-ux up to date patches. for 11.11 PHCO_35587 & PHC)_35291 refer to your error.

what version of hp-ux are you?

go to this link and search on 'rpc_binding_info'

http://www11.itrc.hp.com/service/patch/search.do?pageOsid=hpux&BC=main|pdb|
Support Fatherhood - Stop Family Law
James R. Ferguson
Acclaimed Contributor
Solution

Re: SD_UX error

Hi:

Did you specify a value for '-x rpc_binding_info'? The valid values are 'ncacn_ip_tcp:[2121]' or 'ncadg_ip_udp:[2121]'.

Perhaps you have modified the '/var/adm/sw/defaults' and specified it there or in '${HOME}/.swdefaults'

Regards!

...JRF...

Azaru
Regular Advisor

Re: SD_UX error

Hi,


# nslookup Eclear
Using /etc/hosts on: Eclear

looking up FILES
Name: Eclear
Address: 172.20.224.105
Aliases: loghost

# nslookup 172.20.224.105
Using /etc/hosts on: Eclear

looking up FILES
Name: Eclear
Address: 172.20.224.105
Aliases: loghost

#


SD commands are not working here.


azaru
Rasheed Tamton
Honored Contributor

Re: SD_UX error

grep rpc_binding_info /var/adm/sw/defaults|grep -v ^#

uncomment the entries for the rpc_binding_info and restart the swagentd

rgds.
Azaru
Regular Advisor

Re: SD_UX error

Hi All,


I have put the entry in $HOME/.sw/defaults file as

"rpc_binding_info=ncadg_ip_udp:[2121]"

It works fine now.

Thanks for ur valid answers.


azaru