- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: System Hostname 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
07-29-2002 07:43 PM
07-29-2002 07:43 PM
I don't know, whether to ask this Solaris, quetion in this forum ...
Actually the problem is,
System is not picking up "HOSTNAME", and /var/adm/messages logfile says,
-f snmpdx: unable to get my IP address: gethostbyname(-f) failed [h_errno: host not found(1)]
$hostname --- it shows -f , whereas the hostname is different. I checked in /etc/hosts and it is ok.
And when I am using hostname to ping,
#ping ftest ------ it is ok
Please any clue/idea ...
Thanks in Adv Regards
Regards
Shah
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2002 07:51 PM
07-29-2002 07:51 PM
Re: System Hostname Error.
Not being a Sun person, this has the classic symptoms of a problem with hostname resolution. Check to see if there is an equivalent to '/etc/resolv.conf' and '/etc/nsswitch.conf'.
Failing that you could have a look in the sun forums....
http://forum.sun.com/
http://supportforum.sun.com/
http://www.sun.com/bigadmin/
HTH
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2002 07:58 PM
07-29-2002 07:58 PM
Re: System Hostname Error.
check your network card file.
Just do a
#ifconfig -a
just find out the interface name ex.hme0
then check your /etc/hme0 file to find whether the right hostname is given in that file.
If it is not,change that to the right hostname.
THis message comes from the Sun Solstice Enterprise Master Agent
check for /etc/snmp/conf directory files whether the hostname is not set in those files
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2002 08:09 PM
07-29-2002 08:09 PM
Re: System Hostname Error.
I did,
# ifconfig -a
lo0: flags=849
inet 127.0.0.1 netmask ff000000
hme0: flags=863
inet 10.7.1.245 netmask ffffff00 broadcast 10.7.1.255
ether 8:0:20:e6:ac:ee
But didn't find any /etc/hme0 files and I check /etc/snmp/conf, but didn't find hostname in any of these files.
please ...
Regards
Shah
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2002 08:17 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2002 12:26 AM
07-30-2002 12:26 AM
Re: System Hostname Error.
does it show
hosts: dns [NOTFOUND=return] nis [NOTFOUND=return] files
In case you have nsswitch.conf but are unfamiliair with DNS, then rename this file or set 'files' to the front.
Succes,
Ceesjan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2002 02:31 AM
07-30-2002 02:31 AM
Re: System Hostname Error.
My problem is resolved. What I did
#hostname
and reboot the server. and after server-boot I checked the hostname, and it was correct.
Regards
Shah
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2002 06:30 AM
07-31-2002 06:30 AM
Re: System Hostname Error.
U solved ur problem..Good. Anyway, Here U can get more information about sun Solaris
http://www.sun.com/bigadmin/discussions/index.html
Best of luck
Shahul