- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Errot in swlist command.
Categories
Company
Local Language
Forums
Discussions
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Knowledge Base
Forums
Discussions
- Cloud Mentoring and Education
- Software - General
- HPE OneView
- HPE Ezmeral Software platform
- HPE OpsRamp
Knowledge Base
Discussions
Forums
Discussions
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
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-06-2005 09:20 PM
12-06-2005 09:20 PM
Errot in swlist command.
While giving swlist command I'm getting the following error. Can anyone tell me the root cause of this ?
# swlist
# Initializing...
# Contacting target "dhcp43ta043"...
ERROR: Could not contact host "dhcp43ta043". 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
dhcp43ta043:/var/adm/sw/swagentd.log).
Thnx in advance,
Anand.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2005 09:26 PM
12-06-2005 09:26 PM
Re: Errot in swlist command.
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2005 09:30 PM
12-06-2005 09:30 PM
Re: Errot in swlist command.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2005 09:31 PM
12-06-2005 09:31 PM
Re: Errot in swlist command.
PLease do restart the swagentd Daemon once and try it again.I have faced this problem earlier and this way I could short it out.
Regards
S.Arunkumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2005 09:44 PM
12-06-2005 09:44 PM
Re: Errot in swlist command.
The swagentd daemon is unable to resolv the hostname of your system.
is dhcp43ta043 is the hostname for the system ?
if not then setup your systems hostname and resolv.conf properly.
you may need to modify /etc/resolv.conf.
HTH
-Bhupesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2005 09:48 PM
12-06-2005 09:48 PM
Re: Errot in swlist command.
If I'm giving uname -a I'm getting "dhcp43ta" and if I'm giving hostname comamnd I'm getting
"dhcp43ta043". The hostname is 11 characters. Will it create any problem ?
Regards,
Anand
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2005 10:21 PM
12-06-2005 10:21 PM
Re: Errot in swlist command.
Yes, having a hostname more than 8 characters in length will cause you similar problems.
Correct this and also check /etc/hosts for IP address / hostname changes recently.
perform a
/sbin/init.d/swagentd stop
and
/sbininit.d/swagentd start
after correcting the hostname problem.
With regards,
Mohan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2005 12:08 AM
12-08-2005 12:08 AM
Re: Errot in swlist command.
before modifying the hostname, follow these
1) check any SG cluster running on the machine. stop the cluster
2) If you are using DNS to resolv, change the files in /var/named with the correct hostname and give the following commands
root% rndc reload
root% kill -HUP `head - /var/run/named.pid`
3) Reconfigure LAN interface(s)
Modify the HOSTNAME and NODENAME to the new hostname in /etc/rc.config.d/netconf.
4) If there are any NFS point mounted, stop nfs server and nfs client
5)Restart Lan interface(s)
Now the changes to the LAN interface are made valid by
root% /sbin/init.d/net stop
root% /sbin/init.d/net start
6)Restart the swagentd
In order swagentd needs to work with the new hostname, restart the daemon
root% /sbin/init.d/swagentd stop
root% /sbin/init.d/swagentd start
7)Set the new hostname
root% /sbin/init.d/hostname start
thats it :)
br
Thummalu