- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- swinstall fails
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
09-17-2001 08:42 AM
09-17-2001 08:42 AM
swinstall fails
Could not contact host xxxxxxxx. Make sure the hostname is correct and an absolute pathname is specified (beginning with "/").
Where is it looking for the hostname? /etc/hosts is correct and I have the correct hosts entered.
Any suggestions?
tia,
dan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2001 08:46 AM
09-17-2001 08:46 AM
Re: swinstall fails
if you are sure that your ect host is right. And that the hostname or the ip is not there twice
try restarting the the swinstall agent.
#swagentd -r
then do swinstall with -s option and the full path
#swinstall -s /path/of/your.depot
Richard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2001 08:48 AM
09-17-2001 08:48 AM
Re: swinstall fails
Check for /etc/nsswitch.conf is searching order.Make files firs for hosts.
Next Try
Stop and start /sbin/init.d/swagentd
Thanks
GK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2001 10:18 AM
09-17-2001 10:18 AM
Re: swinstall fails
Look for the hosts entry in your /etc/nsswitch.conf file. Seems like swinstall is not able to resolve the host name.
your /etc/nsswitch.conf file should have an entry like
hosts files dns
or
hosts dns notfound=continue] files
If you are using NIS and not using DNS make the changes accordingly.
Have a look at this thread for more info
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90147/B2355-90147_top.html&con=/hpux/onlinedocs/B2355-90147/00/00/9-con.html&toc=/hpux/onlinedocs/B2355-90147/00/00/9-toc.html&searchterms=nsswitch.conf&queryid=20010917-112043
hope this helps.
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2001 10:54 AM
09-17-2001 10:54 AM
Re: swinstall fails
I tend to use the IP rather than hostname- can you connect that way?
Jon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2001 11:39 AM
09-17-2001 11:39 AM
Re: swinstall fails
Hello,
Look for how system is resolving names, run:
# nslookup `hostname`
If it is /etc/hosts, and it IS consistent with command hostname output, restart your swagentd and the problem should go away. Other problems can come from your network configuration. Test from this system if you are able to telnet to itself.
Good look.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2001 01:51 AM
09-18-2001 01:51 AM
Re: swinstall fails
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2001 02:00 AM
09-18-2001 02:00 AM
Re: swinstall fails
Good luck,
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2001 02:01 AM
09-18-2001 02:01 AM
Re: swinstall fails
edit /etc/hosts on put localhost line the first after header file comments.
Next line must be IP for you host:
#/etc/host
#.....
.
.
.
#
127.0.0.1 locahost
xxx.xxx.xxx.xxx servername
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2001 12:35 PM
09-18-2001 12:35 PM
Re: swinstall fails
see if your system is able to resolve the system name and ip address properly. use nslookup
nslookup
> Server_name
> Server_ip_add
If the replies to these are okay, then your system is able to resolve the name and ip address correctly.
If not you may have to edit /etc/resolv.conf and /etc/nsswitch.conf to adjust their settings.
Have a look at these threads
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90147/B2355-90147_top.html&con=/hpux/onlinedocs/B2355-90147/00/00/28-con.html&toc=/hpux/onlinedocs/B2355-90147/00/00/28-toc.html&searchterms=resolver&queryid=20010918-133629
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90147/B2355-90147_top.html&con=/hpux/onlinedocs/B2355-90147/00/00/9-con.html&toc=/hpux/onlinedocs/B2355-90147/00/00/9-toc.html&searchterms=nsswitch.conf&queryid=20010918-133702
Hope this helps.
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2001 10:53 PM
09-18-2001 10:53 PM
Re: swinstall fails
Its a known issue, what you have to do is simply restart your swagentd daemon.
First kill the swagentd daemon /usr/sbin using the command
#/usr/sbin/swagentd -k
Then run the daemon by using
#/usr/sbin/swagentd
Before starting the daemon back, please ensure that all your swagent or swinstall processes are stopped.
Hope this helps ..
Cheers !!!
Mathew