- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- swlist problem
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
02-07-2008 02:53 AM
02-07-2008 02:53 AM
Below is what is the error that i get when i try executing swlist command.
cdbap101#swlist
# Initializing...
# Contacting target "cdbap101"...
ERROR: Could not contact host "cdbap101". 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
cdbap101:/var/adm/sw/swagentd.log).
The nslookup output is:
cdbap101#nslookup cdbap101
Using /etc/hosts on: cdbap101
looking up FILES
*** No address information is available for "cdbap101"
What could be the problem?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2008 03:41 AM
02-07-2008 03:41 AM
Re: swlist problem
The error message is misleading.
/sbin/init.d/swagentd -r
That will usually fix the problem.
Lets see the /etc/hosts entry.
cdbap101 192.168.0.10
If that IP address is valid.
See /etc/nsswitch.conf to make sure you are looking at files. I think thats all right though.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2008 03:42 AM
02-07-2008 03:42 AM
Re: swlist problem
grep cdbap101 /etc/hosts
Also post "cat /etc/nsswitch.conf"
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2008 03:53 AM
02-07-2008 03:53 AM
Re: swlist problem
Hi,
Below is what the output shows:
cdbap101#
cdbap101#/sbin/init.d/swagentd -r
usage: /sbin/init.d/swagentd {start|stop}
cdbap101#/sbin/init.d/swagentd stop
The swagentd daemon is stopped.
cdbap101#
cdbap101#/sbin/init.d/swagentd start
cdbap101#
Even after doing this, error repeates!
Find other output:
cdbap101#
cdbap101#grep cdbap101 /etc/hosts
10.200.227.62 cdbap101.ashokleyland.com cdpap101
cdbap101#
And i know this is a valid ip in this network.
Moreover, i dont find any nsswitch.conf file within /etc directory (infact in the server itself)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2008 04:00 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2008 04:05 AM
02-07-2008 04:05 AM
Re: swlist problem
I Tried that..
But still the result is same.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2008 04:15 AM
02-07-2008 04:15 AM
Re: swlist problem
# cp /etc/nsswitch.files /etc/nsswitch.conf
NOT nsswistch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2008 04:26 AM
02-07-2008 04:26 AM
Re: swlist problem
cdbap101 ---> cdbap101.ashokleyland.com cdpap101
should be --> cdbap101.ashokleyland.com cdbap101
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2008 04:35 AM
02-07-2008 04:35 AM
Re: swlist problem
Hi,
Thanks!!
Working Now!!
Sridhar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2008 04:42 AM
02-07-2008 04:42 AM