- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: 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
04-30-2008 01:30 AM
04-30-2008 01:30 AM
system time
unfortunately I changed system time in my first server now it is not synchronisig time with second one.Without rebooting how I can manage this issue?
data1# date
Wed Apr 30 15:05:54 WAT 2008
data2# date
Wed Apr 30 15:25:22 WAT 2008
data2# ntpdate data1
30 Apr 15:26:35 ntpdate[2532]: the NTP socket is in use, exiting
any idea
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2008 01:37 AM
04-30-2008 01:37 AM
Re: system time
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2008 01:40 AM
04-30-2008 01:40 AM
Re: system time
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2008 01:41 AM
04-30-2008 01:41 AM
Re: system time
Did you enable NTP daemon in /etc/rc.config.d/netdaemons?
what is your ntp.conf file content?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2008 01:44 AM
04-30-2008 01:44 AM
Re: system time
if want to sync time each other you can use this command to sync time each other
/usr/sbin/ntpdate -b (ip of another server)
regards
Siva
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2008 01:45 AM
04-30-2008 01:45 AM
Re: system time
remote refid st t when poll reach delay offset disp
==============================================================================
*LOCAL(1) LOCAL(1) 10 l 5 64 377 0.00 0.000 10.01
dear team
netdaemons and all these config.are ok
I already mentioned it is running ntp already configuration daemon and every things are ok i changed my system time from my first server unfortunately
then any command i can use to synchronise the second server time with first one
also see i used systemm clock to configure.
if u have any other solutions please let me know
thanks and regards
sajjad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2008 01:54 AM
04-30-2008 01:54 AM
Re: system time
i told already
data2# ntpdate data1
30 Apr 15:26:35 ntpdate[2532]: the NTP socket is in use, exiting
i am getting this error while i am using
ntpdate command
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2008 01:58 AM
04-30-2008 01:58 AM
Re: system time
I understand what u configured is ok from your side. but sometimes the configuration may cause the problem.
yould you please post here what exactly you have changed in your ntp.conf file?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2008 02:11 AM
04-30-2008 02:11 AM
Re: system time
I didn't made any change in my /etc/ntp.conf file ok!!!!!!!!!!!!!
what i did
used date -u then changed system time
only in my server thats all
don't go about againg /etc/ntp.conf file let is stay there
sajjad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2008 02:16 AM
04-30-2008 02:16 AM
Re: system time
>>data2# ntpdate data1
30 Apr 15:26:35 ntpdate[2532]: the NTP socket is in use, exiting
this command will only applicable when there is a ntp server and synchonize its time to other server.
are you confused abt the time server or UTC time?
UTC is different thing. its aonly synchronize your server with UTC time.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2008 02:58 AM
04-30-2008 02:58 AM
Re: system time
Ahsan
u read my previous thread
pleaseeeeeeeeeeeeeee
i told u ntp server and client is already configured and it was running fine up to
today morning i changed only time from data1- my ntp server
okkkkkkkkkkkkkkkkkkkkkkk
data2 is my ntp client okkkkkkkkkkkkkkkkk
sajjad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2008 03:01 AM
04-30-2008 03:01 AM
Re: system time
If you manually changed the NTP server then your ntp daemon has been terminated.
Check that your xntpd daemon is running in both server.
#ps -ef|grep xntpd (check both servers)
then try the command
# ntpq -p
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2008 03:21 AM
04-30-2008 03:21 AM
Re: system time
society1# ntpq -p
remote refid st t when poll reach delay offset disp
==============================================================================
*LOCAL(1) LOCAL(1) 10 l 20 64 377 0.00 0.000 10.01
__________________________________________-
my ntp client
society2# ntpq -p
remote refid st t when poll reach delay offset disp
==============================================================================
*society1 LOCAL(1) 11 u 39 64 177 0.20 -0.052 125.20
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2008 03:24 AM
04-30-2008 03:24 AM
Re: system time
BTW, do you only get answers without points?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2008 03:33 AM
04-30-2008 03:33 AM
Re: system time
dear Ahsan
I didn't understan what do u mean by points
sajjad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2008 03:34 AM
04-30-2008 03:34 AM
Re: system time
Dear Ahsan
BTW, do you only get answers without points?
i didn't understand this?
sajjad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2008 03:38 AM
04-30-2008 03:38 AM
Re: system time
If your date problem solved or not?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2008 03:43 AM
04-30-2008 03:43 AM
Re: system time
how i can assign the poitns only up to now i am getting what i have done before
ntpq and ntpdate and daemon running all these i have done after that i put it question there
still i am facing problem
u are talking about /etc/ntp.conf file in my first thread on wards i told i configured these two servers for synchronisation today morning just i have done on running ntp server date -u then value but not yet it is not synchronisitn my client with server
prblem is still remaining!!!!!!!!!!!!!
because we didn'ttttttt any thing
thanks one more dear
sajjad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2008 03:53 AM
04-30-2008 03:53 AM
Re: system time
The 'xntpd' daemon will NOT synchronize your server's time if it differs from that of a source by more than about 900 seconds. This prevents insane corrections.
You must set your server's time to be very close to the correct time first.
You can use 'date' to perform the adjustment. If you are setting time backwards, you should stop critical processes like databases first, You should also stop and restart the 'cron' daemon under these circumstances. Moving your server time forward is rarely a problem to time-sensitive processes.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2008 04:08 AM
04-30-2008 04:08 AM
Re: system time
it is already near to time in server side
society1# date
Wed Apr 30 14:45:50 WAT 2008
society2# cron -s
society2# ! cron is already running Wed Apr 30 15:06:40 WAT 2008
! ******* CRON ABORTED ******** Wed Apr 30 15:06:40 WAT 2008
society2# ps -eaf | grep cron
ety2# ps -eaf | grep cron
root 1540 1 0 19:23:43 ? 0:00 /usr/sbin/cron
it is not stoping cron daemon
sajjad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2008 04:12 AM
04-30-2008 04:12 AM
Re: system time
I have to kill the process?
becaues i can't stop the cron also
I already adjusted server time, my issue is now client has to sysnchronise the time only
the last 6 monhts it was running fine
today morning i changed time from server
by using date this only i have done in my server side
now i am surviving to synchronisation with the client
thanks once more
sajjad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2008 04:15 AM
04-30-2008 04:15 AM
Re: system time
Wed Apr 30 15:14:12 WAT 2008
society2# date
Wed Apr 30 15:14:25 WAT 2008
see server client is the difference betweeen seconds on sync.
sajjad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2008 04:29 AM
04-30-2008 04:29 AM
Re: system time
see while i am closing cron daemon i am getting such an error, but u see in my case i think no need to stop the cron daemon becuase there is no database in my server it is a new one.
sajjad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2008 04:44 AM
04-30-2008 04:44 AM
Re: system time
Dear James
The synchronisatin time difference was less than one minute that why prblem came.
I made changes in my ntp cleint 2 hours different and ntp server near to the correct time then add ntp client through sam
now its ok any how for u cron information actully it was not in mind if my system is database server but in future i can rember cron role.
thnaks once more
sajjad