Page 1 of 1

AGI not running?

PostPosted: Wed Sep 19, 2007 1:23 pm
by s0lid
hi, im having a problem running AGI when i try to dial i get this froma sterisk console

Sep 19 14:20:59 WARNING[3935]: res_agi.c:210 launch_netscript: Connect to 'agi://127.0.0.1:4577/call_log' failed: Connection refused

what seems to be the problem?

PostPosted: Wed Sep 19, 2007 2:20 pm
by Op3r
check /etc/astguiclient.conf for the password for mysql.

check if mysql is running.

if it is, then check if you have asterisk-perl .

PostPosted: Fri Sep 21, 2007 11:14 am
by mcargile
Please post the results of:
Code: Select all
screen -ls


Also try running the FastAGI_log script on the command line. It should output why it is failing to start up. Do so by running the following command (assuming you install the software in the default location).
Code: Select all
/usr/share/astguiclient/FastAGI_log.pl
If there are any errors please post them, if not and the program runs for longer than a minute or so you probably do not have cron starting on boot up.

PostPosted: Thu Oct 02, 2008 12:36 pm
by wilson
Same problem here, I ran the command and it came back with this.


root@mydomain:/etc/asterisk# /usr/share/astguiclient/FastAGI_log.pl
Can't locate Asterisk/AGI.pm in @INC (@INC contains: /usr/lib/perl5/5.8.8/i486-linux /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/i486-linux /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl .) at /usr/share/astguiclient/FastAGI_log.pl line 133.
BEGIN failed--compilation aborted at /usr/share/astguiclient/FastAGI_log.pl line 133.



There are several suitable screens on:
2543.asterisk (Detached)
2598.ASTupdate (Detached)
2601.ASTsend (Detached)
2604.ASTlisten (Detached)
2607.ASTVDauto (Detached)
2613.ASTVDadapt (Detached)

Any ideas on what is wrong? As far as I can tell I have done everything on the scratch install.

PostPosted: Thu Oct 02, 2008 6:43 pm
by mflorell
You don't have asterisk-perl installed.

PostPosted: Fri Oct 03, 2008 2:37 am
by wilson
Thanks that was the problem.

I have been running vicidial for a while now, I must have had a typo when installing it and did not notice.

What effect other than the error message I was seeing on the CLI would it have had not having asterisk-perl installed?
More to the point what change can I expect to see now?