<?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[Cmd Line Works, init script doesn't.  Interface != eth0]]></title><description><![CDATA[<p dir="auto">Following instructions I've found on this forum, I did the screen thing and ran</p>
<pre><code>service fop2 stop
cd /usr/local/fop2
screen
./fop2_server -X 511 -i venet0    &lt;--- Notice custom interface
ctrl-a d
</code></pre>
<p dir="auto">Everything works.</p>
<pre><code>root@asdf:/etc/asterisk $ pgrep fop2_server
1578
root@asdf::/etc/asterisk $ netstat -lnp | grep 444
tcp        0      0 0.0.0.0:4445                0.0.0.0:*                   LISTEN      1578/./fop2_server
</code></pre>
<p dir="auto">When I try to run as a daemon it doesn't.</p>
<p dir="auto">I took your suggestion from another forum and my /etc/sysconfig/fop2 looks like:</p>
<pre><code>OPTIONS="-d -i venet0"
</code></pre>
<p dir="auto">And it doesn't start up.  Where do I go from here?</p>
<p dir="auto">Note: I disabled FOP (1) from amportal.conf etc.</p>
]]></description><link>http://localhost:4567/topic/1334/cmd-line-works-init-script-doesn-t.-interface-eth0</link><generator>RSS for Node</generator><lastBuildDate>Tue, 27 Oct 2026 15:19:51 GMT</lastBuildDate><atom:link href="http://localhost:4567/topic/1334.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 23 Dec 2012 00:09:12 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Cmd Line Works, init script doesn't.  Interface != eth0 on Fri, 28 Dec 2012 20:47:29 GMT]]></title><description><![CDATA[<p dir="auto">Figured out my issue... I wasn't being patient enough after calling the service start before checking to see if port 4445 was bound yet.</p>
<pre><code>root@host:/etc/rc.d/init.d $ netstat -lnp | grep 444
root@host:/etc/rc.d/init.d $ service fop2 start
Starting Flash Operator Panel 2: daemon /usr/local/fop2/fop2_server -d -i venet0    &lt;--- added this echo for debug
                                                           [  OK  ]
root@host:/etc/rc.d/init.d $ netstat -lnp | grep 444   &lt;--- ~500ms between each
root@host:/etc/rc.d/init.d $ netstat -lnp | grep 444
root@host:/etc/rc.d/init.d $ netstat -lnp | grep 444
root@host:/etc/rc.d/init.d $ netstat -lnp | grep 444
root@host:/etc/rc.d/init.d $ netstat -lnp | grep 444
root@host:/etc/rc.d/init.d $ netstat -lnp | grep 444
root@host:/etc/rc.d/init.d $ netstat -lnp | grep 444
root@host:/etc/rc.d/init.d $ netstat -lnp | grep 444
root@host:/etc/rc.d/init.d $ netstat -lnp | grep 444
root@host:/etc/rc.d/init.d $ netstat -lnp | grep 444
tcp        0      0 0.0.0.0:4445                0.0.0.0:*                   LISTEN      13623/fop2_server
</code></pre>
<p dir="auto">For reference, I'm using the latest as of 12/22/2012.  I believe it's 2.26<br />
The distro is centos.  It's a PIAF purple install.</p>
]]></description><link>http://localhost:4567/post/5936</link><guid isPermaLink="true">http://localhost:4567/post/5936</guid><dc:creator><![CDATA[blak3r]]></dc:creator><pubDate>Fri, 28 Dec 2012 20:47:29 GMT</pubDate></item><item><title><![CDATA[Reply to Cmd Line Works, init script doesn't.  Interface != eth0 on Fri, 28 Dec 2012 20:11:26 GMT]]></title><description><![CDATA[<p dir="auto">What fop2 version are you using? only the last version reads the OPTIONS varialble from init option files..</p>
<p dir="auto">Also, what linux distro are you using? The init script config file is different depending on your distribution, on centos redhat is /etc/sysconfig/fop2 and in debian/ubuntu is /etc/default/fop2</p>
<p dir="auto">Best regards,</p>
]]></description><link>http://localhost:4567/post/5935</link><guid isPermaLink="true">http://localhost:4567/post/5935</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Fri, 28 Dec 2012 20:11:26 GMT</pubDate></item></channel></rss>