Time Issue

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Time Issue

Postby ayan07 » Mon Nov 05, 2018 10:29 am

Hi There ,

My Vicibox Server specification is here :

(Vicibox 8.1.2 from .iso | Version 2.14b0.5 | Asterisk 13.21.1 | Express Installation mode | No Digium/Sangoma Hardware | No Extra Software After Installation | Intel Xeon CPU)

Please see my server time log in below :-

vicibox81:~ # date
Mon Nov 5 10:20:05 EST 2018

vicibox81:~ # ls -l /etc/localtime
lrwxrwxrwx 1 root root 30 Nov 5 09:54 /etc/localtime -> /usr/share/zoneinfo/US/Eastern

When I check in my campaign real time report time is showing as "Time : 2018-11-05 15:20:05" ....Time shows as 3 hrs array...

how to synchronize this two different time...

Please Advise...

Roy
ayan07
 
Posts: 27
Joined: Mon Jul 23, 2018 8:21 am

Re: Time Issue

Postby hansg » Mon Nov 05, 2018 10:40 am

Check Default Local GMT Setting in Admin > System Settings
Last edited by hansg on Mon Nov 05, 2018 10:47 am, edited 1 time in total.
Dual Core - 4GB DDR3 - 80GB SSD
Vicibox 9
VERSION: 2.14-751a
BUILD: 200425-0949
SSL Installed
hansg
 
Posts: 129
Joined: Wed May 11, 2016 8:56 pm

Re: Time Issue

Postby ayan07 » Mon Nov 05, 2018 10:42 am

its -5.00 in default local gmt...

Please Advise....
ayan07
 
Posts: 27
Joined: Mon Jul 23, 2018 8:21 am

Re: Time Issue

Postby hansg » Mon Nov 05, 2018 10:47 am

Check Local GMT Setting in Admin > Servers
Dual Core - 4GB DDR3 - 80GB SSD
Vicibox 9
VERSION: 2.14-751a
BUILD: 200425-0949
SSL Installed
hansg
 
Posts: 129
Joined: Wed May 11, 2016 8:56 pm

Re: Time Issue

Postby ayan07 » Tue Nov 06, 2018 3:52 am

its -5.00 in local GMT in Admin > Server & Admin > System Settings...

But still its different time ...

date
Tue Nov 6 09:26:44 UTC 2018

ls -l /etc/localtime
lrwxrwxrwx 1 root root 30 Nov 5 14:54 /etc/localtime -> /usr/share/zoneinfo/US/Eastern

When I check in my campaign real time report time is showing as "Time : 2018-11-06 09:26:44" which is same as dialer time ... but present time in USA Estern is "4:26 AM" exactly here is the time discrepancies...

How to streamline this time issue bcoz i want the dialer time remains exactly same based on real usa estern time...

Please Advise....
ayan07
 
Posts: 27
Joined: Mon Jul 23, 2018 8:21 am

Re: Time Issue

Postby blackbird2306 » Tue Nov 06, 2018 8:50 am

First change your system to right timezone:
Code: Select all
1. Type "yast" in linux cli
System --> Date and Time --> Choose right timezone and save your changes

Next change or verify your php timezone:
Code: Select all
Locate the loaded php.ini file:
php -i |grep "php.ini"  --> my result is "Loaded Configuration File => /etc/php5/cli/php.ini" (please note this is the config for CLI)
this means my php.ini for apache is located in /etc/php5/apache2/ directory (not /etc/php5/cli).

open the php.ini and find this part:
; Defines the default timezone used by the date functions
; http://php.net/date.timezone

verify this line:
date.timezone = US/Eastern

restart apache:
Code: Select all
systemctl reload apache2
Vicibox 6.0.2 from Vicibox_v.6.0.x86_64-6.0.2.iso | Vicidial 2.12-560a build: 160617-1427 | Asterisk 1.8.32.3
blackbird2306
 
Posts: 409
Joined: Mon Jun 23, 2014 5:31 pm

Re: Time Issue

Postby ayan07 » Wed Nov 14, 2018 9:00 am

Thanks blackbird2306 !!! It worked ...

Thanks a lot....

Roy
ayan07
 
Posts: 27
Joined: Mon Jul 23, 2018 8:21 am


Return to Support

Who is online

Users browsing this forum: Google [Bot] and 42 guests