- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- HP-UX Booting problem + NTP,DNS configuration
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
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
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-25-2004 04:28 AM
тАО06-25-2004 04:28 AM
HP-UX Booting problem + NTP,DNS configuration
Problem : 1. HP-UX OS has "Stuck" while booting, this happens when it comes to -
"Start NFS client subsystem ....."
From here onwards it stops booting , and hangs...( Attaching the sanpshot of the same , Please see attachment" ) What is to be done to overcome this problem, and boot successfully ?
Question 2 : I want to configure NTP and DNS clients after succesful boot-up ( Please note that I don't have GUI dispaly only command prompt dispaly)
So Please provide sequence of commands to configure NTP and DNS clients, also to check whether these NTP and DNS deamons are up and running or Not..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2004 04:42 AM
тАО06-25-2004 04:42 AM
Re: HP-UX Booting problem + NTP,DNS configuration
- machine is not on the network
- NFS is not configured
- LAN config is incorrect
At the console, try hitting Ctrl-\ a couple times to break out of the hung NFS start.
This should let you boot the machine and then properly configure LAN access.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2004 04:47 AM
тАО06-25-2004 04:47 AM
Re: HP-UX Booting problem + NTP,DNS configuration
"Start NFS client subsystem ....."
Can you do
Press CTRL + SHIFT + | (pipe)
or Press SHIFT-DEL
And check if goes further.
If not, power off machine and power it on. While booting, it would prompt you to press any key within 10 seconds. Press any key and say yes to interact with ISL prompt.
Once on ISL prompt do
ISL> hpux -is
This will take you to single user mode.
do mountall and edit /et/rc.config.d/nfsconf and isable NFS. Reboot the system and it should boot and give you a console login prompt.
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2004 05:31 AM
тАО06-25-2004 05:31 AM
Re: HP-UX Booting problem + NTP,DNS configuration
A misplaced dot is all it takes.
In the single user mode above, try this:
mount /usr
set_parms
It will rebuild networking and get it right.
Never keep a backup copy of netconf in the /etc/rc.config.d/ directory. It will get loaded again and your machine will become a gigantic paperweight.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2004 05:42 AM
тАО06-25-2004 05:42 AM
Re: HP-UX Booting problem + NTP,DNS configuration
If this does not work, you may restart the system and when it says "Press a key to stop booting" .. Press a key
bo
injteract with IPL "Y"
hpux -is
and u get a prompt
correct /etc/hosts file here.
To configure DNS u just need to edit the following files check man pages for more details..
/etc/nwswitch.conf
/etc/resolv.conf
for NTP,
/etc/ntp.conf (?) not very sure
Regds,
Kaps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2004 03:57 PM
тАО06-25-2004 03:57 PM
Re: HP-UX Booting problem + NTP,DNS configuration
mount /usr
mount /tmp
mount /var
Now edit the file /etc/rc.config.d/nfsconf and change all the NFS options from =1 to =0. Then reboot normally by typing: reboot -q
That will get rid of the hang. You can then setup your networking including DNS (resolv.conf and nsswitch.conf).
For NTP, after you get booted normally, use ntpq to find a working NTP server. If your server is called ntp1:
ntpq -p ntp1
This should return a report on the remote NTP server's time services. Once that works OK, edit /etc/ntp.conf and add these lines:
server ntp1
server 127.127.1.0 # local clock
fudge 127.127.1.0 stratum 10 # backup clock (internal)
driftfile /etc/ntp.drift # path for drift file
The ntp.conf file has a lot of comments. You can delete everything and just put in the above lines. A copy of the original ntp.conf file is found in /usr/newconfig/etc/ntp.conf.
Now edit /etc/rc.config.d/netdaemons and modify these two lines:
export NTPDATE_SERVER=ntp1
export XNTPD=1
Now start NTP with: /sbin/init.d/xntpd start
You can check on the progress of NTP with ntpq -p (with no server name, it checks the local system). You can also monitor accuracy in syslog.
Bill Hassell, sysadmin