Operating System - HP-UX
1825808 Members
2193 Online
109688 Solutions
New Discussion

swinstall - remote call procedure failed

 
SOLVED
Go to solution
Lee Abell
Frequent Advisor

swinstall - remote call procedure failed

When I run swinstall I get the message:
Select Target Path
I choose "/"
The I get the messge :
A remote procdure call to a daemon failed. Could not start a management session for hp63:/. Make sure the host is accessible from the network and that it's daemon, swagentd, is running.

I am logging into the machine from the network and I have stopped the swagentd daemon several times. Help!!
6 REPLIES 6
Michael Steele_2
Honored Contributor
Solution

Re: swinstall - remote call procedure failed

What HP-UX version?

1) mwa stop (* now, usually uneeded *)
2) swagentd -k
3) rm /var/adm/sw/products/swlock
4) swagentd -r
5) 'rpccp show mapping' (* hangs *)
6) mv /etc/resolv.conf /etc/resolv.org
7) Verify 127.0.0.1 in /etc/hosts
8) rw rw r root sys /etc/hosts

Support Fatherhood - Stop Family Law
John Bolene
Honored Contributor

Re: swinstall - remote call procedure failed

If you have changed the machine name or IP and have not rebooted, this can happen.

Also if DNS is on and does not resolve.
It is always a good day when you are launching rockets! http://tripolioklahoma.org, Mostly Missiles http://mostlymissiles.com
Lee Abell
Frequent Advisor

Re: swinstall - remote call procedure failed

HP-UX 11.0
MW is not yet installedon the box
rpccp show mapping - does not hang

moved resolv.conf
127.0.0.1 is in hosts
rw r r root sys for /etc/hosts file
Fragon
Trusted Contributor

Re: swinstall - remote call procedure failed

Hi,
1.Please keep a correct entry in /etc/hosts first , for example:
192.168.1.1 hostname #hostname.
2.#mv /etc/resolv.conf /etc/resolv.conf.bak
3.#vi /etc/nsswitch.conf
...
hosts: files dns nis
...
(Note that if there isn't nsswitch.conf in /etc,please copy one from /usr/newconfig/etc)
4. #inetd -c (Not necessary).

Hope to be helpful!

Of course, you must make swagentd run!
T G Manikandan
Honored Contributor

Re: swinstall - remote call procedure failed

check whether the host resolution works fine.

#nslookup


Revert
K.Vijayaragavan.
Respected Contributor

Re: swinstall - remote call procedure failed

Set the all the entries in /etc/nsswitch.conf to look for local files first and try.

Example.

hosts: files dns nis
rpc: files dns nis


"Let us fine tune our knowledge together"