retrieve_conf failed, config not applied - when try to change default passwords

Hi.
I try to change the default passwords of asterisk with FreePBX, and now say me this error.

retrieve_conf failed, config not applied
Reload failed because retrieve_conf encountered an error: 1
Added 1 minute ago
(freepbx.RCONFFAIL)

And when try to “apply changes” show this

Reload failed because retrieve_conf encountered an error: 1
click here for more info
1 error(s) occurred, you should view the notification log on the dashboard or main screen to check for more details.

I try now to put again the original passwords (amp111 and ari_password) and say me the same error.

I see in help of others post that the files that must be the same password and user.


/etc/amportal.conf

Asterisk Manager Host

Default Value: localhost

ASTMANAGERHOST=localhost

Asterisk Manager Password

Default Value: amp111

AMPMGRPASS=amp111

Asterisk Manager Port

Default Value: 5038

ASTMANAGERPORT=5038

Asterisk Manager Proxy Port

Default Value:

ASTMANAGERPROXYPORT=

Asterisk Manager User

Default Value: admin

AMPMGRUSER=admin


/etc/asterisk/manager.conf

[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

#include manager_additional.conf
#include manager_custom.conf


/etc/asterisk/manager_additional.conf

[admin]
secret = amp111
deny=0.0.0.0/0.0.0.0
permit=192.168.1.0/255.255.255.0
read = system,call,log,verbose,command,agent,user,config,dtmf,reporting,cdr,dialplan,originate
write = system,call,log,verbose,command,agent,user,config,dtmf,reporting,cdr,dialplan,originate


/etc/asterisk/manager_custom.conf

blank


/etc/asterisk/extensions_additional.conf

(more text)
AMPMGRUSER = admin
AMPMGRPASS = amp111
AMPDBENGINE = mysql
AMPDBHOST = localhost
AMPDBNAME = asterisk
AMPDBUSER = asteriskuser
AMPDBPASS = rasp_amp
VMX_CONTEXT = from-internal
(more text)

But still the error ! And know how can do it !
What can I do ?

thanks.

The first thing you can do is post FreePBX and Asterisk version numbers.

The second thing you can do is not mess with things you don’t understand then expect urgent help.

Lastly amportal.conf has not been used in years. All settings are now in DB.

I solve the problem.

In /etc/asterisk/manager_additional.conf, have permit=192.168.1.0/255.255.255.0
and change to permit=127.0.0.1/255.255.255.0
and now works.
I change several things at the same time, and must be one by one for other time.

It was odd, because I had all the passwords on all files placed well, but hey it is important that now works.

SkykingOH, I don´t expect urgent help, and I do thinks that understand, because I was installer of asterisk pbx centers when asterisk born, but now I dedicated to other works and 4-5 years that not touch asterisk.

If you do not want to answer no answer, but also talk about what you do not know.

Thanks.