I had a perfect system until yesterday, but then I had to go and upgrade FreePBX to 2.9, and then try to upgrade fop to fop 2.2, and somewhere along the way I must have messed something up. Unfortuantely I am not sure which change broke my server, so I am trying to troubleshoot two issues at once.
PIAF: 22.214.171.124.2 (iso downloaded 5/22/2011)
OS: CentOS 5.6
Kernel Ver: 2.6.18-238.9.1.e15 - 32 Bit
Issue 1= FreePBX upgrade to 2.9:
After upgrading FreePBX to 2.9, I saw the notice stating “You are running with the default, well-known Asterisk Manager Password”. I tried to enter a new password in ConfigEdit=> /etc/amportal.conf but it wouldn’t save. I gave up trying to figure out the problem and moved on to upgrading my fop to fop 2.2.
Issue 2= FOP upgrade to 2.2:
I followed the fop2 install instructions from: http://pbxinaflash.com/forum/showthread.php?t=6890&page=2
While following the instructions, I learned that the asterisk manager password was placed in at least two locations: /etc/amportal.conf and /etc/asterisk/manager.conf.
The instructions say to make sure the passwords are the same - so I took it upon myself to go ahead and change the passwords (identical, of course, just not the default amp111).
I used Putty to do this. I followed the rest of the instructions. The only mistake I made was failing to catch the introduction of the instructions:
“This upgrade applies to the ks16 or ks16alt install of 32 bit PiaF. Asterisk 126.96.36.199, 188.8.131.52, 184.108.40.206, 220.127.116.11 with FreePBX 18.104.22.168 and 22.214.171.124, PiaF Purple, Asterisk 1.8, FreePBX 2.8.10.”
(No mention of FreePBX 2.9 - not sure if this is a problem or not)
When finished, I ran:
It responded with the expected:
Flash Operator Panel 2 - No valid license found. Demo Mode
Connection to manager OK!
I thought everything was working great, but when I go back to the GUI FreePBX, the dashboard shows:
Op Panel=Warn - switches back and forth from Warn to OK
Web Server=Error - switches back and forth from Error to OK
Additionally, the FreePBX notice I get is:
retrieve_conf failed, config not applied
(Reload failed because retrieve_conf encountered an error: 1)
Ironically, I no longer get the notice about the default password being used
I check the Asterisk Logfiles, and see these two messages that seem to be relevant:
[2011-06-14 14:27:03] VERBOSE manager.c: == Connect attempt from ‘127.0.0.1’ unable to authenticate
[2011-06-14 14:28:53] NOTICE manager.c: 127.0.0.1 failed to authenticate as ‘admin’
My users (5 WINXP PRO SP2 workstations using softphones) are still able to make and receive calls, but the quality is not great. I am locked out of many FreePBX modules.
I have tried to reverse everything I changed when upgrading FOP2, I have tried to change the manager password back to amp111, but I cannot fix this issue on my own.
Can anyone lend me some help?