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.

Filter by
Sorted by
Tagged with
0
votes
0answers
241 views

Weird CentOS server behavior time zones. 2 same setttings, different dates

I have some strange issue regarding my timezone: 'America/Santiago'. During the year, we have 2 different timezones; during winter we are at GTM-4, and during summer, we are at GMT-3. I have 2 ...
0
votes
2answers
62 views

Docker container time 2 hours behind when TZ=CEST

I try to run a Docker container with the same timezone as my Docker host. The host timezone is CEST. When I run : $ date Thu Apr 16 11:04:11 CEST 2020 $ docker run -e TZ=CEST debian:buster date Thu ...
3
votes
0answers
84 views

Alpine Linux timezone doesn't stick if tzdata is removed

This used to work to set the timezone. I have a container on Alpine 3.9.4 where it worked: RUN apk add --no-cache tzdata ENV TZ America/Chicago RUN apk del tzdata I'm now creating a Docker container ...
2
votes
1answer
59 views

What time zone does windows event logs show

I have a doubt on the time zone shown in the windows event logs. I had read that if I export the windows event logs from another machine and open it in my machine which has a different time zone, the ...
0
votes
0answers
29 views

Server return wrong date, late by 20 min (timezone & all info has been set properly)

I had issue with my program because the server itself return a wrong date. By time I run date it return : Sun Dec 15 22:25:22 EST 2019. But it's actually wrong suppose real value is Sun Dec 15 22:45:...
6
votes
2answers
178 views

CentOS not considering daylight saving on timezone

In Brazil, this year, the president decided we should not have daylight saving. And because of that my Centos 8 server is with the time wrong, I mean, when I use date the time shown is wrong by 1 hour....
18
votes
2answers
2k views

Invalid time zone 'UTC'

Listing the available timezones shows 'UTC' $ timedatectl list-timezones UTC Setting it to UTC fails claiming UTC is "invalid". $ timedatectl set-timezone UTC Failed to set time zone: Invalid time ...
0
votes
0answers
139 views

Cacti 0.8.8h Time Zone Change

I have a Cacti node with version 0.8.8h running on Centos-release-6-7.el6 But am unable to find a direct approach in changing the time zone for the graphs in Cacti. Reference article stating to ...
0
votes
1answer
253 views

Nginx logs for multiple timezones

In my nginx config, I have several servers block. Each block has its own access/error log in different path. server { server_name 1 access_log /path1/access_log <-- use UTC } server { ...
1
vote
2answers
64 views

Wrong Localtime distributed by Puppet 4.8

I've encouter some problems with my module Timezone in Puppet. So to make it short and clear, I'm in an internship and my boss gave me an assignement : Fix the automated creation of a VM. The ...
23
votes
5answers
22k views

How to install tzdata on a ubuntu docker image?

I have the following line in the Dockerfile. RUN apt-get install -y tzdata When I run it, it asks for my input. After I provided my input, it hung there. Does anybody know how to solve this problem? ...
1
vote
3answers
1k views

Docker: how to sync date between a CentOs host and a Debian container?

I have a CentOs host running a docker Debian container. The container has the wrong localtime and timezone: how can I synchronize it with the host date? I'm trying with mounting volumes on the ...
4
votes
1answer
1k views

OpenShift: Cronjob is executed in wrong timezone despite master configuration is correct

I have a configured a cronjob in OpenShift. Its crontab entry looks like this: spec: schedule: "0 3 * * 1-5" jobTemplate: So it should run at 03:00 in the morning on weekdays. All cluster nodes ...
0
votes
1answer
661 views

Incorrect timezone in PHP error logs

The timestamps in my PHP error log are being displayed in UTC. I want them to display in my local timezone. The date.timezone property in my php.ini file is set to the correct timezone. The output of ...
0
votes
1answer
324 views

Update tzdata on RHEL4 with no RPM from RedHat

I have an RHEL4 server with no connectivity to Internet. (Of course, I can scp files into that server from my network). RHEL4 is out of support and RedHat no longer releases tzdata update RPMs for it. ...
0
votes
2answers
168 views

Fail to set EEST timezone

I have a server which is set to EEST timezone (East European Summer Time). I'm trying to configure another server to this timezone, but I fail to find appropriate timezone in /usr/share/zoneinfo Any ...
0
votes
1answer
2k views

Trying to set date time within ubuntu based docker container

Within my docker container I run: root@77defb7a21e5:/# lsb_release -a No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux 8.9 (jessie) Release: 8.9 Codename: ...
1
vote
1answer
174 views

Will changing a Linux server timezone cause issues?

I have a Ubuntu 14.04 server running on a cloud instance hosted in another time zone. Will changing the timezone using the below, cause issues with programs running on the server? $ echo "...
0
votes
0answers
458 views

AWS RDS MySQL: Populate Timezone Tables

I'm using an AWS RDS MySql (5.7.19) installation and I need to do some date conversions. Most docs say that you need to have the timezone tables populated, to do anything. https://stackoverflow.com/...
0
votes
1answer
68 views

Configuring timezones on Debian based NTP

I've set up a local NTP server on Debian. In ntp.conf I configured pool.ntp.org as the NTP server(s) to sync time with and my local subnet broadcast IP for my NTP server. The local NTP server works ...
2
votes
1answer
13k views

Docker - Timezones in containers not same as on host

In all my running docker containers the containers system time is set to UTC whereas on my host (debian) its CEST. Why dont they sync automaticly? How do i make them set the right time when bringing ...
2
votes
2answers
3k views

FreeBSD: how to syncronize the system clock with the hardware clock in bash?

I am writing a script that synchronizes the system clock with the hardware clock (aka RTC, or CMOS clock) assuming that no Network Time Protocol (NTP) daemon is running. I am running in a virtual ...
6
votes
1answer
14k views

how to use TimeZone with Cron tab

I run a job at specific date[Client time not local time] to send email to my clients. I use cpanel cron job i tried to use cron job with time zone but it still sending in my local time zone 32 16 ...
9
votes
2answers
7k views

outlook 2016 (office 365) using incorrect time zone for emails

I have two users in Taipei time zone. Both are using PCs with system time correctly set to Taipei time. Both have an Office 365 E3 Enterprise account on the same tenant and have Office 2016 ...
0
votes
1answer
38 views

Unable to confirm timezone while setting crontab for different unix users

On our production server, UCT timezone has been set for server i.e. for root user but for local technical user different timezone is set in .base_profile. I want to set cron as per CET but server ...
5
votes
3answers
685 views

Weird CentOS server behavior time zones

I have purchased a CentOS 6.8 dedicated server to migrate from shared hosting, and I'm having trouble with the time zones not displaying properly. I have changed the php.ini time zone to Europe/...
0
votes
2answers
2k views

zimbra: timezone not changing despite multiple attempts

I am using Zimbra ZCS8 for my company's email service. When any user receives or sends an email, the timezone being used is GMT-10. My timezone (and the one I need in the email server) is GMT-5. ...
0
votes
1answer
337 views

PST timezone represented as UTC (Ubuntu 14.04)

Received an error earlier this afternoon that the time was wrong. Investigated it and found out that the time on the server (represented as PST) was few minutes ahead of local time. I ran the ...
1
vote
1answer
44 views

httpd logs show different time then machine

I am having an issue with my webserver, in that the logs that apache is writing have a different timestamp then my machine. This is causing some issues with other services parsing this file.. $user@...
11
votes
1answer
631 views

Can clients learn their time zone on a network configured using RA?

I found that there are some clients which when they are on an IPv4 network learn their current time zone through DHCP option number 101. On an IPv6-only network where an IP prefix is advertised by ...
0
votes
0answers
130 views

Time strange things

On a QEMU main host, I have many hosted centos VM running. For test purpose, I change system date/time on these VM, but not on the main host. I get strange behavior when getting dates via cpp calls. ...
2
votes
1answer
786 views

Configure DNS logging Time zone to UTC

I want to print DNS log into a file. However, my server time zone is GMT +7 and I'm not allowed to change its time zone to UTC. Could we configure the DNS (ISC BIND 9.10.x) to use the UTC Time zone, ...
2
votes
1answer
480 views

Centos 6 Timezone Wrong

I am trying to set my Centos 6 VPS to GMT timezone. I tried a sudo ln -s /usr/share/zoneinfo/GMT /etc/localtime Which works fine. However when I run date it returns: Tue Oct 4 05:09:32 GMT 2016 ...
12
votes
2answers
20k 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
1answer
508 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
0answers
58 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 ...
17
votes
1answer
31k 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 ...
7
votes
2answers
4k 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
0answers
145 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
1answer
608 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
2answers
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
1answer
785 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
4answers
21k 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
1answer
77 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
1answer
297 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
0answers
6k 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 -...
4
votes
4answers
9k 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
2answers
682 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
1answer
817 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
1answer
202 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 ...