- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- error about swlist and hostname
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-09-2002 01:07 AM
09-09-2002 01:07 AM
error about swlist and hostname
# Initializing...
# Contacting target "abcde"...
ERROR: Could not contact host "abcde". Make sure the hostname is correct.
ERROR: More information may be found in the daemon logfile on this target (default location is szdcb:/var/adm/sw/swagentd.log).
#more swagentd.log
WARNING: An attempt to get the network host entry for "szdcb" 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.
but i ping hostname ,it's ok.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2002 01:15 AM
09-09-2002 01:15 AM
Re: error about swlist and hostname
please try the following:
#nslookup hostname
#nslookup hostname.domainname
#nslookup ip
works it fine?
regards
Dirk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2002 01:20 AM
09-09-2002 01:20 AM
Re: error about swlist and hostname
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2002 01:31 AM
09-09-2002 01:31 AM
Re: error about swlist and hostname
It could be that the default realm entries in security files are wrong. Check default_realm in files in /var/adm/sw/security directory.
It should be
# default_realm=machinename.domain
Regards,
Mateja
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2002 01:35 AM
09-09-2002 01:35 AM
Re: error about swlist and hostname
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2002 11:02 AM
09-10-2002 11:02 AM
Re: error about swlist and hostname
You can change the /etc/nsswitch.conf file to resolve the hostname locally first in case the DNS name is different:
hosts: files [NOTFOUND=continue] dns
Make sure there is only one copy of netconf in the /etc/rc.config.d directory, ie., make sure there aren't any backup copies of the netconf(netconf.bak, netconf.orig, etc).
Make sure the HOSTNAME = xxxxx is the same as the entry in the /etc/hosts file. And make sure you don't have a NODENAME = yyyyy defined (look at the tail of the netconf file).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2002 12:33 PM
09-10-2002 12:33 PM
Re: error about swlist and hostname
Check your /etc/hosts , /etc/nsswitch.conf /etc/resolv.conf entries .
Alternatively use your hostname as an alias to your loopback or local host and then try and see what happens .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2002 12:49 PM
09-10-2002 12:49 PM
Re: error about swlist and hostname
You may put the entry in /etc/nsswitch.conf for DNS resolution.
Also do a nslookup and find out what IP address the hostname is resolving itself to.
Stop & restart the network services as below
/sbin/init.d/nfs.client stop
/sbin/init.d/nis.client stop
/sbin/init.d/nfs.server stop
/sbin/init.d/nis.server stop (if configured as slave server)
/sbin/init.d/nfs.core stop
/sbin/init.d/nfs.core start
/sbin/init.d/nis.server start
/sbin/init.d/nfs.server start
/sbin/init.d/nis.client start
/sbin/init.d/nfs.client start
This process might sound crazy but believe me it works..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2003 04:29 AM
11-05-2003 04:29 AM
Re: error about swlist and hostname
hosts: files [NOTFOUND=continue] dns
entry to /etc/nsswitch.conf, and then restarting swagentd:
# swagentd -r
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2004 03:36 PM
03-04-2004 03:36 PM
Re: error about swlist and hostname
I had the same problem and I followed Ian P. Springer's solution and it works.
Kim Kendall - please edit the host line in your posting.. the square brackets have the ascii equivalent somehow..
Thanks Again
SG