- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Host name 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
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
тАО08-10-2010 01:15 AM
тАО08-10-2010 01:15 AM
Hi , i am getting small problem in one of the host.
when ever i am trying to get the host name its showing original name .At the same time i am using uname -a command i am getting below output.Please any one advise to me .. where is node name is taken . i am checking the /etc/rc.config.d/netconf file also ,their correct entry .
=======================================
#uname -a
HP-UX unknown B.11.23 U ia64 4257359972 unlimited-user license
=======================================
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-10-2010 01:40 AM
тАО08-10-2010 01:40 AM
Solutionsee the below link.
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1145232
Regards,
Asif Sharif
Asif Sharif
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-10-2010 01:54 AM
тАО08-10-2010 01:54 AM
Re: Host name problem.,,,,,,,
Check and make sure you have no junk files under /etc/rc.config.d/
- You are not supposed to keep any backup file under /etc/rc.config.d/ , like netconf.old ore netconf.08092010 etc , and it may cause the problem.
- If there is any such file move it and reboot and you can check, most of the time that causes the problem.
Hth,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-10-2010 01:59 AM
тАО08-10-2010 01:59 AM
Re: Host name problem.,,,,,,,
sh -x /sbin/rc1.d/S320hostname
hth,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-10-2010 02:05 AM
тАО08-10-2010 02:05 AM
Re: Host name problem.,,,,,,,
1.Today i am coping the file same location ..
2.I am posting the Output # sh -x /sbin/rc1.d/S320hostname.
========================
+ PATH=/sbin:/usr/sbin:/usr/bin
+ export PATH
+ rval=0
+ echo usage: /sbin/rc1.d/S320hostname {start}
usage: /sbin/rc1.d/S320hostname {start}
+ exit 0
========================
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-10-2010 02:19 AM
тАО08-10-2010 02:19 AM
Re: Host name problem.,,,,,,,
Try,
sh -x /sbin/rc1.d/S320hostname start
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-10-2010 02:31 AM
тАО08-10-2010 02:31 AM
Re: Host name problem.,,,,,,,
- Do you see any error in /etc/rc.log
# cat /etc/rc.log | grep -i -e err -e fail
see in /etc/rc.log for the below portion:
Setting hostname
Output from "/sbin/rc1.d/S320hostname start":
----------------------------
- since when you are getting the hostname as unknown, what changed since last time it was working fine.
- check netconf file again.
# cat /etc/rc.config.d/netconf | grep -v ^#
hth,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-10-2010 02:32 AM
тАО08-10-2010 02:32 AM
Re: Host name problem.,,,,,,,
+ hostname hogisdata2
+ set_return
+ [ -z hogisdata2 ]
+ uname -S hogisdata2
Nodename must be less than 9 characters
+ set_return
EXIT CODE: 1
+ [ -z HP-UX ]
+ setuname -t -s HP-UX
+ set_return
+ exit 1
Regards
Kanna
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-10-2010 02:38 AM
тАО08-10-2010 02:38 AM
Re: Host name problem.,,,,,,,
As per your valuable answer, i got the faile error on this node.
========================
cat /etc/rc.log | grep -i -e err -e fail
/sbin/rc1.d/S320hostname start" FAILED
rw-r--r-- 1 root sys 0 Sep 3 2007 swspluninfo.error
=========================
Regards
Kanna
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-10-2010 02:42 AM
тАО08-10-2010 02:42 AM
Re: Host name problem.,,,,,,,
you have set a wrong host name, you have to limit it to 8 character:
>>
+ uname -S hogisdata2
Nodename must be less than 9 characters
>>
- Change to 8 character hostname:
1. Correct /etc/rc.config.d/netconf entry.
2. Correct /etc/hosts entry.
3. reboot and check.
or
- /sbin/set_parms hostname
And type 8 character hostname, and reboot.
This should fix the issue.
Hth,
Raj.