<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Users cannot log in after FreePBX/Asterisk update]]></title><description><![CDATA[<p dir="auto">After updating FreePBX to 10.13.66 and Asterisk to 13.5, users cannot log in to FOP2.  When testing with<br />
/usr/local/fop2/fop2_server -c /etc/asterisk/fop2 --test<br />
I get the following output:<br />
Flash Operator Panel 2 - Valid License (1)<br />
Can't exec "/etc/asterisk/fop2/amipasswd.sh": Permission denied at script/fop2_server.pl line 579, &lt;$CONFIG&gt; line 271.<br />
Can't exec "/etc/asterisk/fop2/autoconfig-users-freepbx.sh": Permission denied at script/fop2_server.pl line 579, &lt;$CONFIG&gt; line 271.<br />
EV: error in callback (ignoring): Unknown warnings category 'FOP2::AMI2' at /loader/0x24909a0/FOP2/AMI2.pm line 311<br />
Failed to connect to asterisk - localhost:5038<br />
Error Message: Timed out waiting for challenge</p>
<p dir="auto">Does anyone have advice on how to correct this?</p>
]]></description><link>http://localhost:4567/topic/2099/users-cannot-log-in-after-freepbx-asterisk-update</link><generator>RSS for Node</generator><lastBuildDate>Tue, 27 Oct 2026 13:08:45 GMT</lastBuildDate><atom:link href="http://localhost:4567/topic/2099.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 18 Nov 2015 18:38:06 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Users cannot log in after FreePBX/Asterisk update on Tue, 24 Nov 2015 12:28:49 GMT]]></title><description><![CDATA[<p dir="auto">Perhaps that firewall component in FreePBX is denying the connection to port tcp/5038 to FOP2, is hard to tell just from the forum post. Try to catch me on the live help, maybe we can remote into your system to check all those firewall rules and see if they might be causing that issue or if its something else. You can always try by disabling the firewall and running /usr/local/fop2/fop2_server --test after disabling it.</p>
<p dir="auto">It might also be a syntax error in fop2.cfg, like having the file saved in DOS format (not unix format). Having an extra space somewhere, etc.</p>
<p dir="auto">Best regards,</p>
]]></description><link>http://localhost:4567/post/9255</link><guid isPermaLink="true">http://localhost:4567/post/9255</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Tue, 24 Nov 2015 12:28:49 GMT</pubDate></item><item><title><![CDATA[Reply to Users cannot log in after FreePBX/Asterisk update on Mon, 23 Nov 2015 21:43:59 GMT]]></title><description><![CDATA[<p dir="auto">I'm sure that the problem was created by something in the update to FreePBX/Asterisk and isn't a error in FOP2. I do appreciate you taking time to help me debug it.  There is a new firewall component in FreePBX, but disabling it doesn't seem to help with the error I am getting.</p>
<p dir="auto">Running:<br />
netstat -lnp | grep 5038<br />
Returns:<br />
tcp        0      0 0.0.0.0:5038                0.0.0.0:*                   LISTEN      3461/asterisk</p>
<p dir="auto">Running:<br />
iptables -vnL<br />
Returns over 200 lines. Is there something specific in that that I should pull out or do you want it all?</p>
]]></description><link>http://localhost:4567/post/9254</link><guid isPermaLink="true">http://localhost:4567/post/9254</guid><dc:creator><![CDATA[Jeffrey Smith]]></dc:creator><pubDate>Mon, 23 Nov 2015 21:43:59 GMT</pubDate></item><item><title><![CDATA[Reply to Users cannot log in after FreePBX/Asterisk update on Mon, 23 Nov 2015 14:54:07 GMT]]></title><description><![CDATA[<p dir="auto">Hi,, the erro ris quite clear. FOP2 is unable to connect to port 5038 on your server. That is the default port for Asterisk AMI. So you might have some firewall rules preventing that connection, or AMI is not enabled in Asterisk. You will need to fix that, the problem is not with FOP2. What is the output from this:</p>
<p dir="auto">netstat -lnp | grep 5038</p>
<p dir="auto">?</p>
<p dir="auto">And this:</p>
<p dir="auto">iptables -vnL</p>
<p dir="auto">?</p>
]]></description><link>http://localhost:4567/post/9253</link><guid isPermaLink="true">http://localhost:4567/post/9253</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Mon, 23 Nov 2015 14:54:07 GMT</pubDate></item><item><title><![CDATA[Reply to Users cannot log in after FreePBX/Asterisk update on Sat, 21 Nov 2015 21:34:50 GMT]]></title><description><![CDATA[<p dir="auto">After changing manager_host from localhost to 127.0.0.1 I am still getting the same error (see below).<br />
I am logged in as root when I run the test.</p>
<p dir="auto">Flash Operator Panel 2 - Valid License (1)<br />
EV: error in callback (ignoring): Unknown warnings category 'FOP2::AMI2' at /loader/0x1519ad0/FOP2/AMI2.pm line 311<br />
EV: error in callback (ignoring): Unknown warnings category 'FOP2::AMI2' at /loader/0x1519ad0/FOP2/AMI2.pm line 311<br />
Failed to connect to asterisk - 127.0.0.1:5038<br />
Error Message: Timed out waiting for challenge</p>
]]></description><link>http://localhost:4567/post/9252</link><guid isPermaLink="true">http://localhost:4567/post/9252</guid><dc:creator><![CDATA[Jeffrey Smith]]></dc:creator><pubDate>Sat, 21 Nov 2015 21:34:50 GMT</pubDate></item><item><title><![CDATA[Reply to Users cannot log in after FreePBX/Asterisk update on Fri, 20 Nov 2015 22:04:23 GMT]]></title><description><![CDATA[<p dir="auto">edit /etc/asterisk/fop2/fop2.cfg and set</p>
<p dir="auto">manager_host=127.0.0.1</p>
<p dir="auto">instead of localhost. Then try again. Also, be SURE you run fop2_server as root or via sudo.</p>
]]></description><link>http://localhost:4567/post/9251</link><guid isPermaLink="true">http://localhost:4567/post/9251</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Fri, 20 Nov 2015 22:04:23 GMT</pubDate></item><item><title><![CDATA[Reply to Users cannot log in after FreePBX/Asterisk update on Fri, 20 Nov 2015 21:54:19 GMT]]></title><description><![CDATA[<p dir="auto">Running:<br />
ping localhost<br />
Returns:<br />
PING localhost (127.0.0.1) 56(84) bytes of data.<br />
64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.048 ms</p>
]]></description><link>http://localhost:4567/post/9250</link><guid isPermaLink="true">http://localhost:4567/post/9250</guid><dc:creator><![CDATA[Jeffrey Smith]]></dc:creator><pubDate>Fri, 20 Nov 2015 21:54:19 GMT</pubDate></item><item><title><![CDATA[Reply to Users cannot log in after FreePBX/Asterisk update on Fri, 20 Nov 2015 20:08:19 GMT]]></title><description><![CDATA[<p dir="auto">Try this:</p>
<p dir="auto">ping localhost</p>
<p dir="auto">What is the output ?</p>
]]></description><link>http://localhost:4567/post/9249</link><guid isPermaLink="true">http://localhost:4567/post/9249</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Fri, 20 Nov 2015 20:08:19 GMT</pubDate></item><item><title><![CDATA[Reply to Users cannot log in after FreePBX/Asterisk update on Fri, 20 Nov 2015 16:23:59 GMT]]></title><description><![CDATA[<p dir="auto">Running:<br />
cat /etc/sysconfig/fop2<br />
Returns:<br />
OPTIONS="-d -c /etc/asterisk/fop2"</p>
<p dir="auto">Running:<br />
cat /etc/asterisk/manager.conf<br />
Shows "enabled = yes" (see full contents below)</p>
<p dir="auto">Rebooted server, but --test returns the same errors:<br />
Flash Operator Panel 2 - Valid License (1)<br />
EV: error in callback (ignoring): Unknown warnings category 'FOP2::AMI2' at /loader/0x1692ad0/FOP2/AMI2.pm line 311<br />
EV: error in callback (ignoring): Unknown warnings category 'FOP2::AMI2' at /loader/0x1692ad0/FOP2/AMI2.pm line 311<br />
Failed to connect to asterisk - localhost:5038<br />
Error Message: Timed out waiting for challenge</p>
<p dir="auto">Could the deny/permit settings in manager.conf be a problem?</p>
<p dir="auto">cat /etc/asterisk/manager.conf<br />
;<br />
; AMI - Asterisk Manager interface<br />
;<br />
; FreePBX needs this to be enabled. Note that if you enable it on a different IP, you need<br />
; to assure that this can't be reached from un-authorized hosts with the ACL settings (permit/deny).<br />
; Also, remember to configure non-default port or IP-addresses in amportal.conf.<br />
;<br />
; The AMI connection is used both by the portal and the operator's panel in FreePBX.<br />
;<br />
; FreePBX assumes an AMI connection to localhost:5038 by default.<br />
;<br />
[general]<br />
enabled = yes<br />
port = 5038<br />
bindaddr = 0.0.0.0<br />
displayconnects=no ;only effects 1.6+</p>
<p dir="auto">[admin]<br />
secret = amp111<br />
deny=0.0.0.0/0.0.0.0<br />
permit=127.0.0.1/255.255.255.0<br />
read = system,call,log,verbose,command,agent,user,config,command,dtmf,reporting,cdr,dialplan,originate,message<br />
write = system,call,log,verbose,command,agent,user,config,command,dtmf,reporting,cdr,dialplan,originate,message<br />
writetimeout = 5000</p>
<p dir="auto">#include manager_additional.conf<br />
#include manager_custom.conf</p>
]]></description><link>http://localhost:4567/post/9248</link><guid isPermaLink="true">http://localhost:4567/post/9248</guid><dc:creator><![CDATA[Jeffrey Smith]]></dc:creator><pubDate>Fri, 20 Nov 2015 16:23:59 GMT</pubDate></item><item><title><![CDATA[Reply to Users cannot log in after FreePBX/Asterisk update on Thu, 19 Nov 2015 22:33:44 GMT]]></title><description><![CDATA[<p dir="auto">The "make install" script in FOP2 puts everything in /usr/local/fop2 by default, since the first release. /etc/asterisk/fop2 is used only in Elastix RPM packages and now deprecated FreePBX rpm package. My suggestion is to use the standard location. What is the output from this command:</p>
<p dir="auto">cat /etc/sysconfig/fop2</p>
<p dir="auto">?</p>
<p dir="auto">As for the error when you run --test, it seems you do not have the Asterisk Manager enabled, you will have to enable  it by modifying the file /etc/asterisk/manager.conf. Be sure it is enabled there, then restart Asterisk, then try --test in fop2.</p>
]]></description><link>http://localhost:4567/post/9247</link><guid isPermaLink="true">http://localhost:4567/post/9247</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Thu, 19 Nov 2015 22:33:44 GMT</pubDate></item><item><title><![CDATA[Reply to Users cannot log in after FreePBX/Asterisk update on Thu, 19 Nov 2015 17:15:28 GMT]]></title><description><![CDATA[<p dir="auto">I ran:<br />
chmod a+x /etc/asterisk/fop2/*.sh</p>
<p dir="auto">Now testing with:<br />
/usr/local/fop2/fop2_server -c /etc/asterisk/fop2 --test<br />
returns:<br />
Flash Operator Panel 2 - Valid License (1)<br />
EV: error in callback (ignoring): Unknown warnings category 'FOP2::AMI2' at /loader/0x1baa9a0/FOP2/AMI2.pm line 311<br />
EV: error in callback (ignoring): Unknown warnings category 'FOP2::AMI2' at /loader/0x1baa9a0/FOP2/AMI2.pm line 311<br />
Failed to connect to asterisk - localhost:5038<br />
Error Message: Timed out waiting for challenge</p>
<p dir="auto">Users still cannot log in.</p>
<p dir="auto">Checking version with:<br />
/usr/local/fop2/fop2_server -v<br />
returns:<br />
fop2_server version 2.27</p>
<p dir="auto">I have no particular reason for using /etc/asterisk/fop2. I assume that is where the original installation put the files or instructed me to put the files.</p>
]]></description><link>http://localhost:4567/post/9246</link><guid isPermaLink="true">http://localhost:4567/post/9246</guid><dc:creator><![CDATA[Jeffrey Smith]]></dc:creator><pubDate>Thu, 19 Nov 2015 17:15:28 GMT</pubDate></item><item><title><![CDATA[Reply to Users cannot log in after FreePBX/Asterisk update on Wed, 18 Nov 2015 22:25:36 GMT]]></title><description><![CDATA[<p dir="auto">Try this command</p>
<p dir="auto">chmod a+x /etc/asterisk/fop2/*.sh</p>
<p dir="auto">And then test it with:</p>
<p dir="auto">/usr/local/fop2/fop2_server -c /etc/asterisk/fop2 --test</p>
<p dir="auto">In any case, is there any particular reason to use /etc/asterisk/fop2 for the fop2 config directory?  What FOP2 version do you have installed?</p>
]]></description><link>http://localhost:4567/post/9245</link><guid isPermaLink="true">http://localhost:4567/post/9245</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Wed, 18 Nov 2015 22:25:36 GMT</pubDate></item></channel></rss>