Operating System - HP-UX
1753481 Members
4257 Online
108794 Solutions
New Discussion юеВ

problem when performing swinstall

 
SOLVED
Go to solution
JOHN TURNER_2
Frequent Advisor

problem when performing swinstall

hello

im having trouble installing software via an swinstall. whatever software i try to install and whether i perform it from the console or via a remote telnet session, i get the same error with the swinstall text based gui. The error msg is:
A remote procedure call to a daemon has failed, Could not start a management session for lclass:/cdrom/BUNDLE11i. Make sure the host is accessible from the network, and that it's daemon, swagentd is running.

the command i ran was #swinstall -s /cdrom and the swagent daemon is running

does anyone have any thoughts
GUI's are for wimps!
7 REPLIES 7
IT_2007
Honored Contributor

Re: problem when performing swinstall

Restart swagent daemon

/usr/sbin/swagentd -k
/usr/sbin/swagentd -r

then run swinstall command and select CDROM as Media from the GUI.
IT_2007
Honored Contributor

Re: problem when performing swinstall

Also you have to mount /cdrom before you access it.

ioscan -fn and check for CDROM device name

mount /dev/dsk/cXtYdZ /cdrom

then invoke swinstall
Peter Godron
Honored Contributor

Re: problem when performing swinstall

HI,
please try with fully specified filename, not just directory.
Also check the swagentd.log and swinstall.log files.
JOHN TURNER_2
Frequent Advisor

Re: problem when performing swinstall

i have tried all the above suggestions and we are still having no luck, and there is very little in the log files to indicate the error that is occuring.

cheers

John
GUI's are for wimps!
Peter Godron
Honored Contributor
Solution

Re: problem when performing swinstall

John,
but stumped then.
At what point does the gui complain?
Has anything changed in the /etc/hosts ?
Also check /etc/nsswitch.conf and /etc/resolv.conf

Make sure you have
127.0.0.1 server
127.0.0.1 localhost loopback
# /usr/sbin/swagentd -r
IT_2007
Honored Contributor

Re: problem when performing swinstall

Also check whether you have rpc daemons running or not.

# ps -ef |grep rpc
root 729 1 0 Sep 15 ? 0:00 /usr/sbin/rpcbind
root 1073 1 0 Sep 15 ? 0:12 /opt/dce/sbin/rpcd
root 1469 1 0 Sep 15 ? 0:00 /usr/sbin/rpc.mountd
root 1504 1 0 Sep 15 ? 0:00 /usr/sbin/rpc.lockd
root 1498 1 0 Sep 15 ? 0:00 /usr/sbin/rpc.statd


Make sure that your hostname can be resolved with proper IP address. Check /etc/hosts and /etc/resolv.conf files.
JOHN TURNER_2
Frequent Advisor

Re: problem when performing swinstall

thanks for all your help, i discovered that someone had changed the IP address manually and didn't alter the /etc/hosts file

john
GUI's are for wimps!