- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: swlist display error
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
12-18-2004 01:53 AM
12-18-2004 01:53 AM
swlist display error
# swlist
# Initializing...
# Contacting target "server.mydomain.com"...
ERROR: Could not contact host "server.mydomain.com". Make sure
the hostname is correct.
ERROR: More information may be found in the daemon logfile on this
target (default location is
server.mydomain.com:/var/adm/sw/swagentd.log).
# cat /var/adm/sw/swagentd.log
======= 12/14/04 22:24:07 EAT BEGIN swagentd (pid = 2010).
WARNING: An attempt to get the network host entry for
"server.mydomain.com" failed. This may result in denial of
access to users and agents at this host. Check the spelling
of this name, then your "/etc/hosts" file, or your
"/etc/resolv.conf" file and DNS resolver configuration. The
nslookup program may be helpful in isolating this problem.
======= 12/14/04 22:28:20 EAT END swagentd (pid = 2010).
ref:
# cat /etc/hosts
192.168.1.2 server
127.0.0.1 localhost loopback
# cat /etc/resolv.conf
domain mydomain.com
nameserver 192.168.1.2
nameserver 202.67.143.222
nameserver 202.67.240.10
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2004 01:55 AM
12-18-2004 01:55 AM
Re: swlist display error
# ping server
PING server: 64 byte packets
64 bytes from 192.168.1.2: icmp_seq=0. time=1. ms
64 bytes from 192.168.1.2: icmp_seq=1. time=0. ms
#
# ping server.mydomain.com
PING server.mydomain.com: 64 byte packets
64 bytes from 192.168.1.2: icmp_seq=0. time=1. ms
64 bytes from 192.168.1.2: icmp_seq=1. time=0. ms
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2004 02:18 AM
12-18-2004 02:18 AM
Re: swlist display error
If you are sure about the configration files (hosts,resolv.conf etc.) then try restarting the swagentd daemon. Hope fully it should work.
# /sbin/init.d/swagentd stop
# /sbin/init.d/swagentd start
If this doesn't work then check the
"# hostname"
output.
Is it showing the same server name as it is there in /etc/hosts and the one you are able to resolve. If not then use
"# set_parms hostname"
and set it right but this will reboot the server and accordingly u need to plan downtime.
Hope that helps.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2004 09:02 PM
12-18-2004 09:02 PM
Re: swlist display error
Look if you've got a /etc/nsswitch.conf file?
If this is the case modify the hosts'line like this:
hosts: files [NOTFOUND=continue] dns
Stf ;-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2004 11:06 PM
12-18-2004 11:06 PM
Re: swlist display error
Also, Why do you have 192.168.1.2 (server) pretending to be its own name server?
Could you post the following files?
/etc/named.conf
/etc/rndc.conf
/etc/nsswitch.conf
/etc/named.data/* (all zone config files)
live free or die
harry d brown jr
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2004 03:13 AM
12-19-2004 03:13 AM
Re: swlist display error
probably, your DNS is not working properly.
The easiest way ist a local entry to nsswitch.conf:
hosts: files dns
Then add to /etc/hosts:
192.168.1.2 server.mydomain.com server
Then the server would be known as server.mydomain.com with the alias "server"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2004 03:06 PM
12-19-2004 03:06 PM
Re: swlist display error
# /sbin/init.d/swagentd stop
# /sbin/init.d/swagentd start
and check again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2004 10:59 PM
12-19-2004 10:59 PM
Re: swlist display error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2004 11:00 PM
12-19-2004 11:00 PM
Re: swlist display error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2004 11:05 PM
12-19-2004 11:05 PM
Re: swlist display error
From :
192.168.1.2 server
to:
192.168.1.2 server.mydomain.com server
in /etc/hosts
Many thanks all of you.