retrieve_op_conf_from_mysql.pl

thoule
Posts: 16
Member Since:
2006-10-12

Hi -
I'm trying to get my trixbox working. When I try to apply a change in FreePBX, I get the error below. I try to run the script from the command line, but it seems like I need to set some environment variables? Any idea what the problem is? I can't reinstall as this is a production machine.
thanks
Todd

#######START OUTPUT#####
Checking for PEAR DB..OK
Checking for PEAR Console::Getopt..OK
Checking for /etc/amportal.conf ..OK
Bootstrapping /etc/amportal.conf ..OK
Parsing /etc/amportal.conf ..OK
Parsing /etc/asterisk/asterisk.conf ..OK
Connecting to database..OK
Connecting to Asterisk manager interface..OK
Added to globals: ASTETCDIR = /etc/asterisk
Added to globals: ASTMODDIR = /usr/lib/asterisk/modules
Added to globals: ASTVARLIBDIR = /var/lib/asterisk
Added to globals: ASTAGIDIR = /var/lib/asterisk/agi-bin
Added to globals: ASTSPOOLDIR = /var/spool/asterisk
Added to globals: ASTRUNDIR = /var/run/asterisk
Added to globals: ASTLOGDIR = /var/log/asterisk
Added to globals: CWINUSEBUSY = true
Added to globals: AMPMGRUSER = admin
Added to globals: AMPMGRPASS = amp111
[FATAL] retrieve_op_conf_from_mysql.pl returned with an error code 13
#######END OUTPUT#####

####from command line
[root@localhost bin]# ./retrieve_op_conf_from_mysql.pl
Notice: no Queues defined
Notice: no sip trunks defined
Notice: no iax trunks defined
Notice: no AMP Users defined
#### end command line