<?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[Service stops for no reason (fixed)]]></title><description><![CDATA[<p dir="auto">I have had FOP2 working with my Trixbox for a while now and about a week ago we find that the service will stop and not work at all. After reboot it works for a little while then it stops again.</p>
<p dir="auto">Can any one shade some light on this please</p>
]]></description><link>http://localhost:4567/topic/1136/service-stops-for-no-reason-fixed</link><generator>RSS for Node</generator><lastBuildDate>Tue, 27 Oct 2026 07:48:33 GMT</lastBuildDate><atom:link href="http://localhost:4567/topic/1136.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 15 May 2012 11:39:48 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Service stops for no reason (fixed) on Thu, 17 May 2012 11:39:56 GMT]]></title><description><![CDATA[<p dir="auto">To avoid other people hijacking this post, and give a response to the "NO REASON" of the subject.</p>
<p dir="auto">The REASON was that this user configuration involved multiple server monitoring (something he never stated in the post), and a firewall was set by him to prevent connections to the AMI port from the fop2 server to that 2nd server he had configured in fop2.cfg</p>
<p dir="auto">So the NO REASON was actually someone that changed firewall rules and breaking his setup.</p>
<p dir="auto">Doing exactly the commands I stated on the FIRST reply on this post via live help, the error popped out really clearly and was easily fixed then.</p>
]]></description><link>http://localhost:4567/post/5122</link><guid isPermaLink="true">http://localhost:4567/post/5122</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Thu, 17 May 2012 11:39:56 GMT</pubDate></item><item><title><![CDATA[Reply to Service stops for no reason (fixed) on Tue, 15 May 2012 21:44:00 GMT]]></title><description><![CDATA[<p dir="auto">If you say the service stops, I understand is because fop2_server is not running. So if you cannot login, check if its running with the command</p>
<p dir="auto">pgrep fop2</p>
<p dir="auto">If that command returns empty, then it is in fact not running. But if it is not running, you should not get the "Cannot listen to port 4445"</p>
<p dir="auto">If the service is stopped, then do what I typed in the 1st reply EXACTLY to start fop2 and capturing output, so you can catch the error.</p>
<p dir="auto">Again, I am on the live help if you still cannot follow the directions I wrote.</p>
<p dir="auto">Best regards,</p>
]]></description><link>http://localhost:4567/post/5121</link><guid isPermaLink="true">http://localhost:4567/post/5121</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Tue, 15 May 2012 21:44:00 GMT</pubDate></item><item><title><![CDATA[Reply to Service stops for no reason (fixed) on Tue, 15 May 2012 21:31:55 GMT]]></title><description><![CDATA[<p dir="auto">AS i said the service works fine for a while then we no longer can login to FOP2.  When we try to restart the service it tell sme that the port is already in use when i try to stop the service it won't stop. I did try you on chat but you were off line before will try you tomorow</p>
]]></description><link>http://localhost:4567/post/5120</link><guid isPermaLink="true">http://localhost:4567/post/5120</guid><dc:creator><![CDATA[jrecho]]></dc:creator><pubDate>Tue, 15 May 2012 21:31:55 GMT</pubDate></item><item><title><![CDATA[Reply to Service stops for no reason (fixed) on Tue, 15 May 2012 21:22:21 GMT]]></title><description><![CDATA[<p dir="auto">contact me via the live help, you are not following the instructions correctly. The problem is REALLY simple, you have to stop whatever you have listening in port 4445, after that fop2 will work.</p>
<p dir="auto">I am on the live help, this post is of no use because I already told you what to do , and it seems you are missing a command at some point.</p>
]]></description><link>http://localhost:4567/post/5119</link><guid isPermaLink="true">http://localhost:4567/post/5119</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Tue, 15 May 2012 21:22:21 GMT</pubDate></item><item><title><![CDATA[Reply to Service stops for no reason (fixed) on Tue, 15 May 2012 20:56:35 GMT]]></title><description><![CDATA[<p dir="auto">I did that and I gave thou the error I got</p>
]]></description><link>http://localhost:4567/post/5118</link><guid isPermaLink="true">http://localhost:4567/post/5118</guid><dc:creator><![CDATA[jrecho]]></dc:creator><pubDate>Tue, 15 May 2012 20:56:35 GMT</pubDate></item><item><title><![CDATA[Reply to Service stops for no reason (fixed) on Tue, 15 May 2012 18:02:34 GMT]]></title><description><![CDATA[<p dir="auto">You have to stop FOP1, NOT FOP2.</p>
<p dir="auto">/usr/sbin/amportal stop_fop</p>
<p dir="auto">edit /etc/amportal.conf and set</p>
<p dir="auto">FOPRUN=false</p>
<p dir="auto">Then start fop2</p>
<p dir="auto">service fop2 start</p>
<p dir="auto">And if you can , uninstall the fop framework from freepbx using the module manager to avoid issues on your next freepbx upgrade.</p>
]]></description><link>http://localhost:4567/post/5117</link><guid isPermaLink="true">http://localhost:4567/post/5117</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Tue, 15 May 2012 18:02:34 GMT</pubDate></item><item><title><![CDATA[Reply to Service stops for no reason (fixed) on Tue, 15 May 2012 17:01:59 GMT]]></title><description><![CDATA[<p dir="auto">it won't let me stop it but I did set it to sales<br />
[trixbox1.localdomain fop2]# netstat -lnp | grep 444<br />
tcp        0      0 0.0.0.0:4445                0.0.0.0:*                   LISTEN      32230/perl<br />
[trixbox1.localdomain fop2]# service fop2 stop<br />
Shutting down Flash Operator Panel 2:                      [FAILED]<br />
[trixbox1.localdomain fop2]#</p>
]]></description><link>http://localhost:4567/post/5116</link><guid isPermaLink="true">http://localhost:4567/post/5116</guid><dc:creator><![CDATA[jrecho]]></dc:creator><pubDate>Tue, 15 May 2012 17:01:59 GMT</pubDate></item><item><title><![CDATA[Reply to Service stops for no reason (fixed) on Tue, 15 May 2012 13:57:47 GMT]]></title><description><![CDATA[<p dir="auto">If you upgraded FreePBX or some of its modules FOP1 will be back to the default port unless you disable it, or change its port back. I recommend to disable it to avoid having issues if you upgrade or install some new freepbx version again.</p>
<p dir="auto">You might want to upgrade to the latest fop2 version as it works with the latest browsers using websockets, and it also has some new features, but you can continue using your version if you are happy with it.</p>
]]></description><link>http://localhost:4567/post/5115</link><guid isPermaLink="true">http://localhost:4567/post/5115</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Tue, 15 May 2012 13:57:47 GMT</pubDate></item><item><title><![CDATA[Reply to Service stops for no reason (fixed) on Tue, 15 May 2012 13:09:56 GMT]]></title><description><![CDATA[<p dir="auto">I have been using this for years they are not set to the same port and when it crashes it does not allow<br />
Us to login yet it is already running I wi remove foo1 but that was set to a different port many years<br />
Ago when we bought fip2. You also seem to have new version should we aprudade</p>
<p dir="auto">Thanks for the help</p>
]]></description><link>http://localhost:4567/post/5114</link><guid isPermaLink="true">http://localhost:4567/post/5114</guid><dc:creator><![CDATA[jrecho]]></dc:creator><pubDate>Tue, 15 May 2012 13:09:56 GMT</pubDate></item><item><title><![CDATA[Reply to Service stops for no reason (fixed) on Tue, 15 May 2012 12:34:12 GMT]]></title><description><![CDATA[<p dir="auto">You cannot start it because it is already running or you have another application binding to port 4445, but that happens just after starting, it is not a crash after working for some time.</p>
<p dir="auto">Do you have fop1 running? Stop it and disable it, or change its listenting port so fop2 can bind to 4445.</p>
<p dir="auto">netstat -lnp | grep 444</p>
<p dir="auto">If you see 4445 taken by perl, then it is fop1, stop it:</p>
<p dir="auto">/usr/sbin/amportal stop_fop</p>
<p dir="auto">disable it editing /etc/amportal.conf and set FOPRUN=false</p>
<p dir="auto">or better yet, if you have a recent FreePBX, uninstall the FOP Framework.</p>
]]></description><link>http://localhost:4567/post/5113</link><guid isPermaLink="true">http://localhost:4567/post/5113</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Tue, 15 May 2012 12:34:12 GMT</pubDate></item><item><title><![CDATA[Reply to Service stops for no reason (fixed) on Tue, 15 May 2012 12:24:05 GMT]]></title><description><![CDATA[<p dir="auto">fop2_server version 2.25</p>
<p dir="auto">Flash Operator Panel 2 - White Label Version.</p>
<p dir="auto">** COLLECT INCLUDES fop2.cfg , tipo server</p>
<p dir="auto">** READ SERVER CONFIG<br />
** READ SERVER CONFIG - archivo fop2.cfg<br />
** READ SERVER calling COLLECT INCLUDES archivo buttons_as2.cfg context AS2!buttons</p>
<p dir="auto">** COLLECT INCLUDES buttons_as2.cfg , tipo AS2!buttons</p>
<p dir="auto">** /usr/local/fop2/buttons_as2.cfg not readable... skipping</p>
<p dir="auto">** READ SERVER calling COLLECT INCLUDES archivo rabat.cfg context RABAT!buttons</p>
<p dir="auto">** COLLECT INCLUDES rabat.cfg , tipo RABAT!buttons</p>
<p dir="auto">** READ SERVER calling COLLECT INCLUDES archivo santexia.cfg context SANTEXIA!buttons</p>
<p dir="auto">** COLLECT INCLUDES santexia.cfg , tipo SANTEXIA!buttons</p>
<p dir="auto">** READ SERVER calling COLLECT INCLUDES archivo buttons_santexia.cfg context CASA!buttons</p>
<p dir="auto">** COLLECT INCLUDES buttons_santexia.cfg , tipo CASA!buttons</p>
<p dir="auto">** READ SERVER calling COLLECT INCLUDES archivo buttons.cfg context GENERAL!buttons</p>
<p dir="auto">** COLLECT INCLUDES buttons.cfg , tipo GENERAL!buttons</p>
<p dir="auto">** READ SERVER calling collect_includes rabat.cfg</p>
<p dir="auto">** COLLECT INCLUDES rabat.cfg , tipo RABAT!buttons</p>
<p dir="auto">** rabat.cfg already included</p>
<p dir="auto">** READ SERVER calling collect_includes santexia.cfg</p>
<p dir="auto">** COLLECT INCLUDES santexia.cfg , tipo SANTEXIA!buttons</p>
<p dir="auto">** santexia.cfg already included</p>
<p dir="auto">** READ SERVER calling collect_includes buttons_santexia.cfg</p>
<p dir="auto">** COLLECT INCLUDES buttons_santexia.cfg , tipo CASA!buttons</p>
<p dir="auto">** buttons_santexia.cfg already included</p>
<p dir="auto">** READ SERVER calling collect_includes buttons.cfg</p>
<p dir="auto">** COLLECT INCLUDES buttons.cfg , tipo GENERAL!buttons</p>
<p dir="auto">** buttons.cfg already included</p>
<p dir="auto">** READ BUTTONS CONFIG rabat.cfg para contexto RABAT<br />
** READ BUTTONS CONFIG santexia.cfg para contexto SANTEXIA<br />
** READ BUTTONS CONFIG buttons_santexia.cfg para contexto CASA<br />
** READ BUTTONS CONFIG buttons.cfg para contexto GENERAL</p>
<p dir="auto">** GENERA CONFIG START<br />
** GENERA CONFIG - GENERAL<br />
** GENERA CONFIG - CASA<br />
** GENERA CONFIG - RABAT<br />
** GENERA CONFIG - SANTEXIA<br />
** GENERA CONFIG - AS2<br />
** GENERA CONFIG END</p>
<p dir="auto">Can't listen to port 4445</p>
]]></description><link>http://localhost:4567/post/5112</link><guid isPermaLink="true">http://localhost:4567/post/5112</guid><dc:creator><![CDATA[jrecho]]></dc:creator><pubDate>Tue, 15 May 2012 12:24:05 GMT</pubDate></item><item><title><![CDATA[Reply to Service stops for no reason (fixed) on Tue, 15 May 2012 12:03:25 GMT]]></title><description><![CDATA[<p dir="auto">What fop2 version are you running?</p>
<p dir="auto">/usr/local/fop2/fop2_server -v</p>
<p dir="auto">If you want to see if fop2 is crashing or similar, you must run it in debug mode, one way is to use gnu screen and output to screen, or use the -l command line option to output debug.</p>
<p dir="auto">With screen:</p>
<p dir="auto">service fop2 stop<br />
cd /usr/local/fop2<br />
screen<br />
./fop2_server -X 511<br />
ctrl-a d</p>
<p dir="auto">That will run fop2 inside a screen session with full debug output, when you notice fop2 is not running anymore, you attach to that screen with the command</p>
<p dir="auto">screen -r</p>
<p dir="auto">You will see the last log lines and probable error there.</p>
<p dir="auto">It is also helpful to know if you configured buttons manually or via autoconfiguration, as a misconfiguration can lead to unexpected crashes under certain situations.</p>
<p dir="auto">And last, use always the latest version, if you are using any previous version than 2.26, then upgrade.</p>
<p dir="auto">Best regards,</p>
]]></description><link>http://localhost:4567/post/5111</link><guid isPermaLink="true">http://localhost:4567/post/5111</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Tue, 15 May 2012 12:03:25 GMT</pubDate></item></channel></rss>