Problem installation freepbx

Hi all

I’ve problem with installation of freepbx 2.5.1 in my debian lenny, i got a lot of errors:

Generating AMP configs…
Generating Configurations.conf, (if Asterisk is not running, you will get an error
In case of error, start Asterisk and hit the red bar in the GUI to generate the Configuraions.conf files
Generating AMP configs…OK
Restarting Flash Operator Panel…OK
Checking voicemail…
ALERT - script tried to increase memory_limit to 104857600 bytes which is above the allowed value (attacker ‘REMOTE_ADDR not set’, file ‘/var/www/admin/common/db_connect.php’, line 88)
Sat, 28 Nov 2009 18:41:37 +0100 - Unable to connect to manager 127.0.0.1:5038 (111): Connection refused
Sat, 28 Nov 2009 18:41:37 +0100 - Unable to connect to manager 127.0.0.1:5038 (111): Connection refused
Module successfully installed

ALERT - script tried to increase memory_limit to 104857600 bytes which is above the allowed value (attacker ‘REMOTE_ADDR not set’, file ‘/var/www/admin/common/db_connect.php’, line 88)
Sat, 28 Nov 2009 18:41:40 +0100 - Unable to connect to manager 127.0.0.1:5038 (111): Connection refused
Sat, 28 Nov 2009 18:41:40 +0100 - Unable to connect to manager 127.0.0.1:5038 (111): Connection refused
Module successfully enabled
installed
Checking featurecodeadmin…
ALERT - script tried to increase memory_limit to 104857600 bytes which is above the allowed value (attacker ‘REMOTE_ADDR not set’, file ‘/var/www/admin/common/db_connect.php’, line 88)
Sat, 28 Nov 2009 18:41:41 +0100 - Unable to connect to manager 127.0.0.1:5038 (111): Connection refused
Sat, 28 Nov 2009 18:41:41 +0100 - Unable to connect to manager 127.0.0.1:5038 (111): Connection refused
Module successfully installed

ALERT - script tried to increase memory_limit to 104857600 bytes which is above the allowed value (attacker ‘REMOTE_ADDR not set’, file ‘/var/www/admin/common/db_connect.php’, line 88)
Sat, 28 Nov 2009 18:41:42 +0100 - Unable to connect to manager 127.0.0.1:5038 (111): Connection refused
Sat, 28 Nov 2009 18:41:42 +0100 - Unable to connect to manager 127.0.0.1:5038 (111): Connection refused
Module successfully enabled
installed
Checking core…
ALERT - script tried to increase memory_limit to 104857600 bytes which is above the allowed value (attacker ‘REMOTE_ADDR not set’, file ‘/var/www/admin/common/db_connect.php’, line 88)
Sat, 28 Nov 2009 18:41:44 +0100 - Unable to connect to manager 127.0.0.1:5038 (111): Connection refused
Sat, 28 Nov 2009 18:41:44 +0100 - Unable to connect to manager 127.0.0.1:5038 (111): Connection refused
Checking if directdids need migrating…already done
updating zap callgroup, pickupgroup…not needed
checking for delay_answer field …already exists
checking for pricid field …added
Checking for Global var RECORDING_STATE…Created
Module successfully installed

ALERT - script tried to increase memory_limit to 104857600 bytes which is above the allowed value (attacker ‘REMOTE_ADDR not set’, file ‘/var/www/admin/common/db_connect.php’, line 88)
Sat, 28 Nov 2009 18:41:45 +0100 - Unable to connect to manager 127.0.0.1:5038 (111): Connection refused
Sat, 28 Nov 2009 18:41:45 +0100 - Unable to connect to manager 127.0.0.1:5038 (111): Connection refused
Module successfully enabled
installed
Checking music…
ALERT - script tried to increase memory_limit to 104857600 bytes which is above the allowed value (attacker ‘REMOTE_ADDR not set’, file ‘/var/www/admin/common/db_connect.php’, line 88)
Sat, 28 Nov 2009 18:41:46 +0100 - Unable to connect to manager 127.0.0.1:5038 (111): Connection refused
Sat, 28 Nov 2009 18:41:46 +0100 - Unable to connect to manager 127.0.0.1:5038 (111): Connection refused

Module successfully installed

ALERT - script tried to increase memory_limit to 104857600 bytes which is above the allowed value (attacker ‘REMOTE_ADDR not set’, file ‘/var/www/admin/common/db_connect.php’, line 88)
Sat, 28 Nov 2009 18:41:47 +0100 - Unable to connect to manager 127.0.0.1:5038 (111): Connection refused
Sat, 28 Nov 2009 18:41:47 +0100 - Unable to connect to manager 127.0.0.1:5038 (111): Connection refused
Module successfully enabled
installed
Checking infoservices…
ALERT - script tried to increase memory_limit to 104857600 bytes which is above the allowed value (attacker ‘REMOTE_ADDR not set’, file ‘/var/www/admin/common/db_connect.php’, line 88)
Sat, 28 Nov 2009 18:41:48 +0100 - Unable to connect to manager 127.0.0.1:5038 (111): Connection refused
Sat, 28 Nov 2009 18:41:48 +0100 - Unable to connect to manager 127.0.0.1:5038 (111): Connection refused
Module successfully installed

ALERT - script tried to increase memory_limit to 104857600 bytes which is above the allowed value (attacker ‘REMOTE_ADDR not set’, file ‘/var/www/admin/common/db_connect.php’, line 88)
Sat, 28 Nov 2009 18:41:50 +0100 - Unable to connect to manager 127.0.0.1:5038 (111): Connection refused
Sat, 28 Nov 2009 18:41:50 +0100 - Unable to connect to manager 127.0.0.1:5038 (111): Connection refused
Module successfully enabled
installed
Checking customappsreg…
ALERT - script tried to increase memory_limit to 104857600 bytes which is above the allowed value (attacker ‘REMOTE_ADDR not set’, file ‘/var/www/admin/common/db_connect.php’, line 88)
Sat, 28 Nov 2009 18:41:51 +0100 - Unable to connect to manager 127.0.0.1:5038 (111): Connection refused
Sat, 28 Nov 2009 18:41:51 +0100 - Unable to connect to manager 127.0.0.1:5038 (111): Connection refused
Module successfully installed

ALERT - script tried to increase memory_limit to 104857600 bytes which is above the allowed value (attacker ‘REMOTE_ADDR not set’, file ‘/var/www/admin/common/db_connect.php’, line 88)
Sat, 28 Nov 2009 18:41:52 +0100 - Unable to connect to manager 127.0.0.1:5038 (111): Connection refused
Sat, 28 Nov 2009 18:41:52 +0100 - Unable to connect to manager 127.0.0.1:5038 (111): Connection refused
Module successfully enabled
installed
Checking dashboard…
ALERT - script tried to increase memory_limit to 104857600 bytes which is above the allowed value (attacker ‘REMOTE_ADDR not set’, file ‘/var/www/admin/common/db_connect.php’, line 88)
Sat, 28 Nov 2009 18:41:53 +0100 - Unable to connect to manager 127.0.0.1:5038 (111): Connection refused
Sat, 28 Nov 2009 18:41:54 +0100 - Unable to connect to manager 127.0.0.1:5038 (111): Connection refused
Module successfully installed

ALERT - script tried to increase memory_limit to 104857600 bytes which is above the allowed value (attacker ‘REMOTE_ADDR not set’, file ‘/var/www/admin/common/db_connect.php’, line 88)
Sat, 28 Nov 2009 18:41:55 +0100 - Unable to connect to manager 127.0.0.1:5038 (111): Connection refused
Sat, 28 Nov 2009 18:41:55 +0100 - Unable to connect to manager 127.0.0.1:5038 (111): Connection refused
Module successfully enabled
installed
Checking recordings…
ALERT - script tried to increase memory_limit to 104857600 bytes which is above the allowed value (attacker ‘REMOTE_ADDR not set’, file ‘/var/www/admin/common/db_connect.php’, line 88)
Sat, 28 Nov 2009 18:41:56 +0100 - Unable to connect to manager 127.0.0.1:5038 (111): Connection refused
Sat, 28 Nov 2009 18:41:56 +0100 - Unable to connect to manager 127.0.0.1:5038 (111): Connection refused
checking for fcode field…OK
checking for fcode_pass field…OK
Module successfully installed

ALERT - script tried to increase memory_limit to 104857600 bytes which is above the allowed value (attacker ‘REMOTE_ADDR not set’, file ‘/var/www/admin/common/db_connect.php’, line 88)
Sat, 28 Nov 2009 18:41:57 +0100 - Unable to connect to manager 127.0.0.1:5038 (111): Connection refused
Sat, 28 Nov 2009 18:41:57 +0100 - Unable to connect to manager 127.0.0.1:5038 (111): Connection refused
Module successfully enabled
installed
Checking framework…
ALERT - script tried to increase memory_limit to 104857600 bytes which is above the allowed value (attacker ‘REMOTE_ADDR not set’, file ‘/var/www/admin/common/db_connect.php’, line 88)
Sat, 28 Nov 2009 18:41:58 +0100 - Unable to connect to manager 127.0.0.1:5038 (111): Connection refused
Sat, 28 Nov 2009 18:41:58 +0100 - Unable to connect to manager 127.0.0.1:5038 (111): Connection refused

also in the recording tab i got :

ARI does not appear to have access to the Asterisk Manager. ()
Check the ARI ‘main.conf.php’ configuration file to set the Asterisk Manager Account.
Check /etc/asterisk/manager.conf for a proper Asterisk Manager Account
make sure [general] enabled = yes and a ‘permit=’ line for localhost or the webserver.

I can’t resolve this problem, can anyone help me plz

Thanks in advanced

Is Asterisk running? Did you change any of the default passwords during installation?

Check your /etc/amportal.conf for AMPMGRUSER and AMPMGRPASS that they match /etc/asterisk/manager.conf

Same problem here:

freepbx-2.6.0RC2

Asterisk 1.6.1.11

egrep -v ‘^#|^$’ amportal.conf # bit snipped

AMPMGRUSER=admin
AMPMGRPASS=amp111

egrep -v ‘^#|^;’ asterisk/manager.conf

[general]
enabled = yes
port = 5038
bindaddr = 0.0.0.0

[admin]
secret = amp111
deny=0.0.0.0/0.0.0.0
permit=127.0.0.1/255.255.255.0
read = system,call,log,verbose,command,agent,user
write = system,call,log,verbose,command,agent,user

At http://hostname/admin/config.php#
I get these errors:

Connecting to Asterisk manager interface…Wed, 16 Dec 2009 01:13:37 +0000 - Unable to connect to manager 127.0.0.1:5038 (111): Connection refused
FAILED
[FATAL] Asterisk Manager Connection Failure Failed to connect to the Asterisk manager through port: 5038

./install_amp returns masses of these errors:
Wed, 16 Dec 2009 01:15:35 +0000 - Unable to connect to manager 127.0.0.1:5038 (111): Connection refused

Any ideas?

Regards

Fog_Watch.

Bump