- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Change system time
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
01-27-2004 08:06 PM
01-27-2004 08:06 PM
I think this is an easy question but i'm not sure what to do.
My system time is 30 minutes beyond the correct time (sorry my english...) and i want to fix this.
Can i do without problems or should i take care with something?
How can i do this? In single user?
I have HP-UX 11.00.
Thanks in advance,
Amer
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2004 08:12 PM
01-27-2004 08:12 PM
Re: Change system time
SAM --> Time --> System clock
to correct the time.
sks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2004 08:16 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2004 08:22 PM
01-27-2004 08:22 PM
Re: Change system time
If you have no databases/apps running ( Stefans remark) you can issue the date command. ( date mmddhhmm ).
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2004 08:23 PM
01-27-2004 08:23 PM
Re: Change system time
HP-9000 systems are not very good at keeping time.
Therefore you might want to consider ntp
Here is a document.
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90685/B2355-90685_top.html&con=/hpux/onlinedocs/B2355-90685/00/00/63-con.html&toc=/hpux/onlinedocs/B2355-90685/00/00/63-toc.html&searchterms=configuration%7cntp&queryid=20040128-022251
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
01-27-2004 08:31 PM
01-27-2004 08:31 PM
Re: Change system time
In this server i have system SAP with Oracle so i think it's better to do this in single user and even wait 30 minutes before booting again.
I'll do that and let you know the results and give the points.
Thanks again,
Amer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2004 10:30 PM
01-27-2004 10:30 PM
Re: Change system time
No problems occured.
Thanks a lot,
Amer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2004 12:10 AM
01-28-2004 12:10 AM
Re: Change system time
#date -a -/+ seconds
30 minutes maybe more then recommended though. I would say if you have the ability to bring the server down then thats the safer bet, and do it as suggested above.
Dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2004 02:58 AM
01-28-2004 02:58 AM
Re: Change system time
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2004 02:56 AM
01-29-2004 02:56 AM
Re: Change system time
I agree that once you have this fixed you should find an atomic clock that you can point to and configure NTP (Network Time Protocol) on your system. Once you have the address to point to, you can configure in SAM.
Time-NTP TIme Sources -- Actions--Add Remote Server and then Start NTP.
Here is a page that can explain it and give you a list of NTP sources to use with your systems:
http://twiki.ntp.org/bin/view/Servers/WebHome
RDB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2004 03:01 AM
01-29-2004 03:01 AM
Re: Change system time
Forgot to mention that configuring NTP will help prevent the drift in time you are seeing and I recommend you configure a primary and a secondary....
Ryan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2004 03:29 AM
01-29-2004 03:29 AM
Re: Change system time
date -a [-]sss.fff
slowly adjuests the time by sss.ffff seconds where (fff represents fractions of a second). This adjustment can be positive or negative. The system's clock will be sped up or slowed down until it has drifted by the number of seconds specified.
Unix doesn't like to have it's clock run backwards, but this should do it slowly enough so that Unix won't notice.
date -a -900.000
Should slow the clock down until it's lost 900 seconds.
I suspect that NTP does the same thing except it figures the number of seconds for you. If you don't have a time source, and you don't want to go into single user mode, then this should do the trick.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2004 04:18 AM
01-29-2004 04:18 AM
Re: Change system time
thank you all for complementing the answear.
I'm reading some info about NTP and then i'll try to implement it.
Regards,
Amer