- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Could not contact host - swinstall
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2002 06:38 AM
06-21-2002 06:38 AM
I need to check the name of a server and possibly change it.
For some reason swinstall utility won't recognize Target host servername, which was assigned during Unix setup. Even though swinstall shows correct name, it gives an error "Could not contact host ***".
Has anyone come across this problem before?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2002 06:40 AM
06-21-2002 06:40 AM
Re: Could not contact host - swinstall
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2002 06:44 AM
06-21-2002 06:44 AM
Re: Could not contact host - swinstall
1) Check the server name with 'uname -a' command.
2) Change server name with set_parms or SAM
3) If you get the error while invoking swinstall, then check the permissions. check permission of /etc/hosts file and make it readable to all.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2002 06:44 AM
06-21-2002 06:44 AM
Re: Could not contact host - swinstall
'swinstall' is downright fussy about the network. Try restarting the 'swagentd' daemon:
# /usr/sbin/swagentd -r
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2002 06:48 AM
06-21-2002 06:48 AM
Re: Could not contact host - swinstall
Do a "nslookup" and see if the system is able to resolve its name correctly,
nslookup
> system_name
> systemn_ip_address
try restaring swagentd,
/usr/sbin/swagentd -r
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2002 06:48 AM
06-21-2002 06:48 AM
Re: Could not contact host - swinstall
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2002 06:50 AM
06-21-2002 06:50 AM
Re: Could not contact host - swinstall
do a nslookup < local hostname > and check whterh it resolves correctly or not . If not then either correct it in the DNS or jsut rename the /etc/resolv.conf ( assuming it is correct in /etc/hosts) , again do a nslookup < local host name > and it should ersolve correclty . After that you will ahve to restart the swagent after killing it .
ps -aef | grep swagent
kill -9 pid
/usr/sbin/swagentd -r
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2002 06:53 AM
06-21-2002 06:53 AM
Re: Could not contact host - swinstall
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2002 06:59 AM
06-21-2002 06:59 AM
Re: Could not contact host - swinstall
HTH
Marty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2002 07:01 AM
06-21-2002 07:01 AM
Re: Could not contact host - swinstall
swinstall +"could not contact host name"
gave these results (among many others)
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x2dcc3bd5184bd61190000090279cd0f9,00.html
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x4273abe92dabd5118ff10090279cd0f9,00.html
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xfd7787dc4d7dd5118ff00090279cd0f9,00.html
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xd5b60bce6f33d6118fff0090279cd0f9,00.html
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xc8cfd08cc06fd511abcd0090277a778c,00.html
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2002 07:02 AM
06-21-2002 07:02 AM
Re: Could not contact host - swinstall
There's an entry for the server. resolv.conf has domain and nameserver entries, so they could cause problems, since nameserver is actually an ISP DNS. So do I have to comment them out?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2002 07:04 AM
06-21-2002 07:04 AM
SolutionPlease do like this
rename /etc/resolv.conf to abc.conf
then again do a nslookup < local hostname >
it should resolve it using /etc/hosts if set correctly there
then stop and restart the swagent and you ar good to go.
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2002 07:29 AM
06-21-2002 07:29 AM
Re: Could not contact host - swinstall
i faced this problem once... stop and restart the swagend... this should make you feel good...
happy installing
george
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2003 12:25 PM
12-16-2003 12:25 PM
Re: Could not contact host - swinstall
hosts: files dns ...
also do this if it is already so
in /etc/hosts file a line should read like this:
ip-address your machine name