<?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[[SOLVED] Fop2 Don't start]]></title><description><![CDATA[<p dir="auto">Hi! guys I'm trying to find a solution to my problem:</p>
<p dir="auto">I tried to install and configure Fop2, but I can not start the services:<br />
when I start the service, the script does not give any response..</p>
<pre><code>root@hosting [~]# /usr/local/fop2/fop2_server
root@hosting [~]# /usr/local/fop2/fop2_server -v
root@hosting [~]# /usr/local/fop2/fop2_server -X 15
root@hosting [~]# service fop2 start
Starting Flash Operator Panel 2:                           [FAILED]
root@hosting [~]# /etc/init.d/fop2 start
Starting Flash Operator Panel 2:                           [FAILED]
</code></pre>
<p dir="auto">Info:<br />
CentOS 5 64bits with CPanel<br />
Asterisk 1.6<br />
FreePBX 2.8.1</p>
<p dir="auto">root@hosting [/usr/local/fop2]# uname -a</p>
<pre><code>root@hosting [/usr/local/fop2]
Linux hosting.xxxxxx.xx 2.6.18-194.32.1.el5 #1 SMP Wed Jan 5 17:52:25 EST 2011 x86_64 x86_64 x86_64 GNU/Linux
</code></pre>
<p dir="auto">root@hosting [/usr/local/fop2]# /lib/libc.so.6</p>
<pre><code>GNU C Library stable release version 2.5, by Roland McGrath et al.
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 4.1.2 20080704 (Red Hat 4.1.2-50).
Compiled on a Linux 2.6.9 system on 2011-04-26.
Available extensions:
        The C stubs add-on version 2.1.2.
        crypt add-on version 2.1 by Michael Glad and others
        GNU Libidn by Simon Josefsson
        GNU libio by Per Bothner
        NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
        Native POSIX Threads Library by Ulrich Drepper et al
        BIND-8.2.3-T5B
        RT using linux kernel aio
Thread-local storage support included.
For bug reporting instructions, please see:
&lt;http://www.gnu.org/software/libc/bugs.html&gt;.
</code></pre>
<p dir="auto">root@hosting [/usr/local/fop2]# /lib64/libc.so.6</p>
<pre><code>GNU C Library stable release version 2.5, by Roland McGrath et al.
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 4.1.2 20080704 (Red Hat 4.1.2-50).
Compiled on a Linux 2.6.9 system on 2011-04-26.
Available extensions:
        The C stubs add-on version 2.1.2.
        crypt add-on version 2.1 by Michael Glad and others
        GNU Libidn by Simon Josefsson
        GNU libio by Per Bothner
        NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
        Native POSIX Threads Library by Ulrich Drepper et al
        BIND-8.2.3-T5B
        RT using linux kernel aio
Thread-local storage support included.
For bug reporting instructions, please see:
&lt;http://www.gnu.org/software/libc/bugs.html&gt;.
</code></pre>
<p dir="auto">I hope your help, and to purchase a license and even I can not use</p>
<p dir="auto">Best regards</p>
<p dir="auto">David Ulloa</p>
<p dir="auto"><strong>[SOLUTION]</strong></p>
<p dir="auto">this script use a tmp folder with permisions to exec by default /tmp<br />
in my case, I have CPANEL, and by default does not stop running scripts in the / tmp</p>
<p dir="auto">then...</p>
<p dir="auto">it is necessary to create a tmp directory..</p>
<pre><code># mkdir /usr/local/fop2/tmp
</code></pre>
<p dir="auto">and set a new tmp folder</p>
<pre><code># export PAR_GLOBAL_TMPDIR=/usr/local/fop2/tmp 
</code></pre>
<p dir="auto">edit a init script</p>
<h1>nano /etc/init.d/fop2</h1>
<pre><code>case "$1" in
  start)
        echo -n "Starting Flash Operator Panel 2: "

        # Here set a new tmp folder
        export PAR_GLOBAL_TMPDIR=/usr/local/fop2/tmp

        daemon $DAEMON $OPTIONS
        RETVAL=$?
        echo
        [ $RETVAL -eq 0 ] &amp;&amp; touch /var/lock/subsys/fop2_server
        ;;
stop)
</code></pre>
<p dir="auto">and now,</p>
<p dir="auto">root@hosting [/usr/local/fop2]# ./fop2_server -X 3</p>
<pre><code>** MANAGER CONNECTION Connecting to localhost:5038 (Server 0)
** MANAGER CONNECTION Connected to localhost:5038 (Server 0)
....
</code></pre>
<p dir="auto">its working <img src="http://localhost:4567/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=9c14fadbfa0" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:1.4em;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
<p dir="auto">Regards!</p>
]]></description><link>http://localhost:4567/topic/742/solved-fop2-don-t-start</link><generator>RSS for Node</generator><lastBuildDate>Tue, 27 Oct 2026 11:19:14 GMT</lastBuildDate><atom:link href="http://localhost:4567/topic/742.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 09 May 2011 04:29:22 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [SOLVED] Fop2 Don't start on Wed, 11 May 2011 14:48:20 GMT]]></title><description><![CDATA[<p dir="auto">solved! read the first post</p>
]]></description><link>http://localhost:4567/post/3298</link><guid isPermaLink="true">http://localhost:4567/post/3298</guid><dc:creator><![CDATA[dulloa]]></dc:creator><pubDate>Wed, 11 May 2011 14:48:20 GMT</pubDate></item><item><title><![CDATA[Reply to [SOLVED] Fop2 Don't start on Wed, 11 May 2011 11:54:28 GMT]]></title><description><![CDATA[<p dir="auto">I am not sure the options for the /tmp directory, please follow the directions from the FAQ number 14.</p>
<p dir="auto">And try to catch me on the live help if you can provide access to your server.</p>
]]></description><link>http://localhost:4567/post/3297</link><guid isPermaLink="true">http://localhost:4567/post/3297</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Wed, 11 May 2011 11:54:28 GMT</pubDate></item><item><title><![CDATA[Reply to [SOLVED] Fop2 Don't start on Wed, 11 May 2011 02:24:13 GMT]]></title><description><![CDATA[<p dir="auto">/etc/fstab</p>
<pre><code>LABEL=/                 /                       ext3    defaults,usrquota        1 1
LABEL=/tmp              /tmp                    ext3    defaults        1 2
LABEL=/home             /home                   ext3    defaults,usrquota        1 2
LABEL=/backup           /backup                 ext3    defaults        1 2
LABEL=/var              /var                    ext3    defaults,usrquota        1 2
LABEL=/usr              /usr                    ext3    defaults,usrquota        1 2
LABEL=/boot             /boot                   ext3    defaults        1 2
tmpfs                   /dev/shm                tmpfs   defaults        0 0
devpts                  /dev/pts                devpts  gid=5,mode=620  0 0
sysfs                   /sys                    sysfs   defaults        0 0
proc                    /proc                   proc    defaults        0 0
LABEL=SWAP-sda6         swap                    swap    pri=0,defaults        0 0
/tmp             /var/tmp                    ext3    defaults,usrquota,bind,noauto        0 0
</code></pre>
]]></description><link>http://localhost:4567/post/3296</link><guid isPermaLink="true">http://localhost:4567/post/3296</guid><dc:creator><![CDATA[dulloa]]></dc:creator><pubDate>Wed, 11 May 2011 02:24:13 GMT</pubDate></item><item><title><![CDATA[Reply to [SOLVED] Fop2 Don't start on Wed, 11 May 2011 02:21:18 GMT]]></title><description><![CDATA[<p dir="auto">What time I can find you online?</p>
]]></description><link>http://localhost:4567/post/3295</link><guid isPermaLink="true">http://localhost:4567/post/3295</guid><dc:creator><![CDATA[dulloa]]></dc:creator><pubDate>Wed, 11 May 2011 02:21:18 GMT</pubDate></item><item><title><![CDATA[Reply to [SOLVED] Fop2 Don't start on Tue, 10 May 2011 18:03:53 GMT]]></title><description><![CDATA[<p dir="auto">Are you mounting /tmp with noexec ? Try to catch me on the live help, I am online now.</p>
]]></description><link>http://localhost:4567/post/3294</link><guid isPermaLink="true">http://localhost:4567/post/3294</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Tue, 10 May 2011 18:03:53 GMT</pubDate></item><item><title><![CDATA[Reply to [SOLVED] Fop2 Don't start on Tue, 10 May 2011 17:54:08 GMT]]></title><description><![CDATA[<p dir="auto">I recorded this video to show what happens [url:pkq7jnu7]<a href="http://www.vimeo.com/23538908%5B/url:pkq7jnu7%5D" rel="nofollow ugc">http://www.vimeo.com/23538908[/url:pkq7jnu7]</a></p>
<p dir="auto">best regards</p>
]]></description><link>http://localhost:4567/post/3293</link><guid isPermaLink="true">http://localhost:4567/post/3293</guid><dc:creator><![CDATA[dulloa]]></dc:creator><pubDate>Tue, 10 May 2011 17:54:08 GMT</pubDate></item><item><title><![CDATA[Reply to [SOLVED] Fop2 Don't start on Tue, 10 May 2011 12:00:47 GMT]]></title><description><![CDATA[<p dir="auto">But when you run fop2_server it returns to the command prompt ? or it takes the terminal? How long did you wait if it is taking the terminal? A few seconds, A couple of minutes? Did you hit ctrl-c to stop it at any time? Did you download fop2 for centos5 64 bits?</p>
]]></description><link>http://localhost:4567/post/3292</link><guid isPermaLink="true">http://localhost:4567/post/3292</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Tue, 10 May 2011 12:00:47 GMT</pubDate></item><item><title><![CDATA[Reply to [SOLVED] Fop2 Don't start on Tue, 10 May 2011 10:41:45 GMT]]></title><description><![CDATA[<p dir="auto">1.- when i run: ./fop2_server -X 3 dont show nothing (dont start)<br />
2.- SELinux is disabled<br />
3.- i have FOP for: Centos 5 - 64bits<br />
4.- sorry for my english</p>
]]></description><link>http://localhost:4567/post/3291</link><guid isPermaLink="true">http://localhost:4567/post/3291</guid><dc:creator><![CDATA[dulloa]]></dc:creator><pubDate>Tue, 10 May 2011 10:41:45 GMT</pubDate></item><item><title><![CDATA[Reply to [SOLVED] Fop2 Don't start on Tue, 10 May 2011 10:24:56 GMT]]></title><description><![CDATA[<p dir="auto">What happens when you run fop2_server -X 3 ? Do you stop it with ctrl-c ? Did you download the correct version for your distro? Are you running selinux ?</p>
]]></description><link>http://localhost:4567/post/3290</link><guid isPermaLink="true">http://localhost:4567/post/3290</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Tue, 10 May 2011 10:24:56 GMT</pubDate></item><item><title><![CDATA[Reply to [SOLVED] Fop2 Don't start on Mon, 09 May 2011 23:31:58 GMT]]></title><description><![CDATA[<p dir="auto">root@hosting [/usr/local/fop2]# setenforce 0</p>
<pre><code>setenforce: SELinux is disabled
</code></pre>
<p dir="auto">and try again:</p>
<pre><code>root@hosting [/tmp]# ls |grep root
hsperfdata_root/
par-root/
pdk-root/
root@hosting [/tmp]# rm -rf hsperfdata_root/ par-root/ pdk-root/
root@hosting [/tmp]# /usr/local/fop2/fop2_server -X 3
root@hosting [/tmp]# 
root@hosting [/tmp]# ls |grep root
par-root/
root@hosting [/tmp]# ls par-root/cache-7e11dcc5170cf8f736ef8efe689ab86e/
./  ../  fop2_server*  libperl.so*
root@hosting [/tmp]#
</code></pre>
]]></description><link>http://localhost:4567/post/3289</link><guid isPermaLink="true">http://localhost:4567/post/3289</guid><dc:creator><![CDATA[dulloa]]></dc:creator><pubDate>Mon, 09 May 2011 23:31:58 GMT</pubDate></item><item><title><![CDATA[Reply to [SOLVED] Fop2 Don't start on Mon, 09 May 2011 23:16:34 GMT]]></title><description><![CDATA[<p dir="auto">root@hosting [~]# setenforce 0</p>
<pre><code>setenforce: SELinux is disabled
</code></pre>
<p dir="auto">start and .... shows nothing</p>
<pre><code>root@hosting [~]# /usr/local/fop2/fop2_server -X 3
root@hosting [~]#
</code></pre>
]]></description><link>http://localhost:4567/post/3288</link><guid isPermaLink="true">http://localhost:4567/post/3288</guid><dc:creator><![CDATA[dulloa]]></dc:creator><pubDate>Mon, 09 May 2011 23:16:34 GMT</pubDate></item><item><title><![CDATA[Reply to [SOLVED] Fop2 Don't start on Mon, 09 May 2011 20:12:03 GMT]]></title><description><![CDATA[<p dir="auto">Are you running selinux? If so, disable it or look at its log to enable fop2_server run. You can try by typing in the command line:</p>
<pre><code>setenforce 0
</code></pre>
<p dir="auto">After that, try to start the server in debug mode:</p>
<pre><code>/usr/local/fop2/fop2_server -X 3
</code></pre>
<p dir="auto">After a few seconds, you should start seeing quite a lot of lines of output.. If you do not see anything, you might want to stop it with ctrl-C, then removing the /tmp/par-root directory and try again.</p>
<p dir="auto">Once you see some output, the service should start normally.</p>
<p dir="auto">Best regards,</p>
]]></description><link>http://localhost:4567/post/3287</link><guid isPermaLink="true">http://localhost:4567/post/3287</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Mon, 09 May 2011 20:12:03 GMT</pubDate></item></channel></rss>