Page 1 of 1
time synchronization error
Posted:
Wed Jan 30, 2013 11:18 am
by rheymzkilove
SERVER - DESCRIPTION IP ACT LOAD CHAN DISK TIME
dbweb DataBase Only - DO NOT DELETE 192.168.45.145 Y 0 - 100% 0 1%
dtelephony Server dtelephony 192.168.45.146 Y 9 - 4% 2 19% 2013-01-30 16:13:03
PHP Time 2013-01-31 00:13:22
DB Time 2013-01-30 16:13:22
hi guys even i follow some in how to fix this time sync error in forumz, it still this occur my Db and telepony are desame time but my php time is different , any new instruction on this
thanks
skype ID : rheymzkilove
Vicibox 4.0.1 from .iso | Vicidial 2.6-375a Build 120831-1523 | Asterisk 1.4.44 | Single Server | No Digium/Sangoma Hardware | No Extra Software After Installation | VMware 9.0
Re: time synchronization error
Posted:
Wed Jan 30, 2013 11:38 am
by geoff3dmg
you need to change the PHP timezone in /etc/php5/apache2/php.ini Change 'date.timezone' to your local tinezone.
Re: time synchronization error
Posted:
Wed Jan 30, 2013 1:53 pm
by williamconley
geoff3dmg wrote:you need to change the PHP timezone in /etc/php5/apache2/php.ini Change 'date.timezone' to your local tinezone.
actually, it needs to match the OS timezone
and be careful as often the time synch error can also be a result of dropping packets between the agent/server
Re: time synchronization error
Posted:
Mon Feb 04, 2013 12:50 pm
by gattaba
hi
I had this problem several times and I had to change the address of the server in "server-admin-VICIDIAL Server IP Address" to reset the current address. and you also change the IP addresses of phones
Re: time synchronization error
Posted:
Mon Feb 04, 2013 2:52 pm
by rheymzkilove
gattaba wrote:hi
I had this problem several times and I had to change the address of the server in "server-admin-VICIDIAL Server IP Address" to reset the current address. and you also change the IP addresses of phones
can you teach me how to do that buddy
thanks
Re: time synchronization error
Posted:
Mon Feb 04, 2013 3:30 pm
by williamconley
what exactly do you mean "php time is different"? On what web page? Admin or Agent?
Re: time synchronization error
Posted:
Tue Feb 05, 2013 5:52 am
by gattaba
hi rheymzkilove
you must first synchronize the system time and time bios with your local time, if you set your ip adress execute the command update_server_ip. Then on the admin interface "server-admin-VICIDIAL Server IP Address" you replace the ip address with your current address.
Then on the same page with you on administration "admin-phone" replaces the address you server_ip for all phones by your current adress if not already replaced automatically.
Re: time synchronization error
Posted:
Tue Feb 05, 2013 12:46 pm
by bmorrison
Maybe he's asking how to change php's timezone?
If so:
vi /etc/php5/apache2/php.ini
Find the line with the timezone flag (around line 999):
- Code: Select all
date.timezone =
Edit with the appropriate timezone (a list of their names can be found here:
http://php.net/manual/en/timezones.php) Hitting the A key puts you into insert mode in vim. Save the file (hit ESC and then type :wq and hit ENTER). Restart apache2 with rcapache2 restart.
Done.
Re: time synchronization error
Posted:
Tue Feb 05, 2013 4:18 pm
by rheymzkilove
my vici is ok now i install wanpipe thru wanpipe-compile, in all the server im using vicibox 4.0.1
thanks
skype ID : rheymzkilove
Vicibox 4.0.1 from .iso | Vicidial 2.6-375a Build 120831-1523 | Asterisk 1.4.44 | Single Server | No Digium/Sangoma Hardware | No Extra Software After Installation | VMware 9.0
rheymzkilove