- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Swinstall / swlist Could not contact host
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
10-23-2007 03:53 AM
10-23-2007 03:53 AM
Swinstall / swlist Could not contact host
I have a problem, when I try install any things or list product or patch with swlist commnad the system show me the following error:
srvux01:/> swlist
# Initializing...
# Contacting target "srvux01"...
ERROR: Could not contact host "srvux01". Make sure the hostname is
correct and an absolute pathname is specified (beginning with
"/").
ERROR: More information may be found in the daemon logfile on this
target (default location is srvux01:/var/adm/sw/swagentd.log).
Tnks,
VB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2007 03:57 AM
10-23-2007 03:57 AM
Re: Swinstall / swlist Could not contact host
- Make sure the hostname is correct
# hostname
-> my_host
# nslookup my_host
- More information may be found in the daemon logfile
# more /var/adm/sw/swagentd.log
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2007 03:58 AM
10-23-2007 03:58 AM
Re: Swinstall / swlist Could not contact host
/usr/sbin/swagentd -r
then try your list again
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2007 07:37 AM
10-23-2007 07:37 AM
Re: Swinstall / swlist Could not contact host
srvux01:/> /usr/sbin/swagentd -r
srvux01:/> swlist
# Initializing...
# Contacting target "srvux01"...
ERROR: Could not contact host "srvux01". Make sure the hostname is
correct and an absolute pathname is specified (beginning with
"/").
ERROR: More information may be found in the daemon logfile on this
target (default location is srvux01:/var/adm/sw/swagentd.log).
srvux01:/> nslookup srvux01
Name Server: pm01vm01.fyccorp.com
Address: 192.168.170.61
Trying DNS
Trying NIS
looking up FILES
Name: srvux01
Address: 192.168.170.42
Regards,
VB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2007 07:45 AM
10-23-2007 07:45 AM
Re: Swinstall / swlist Could not contact host
- More information may be found in the daemon logfile
# more /var/adm/sw/swagentd.log
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2007 08:54 AM
10-23-2007 08:54 AM
Re: Swinstall / swlist Could not contact host
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2007 10:22 AM
10-23-2007 10:22 AM
Re: Swinstall / swlist Could not contact host
cp /etc/nsswitch.conf /etc/nsswitch.conf.old
cp /etc/nsswitch.files /etc/nsswitch.conf
Then restart swagentd with:
swagentd -r
No, you don't have to kill the current swagentd -- the -r will restart swagentd automatically.
The problem was likely caused by a recent IP address or hostname change.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2007 03:27 PM
10-23-2007 03:27 PM
Re: Swinstall / swlist Could not contact host
Victor,
#vi /etc/nsswitch.conf
hosts: files dns
#swagentd -r
WK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2007 05:58 PM
10-23-2007 05:58 PM
Re: Swinstall / swlist Could not contact host
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2007 05:03 AM
10-24-2007 05:03 AM
Re: Swinstall / swlist Could not contact host
It's work.
Regards,
VB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2007 05:15 AM
10-24-2007 05:15 AM
Re: Swinstall / swlist Could not contact host
- Tags:
- host