Questions tagged [timezone]
A time zone is a region on Earth that has a uniform standard time for legal, commercial, and social purposes. It is convenient for areas in close commercial or other communication to keep the same time, so time zones tend to follow the boundaries of countries and their subdivisions.
202
questions
14
votes
2
answers
36k
views
Disable Daylight Saving Time (DST) Changes in Linux
A few weeks ago, it is announced (by The Energy and Natural Resources Ministry of Turkey) that DST will be permanent and GMT+3 will be used forever in the country.
Currently, timezone of our Linux ...
0
votes
1
answer
734
views
CentOS 7 locale settings changed after Yum update, how can I fix them?
I've been having a number of problems with locale settings and the JVM recently. But this is bigger than that now.
I did a Yum update today, full update of everything. It hadn't been done in some ...
0
votes
0
answers
119
views
Ubuntu CDT time lags by 1.5 min
My servers are Ubuntu 14.04 on AWS. Our application actually needs time in CDT. By default it was UTC, so I created a sysm link for localtime.
ll /etc/localtime
lrwxrwxrwx 1 root root 27 Sep 14 03:53 ...
44
votes
4
answers
142k
views
What time zone is a cron job using?
I'm guessing there's a difference between my PHP time and the server time.
When I check the current time in PHP, it's showing that MST is being used. However, cron jobs aren't running at the correct ...
8
votes
2
answers
7k
views
Red hat Linux + TIME ZONE CONFIGURATION + details from clock file
In order to configure the Time Zone on red hat Linux machine ( version 5 and 6 )
need to configure
the file:
/etc/sysconfig/clock
And create a symbolic link between
/etc/localtime to /usr/share/...
0
votes
0
answers
257
views
Changing timezone in all the servers of a cluster: unexpected side-effects to consider
We want to change the timezone of a cluster of Ubuntu machines from PT to UTC (so we move a few hours into the future).
The change would be done by changing the servers in the /etc/ntp.conf file (...
1
vote
1
answer
874
views
Linux timezone not changing
Unable to change the timezone to PST8PDT even after trying all the possible methods
[root@test ~]# date
Tue May 10 07:24:18 EDT 2016
[root@test ~]# ll /etc/localtime
lrwxrwxrwx 1 root root 27 May 10 ...
0
votes
2
answers
4k
views
Graph zabbix and time navigator have different time periods
why the time zone is different between the server zabbix ubuntu and console of zabbix ?
the server time zone is ok (utc) but not right in the console(browser)
l tried the command
dpk-reconfigure ...
-2
votes
1
answer
1k
views
How to set a timezone of an E2 instance?
I have a Ubuntu server on Amazon AWS EC2. When I log in there, I see there the following system information:
System information as of Mon Apr 11 06:42:30 UTC 2016
I am currently in LA, CA - so here'...
1
vote
5
answers
35k
views
How can I set AWS EC2 TimeZone?
I have two EC2 instances operating in the Oregon location (us-west-2c). Each of these when I issue the command date returns a value 7 hours ahead of what I would expect.
I have tried adjusting the ...
0
votes
1
answer
126
views
Linux screen(or java) with different date of system
I having a problem with screen on Centos 7. The system time is correct but on screen application theres a diference of 3 hours.
The system output(correct):
[root@Server ~]# date
Ter Fev 23 01:27:11 ...
1
vote
1
answer
433
views
Adjust time settings on server: change time or timezone in OS, or configure graphite settings?
So I have a server collecting metrics via StatsD, which get aggregated and shown via the Graphite webapp.
If I mark the Auto-Refresh option in my chart, the time doesn't match with the time I'm on. I'...
6
votes
0
answers
8k
views
Why doesn't "timedatectl list-timezones" list ALL timezones? [closed]
Why does timezonectl not list all timezones available?
$ timedatectl
⋮
Timezone: UTC (UTC, +0000)
⋮
$ timedatectl list-timezones | grep -i utc
-no output-
$ timedatectl list-timezones | wc -...
10
votes
4
answers
24k
views
Execute copy and set only if something changed
For Ansible, I have a role that sets the time zone and populates the setting the (Ubuntu) base system,
- name: set timezone
copy: content='Europe/Berlin'
dest=/etc/timezone
owner=...
7
votes
2
answers
925
views
Setting timezone to UTC in unattended install
In FreeBSD, I'd like to set the timezone to UTC in an unattended way. If I run tzsetup, and select "yes" and "a" in the dialogs, for choosing UTC, I see that there are no /etc/localtime files present.
...
0
votes
1
answer
1k
views
Dynamic timezone change for OpenWrt (Chaos Calmer), NTP
I have this idea for my routers running OpenWrt, since for them there is no way of knowing in what time zone they are by default. What if there was a list of lets say three time servers each per one ...
0
votes
1
answer
213
views
How exactly date/time works in MySQL with timezones?
My understanding was:
everything is UTC internally
dates are displayed in @@session.time_zone timezone for current session
if I do INSERT with +02:00 TZ set and insert 2015-05-15 10:54 it is parsed ...
258
votes
12
answers
582k
views
Docker Container time & timezone (will not reflect changes)
Where do Docker containers get their time information? I've created some containers from the basic ubuntu:trusty image, and when I run it and request 'date', I get UTC time.
For awhile I got around ...
1
vote
1
answer
602
views
MySQL PID Errors
While attempting to change the MySQL server timezone to CDT to match the Centos sytem time, something has messed up. I edited the my.conf in /etc/ in vim logged in to SSH as root, and saved it. On ...
1
vote
2
answers
5k
views
Time Zone keeps changing after sync with PDC in different site
Background: I have a single domain, running in 2 sites that is connected using Site-to-Site VPN.
Site A is running in time zone 2:00+ UTC
Site B is running in time zone 4:00+ UTC
DCs are correctly ...
0
votes
1
answer
3k
views
Timezone issue with cron inside a Debian Docker container
Here is my Dockerfile (or at least the interesting part):
FROM debian:7
MAINTAINER pjb <[email protected]>
RUN apt-get update && apt-get install -y build-essential ntp cron
ADD config/...
6
votes
1
answer
3k
views
Why do I need to use systemd to set my timezone in RHEL7?
I used to be able to edit /etc/sysconfig/clock, but now I need to use timedatectl, which I believe is a systemd command.
What has that got to do with booting the system?
1
vote
1
answer
504
views
Timezone change in RHEL4.9
I wanted to change timezone in my rhel4.9 box from IST to GMT. What steps do i have to follow. And will this require a restart in applications or reboot of the server??
3
votes
2
answers
6k
views
Should /etc/localtime be a symlink or a file?
When I first install a RHEL system, I select a timezone. Examining the /etc/localtime, I see that this is a copy of one of the files from /usr/share/zoneinfo.
However, when I look into changing the ...
1
vote
0
answers
136
views
Server time won't remain set
So I've got a Linux machine running CentOS 6.5 and I've been trying to correct its timezone. I got it set once but for some reason it won't stay to what I set it as. The following steps I have ...
2
votes
1
answer
401
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 ...
3
votes
1
answer
15k
views
Set User Time Zone by GPO on Windows Server 2012
I am trying to set the time zone of users in Windows Server 2012 by using a user GPO.
To be more precise, I have an application which users can log into by RDP, what I am trying to do is when they ...
1
vote
1
answer
8k
views
What time zone are the description timestamps in Windows Event log (UTC?)
Log Name: System
Source: LsaSrv
Date: <date> <time>
Event ID: 45058
Task Category: Logon Cache
Level: Information
Keywords: Classic
User: N/A
Computer: computername.contoso.com
Description:...
3
votes
1
answer
7k
views
Server time is off by 5 minutes [closed]
I need to create a cron job to run a script. Changed the server timezone to Eastern following the first option in this guide. The timezone was changed successfully but when I run date I'm noticing ...
0
votes
2
answers
2k
views
Amazon RDS - UTC daylight savings
I haven't been able to get AWS support on the line and need an answer asap - do the SQL instances on Amazon Web Services RDS use daylight savings? I know the timezone is UTC but not sure if it uses ...
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 ...
1
vote
0
answers
46
views
Will the timezone be converted across geographical areas?
I'm using Active directory in Windows server 2008 R2. My domain is in a particular timezone and my client say X is in another timezone. Now I have implemented certain restrictions that X cannot logon ...
2
votes
1
answer
225
views
Should each machine in a high availability cluster have same time zone?
I'm curious if people with experience think it makes sense to give all machines in a replication cluster the same time zone and time regardless of physical location to help ensure that dates are ...
1
vote
1
answer
2k
views
CentOS 6.5 server time zone won't persist?
I'm setting my timezone like so:
ln -sf /usr/share/zoneinfo/Europe/London /etc/localtime
It works fine, I check with date and all is good.
But then a few days later I'll realise it's reset itself ...
0
votes
1
answer
301
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`"
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
3k
views
graphite queries and confusion around time
I am doing a http query on my graphite server:
curl 'http://example.com/render?from=06:04_20140430&until=06:08_20140430&target=servers.server1.memory.MemFree&rawData=true'
servers.hub-eu....
3
votes
1
answer
18k
views
Why did my Windows Server 2012 R2 timezone change overnight?
When I logged into my workstation this morning, the timezone had been changed from Eastern to Pacific. In the event viewer I see the following three events, all at 4:12:15 AM.
It looks like the ...
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/...
14
votes
1
answer
26k
views
What time zone is displayed in windows event logs? When viewing saved log from another machine?
What time zone is being displayed here?
GMT? System time zone? What happens when I export the log and view it on a second machine. Does it use the first system's time zone or the second?
Thanks!
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 ...
0
votes
2
answers
243
views
different time zone server
I have a server with ls ubuntu 12.04 apache2 and mysql.
I have two sites on this server, example.com and example.org. The example.com is a site for a country that has timezone -4 (UTC-4) and example....
1
vote
2
answers
20k
views
Setting domain computers Time and Timezone from domain controllers
I have found that we can set computers in a domain to sync their time from the domain controllers. Similarly, is it possible to centrally manage domain controllers' time zones?
0
votes
1
answer
2k
views
How to set MySQL's internal time zone support?
Today MySQL at Facebook posted the following about MySQL performance:
Today we found a performance problem in a completely unexpected place - if TIMESTAMP data type is being used and MySQL is ...
1
vote
2
answers
649
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 ...
18
votes
2
answers
42k
views
PostgreSQL timezone does not match system timezone
I have several PostgreSQL 9.2 installations where the timezone used by PostgreSQL is GMT, despite the entire system being "Europe/Vienna". I double-checked that postgresql.conf does not contain ...
2
votes
1
answer
671
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 ...
-1
votes
2
answers
4k
views
Windows Event Log SystemTime format [closed]
The follwing timestamp was created during an Windows Security Log
TimeCreated
[ SystemTime] 2013-10-07T07:31:09.122037600Z
In this timestamp I can't understand what 122037600Z part means? Do ...
1
vote
0
answers
995
views
CentOS - Why is NY/EST Timezone being considered MST?
It seems as if the server thinks New York is MST, despite all my efforts of trying to set it to EST. Just what is going on here? The time in New York is actually 2:22PM EST, but my server is stuck 3 ...
1
vote
2
answers
2k
views
Server timezone changed to PHT but logs still written in MST?
A couple of days ago, I updated the timezone on an Ubuntu 12.04 LTS server using $ sudo dpkg-reconfigure tzdata.
Today I noticed while tailing the mail log, that the times were still 15 hours behind. ...