AMI won't start!

Hi, I’m running asterisk 11 on debian 7 x32 bits, tried fresh installation twice, and I can’t get AMI to start.

Asterisk 11.9.0
Linux 3.2.0-4-486 #1 Debian 3.2.57-3 i586 GNU/Linux

manager.conf looks like this:

[general]
enabled = yes
port = 5038
bindaddr = 0.0.0.0
displayconnects=no ;only effects 1.6+

[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,config,command,dtmf,reporting,cdr,dialplan,originate
write = system,call,log,verbose,command,agent,user,config,command,dtmf,reporting,cdr,dialplan,originate
writetimeout = 5000

But manager show settings gives me this even after restarts:

Global Settings:

Manager (AMI): No
Web Manager (AMI/HTTP): No
TCP Bindaddress: Disabled
HTTP Timeout (minutes): 60
TLS Enable: No
TLS Bindaddress: Disabled
TLS Certfile: asterisk.pem
TLS Privatekey:
TLS Cipher:
Allow multiple login: Yes
Display connects: Yes
Timestamp events: No
Channel vars:
Debug: No
Block sockets: No

I can’t notice any error on asterisk startup or logs, can anyone help me troubleshoot this?

Thanks,

Cassio

Look for load time error messages.

Although the manager.conf file looks good I get this:

[May 2 13:04:16] ERROR[26928] config.c: The file 'manager_additional.conf' was listed as a #include but it does not exist. [May 2 13:04:16] NOTICE[26928] manager.c: Unable to open AMI configuration manager.conf, or configuration is invalid.

root@smartipbx:~# ls -la /etc/asterisk/manager.conf -rw-rw-r-- 1 asterisk asterisk 930 May 2 07:17 /etc/asterisk/manager.conf

[code]root@smartipbx:~# cat /etc/asterisk/manager.conf
;
; AMI - Asterisk Manager interface
;
; FreePBX needs this to be enabled. Note that if you enable it on a different IP, you need
; to assure that this can’t be reached from un-authorized hosts with the ACL settings (permit/deny).
; Also, remember to configure non-default port or IP-addresses in amportal.conf.
;
; The AMI connection is used both by the portal and the operator’s panel in FreePBX.
;
; FreePBX assumes an AMI connection to localhost:5038 by default.
;
[general]
enabled = yes
port = 5038
bindaddr = 0.0.0.0
displayconnects=no ;only effects 1.6+

[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,config,command,dtmf,reporting,cdr,dialplan,originate
write = system,call,log,verbose,command,agent,user,config,command,dtmf,reporting,cdr,dialplan,originate
writetimeout = 5000

#include manager_additional.conf
#include manager_custom.conf[/code]

Thanks for putting me on the path, I got it working by:

touch /etc/asterisk/manager_custom.conf
touch /etc/asterisk/manager_additional.conf

FreePBX didn’t create those files for some reason on installation.