I’ve just been through another frustrating battle with swinstall and wanted a complete what to check list in the event that it won’t install software:
- Check that system ip address (ifconfig lan#) is the same as defined in /etc/hosts . If this is not consistent, swinstall will not work and the error message is far from meaningful.
- Check that /etc/nsswitch.conf exists. After a clean install it does not exist and needs to be put in place.
- Check that nfs is working correctly for nfs based install. Bounce nfs.client,nfs.server,nfs.core in that order to stop reverse order to start ex /sbin/init.d/nfs.core <start/stop>
- Use showmount -e <remotehost> to insure connectivity to remote depots.
- swlist -l depot -s <remote host depot>
- swreg -d depot $PWD on remote host after cd to depot. Remember in many scenarios remote depots in tape format will not install.
- /usr/sbin/swagentd -r (Should be taken after any of the above corrective steps).
Tags: /etc/hosts, hpux, swinstall