<?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["fop2_server dead but subsys locked" after backup restore]]></title><description><![CDATA[<p dir="auto">I have a second FreePBX server that we will either put in High Availability, or just have on hand to switch out. I know I will need a second license for this server, but I'm fine with having limited buttons for now. <em>What I'm trying to nail down is the exact steps required to get FOP2 up and running after a restore.</em></p>
<p dir="auto">I'll tell you what I did so far:</p>
<p dir="auto">I did a full backup of the original server and used that to restore to the second PBX. This included:<br />
/usr/local/fop2/fop2.cfg<br />
/etc/sysconfig/fop2<br />
/etc/rc.d/init.d/fop2<br />
/usr/local/fop2/fop2settings.db<br />
(And all the other default directories and MySQL tables)</p>
<p dir="auto">After restore, I am able to get into the https://second_PBX_ip_address/fop2/admin, but it says the "fop2 server is not responding".</p>
<p dir="auto">On SSH, I ran "service fop2 status" and got "fop2_server dead but subsys locked". If I stop and start the service, I get the same thing.</p>
<p dir="auto">I reinstalled fop2 by wget'ing the latest tgz, unpacking and the "make install", but still get the same error. I rebooted and got the same error.</p>
<p dir="auto">I saw your post about running "netstat -lnp | grep 444" to see if any other service is taking the 4443 port, and got no listing.</p>
<p dir="auto">What else could be the issue?</p>
]]></description><link>http://localhost:4567/topic/2246/fop2_server-dead-but-subsys-locked-after-backup-restore</link><generator>RSS for Node</generator><lastBuildDate>Tue, 27 Oct 2026 12:30:51 GMT</lastBuildDate><atom:link href="http://localhost:4567/topic/2246.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 10 May 2016 19:36:54 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to "fop2_server dead but subsys locked" after backup restore on Thu, 12 May 2016 22:00:16 GMT]]></title><description><![CDATA[<p dir="auto">Remove the fop2.lic file if you do not want to see those license warnings. Anyways, the fop2 license problem does not prevent the service from starting, it will just start in demo mode (15 buttons limitation). If the service does not start it is most probably because the /etc/sysconfig/fop2 file is missing, or if its not missing, then it does not have the -i em1 inside, if you have a fop2.lic file (valid or not), and you do not have an eth0 interface, then fop2_server will shut down, unless you specify a valid interface name via -i xxx in /etc/sysconfig/fop2 OPTIONS line.</p>
]]></description><link>http://localhost:4567/post/9862</link><guid isPermaLink="true">http://localhost:4567/post/9862</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Thu, 12 May 2016 22:00:16 GMT</pubDate></item><item><title><![CDATA[Reply to "fop2_server dead but subsys locked" after backup restore on Thu, 12 May 2016 21:07:39 GMT]]></title><description><![CDATA[<p dir="auto">Oops... I realized what I should do after that <img src="http://localhost:4567/assets/plugins/nodebb-plugin-emoji/emoji/android/1f609.png?v=9c14fadbfa0" class="not-responsive emoji emoji-android emoji--wink" style="height:1.4em;width:auto;vertical-align:middle" title=";)" alt="😉" />   Here's the message after I entered the right interface.</p>
<pre><code>[root@localhost ~]# /usr/local/fop2/fop2_server -X 15 -i em1
Flash Operator Panel 2 - Invalid license for this machine.
Flash Operator Panel 2 - Invalid license for this install (i).
Flash Operator Panel 2 - Invalid license for this install (hostname mismatch)
Flash Operator Panel 2 - Invalid license for this version.
You must reactivate your license using the --reactivate option.
</code></pre>
<p dir="auto">And if I run the --reactivate:</p>
<pre><code>[root@localhost ~]# /usr/local/fop2/fop2_server -i em1 --reactivate
Reactivation failed! (ERROR)

You must purchase the annual maintenance fee in order to upgrade your
version ( https://www.fop2.com/buy.php ).

Or you can keep running the version you have installed now.
</code></pre>
<p dir="auto">I don't want to steal the license from my production server right now, but if that server did fail and I switched to this secondary server, what commands would I want to run to switch it over? Do I HAVE to unload the license from the primary? (what if it is totally dead?)</p>
]]></description><link>http://localhost:4567/post/9861</link><guid isPermaLink="true">http://localhost:4567/post/9861</guid><dc:creator><![CDATA[itdept2015]]></dc:creator><pubDate>Thu, 12 May 2016 21:07:39 GMT</pubDate></item><item><title><![CDATA[Reply to "fop2_server dead but subsys locked" after backup restore on Thu, 12 May 2016 21:02:44 GMT]]></title><description><![CDATA[<p dir="auto">eth0: error fetching interface information: Device not found</p>
<p dir="auto">FOP2 was unable to find an eth0 interface to bind the license to.<br />
Please specify a valid NIC name with the -i command line parameter, for example:</p>
<p dir="auto">/usr/local/fop2/fop2_server -X 15 -i eth1</p>
]]></description><link>http://localhost:4567/post/9860</link><guid isPermaLink="true">http://localhost:4567/post/9860</guid><dc:creator><![CDATA[itdept2015]]></dc:creator><pubDate>Thu, 12 May 2016 21:02:44 GMT</pubDate></item><item><title><![CDATA[Reply to "fop2_server dead but subsys locked" after backup restore on Wed, 11 May 2016 21:50:11 GMT]]></title><description><![CDATA[<p dir="auto">Run fop2_server from the command line and see if it returns any error, it probably will, that error is the one that generates the fop2_server dead but subsys locked message when you request for status:</p>
<p dir="auto">/usr/local/fop2/fop2_server -X 15</p>
<p dir="auto">Run that, what is the output ?</p>
<p dir="auto">Perhaps you need to also restore the file /etc/sysconfig/fop2 that is used by the init script to take command line options...</p>
]]></description><link>http://localhost:4567/post/9859</link><guid isPermaLink="true">http://localhost:4567/post/9859</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Wed, 11 May 2016 21:50:11 GMT</pubDate></item></channel></rss>