i have been working on this issue for hours and it was a simmple solution
ipv6 renamed my localhost, and it couldnt be resolved…
more info here http://www.cyfordtechnologies.com/linux/fatal-unable-to-connect-to-asterisk-manager
i have been working on this issue for hours and it was a simmple solution
ipv6 renamed my localhost, and it couldnt be resolved…
more info here http://www.cyfordtechnologies.com/linux/fatal-unable-to-connect-to-asterisk-manager
have you tried to run /usr/src/freepbx/apply_conf.sh or wherever it’s located?
I did the
amportal a m
then
UPDATE freepbx_settings SET value=‘newpassword’ WHERE keyword=‘AMPMGRPASS’;
Kept getting rows matched 1 changed 0.
So I changed the SET value=‘diffpass’ from what is was in the /etc/asterisk/manager.conf and got matched 1 changed 1.
Then I modified the manager.conf and whalah.
Why it didn’t work with the other would be the issue everyone is having. Good luck, I’m sure after a restart I’ll have to do this again.
During my running of this step:
./install_amp --webroot /var/www
I found 2 of these errors in the output:
running apply_conf.sh from /etc/amportal.conf
sed: -e expression #1, char 35: unknown option to `s’
Then later, the “amportal a reload” step failed just like the OP
My password had a “/” in it, which broke the script. Shameful. So I fixed the apply_conf.sh script. (here’s my bug report and patch http://issues.freepbx.org/browse/FREEPBX-7346)