I finaly have FreePBX running on my OpenZ container but there is this error I can’t fix. I think this is related with another error. While googling the error code, I found that checking the pass in manager.conf and amportal.conf and then restarting amportal could help.
While tryig this, I figured out that there is an error when I try to restart amportal :
[quote]**** WARNING: ERROR IN CONFIGURATION ****
astrundir in ‘/etc/asterisk’ is set to but the directory does not exists.[/quote]
I tried few things I found on forums to fix this but it still doesn’t work. Do you have any idea where it could come from ?
Thanks for your help.
I finally fixed Asterisk which is running correctly. FreePBX status print :
[quote]Reload failed because retrieve_conf encountered an error: 1
Added 2 days, 23 hours, 34 minutes ago
(freepbx.RCONFFAIL)[/quote]
Running retrieve_conf --debug returns
[quote]Mon, 23 Jul 2012 15:12:05 +0200 - Failed to login.
[FATAL] Unable to connect to Asterisk Manager from /var/lib/asterisk/bin/retrieve_conf, aborting[/quote]
The [admin] password (manageR.conf) and the AMPMGRPASS (amportal.conf) are the same.
I’m using FreePBX 2.10.0.0.
I do not have any file named /etc/asterisk/freepbx or freepbx.conf. There is a freepbx.conf file in /etc/ but there is only the database informations in it. They are correct and are the same as the one written in /etc/amportal.conf.
I tried several things as moving or changing the name of this file (depending on what I could find on Google) but it still doesn’t work.
I think that I can only change the FOP password and the portal admin password (ari password ?) through the advanced settings. I didn’t find anything related with Asterisk.
Oh well, didn’t see that… I changed the password in the settings but I stil can’t run retrieve_conf for the same reason… I restarted everything just to be sure.