- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- uname -a provides "unknown" 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
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-26-2002 04:18 PM
12-26-2002 04:18 PM
uname -a provides "unknown" hostname
OS: HP-UX 11.00
Lan: DHCP client
when running "uname -a" I'm getting an output "unknown" at the hostname, while running "hostname" command I'm getting the right output.
because of that the X-Windows won't work.
Help needed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-26-2002 04:30 PM
12-26-2002 04:30 PM
Re: uname -a provides "unknown" hostname
have a look at man pages of uname for more detail.
Rajeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-26-2002 04:59 PM
12-26-2002 04:59 PM
Re: uname -a provides "unknown" hostname
Is your hostname more than 8 characters in length? If it is, shorten it. There are LOTS of issues with having a hostname that is longer than 8 characters in HP-UX.
The following document is from the TKB, circa 1992, but it is still applicable. TKB doc. ID CDG9204080930. Here's the link:
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000007949952
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-26-2002 08:35 PM
12-26-2002 08:35 PM
Re: uname -a provides "unknown" hostname
Manoj Srivatava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2004 08:39 AM
10-08-2004 08:39 AM
Re: uname -a provides "unknown" hostname
Also make the following entry in the /etc/nsswitch.conf file
hosts: files dns
Check nslookup
I believe in this setup your swlist also is not working. After changing the above specified stopa and start the swagentd daemon.Check whether swlist is running fine.If yes then problem is solved.
Then go for a reboot. This should solve the issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2004 08:48 AM
10-08-2004 08:48 AM
Re: uname -a provides "unknown" hostname
Hope this helps
Prashant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2004 05:07 PM
10-08-2004 05:07 PM
Re: uname -a provides "unknown" hostname
uname -S
it will give hostname with that, uucp, related programs are using them.
You can get the difference between hostname Vs uname -S as,
uname+1 man page -->
+--------------+--------------+---------------+-----------------------+
|Node Name |Command |name Format |Used By |
+--------------+--------------+---------------+-----------------------+
|Internet name |hostname name |sys[.x.y.z...] |ARPA and NFS Services |
|UUCP name |uname -S name |sys |uucp, related programs |
+--------------+--------------+---------------+-------- --------------+
Try to check /etc/rc.config/netconf for hostname informations there.
uname -S
it will display hostname there again when u check as uname -S.
HTH.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2004 05:22 PM
10-08-2004 05:22 PM
Re: uname -a provides "unknown" hostname
I see no added value in posting to a 2 year old thread.
The last time the author of this thread was on the forums was May 2003, so I doubt the author will see these responses or really gain any value from them.