Vicidial time sync error

All installation and configuration problems and questions

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

Vicidial time sync error

Postby vishalsngh » Thu Apr 28, 2016 1:08 pm

Hi

we had an outage and post rebooting the server, we are getting the below error

nrsvicidb:~ # tail -f /var/log/apache2/error_log
[Thu Apr 28 10:46:11.409894 2016] [php5:error] [pid 17806] [client 10.32.21.15:55310] PHP Warning: mysqli_connect(): (HY000/2002): No such file or directory in /srv/www/htdocs/agc/dbconnect_mysqli.php on line 49, referer: http://192.168.6.234/agc/vicidial.php
[Thu Apr 28 10:46:11.409915 2016] [php5:error] [pid 17806] [client 10.32.21.15:55310] PHP Warning: mysqli_error() expects parameter 1 to be mysqli, boolean given in /srv/www/htdocs/agc/dbconnect_mysqli.php on line 52, referer: http://192.168.6.234/agc/vicidial.php


Pls help!
vishalsngh
 
Posts: 6
Joined: Thu Apr 28, 2016 1:06 pm

Re: Vicidial time sync error

Postby vishalsngh » Sat Apr 30, 2016 2:30 am

The exact error agents are getting is:
"There is a time synchronization problem with your system, pls tell your system administrator."


Any idea?
vishalsngh
 
Posts: 6
Joined: Thu Apr 28, 2016 1:06 pm

Re: Vicidial time sync error

Postby lasthuman » Sun May 01, 2016 8:08 pm

check your database.
Omar Aparicio
skype: omar.aparicio82
https://co.linkedin.com/in/oaparicioit
Vicidial - Goautodial - Asterisk Consultant.
Colombia.
lasthuman
 
Posts: 20
Joined: Thu Jan 24, 2013 2:33 pm
Location: colombia

Re: Vicidial time sync error

Postby williamconley » Thu May 19, 2016 3:05 pm

Get a UPS on that database server.

Here's an example of how to get the name of a crashed table and repair it ... plus an example of how to force check the entire DB and fix it if broken. That takes a lot longer, of course, but works better sometimes.

Code: Select all
mysql asterisk -e "show table status where comment like '%crashed%'" --user=cron -p1234

mysqlcheck --auto-repair  --user=cron -p1234 asterisk vicidial_log_extended

mysqlcheck --all-databases --auto-repair --user=cron -p1234
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!)


Return to Support

Who is online

Users browsing this forum: Majestic-12 [Bot] and 103 guests