GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: After making DNS/fixing hostname (<8 char) in ...
Operating System - HP-UX
1843265
Members
2901
Online
110214
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
02-08-2006 12:50 PM
02-08-2006 12:50 PM
After making DNS/fixing hostname (<8 char) in single user mode, still cannot boot...
All,
Today we were building a DNS on HPUX 11.11. After reboot, we couldn't get into the server.
We read the HP forums and took the advice. We removed our old netconf.bak. We also learned that our HPUX hostnames should be 8 characters or less.
So we went into single user mode and did some mounting so we could access /tmp, /usr and /var. We edited our /etc/hosts and also ran ./set_parms hostname. So our new hostname is the same in both file locations and is exactly 7 characters. After, the set_parms asked us if we wanted to reboot. So we did, and it got "stuck" at NFS client, mail daemon, and snmp hpux network management subagent. We rebooted again and were able to skip/fail the nfs client and mail daemon. But we cannot skip that subagent. So now we're in this "loop". We kept going back into single user mode to double-check the files, and we even did uname to give the proper name of the server since it doesn't seem to echo the right name back (we get "unknown"). Is there something we are missing?
- Jennifer Mellone
Today we were building a DNS on HPUX 11.11. After reboot, we couldn't get into the server.
We read the HP forums and took the advice. We removed our old netconf.bak. We also learned that our HPUX hostnames should be 8 characters or less.
So we went into single user mode and did some mounting so we could access /tmp, /usr and /var. We edited our /etc/hosts and also ran ./set_parms hostname. So our new hostname is the same in both file locations and is exactly 7 characters. After, the set_parms asked us if we wanted to reboot. So we did, and it got "stuck" at NFS client, mail daemon, and snmp hpux network management subagent. We rebooted again and were able to skip/fail the nfs client and mail daemon. But we cannot skip that subagent. So now we're in this "loop". We kept going back into single user mode to double-check the files, and we even did uname to give the proper name of the server since it doesn't seem to echo the right name back (we get "unknown"). Is there something we are missing?
- Jennifer Mellone
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2006 01:40 PM
02-08-2006 01:40 PM
Re: After making DNS/fixing hostname (<8 char) in single user mode, still cannot boot...
Most of the problems may be due to DNS, so start by removing /etcd/resolv.conf and /etc/nsswitch.conf. (also remove any backup files in /etc/rc.config.d -- everything in that directory is run on bootup). This should clear up the hangs with NFS and other services.
Once the system is running, unless you are actually using NFS and SNMP on this system, edit nfsconf and ALL the SNMP files in /etc/rc.config.d. Then test DNS by using nslookup. Start by testing your own hostname:
nslookup my_hostname remote_dns_IP
If your local hostname is unknown, then you'll have to configure /etc/nsswitch.conf to use files-then-DNS. Now verify that the DNS server is properly forwarding to external addresses (if allowed):
nslookup www.hp.com remote_dns_IP
If that doesn't work, the remote DNS server needs attention (or see what rules are being used).
Bill Hassell, sysadmin
Once the system is running, unless you are actually using NFS and SNMP on this system, edit nfsconf and ALL the SNMP files in /etc/rc.config.d. Then test DNS by using nslookup. Start by testing your own hostname:
nslookup my_hostname remote_dns_IP
If your local hostname is unknown, then you'll have to configure /etc/nsswitch.conf to use files-then-DNS. Now verify that the DNS server is properly forwarding to external addresses (if allowed):
nslookup www.hp.com remote_dns_IP
If that doesn't work, the remote DNS server needs attention (or see what rules are being used).
Bill Hassell, sysadmin
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP