time synchronization error

All installation and configuration problems and questions

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

time synchronization error

Postby rheymzkilove » Wed Jan 30, 2013 11:18 am

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
rheymzkilove
 
Posts: 41
Joined: Fri Oct 19, 2012 2:57 pm

Re: time synchronization error

Postby geoff3dmg » Wed Jan 30, 2013 11:38 am

you need to change the PHP timezone in /etc/php5/apache2/php.ini Change 'date.timezone' to your local tinezone.
Vicibox 5.03 from .iso | VERSION: 2.10-451a BUILD: 140902-0816 | Asterisk 1.8.28.2-vici | Multi-Server | Amfeltec H/W Timing Cards | No Extra Software After Installation | Dell PowerEdge 1850 | Pentium 4 'Prescott' Xenon Quad @ 3.40GHz
geoff3dmg
 
Posts: 403
Joined: Tue Jan 29, 2013 4:35 am
Location: Lancashire, UK

Re: time synchronization error

Postby williamconley » Wed Jan 30, 2013 1:53 pm

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 :)
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: time synchronization error

Postby gattaba » Mon Feb 04, 2013 12:50 pm

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
gattaba
 
Posts: 131
Joined: Thu Aug 02, 2012 6:04 am

Re: time synchronization error

Postby rheymzkilove » Mon Feb 04, 2013 2:52 pm

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
rheymzkilove
 
Posts: 41
Joined: Fri Oct 19, 2012 2:57 pm

Re: time synchronization error

Postby williamconley » Mon Feb 04, 2013 3:30 pm

what exactly do you mean "php time is different"? On what web page? Admin or Agent?
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: time synchronization error

Postby gattaba » Tue Feb 05, 2013 5:52 am

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.
gattaba
 
Posts: 131
Joined: Thu Aug 02, 2012 6:04 am

Re: time synchronization error

Postby bmorrison » Tue Feb 05, 2013 12:46 pm

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.
bmorrison
 
Posts: 94
Joined: Wed Jul 09, 2008 11:26 pm
Location: United States

Re: time synchronization error

Postby rheymzkilove » Tue Feb 05, 2013 4:18 pm

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
rheymzkilove
 
Posts: 41
Joined: Fri Oct 19, 2012 2:57 pm


Return to Support

Who is online

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