1833582 Members
3898 Online
110061 Solutions
New Discussion

swinstall RPC problems

 
SOLVED
Go to solution
David DiBiase
Frequent Advisor

swinstall RPC problems

just fixed telnet with this forums help.

ran swinstall and got:
======= 09/14/05 15:05:12 EDT BEGIN swinstall SESSION
(non-interactive) (jobid=triumph-0044)

* Session started for user "root@triumph".

* Beginning Selection
ERROR: RPC exception: "Communications failure (dce / rpc)" 09/14/05
15:10:23 EDT
ERROR: A Remote Procedure Call to a daemon has failed. Could not
start a management session for "triumph:/". Make sure the
host is accessible from the network, and that its daemon,
swagentd, is running.
* Target connection failed for "triumph:/".
ERROR: More information may be found in the daemon logfile on this
target (default location is triumph:/var/adm/sw/swagentd.log).
* Selection had errors.



======= 09/14/05 15:10:23 EDT END swinstall SESSION (non-interactive)
(jobid=triumph-0044)

swagentd.log says:

* Registered RPC protocol "ncacn_ip_tcp" with endpoint "2121".
* Registered RPC protocol "ncadg_ip_udp" with endpoint "2121".
* Checking job queue at 1 minute intervals.

and:
"/usr/sbin/swagentd -r" is running (ps -ef)

Any ideas where to start???
11 REPLIES 11
Bharat Katkar
Honored Contributor

Re: swinstall RPC problems

hi,

Kill all the swagentd process running and restart swagentd deamon. It shoudl work.

Regards,

You need to know a lot to actually know how little you know
Steven E. Protter
Exalted Contributor

Re: swinstall RPC problems

restart swagentd

Try again.

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
David DiBiase
Frequent Advisor

Re: swinstall RPC problems

tried many times
swagentd -k folowed by start with -r
kill -15 (swagentd PID) then start
all to no avail so far
Bharat Katkar
Honored Contributor

Re: swinstall RPC problems

Then you need to again check the files /etc/resolv.conf /etc/nsswitch.conf and /etc/hosts for any ambigous entries.
Check hostname "# hostname"
Or try setting hostname again by " # set_parms hostname" and let it reboot once.

Hope that works.
Regards,

You need to know a lot to actually know how little you know
James R. Ferguson
Acclaimed Contributor

Re: swinstall RPC problems

Hi David:

Make sure that your server's hostname and associated IPAddress are correctly defined in /etc/hosts.

Regards!

...JRF...
Torsten.
Acclaimed Contributor

Re: swinstall RPC problems

Hi David,

if restart swagentd doesn't work, check name resolving.
Type

hostname

and check the result with

nslookup

The problem may be still related to your

/etc/nsswitch.conf file configuration.

Consult

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=956808

again!

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!   
David DiBiase
Frequent Advisor

Re: swinstall RPC problems

With help from an earlier thread today, I did have a corrupted nsswitch.conf found by telnet errors (only worked with IPaddr). Hostname matches /etc/hosts, nameservers and domain are correct (resolv.conf). can telnet out by name using dns or hosts file or by using IP. can telnet into the machine by IP and/or its hostname. after I made the network changes to get telnet to work, I even rebooted just to be safe. also, swagentd starts automatically from inetd/rcX.d
David DiBiase
Frequent Advisor

Re: swinstall RPC problems


I had checked all the items mentioned above. When I checked the DNS registrations, I found the DNS admin had type the server name incorrectly. Thanks you all for making me dig deeper. Now when I run swinstall I get:
ERROR: You are not authorized to perform the requested operation on
the "depot" ACL at "triumph:/var/spool/sw". Depending on
whether you are attempting to list or modify the ACL, you do
not have the required "test" or "control" permission,
respectively. (Use the "id" command to find out the identity
information used by SD to determine your access permissions.)

I am logged in as root (id verified)

When I attampt to run swacl, i get a similar message
James R. Ferguson
Acclaimed Contributor
Solution

Re: swinstall RPC problems

Hi David:

If you haven't already done so, restart the daemon and try again:

# swagentd -r

Regards!

...JRF...
Raj D.
Honored Contributor

Re: swinstall RPC problems

Hi David ,

Try restarting swagentd ,

Also check the rpc programs are running
# rpcinfo -p triumph

Cheers,
Raj.
" If u think u can , If u think u cannot , - You are always Right . "
David DiBiase
Frequent Advisor

Re: swinstall RPC problems


I guess I am getting tired. I restarted swagentd so many times and I didn't do it this time. Also, when I ran rpcinfo (again) it just sat there. 1 last reboot -r and I am in business.

Thanks to all