Database /usr/share/astguiclient/AST_VDhopper.pl --debugX
![Post Post](./styles/vicidial/imageset/icon_post_target.gif)
Here is another interesting one. On my new 3.1.6 install, as listed below, I get no leads in hopper.
In the crontab of the Database server there is an entry:
### updater for VICIDIAL hopper
* * * * * /usr/share/astguiclient/AST_VDhopper.pl -q
However, if I run it manually I get the following error:
db1:~ # /usr/share/astguiclient/AST_VDhopper.pl -q
DBI connect('asterisk:localhost:3306','cron',...) failed: Can't connect to local MySQL server through socket '/var/run/mysql/mysql.sock' (2) at /usr/share/astguiclient/AST_VDhopper.pl line 273
Couldn't connect to database: Can't connect to local MySQL server through socket '/var/run/mysql/mysql.sock' (2) at /usr/share/astguiclient/AST_VDhopper.pl line 273.
You have new mail in /var/mail/root
Putting this entry in any of the Dialers' crontab works.
In the crontab of the Database server there is an entry:
### updater for VICIDIAL hopper
* * * * * /usr/share/astguiclient/AST_VDhopper.pl -q
However, if I run it manually I get the following error:
db1:~ # /usr/share/astguiclient/AST_VDhopper.pl -q
DBI connect('asterisk:localhost:3306','cron',...) failed: Can't connect to local MySQL server through socket '/var/run/mysql/mysql.sock' (2) at /usr/share/astguiclient/AST_VDhopper.pl line 273
Couldn't connect to database: Can't connect to local MySQL server through socket '/var/run/mysql/mysql.sock' (2) at /usr/share/astguiclient/AST_VDhopper.pl line 273.
You have new mail in /var/mail/root
Putting this entry in any of the Dialers' crontab works.