- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: System time adjustment
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
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-17-2002 05:04 AM
10-17-2002 05:04 AM
My system time is 12mn earlier than the current time:
current time = 14h
system time: 13h48
Can I adjust the time in muti-user mode?
Is there any bad effect when adjusting the time.
My system is an L1500 running hp-ux 11.0
Thanks,
Narimane
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2002 05:09 AM
10-17-2002 05:09 AM
Re: System time adjustment
If setting the clock forward then there is probably no problem, but you might want to check whether any applciations running will be OK.
Hilary
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2002 05:10 AM
10-17-2002 05:10 AM
Re: System time adjustment
Yes you can move the time forward in multiuser mode, but it it is safer to do it in single user mode.
Speak to you DBA on implications.
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2002 05:11 AM
10-17-2002 05:11 AM
Re: System time adjustment
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2002 05:12 AM
10-17-2002 05:12 AM
Re: System time adjustment
Sure you can, but personally I would not do so.
You always can expect unexpected behaviour with several OS/prog parts. For example databases, cron, log files etc.
C.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2002 05:20 AM
10-17-2002 05:20 AM
Re: System time adjustment
Also they should affect your application scheduled jobs.
ALso make sure that you re-start your cron daemon after the time change.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2002 05:48 AM
10-17-2002 05:48 AM
Solution11.0 has a possibility for "slowly adjusting time", drifting forwards or backwards. For an explanation, see the man page for "date" ("-a" option).
We have used that possibility once for setting the time 4 minutes faster on one machine, and it was done in multi-user mode when everything else was running normally, including an oracle db. We made the adjustment in portions of 30 seconds at a time, and paused app. 5 minutes in between each "30 seconds forward drift".
We saw no side-effects on our system, but others may have had other experiences using this feature. Just a suggestion..
regards,
John K
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2002 06:01 AM
10-17-2002 06:01 AM
Re: System time adjustment
After you get your clock reasonably synchronized, you should fix the problem permanently by setting up NTP. It's very easy to do and your time will then stay accurate easily to within a few tens of milliseconds in the worst case.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2002 06:13 AM
10-17-2002 06:13 AM
Re: System time adjustment
This will move the clock incrementally in clock ticks, not all at once. Your users "should" see no difference.
If you aren't already doing so you may want to consider running ntp to keep your clocks in sync.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2002 02:18 AM
10-18-2002 02:18 AM
Re: System time adjustment
I used date -a 667
(667s = 11mn 7seconds)
The system time did catch
the current time . BUT for my suprise it continues to go fast. Why?
I was expecting to get the system time stabilised but it
was not the case.
Do I need to do anyting else?
Thanks,
Narimane
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2002 04:31 AM
10-18-2002 04:31 AM
Re: System time adjustment
Thanks a lot for your suggestions.
after using date -a xxx, the system time was adjusted, then
I rebooted the system.
The system time is now OK and
all applications running fine
Thanks,
Narimane