- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- change time on systems
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
06-17-2008 09:04 AM
06-17-2008 09:04 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2008 09:08 AM
06-17-2008 09:08 AM
Re: change time on systems
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2008 09:08 AM
06-17-2008 09:08 AM
Re: change time on systems
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2008 09:10 AM
06-17-2008 09:10 AM
SolutionTo reset the time on your server, do:
# date [-u] [mmddhhmm]
The '-u' means specify the mmddhhmm in UTC time.
This will step your date/time forward or backward in *one* change. If you are moving backwards in time, stop time-sensitive processes like databases and the 'cron' daemon. Going forward is generally benign.
See the 'date' manpages.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2008 10:04 AM
06-17-2008 10:04 AM
Re: change time on systems
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2008 10:11 AM
06-17-2008 10:11 AM
Re: change time on systems
u can use date command
see man date
sajjad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2008 10:12 AM
06-17-2008 10:12 AM
Re: change time on systems
I agree with TTr with regard to setting the time backwards using 'date -a'. This is fine for relatively small decrements if you care to wait long enough for the slew.
You should always setup NTP (network Time Protocol) to eliminate problems like this in the first place. This can be done via SAM or via simple configuration setup:
http://docs.hp.com/en/B2355-90774/ch04.html
Setup at least three reliable, external time sources:
http://www.ntp.org/
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2008 10:37 AM
06-17-2008 10:37 AM
Re: change time on systems
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2008 12:05 PM
06-17-2008 12:05 PM
Re: change time on systems
Right now I get for UTC:
$ date -u
Tue Jun 17 20:04:53 UTC 2008