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
Discussions
Discussions
Discussions
Forums
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
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
тАО06-28-2005 11:32 AM
тАО06-28-2005 11:32 AM
uname
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-28-2005 04:54 PM
тАО06-28-2005 04:54 PM
Re: uname
As of my knowledge, no patch is available for HPUX 11.11 to fix this issue. I heard HPUX 11.31 will have uname supporting more than 8 charactors.
Hope this helps
Sudeesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-28-2005 04:54 PM
тАО06-28-2005 04:54 PM
Re: uname
u may like to refer to this doc:
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000068695446
-> on the limit set for hostname and uname.
regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-28-2005 06:39 PM
тАО06-28-2005 06:39 PM
Re: uname
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-28-2005 06:42 PM
тАО06-28-2005 06:42 PM
Re: uname
uname -S
and length will be UTSLEN-1. UTSLEN macro is defined as,
# define UTSLEN 9
so it will keep upto 8 characters.
see in
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-28-2005 07:28 PM
тАО06-28-2005 07:28 PM
Re: uname
This is not tested but try it on a test server...what i got from MAN pages are sorted below...
from the MAN pages of uname(1):
Change the node name (system name) to nodename.
nodename is restricted to UTSLEN-1 characters (see uname(2)). See WARNINGS. Only users with appropriate privileges can use the -S option.
from the MAN pages of uname(2):
The utsname structure, defined in
follows:
#define UTSLEN 9
#define SNLEN 15
char sysname[UTSLEN];
char nodename[UTSLEN];
_______________________________________
setuname()
The setuname() system call sets the node name (system name), as returned in the nodename field of the utsname structure, to name, which has a length of namelen characters. This is usually executed by /sbin/init.d/hostname at system boot time. Names are limited to UTSLEN - 1 characters; UTSLEN is defined in
The sethostname() system call sets the name of the host processor to name, which has a length of namelen characters. At system boot time sethostname() is normally executed by the hostname command (see hostname(1)) in the /sbin/init.d/hostname script. Host names are limited to MAXHOSTNAMELEN characters, as defined in
______________________________________
editing the entries in /usr/include/sys/utsname.h
# define _SYS_NMLN 9
# define UTSLEN _SYS_NMLN
you can change the _SYS_NMLN value to the desired nodename length + 1 ...
Try changing the system name...
try this on a test server before trying it on a production one... as this is not tested and are as per the MAN pages...
Good Luck
Vinod K
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-28-2005 08:34 PM
тАО06-28-2005 08:34 PM
Re: uname
If you convert your OS to Trusted system environment, you can have longer host names.
Regards
Mahesh