- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- HP-UX system: abnormal change date
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-16-2010 04:42 AM
10-16-2010 04:42 AM
TIA,
Dagz
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2010 04:53 AM
10-16-2010 04:53 AM
Re: HP-UX system: abnormal change date
The same date each time?
The same offset than the current date?
The epoch date?
Does it happen at the same time of the dayweek?
Does it happen after a specific task is performed?
All these will determine if it is a hardware issue or something changes the date deliberately.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2010 04:58 AM
10-16-2010 04:58 AM
Re: HP-UX system: abnormal change date
Running 'ntpdate' is only going to occur periodically. Running 'ntp' (the 'xntpd' daemon) allows continuous synchronization to reliable time sources.
That said, if your local system time is drifting vastly from true time, your server battery for providing power to the internal clock may need replacement.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2010 05:03 AM
10-16-2010 05:03 AM
Re: HP-UX system: abnormal change date
The same date each time? no
The same offset than the current date? no
The epoch date? i don't know
Does it happen at the same time of the dayweek? only on saturdays
Does it happen after a specific task is performed? not sure... we are running billrun. we need specific date for this not the current date.
thanks for your reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2010 05:06 AM
10-16-2010 05:06 AM
Re: HP-UX system: abnormal change date
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2010 05:10 AM
10-16-2010 05:10 AM
Re: HP-UX system: abnormal change date
> Does it happen at the same time of the dayweek? only on saturdays
How very interesting. That would point to something done specifically on *your* server.
> Does it happen after a specific task is performed? not sure... we are running billrun. we need specific date for this not the current date.
So, you need a *specific date*. Does that mean that your application (or a wrapper around it; or an operator) is actually changing the system date? If so, you have problems in logging, software source control, auditing, etc. You can "manufacture" a date argument for your billing application and pass it to it.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2010 05:11 AM
10-16-2010 05:11 AM
Re: HP-UX system: abnormal change date
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2010 05:12 AM
10-16-2010 05:12 AM
Re: HP-UX system: abnormal change date
So rather than inputting a date into the software, you change the system date? If that is the case, then I would guess that is probably your problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2010 05:19 AM
10-16-2010 05:19 AM
Re: HP-UX system: abnormal change date
And additional info, earlier the server changes the date before the script/jobs executed.
No, I think only superusers could change the date, right? that user is not superuser.
>So rather than inputting a date into the software, you change the system date? If that is the case, then I would guess that is probably your problem.
Yes, I'm the one who change the date to another date, but not to current date, and that's my problem. For example, I'll be using
Regards,
Dagz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2010 05:29 AM
10-16-2010 05:29 AM
Re: HP-UX system: abnormal change date
>>another date, but not to current date, and
>>that's my problem. For example, I'll be
>>using
>>after for a while it changes back to
>>
>>clear with this. :)
OK, I'm slightly confused! Is the problem that the date is changing **FROM** a future date back to the current date?
If so -- You mentioned above that you implemented 'ntpdate' to get a date from another server. How often does ntpdate run? What is the date on the other server? If the other servers date is current, then ntpdate will reset the date.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2010 05:59 AM
10-16-2010 05:59 AM
Re: HP-UX system: abnormal change date
>If so -- You mentioned above that you implemented 'ntpdate' to get a date from another server. How often does ntpdate run? What is the date on the other server? If the other servers date is current, then ntpdate will reset the date.
Sorry for the confusion. Let me explain again. I want the server to be dated to November 2, 2010, but it changes back to current date constantly. For temporary fix, I created a NTP server, and sync my server to it. My NTP server has
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2010 06:41 AM
10-16-2010 06:41 AM
Solution> For temporary fix, I created a NTP server, and sync my server to it. My NTP server has
NTP works using Epoch time (the number of seconds since January 1, 1970). What your or your server perceive as the correct local *date* and *time* is based on an offset from this UTC. This offset is your timezone ('TZ').
All said, you can't pretend that the *date* is a value disassociated from the *time* and run NTP. NTP will correct the server's time (and date) exactly as it is supposed to do.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2010 06:47 AM
10-16-2010 06:47 AM
Re: HP-UX system: abnormal change date
If I disable my ntp service, will this solve my problem?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2010 07:07 AM
10-16-2010 07:07 AM
Re: HP-UX system: abnormal change date
Yes by stopping ntp serive ur problem will solve.
From ur last replies ur setting the date to Nov 2 2010, todays date is Oct 16 2010.
If ntp service is running it will definately sync to current date.
Hope this solves ur issue.
Regards
Vishnu Khandare
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2010 07:16 AM
10-16-2010 07:16 AM
Re: HP-UX system: abnormal change date
> If I disable my ntp service, will this solve my problem?
If, by solve, you mean prevent the bogus date/time from being adjusted to a correct value, yes, but you have a system with logs, audits, source control, password expiration's, etc. that is seriously out-of-sync. If you have any databases, you have compromised their recover-ability by fudging the date backwards and forwards.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2010 07:18 AM
10-16-2010 07:18 AM
Re: HP-UX system: abnormal change date
>From ur last replies ur setting the date to Nov 2 2010, todays date is Oct 16 2010.
If ntp service is running it will definately sync to current date.
But my NTP server is set to Nov. 2, 2010. And my server is sync with it. Question is, why does my NTP kept the Nov 2 date while my other server always revert to current date.
-I already stopped the xntpd service.
-Also stopped cron servcie, just in case.
I also found this in my /var/adm/syslog/syslog.log: Oct 16 22:47:49 jupiter lwiod[6623]: GSS-API error calling gss_init_sec_context: -1765328352 (Ticket expired)
This shows every time my server goes to current date.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2010 07:27 AM
10-16-2010 07:27 AM
Re: HP-UX system: abnormal change date
@JRF
Hi, I stopped xntpd service but still my date revert to current date. I understand the risk on changing my system time, but this is part of my project.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2010 07:36 AM
10-16-2010 07:36 AM
Re: HP-UX system: abnormal change date
Is there a possibility that a remote NTP server is pushing a current date change to this server? Is there a way we can check it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2010 07:37 AM
10-16-2010 07:37 AM
Re: HP-UX system: abnormal change date
> But my NTP server is set to Nov. 2, 2010. And my server is sync with it. Question is, why does my NTP kept the Nov 2 date while my other server always revert to current date.
Another feature of NTP is that if the difference between the time on the local server and the time source is about 1000 seconds, any attempt at synchronization is denied. This is to prevent "insane" jumps in time.
I didn't fully appreciate that your time source (server) was set to a future timestamp.
I believe that you are never synchronizing to the future time in the first place. You can verify this with:
# ntpq -pn
Also, to be clear, are you actually running 'xntpd' or are you only periodically running 'ntpdate' as from a crontask?
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2010 07:49 AM
10-16-2010 07:49 AM
Re: HP-UX system: abnormal change date
Normally we do it via cron. I just did xntpd a while ago because I thought other cron jobs were causing the change date.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2010 07:52 AM
10-16-2010 07:52 AM
Re: HP-UX system: abnormal change date
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2010 03:40 AM
10-17-2010 03:40 AM
Re: HP-UX system: abnormal change date
Please help us on this issue. :(