- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: clock setting
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
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
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
10-15-2004 06:51 PM
10-15-2004 06:51 PM
How can I change my clock setting without rebooting a server. It has been running a lag behind from the actual schedule.
Mehul
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2004 07:06 PM
10-15-2004 07:06 PM
Re: clock setting
You can run 'date -a
However, I suggest you check with appadmins and DBAs on the impact. Particularly if you are running any billing applications, it can have a bad affect if something goes wrong in the above setup.
So, I advise you shutdown all your applicatins and databases, reboot the system in single user mode and change the date and time.
Consider using 'ntp' services from now on.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2004 07:23 PM
10-15-2004 07:23 PM
Re: clock setting
to be on the safe side you should change the time only in single user state
Regards
Franky
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2004 09:18 PM
10-15-2004 09:18 PM
Re: clock setting
Is the time lag is not significant (less than 5-10 minutes), run NTP.
Look at the file /etc/ntp.conf and /etc/rc.config.d/netdaemons, edit them accordingly and run
/sbin/init.d/xntpd start
If the time difference is big, stop all DB applications or reboot the server without running its applications and ru
nntpdate -b TIMESERVER_HOSTNAME_OR_IP
HTH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2004 12:11 AM
10-23-2004 12:11 AM
Re: clock setting
Actually I am newbie in HP-UX administration.
How can I open a system in a single user mode and change a clock setting in this mode while rebooting a server?
send me a summary steps.
We have tried it from SAM but I think it created a hassle.
Is there any basic steps to set a clock with hassle-free?
Any help/guidance appreciated from all you wizards.
Mehul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2004 01:13 AM
10-23-2004 01:13 AM
SolutionYou can't get into true single user mode without rebooting the system. You can change the init levels, but it's not the same as rebooting and using "hpux -is". The -is = init single
shutdown -r
boot primary (or "bo pri" for short)
interact with ISL
at ISL type:
hpux -is
>>Is there any basic steps to set a clock with hassle-free?>> The most hassle free way to have the clock set automatically is by using ntp which syncs the time to a world clock.
See 7 Configuring the Network Time Protocol (NTP)
http://www.docs.hp.com/hpux/onlinedocs/B2355-90685/00/00/63-con.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2004 03:05 AM
10-23-2004 03:05 AM
Re: clock setting
http://docs.hp.com/hpux/onlinedocs/B2355-90774/B2355-90774.html
See section on "Configuring NTP"
To change time manually, use the date command.
for more info:
man date
Rgds...Geoff