Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N
date; hwclock; ll /etc/local*; cat /etc/php5/apache2/php.ini | grep timezone; grep 'connections' /etc/my.cnf; VARDB_pass=`awk '/VARDB_pass/{print $NF}' /etc/astguiclient.conf`; DB_SERVER=`awk '/VARDB_server/{print $NF}' /etc/astguiclient.conf`; mysql asterisk -h$DB_SERVER -u cron -p$VARDB_pass -e "show variables like '%zone%'"; mysql asterisk -h$DB_SERVER -u cron -p$VARDB_pass -e "select local_gmt from servers";
Wed Aug 29 13:43:45 EDT 2018
2018-08-29 13:43:45.204670-0400
lrwxrwxrwx 1 root root 36 Aug 16 18:36 /etc/localtime -> /usr/share/zoneinfo/America/New_York
; Defines the default timezone used by the date functions
; http://php.net/date.timezone
date.timezone = America/New_York
max_connections=2000
+------------------+--------+
| Variable_name | Value |
+------------------+--------+
| system_time_zone | EDT |
| time_zone | SYSTEM |
+------------------+--------+
+-----------+
| local_gmt |
+-----------+
| -5.00 |
+-----------+
Wed Aug 29 18:16:42 EDT 2018
2018-08-29 18:16:42.060798-0400
lrwxrwxrwx 1 root root 36 Aug 29 18:06 /etc/localtime -> /usr/share/zoneinfo/America/New_York
; Defines the default timezone used by the date functions
; http://php.net/date.timezone
date.timezone = America/Phoenix
max_connections=2000
+------------------+--------+
| Variable_name | Value |
+------------------+--------+
| system_time_zone | EDT |
| time_zone | SYSTEM |
+------------------+--------+
+-----------+
| local_gmt |
+-----------+
| -5.00 |
| -5.00 |
| -5.00 |
+-----------+
nano /etc/php5/apache2/php.ini
Thu Aug 30 00:20:39 UTC 2018
2018-08-30 00:20:39.935881+0000
lrwxrwxrwx 1 root root 36 Aug 29 22:06 /etc/localtime -> /usr/share/zoneinfo/America/New_York
; Defines the default timezone used by the date functions
; http://php.net/date.timezone
date.timezone = America/New_York
max_connections=2000
+------------------+--------+
| Variable_name | Value |
+------------------+--------+
| system_time_zone | EDT |
| time_zone | SYSTEM |
+------------------+--------+
+-----------+
| local_gmt |
+-----------+
| -5.00 |
| -5.00 |
| -5.00 |
+-----------+
Wed Aug 29 18:16:42 EDT 2018
Thu Aug 30 00:20:39 UTC 2018
devin.it3 wrote:Should I be unchecking hardware clock set to UTC on all of the servers? They all show as UTC after I made the timezone change after the fact.
Thu Aug 30 01:37:21 UTC 2018
2018-08-30 01:37:21.670383+0000
lrwxrwxrwx 1 root root 36 Aug 30 01:36 /etc/localtime -> /usr/share/zoneinfo/America/New_York
; Defines the default timezone used by the date functions
; http://php.net/date.timezone
date.timezone = America/New_York
max_connections=2000
+------------------+--------+
| Variable_name | Value |
+------------------+--------+
| system_time_zone | EDT |
| time_zone | SYSTEM |
+------------------+--------+
+-----------+
| local_gmt |
+-----------+
| -5.00 |
| -5.00 |
| -5.00 |
+-----------+
williamconley wrote:If you set it to America/New York, it should no longer be UTC. So ... try it again, reboot, change it to Zimbabwe and then back to New York (rebooting after each) ... something.
Users browsing this forum: Google [Bot] and 63 guests