time synchronization problem

All installation and configuration problems and questions

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

time synchronization problem

Postby THUFIR » Wed Mar 25, 2015 6:21 pm

I'm getting:

Code: Select all
There is a time synchronization problem with your system, please tell your system administrator


Go Back




I saw in other threads that the client timezone had to match the server -- why? I have the server using UTC, as configured through Yast. The agent pc (mac in this case), has a different timezone and might be out of synch, yes, but why should the server reject the connection on that basis?


The server shows local GMT -5 from admin reports interface. I didn't see a UTC option in the dropdown list for the server. Pardon, didn't see a database time in reports.


screens show:

Code: Select all
linux-k7qk:~ #
linux-k7qk:~ #
linux-k7qk:~ # screen -ls
There are screens on:
   4139.ASTVDremote   (Detached)
   4136.ASTVDauto   (Detached)
   4133.ASTlisten   (Detached)
   4130.ASTsend   (Detached)
   4127.ASTupdate   (Detached)
   3520.asterisk   (Detached)
   3515.astshell20150325190809   (Detached)
   2947.ASTemail   (Detached)
   2945.ASTVDadFILL   (Detached)
   2943.ASTfastlog   (Detached)
   2940.ASTVDadapt   (Detached)
11 Sockets in /var/run/screens/S-root.

linux-k7qk:~ #


It also alternates with:

Code: Select all
 No one is in your session: 8600052
Go Back

Call Agent Again


for the same login session.


see also:

http://www.eflo.net/VICIDIALforum/viewtopic.php?t=7862
ViciBox Redux v.6.0.3-141118 from .iso | Single Server | No Digium/Sangoma Hardware | No Extra Software After Installation | AMD Phenom(tm) II X6 1090T Processor | 8GiB RAM
THUFIR
 
Posts: 109
Joined: Fri May 02, 2014 10:46 pm

Re: time synchronization problem

Postby bobchaos » Fri May 01, 2015 5:39 pm

Time sync is an absolute necessity. The system needs to know time for just about everything. How can it check that an agent is in call if it doesn't know what time it is? How does the system determine whether or not it's about to break the law (by dialing outside legal hours) if it doesn't know what time it is? It's a real time system, and it can't operate in real time if all it's components can't agree on what time it is!

Not only do you need to set the timezones on all your machines, you also need to configure an NTP server and make sure every single device that interacts with Vicidial uses that single time source. You can have machines in different timezones of course, but the source must be unique.

If you do have time properly synced and it still doesn't work, usually it's because you're missing the cron jobs that run the Admin scripts but that doesn't seem to be your case as you'd be missing some screens and that looks like all of them (I think).
bobchaos
 
Posts: 171
Joined: Fri Jan 06, 2012 12:46 pm


Return to Support

Who is online

Users browsing this forum: No registered users and 80 guests