Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
1answer
23 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
43 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 ...
2
votes
1answer
2k 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? ...
0
votes
2answers
204 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 ...
1
vote
1answer
176 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
136 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
117 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
53 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
1k 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
128 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
293 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
59 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 ...
1
vote
1answer
7k 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
2k 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 ...
4
votes
1answer
9k 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
6k 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
34 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
513 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
841 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
300 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
42 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@...
12
votes
1answer
600 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
116 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
547 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, ...
0
votes
1answer
312 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 ...
8
votes
2answers
14k 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
383 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
53 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 ...
14
votes
1answer
20k 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 ...
6
votes
2answers
3k 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
122 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
415 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
3k 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
647 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'...
0
votes
4answers
14k 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
73 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
219 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
5k 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 -...
3
votes
4answers
6k 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
584 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
723 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
175 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 ...
109
votes
9answers
176k 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
1answer
382 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
2answers
2k 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
1answer
1k 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 <pjb@example.com> RUN apt-get update && apt-get install -y build-essential ntp cron ADD config/...
5
votes
1answer
2k 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?
0
votes
1answer
352 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
2answers
5k 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
0answers
123 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 ...