08-28-2005 08:54 PM
I am running swinstall command on a host01.
But swinstall command will use host02 to find packages and hangs then after some time will inform unavailability of depots.
So how to chage the default host name.
Solved! Go to Solution.
08-28-2005 09:04 PM
basically when you run 'hostname' command it returns what?
08-28-2005 09:11 PM
It is also possible that the registered depot is located on an unavailable NFS mount point from host02 to which your host01 tries to locate.
Use "swinstall -s /path_to_depot" Or follow swinstall by a "swreg -l depot /Path_to_depot"
08-28-2005 09:38 PM
See what "hostname" command shows and whether that is the hostname you are expecting.
Also check /etc/hosts and /etc/nsswitch.conf files.
In case you require to change hostname use "set_parms hostname".
Try pinging hostname it should show your server name and it's ip.
08-28-2005 09:54 PM
DNS name resolutions (check /etc/resolv.conf)
see /etc/nsswitch.conf to see how name resolution is set up.
Owner of ISN Corporation
08-29-2005 01:36 AM
Nice getting information.
The problem ofcourse was with respect to /etc/hosts file only.
I have changed the contents of the file and it required the reboot to get settings changed.