<?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[ERROR ... line 17: [: too many arguments]]></title><description><![CDATA[<p dir="auto">Hello,<br />
I tried to install demo of the fop2 (2.27-centos-i386, Asterisk 11.6.0, FreePBX 2.11.0.14). After installation, configuring of <strong>/usr/local/fop2/fop2.cfg</strong> , <strong>/etc/asterisk/manager.conf</strong> and execute of</p>
<pre><code>#&gt; /usr/local/fop2/fop2_server --test
</code></pre>
<p dir="auto">I received following error message:</p>
<pre><code># /usr/local/fop2/fop2_server --test
Flash Operator Panel 2 - License file fop2.lic not found.
Running in Demo Mode
/usr/local/fop2/autoconfig-buttons-freepbx.sh: line 17: [: too many arguments
Connection to manager OK!
</code></pre>
<p dir="auto">I'm not able to connect to fop2-panel at <a href="http://mydomain/fop2" rel="nofollow ugc">http://mydomain/fop2</a> and the "FOP2"-line did not appear in the FreePBX menu "Reports".</p>
<p dir="auto">What may be a reason of this error?</p>
<p dir="auto">Thanks in advance for your support.</p>
]]></description><link>https://forum.fop2.com/topic/1687/error-...-line-17-too-many-arguments</link><generator>RSS for Node</generator><lastBuildDate>Tue, 27 Oct 2026 19:00:40 GMT</lastBuildDate><atom:link href="https://forum.fop2.com/topic/1687.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 10 Jan 2014 23:14:02 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to ERROR ... line 17: [: too many arguments on Sat, 11 Jan 2014 02:15:14 GMT]]></title><description><![CDATA[<p dir="auto">FOP2 installed and everything is OK. Thanks again!</p>
]]></description><link>https://forum.fop2.com/post/7293</link><guid isPermaLink="true">https://forum.fop2.com/post/7293</guid><dc:creator><![CDATA[panikovskij]]></dc:creator><pubDate>Sat, 11 Jan 2014 02:15:14 GMT</pubDate></item><item><title><![CDATA[Reply to ERROR ... line 17: [: too many arguments on Sat, 11 Jan 2014 01:50:57 GMT]]></title><description><![CDATA[<p dir="auto">Thank you very much! I'll try it right now. <img src="https://forum.fop2.com/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>
]]></description><link>https://forum.fop2.com/post/7292</link><guid isPermaLink="true">https://forum.fop2.com/post/7292</guid><dc:creator><![CDATA[panikovskij]]></dc:creator><pubDate>Sat, 11 Jan 2014 01:50:57 GMT</pubDate></item><item><title><![CDATA[Reply to ERROR ... line 17: [: too many arguments on Sat, 11 Jan 2014 00:02:32 GMT]]></title><description><![CDATA[<p dir="auto">The reason for the error is that the autoconfig script included in fop2 tries to determine the FreePBX version number, and the latest FreePBX version includes a duplicate line in their xml info page. The error is a problem , but it does not prevent fop2 from working. You can fix it by changing line 15 of /usr/local/fop2/autoconfig-buttons-freepbx.sh from this:</p>
<pre><code>AMPVERSION=`cat $AMPDIR | grep "&lt;version&gt;" | sed -e 's/&lt;[^&gt;]*&gt;//g' | cut -d\. -f 1,2 | sed 's/\s//g' | sed 's/\.//g'`
</code></pre>
<p dir="auto">to this:</p>
<pre><code>AMPVERSION=`cat $AMPDIR | grep "&lt;version&gt;" | head -n 1 | sed -e 's/&lt;[^&gt;]*&gt;//g' | cut -d\. -f 1,2 | sed 's/\s//g' | sed 's/\.//g'`
</code></pre>
<p dir="auto">If you want to see a FOP2 menu in freePBX, you also need to install the fop2admin manager module, you can download version 1.2.15 from <a href="http://www.fop2.com/download.php" rel="nofollow ugc">http://www.fop2.com/download.php</a>, here you have instructions to install it (just upload it via module admin):</p>
<p dir="auto"><a href="http://www.fop2.com/documentation-installation-freepbx-module.php" rel="nofollow ugc">http://www.fop2.com/documentation-insta ... module.php</a></p>
<p dir="auto">And finally, be sure fop2 is started. In the server, run this to start it:</p>
<pre><code>service fop2 start
</code></pre>
<p dir="auto">wait a while and then check that is running with the following command (that must return a number):</p>
<pre><code>pgrep fop2
</code></pre>
<p dir="auto">If it returns a number, then fop2 is running so you might want to try to log in with your browser.</p>
<p dir="auto">Best regards,</p>
]]></description><link>https://forum.fop2.com/post/7291</link><guid isPermaLink="true">https://forum.fop2.com/post/7291</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Sat, 11 Jan 2014 00:02:32 GMT</pubDate></item></channel></rss>