Questions tagged [time]
Time is a dimension in which events can be ordered from the past through the present into the future, and also the measure of durations of events and the intervals between them.
486
questions
1
vote
0
answers
1k
views
Syslog randomly logs bad time [duplicate]
Try as I might, I can't figure out why this server randomly timestamps syslog entries with bad time.
Here's a 5-minute stretch of syslog from a few minutes ago. You'll notice there are two places ...
13
votes
3
answers
21k
views
What is a ToD server, "Time of Day" (Not NTP)
I got a simple task: Setup a ToD server... It is not NTP. It runs on port 37. It seems to be bundled with inetd or xinetd.
Shall be installed on Debian or CentOS. Alternatively FreeBSD (pfsense ...
6
votes
3
answers
2k
views
What is an acceptable secure time source in a datacentre environment?
GPS and NTP are two very typical time sources when accurate clocks are required. However, each has an important failing. NTP does not provide authentication of the time source, and so may be ...
5
votes
1
answer
11k
views
Windows Server 2008 R2 system time randomly resets to 4 hours in the past
I am having a problem where the time randomly jumps to 4 hours in the past. As a result, none of the scheduled tasks (such as backups) happen at the correct time, and some time-critical applications ...
0
votes
1
answer
508
views
Measuring request response time by port
So, I'm currently working on a project in which I spin up a set docker image on a number of different machines and configurations. This image basically contains a web server that accepts a number of ...
1
vote
0
answers
247
views
Domain time drifting with VM DCs / host domain members
I'm following the advice given in this article: http://technet.microsoft.com/en-us/library/virtual_active_directory_domain_controller_virtualization_hyperv(WS.10).aspx#...
0
votes
1
answer
211
views
Check how much time has elapsed for Cron job and send email
There is a cron job that is set which runs throughout most of the day, sometimes the job gets stuck and I would like to set a time or check on it which let's me know if it has been stuck for more than ...
0
votes
0
answers
1k
views
Server times off by over 1 minute after recently syncing
I manually synced the times (and matched hardware times) on two servers A and B.
NTP was running on both machines, so I made sure the /etc/ntp.conf files were identical (the time servers on B were ...
1
vote
0
answers
372
views
How to configure a redundant PTP server
I have a Sonoma GPS time server and a server, which should synchronise itself to the GPS clock, and serve as a fallback option. The time should be synchronised using PTP (Precision-Time-Protocol). ...
11
votes
6
answers
1k
views
Local timezones on servers considered harmful? [closed]
I'm curious as to what other administrators' experiences with timezones, in the context of remotely administered servers, are. In my career I've come across several conventions;
Always, always, ...
2
votes
1
answer
406
views
Can't synchronize time in Ubuntu (Europe/Moscow)
I've got this Ubuntu server virtual machine. I'm trying to setup a correct time on it.
I've selected a proper timezone (Europe > Moscow) via sudo dpkg-reconfigure tzdata.
After that, I'm using ...
7
votes
1
answer
12k
views
Is it better to use the systemd service unit's Restart & RestartSec, or use a systemd timer unit?
I have a couple of in-house automated scripts running at periodic intervals. One is every five minutes, the other is every minute. They don't really need to be ran on-the-dot; e.g. I don't care if ...
3
votes
5
answers
3k
views
Linux clock loses 10 minutes every week
One of my linux server's clock loses 10 minutes every now and then, nearly every week. I update the time so it stays correct, and although it doesn't really bother me, i'd like to fix it.
I've been ...
2
votes
1
answer
4k
views
Real-time clock is wrong (from hours to years), one-time non-monotonic change at boot needed. Can Chrony solve this?
I can't guarantee a sane real-time clock on some machines (the time might be wrong by hours, months or even years). Since I also have intermittent networking, I set up Chrony in the hopes it could fix ...
2
votes
6
answers
2k
views
Share processor time between computers
I'm a developer and I use lots of applications gadgets. (I WORK ON WINDOWS)
I have two computers (HP Dual Core (3.2Ghz) one with 512Mb and one with 1Gb RAM). So I work on both, but when I work I work ...
5
votes
1
answer
11k
views
Why is the time on my Server 2008 R2 DC wrong? It's syncing to ntp.org, it claims
OK. After a lot of fun with syncing time across my workstations, I got that sorted out. My workstations are now perfectly synced with my Server 2008 R2 Domain Controller (physical server, not virtual)....
1
vote
0
answers
988
views
Graylog2 date extractor from tab-delimited file
I have a tab-delimited logs with such messages:
2014-06-01 00:00:56 192.168.1.1 968 http://yandex.ru
I can extract date and time with regexp (\d{4}-\d{2}-\d{2}\s*\d{2}:\d{2}:\d{2}) but when I ...
-1
votes
1
answer
1k
views
Multiple NTP Server Instances on One Server (Linux)
Is it possible to run multiple NTP server instances on the same system? We're using CentOS for our NTP system and want to synchronize specific time depending on what interface the client comes in on. ...
0
votes
1
answer
1k
views
Apache TOP command time format?
When running top on an Apache server, what is the time format for the output?
For instance, is it minute:second.second?
https://i.stack.imgur.com/fMbcf.png
Edit:
I'm running on Ubuntu 14.04 and ...
0
votes
1
answer
1k
views
Binding timestamp value to a variable in crontab
I'm basically trying to declare a variable with a date() value in crontab as I will constantly be using the same date structure over and over, here is what my crontab looks like so far.
php = '/...
3
votes
3
answers
1k
views
System time on Windows Server 2008 server increasing continuously
The system time of my Windows Server 2008 server is increasing continuously. In order to adjust the time, I have to shutdown and reset the time.
I have tried changing the CMOS battery, but the ...
2
votes
1
answer
564
views
EC2 - MS Server 2012 constantly resetting its own time
I have an EC2 box of instance type m2.4xlarge running Windows Server 2012 Standard in a VPC in US-West-2. The following ports are open inbound:
TCP 1433 (MS SQL)
TCP 3389 (RDP)
UDP 123 (time synch)
....
1
vote
1
answer
20k
views
How to configure a Cisco Catalyst 2960 to synchronize with an NTP server
I would like to synchronize a Cisco Catalyst 2960 series switch with a publicly available NTP server such as time.apple.com. I have reviewed the knowledge base article here:
Catalyst 2960 ...
6
votes
1
answer
40k
views
Is timesync still required for Windows Server 2012 R2?
Our servers are on a workgroup, we are a small company and do not use a domain controller. In Windows Server 2008 R2 we used TimeSync to help keep the most accurate time, not sure it was really ...
0
votes
1
answer
302
views
bash date not using the set timezone
I have
export TZ="/usr/share/zoneinfo/Europe/London"
in my .bashrc file, but the following output the time in UTC (GMT)
export TM=`date +%H%M%S`
export DTTM="`date +%a\ %F\ %T\ %Z`"
0
votes
3
answers
2k
views
Getting irregular timestamps on NFS file server
Here is the situation:
We have a file server that is not saving timestamps
to a small portion of its files (77 files out of several million). It instead writes a default mtime of 1969-12-31 19:00 (...
0
votes
0
answers
162
views
How can I select ntp the time source for a system?
I have two Windows 2008 servers running Meinburg NTP. When I run ntpq.exe -p from one, I see that there are sources specified as current, selected, or discarded (via a +, -, or *). On another system, ...
4
votes
1
answer
4k
views
CentOS keeps losing its localtime setting? [duplicate]
I'm running an extremely typical CentOS 6.5 server at DigitalOcean. As part of the site setup, I've changed /etc/localtime to something appropriate for me:
rm /etc/localtime
ln -sf /usr/share/...
1
vote
4
answers
2k
views
Setting time back on a production linux server
I am having an issue with the time on a production linux server being 2 hours fast. I need the time to be accurate for a particular project I'm working on, but am a little nervous to change it, as I'm ...
1
vote
2
answers
3k
views
Remote Desktop Connection Issue
I have 2 HP Proliant servers with Windows Server 2008 R2 installed on them. They are headless servers, and I do not have a way of visually seeing the user interface of the servers. I do however know ...
2
votes
2
answers
856
views
Why date and touch/stat return different time value?
In my system SLES 11.2, I get strange output for file access time.
The date command output the correct time:
Then I create a new file "a" by running touch, and use stat to check the access time of ...
2
votes
2
answers
4k
views
How to configure NTP has a TAI or GPS time reference?
For our project, we would like to have all servers and systems synchronised to a linear time reference (without leap second).
Therefore, we would discard UTC but are very interested in advertising ...
1
vote
1
answer
2k
views
How can I stop Active Directory from syncing time with the client
We have several Windows 8 machines that seem to have a problem with their local DateTime. I want them to stop syncing their time with the domain controller. How do I do this?
Some Background ...
1
vote
0
answers
715
views
demonstrate Automatic Hardware Clock Synchronization By the Kernel (11 minute mode) without ntpd
From the man page of hwclock:
This mode (we'll call it "11 minute mode") is off until something turns it on. The ntp daemon xntpd is one thing that turns it on. You can
Ok, I have a ...
15
votes
2
answers
3k
views
Linux kernel detecting wrong processor frequency
After a cold boot of a 6.0.8 Debian server (HP ProLiant), ntpd played havoc with system time: offset and jitter with respect to the usual and reliable reference time servers growing without limit. (...
1
vote
2
answers
6k
views
How do I troubleshoot root cause of a hung windows (2003) server?
I have a pair of Windows (2003 Server) servers both running MS SQL Server (2008 EE) that each hang every few months. This has been occurring intermittently :( for the past 15 months pretty much since ...
4
votes
1
answer
8k
views
How to stop time synchronization on an Azure VM
I'm trying to simulate a different date/time on an Azure VM but the time keeps resetting itself to the current date/time. Is there a way to force the server to stay at a specific date/time until I ...
1
vote
1
answer
3k
views
How to set up date/time on DGS-1500?
I have numerous D-Link DGS-1500-28 switches with firmware 1.00.013, 1.10.005 and 2.10.002 on it, and there are no visible option to set up date/time via web- or telnet-interface.
Device uses date/...
-1
votes
1
answer
195
views
Crontab not executing [duplicate]
I'm running CentOS 6.2, trying to run tasks through cron. I've verified crond is running
$ service crond status
crond (pid 20553) is running...
I have no /etc/cron.allow file, but I do have an /etc/...
1
vote
2
answers
628
views
Cent OS 6 clock 3 minutes 35 seconds in the future
I run Cent os 6 64 bit on linode.
server (incorrect):
date
Thu Aug 29 11:41:00 BST 2013
client (correct):
date
Thu Aug 29 11:37:25 BST 2013
As you can see the server clock is in ...
4
votes
1
answer
18k
views
Windows Server 2008 R2 time keeps changing unexpectedly
There is a serious problem with one of my servers time.
At some random hours (5:59 localtime in the following example) it goes 1 hour back and keeps doing this again and again next times it reaches 5:...
4
votes
4
answers
2k
views
How to set the date forward on a linux server and prevent it from resetting back to the correct time
I need to set the time on an Ubuntu Server forward 1 week, and keep it there (this is for a testing environment with date-specific conditions which need to be tested/verified by the stakeholders), ...
6
votes
3
answers
14k
views
hyper-v server time sync source - PDC / external NTP?
The environement:
10 Hyper-V hosts, all AD joined
a lot of VMs AD joined and some not
some AD DCs including PDC as Guests
What You think is the best approach to time sync a hyper-v farm with AD ...
3
votes
2
answers
24k
views
How long does it take to update all the clocks in a Windows domain?
I know the answer to this might be a bit nebulous, so I'll happily accept an answer that tells me the basic rules for this.
Supposing the clock in the PDC Emulator has got all out of whack and this ...
1
vote
1
answer
1k
views
Windows Server 2012 on EC2 - Clock running too quickly
I have a single EC2 Instance for a small project of mine that runs Windows Server 2012 and the clock in windows seems to be gaining a minute every hour or so and it's causing issues in my token based ...
1
vote
2
answers
657
views
Any drawbacks for using same time zone configuration in Data Centers across time zones? [duplicate]
I operate almost entirely in one time zone. Supposing a Data Center in another time zone, it would make sense to configure the machines in that data center to use my time zone, and not local.
Are ...
1
vote
3
answers
81
views
Microsoft Exchange: can I view the time when an email was written?
Is there a way to check when an email was first written (not sent) in Microsoft Exchange?
1
vote
1
answer
2k
views
Gentoo server time issue, can't manually set time, NTPD won't correct, too big of a time difference
So, my server is living in the future, unfortunately I can't get lottery numbers, or stock picks out of it.
It thinks this is the time:
Thu Nov 7 04:07:18 EST 2013
Not correct, I tried to set the ...
2
votes
1
answer
674
views
How often does a Linux check it's /etc/localtime file
I am trying to troubleshoot a problem. Some very helpful information would lead me to a solution is:
Often does Linux check the /etc/localtime file?
Additionally if there is a configuration file to ...
2
votes
0
answers
731
views
Hardware Clock (RTC) Stuck / Will Not Increment
After we rebooted one of our servers (RHEL), we noticed that it would hang when entering GRUB. The problem was the countdown in GRUB (Booting in 5... 4......) was not counting down, and was stuck at ...