- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: /etc/hosts isn't take effect
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
01-24-2002 09:04 PM
01-24-2002 09:04 PM
ERROR: "nms:/": The operation you have attempted is only allowed on target machines which have HP OpenView Software Distributor installed. To perform this operation, first run the HP OpenView Software distributor pushAgent(1m).
* Target connection failed for "nms:/".
ERROR: More information may be found in the daemon logfile on this target (default location is nms:/var/adm/sw/swagentd.log).
* Selection had errors.
I "ping nms.foo.com" ,it reply ok.
But when i delete the domian name foo.com from /etc/resolv.conf, and "ping nms",it reply "ping: unknown host nms" .
Thanks for your help
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2002 09:13 PM
01-24-2002 09:13 PM
SolutionTo perform name resolution using /etc/hosts first before dns, insert this line into /etc/nsswitch.conf:
hosts: files [NOTFOUND=continue] dns
Also for the software distributor, it is good practice to insert in your /etc/hosts file the localhost:
127.0.0.1 nms nms.abc.com localhost
Hope this helps. Regards.
Steven Sim Kok Leong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2002 06:24 AM
01-25-2002 06:24 AM
Re: /etc/hosts isn't take effect
/usr/sbin/swagentd -r
SJ
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2002 06:31 AM
01-25-2002 06:31 AM
Re: /etc/hosts isn't take effect
Do a "nslookup" on your system and see if the hostname and the ip are resolved correctly.
nslookup
> server_name
> Server_ip_addres
> exit
If you make any changes and the swinstall still gives problem, restart the swagentd process.
/usr/sbin/swagentd -r
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2002 09:12 PM
01-27-2002 09:12 PM
Re: /etc/hosts isn't take effect
and run "swagentd -r ",then everything is ok.
Thank you .