<?xml version="1.0" encoding="utf-8" ?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">

    <title type="text">Infobright.org Forums</title>
    <link rel="alternate" type="text/html" href="http://www.infobright.org/Forums/" />
    <link rel="self" type="application/atom+xml" href="http://www.infobright.org/Forums/atom/" />
    <updated></updated>
    <rights>Copyright (c) 2012</rights>
    <generator uri="http://expressionengine.com/" version="1.6.7">ExpressionEngine</generator>
    <id>tag:infobright.org,2012:02:06</id>


    <entry>
      <title>Unable to start up Inforbright server from linux</title>
      <link rel="alternate" type="text/html" href="http://www.infobright.org/Forums/viewthread/2740/" />      
      <id>tag:infobright.org,2012:Forums/viewthread/.2740</id>
      <published>2012-02-02T19:33:59Z</published>
      <updated></updated>
      <author><name>rudraraju</name></author>
      <content type="html">
      <![CDATA[
        <p>/usr/local/infobright/bin/mysqld<br />
120202 23:16:32 [ERROR] Fatal error: Please read &#8220;Security&#8221; section of the manual to find out how to run mysqld as root!</p>

<p>120202 23:16:32 [ERROR] Aborting</p>

<p>120202 23:16:32 [Note] /usr/local/infobright/bin/mysqld: Shutdown complete</p>

<p>Now I am unable to restart the server. When I installed the database did not set the password. But when I tried to set the password using the following statement mentioned in the user guide</p>

<p>• When the Infobright server is first installed, an administrator account with no password is created. To connect to the administrator account, use the following command:<br />
mysql-ib</p>

<p> mysql-ib<br />
ERROR 2002 (HY000): Can&#8217;t connect to local MySQL server through socket &#8216;/tmp/mysql-ib.sock&#8217; (2)</p>

<p>Request you to suggest point by point how to resolve the issues.
</p>
      ]]>
      </content>
    </entry>

    <entry>
      <title>Trying to set mysql root user gives error unknown variable &#8216;loose&#45;local&#45;infile=1&#8217;</title>
      <link rel="alternate" type="text/html" href="http://www.infobright.org/Forums/viewthread/2739/" />      
      <id>tag:infobright.org,2012:Forums/viewthread/.2739</id>
      <published>2012-02-02T17:08:57Z</published>
      <updated></updated>
      <author><name>rudraraju</name></author>
      <content type="html">
      <![CDATA[
        <p>I am trying to set password for the mysql root user. It gives the following error</p>

<p>i3nms-flt-o0818:~ # /usr/local/infobright-4.0.5-x86_64/bin/mysqladmin -u root password &#8216;infobright&#8217;<br />
Warning: /usr/local/infobright-4.0.5-x86_64/bin/mysqladmin: unknown variable &#8216;loose-local-infile=1&#8217;
</p>
      ]]>
      </content>
    </entry>

    <entry>
      <title>how can we execute .sql file in InfoBright msql&amp;gt; editor</title>
      <link rel="alternate" type="text/html" href="http://www.infobright.org/Forums/viewthread/2738/" />      
      <id>tag:infobright.org,2012:Forums/viewthread/.2738</id>
      <published>2012-02-01T18:56:30Z</published>
      <updated></updated>
      <author><name>rudraraju</name></author>
      <content type="html">
      <![CDATA[
        <p>taken a backup of existing database schema from mysql query browser .sql file. Trying to execute the file in InfoBright mysql&gt; </p>

<p>Usage: \. &lt;filename&gt; | source &lt;filename&gt;<br />
&nbsp;   -&gt; \. IFMBackup.sql</p>

<p>Request you to suggest how can we execute the .sql file in InfoBright.
</p>
      ]]>
      </content>
    </entry>

    <entry>
      <title>Problem with loading data with UTF8</title>
      <link rel="alternate" type="text/html" href="http://www.infobright.org/Forums/viewthread/2734/" />      
      <id>tag:infobright.org,2012:Forums/viewthread/.2734</id>
      <published>2012-01-31T11:05:54Z</published>
      <updated></updated>
      <author><name>Alon</name></author>
      <content type="html">
      <![CDATA[
        <p>Hi.<br />
I am testing ICE 4.0.5 and i am having problem with loading CSV data from a different Mysql Database.</p>

<p>My table :</p>

<p>CREATE TABLE `Test` (<br />
&nbsp; `ID` BIGINT(20) NOT NULL ,<br />
&nbsp; `carrier` VARCHAR(50) CHARSET utf8 COLLATE utf8_general_ci DEFAULT NULL<br />
)&nbsp; DEFAULT CHARSET=utf8  COLLATE=utf8_general_ci;</p>

<p><br />
the data i am loading is in a file that was created by using SELECT * INTO OUTFILE &#8220;/mnt/mysql/test.sql&#8221; FIELDS TERMINATED BY &#8216;,&#8217; ENCLOSED BY &#8216;&#8220;&#8217; LINES TERMINATED BY &#8216;\n&#8217; from test , here is the file data:<br />
&#8220;112&#8221;,&#8220;Compañía Dominicana de Teléfonos, C. por A. - CODE&#8221;</p>

<p>once this data is in a UTF8 file i am getting :</p>

<p>ERROR 2 (HY000): Wrong data or column definition. Row: 1, field: 2.</p>

<p>If i change the file coding to ANSI  i am able to load the data.</p>

<p>What can i do to load the data &gt;
</p>
      ]]>
      </content>
    </entry>

    <entry>
      <title>Problems with running Infobright Service</title>
      <link rel="alternate" type="text/html" href="http://www.infobright.org/Forums/viewthread/2661/" />      
      <id>tag:infobright.org,2011:Forums/viewthread/.2661</id>
      <published>2011-11-29T11:37:41Z</published>
      <updated></updated>
      <author><name>laurus</name></author>
      <content type="html">
      <![CDATA[
        <p>I&#8217;ve installed IEE 4.0.5 win32.</p>

<p>I can not start the Infobright service. I&#8217;m getting message:</p>

<p>Could not start the Infobright service in Local Computer.<br />
Error <b>1067</b>: The process terminated unexpectedly.</p>

<p>Any suggestions what need to be fixed?</p>

<p>Thanks in advance.
</p>
      ]]>
      </content>
    </entry>

    <entry>
      <title>getting error on infobrite mysql server as &#8220;Incorrect information in file: &#8216;./sdh/temp_229637.frm&#8221; Please help me why it is comming&#63;</title>
      <link rel="alternate" type="text/html" href="http://www.infobright.org/Forums/viewthread/2482/" />      
      <id>tag:infobright.org,2011:Forums/viewthread/.2482</id>
      <published>2011-08-04T07:04:42Z</published>
      <updated></updated>
      <author><name>Buddoda!</name></author>
      <content type="html">
      <![CDATA[
        <p>getting error on infobrite mysql server as &#8220;Incorrect information in file: &#8216;./sdh/temp_229637.frm&#8221; Please help me why it is comming?</p>

<p>Application details</p>

<p>Server version: 5.1.40 build number (revision)=IB_3.5.2_r11794_12393(ice)<br />
We are trying for around 40 parallel load data commands into the database.<br />
 
We create a table load the data into the table and then query the table for the required data and export it to an outfile and then drop the table.<br />
Again we create a a new table now we load the data from the out file into this newly created table.</p>

<p>please find attached error log file. <br />
could you please help me on this bug</p>

<p>Application details<br />
Loading configuration for Infobright instance ...<br />
Option: AllowMySQLQueryPath, value: 0.<br />
Option: AutoConfigure, value: 0.<br />
Option: CacheFolder, value: /usr/local/infobright-3.5.2-x86_64/cache.<br />
Option: ControlMessages, value: 0.<br />
Option: InternalMessages, value: 0.<br />
Option: KNFolder, value: BH_RSI_Repository.<br />
Option: KNLevel, value: 99.<br />
Option: LicenseFile, value: &lt;unknown&gt;.<br />
Option: LoaderMainHeapSize, value: 800.<br />
Option: PushDown, value: 1.<br />
Option: ServerMainHeapSize, value: 10000.<br />
Option: UseMySQLImportExportDefaults, value: 0.<br />
Infobright instance configuration loaded.<br />
110803 11:54:33 [Note] Event Scheduler: Loaded 0 events<br />
110803 11:54:33 [Note] Infobright Community Edition is ready for connections.<br />
socket: &#8216;/tmp/mysql-ib.sock&#8217; port: 5029 build number (revision)=IB_3.5.2_r11794_12393(ice)<br />
110803 12:37:00 [ERROR] /usr/local/infobright-3.5.2-x86_64/bin/mysqld: Incorrect information in file: &#8216;./sdh/summary_temp_condition_207306.frm&#8217;<br />
110803 12:37:01 [ERROR] /usr/local/infobright-3.5.2-x86_64/bin/mysqld: Incorrect information in file: &#8216;./sdh/temp_229637.frm&#8217;<br />
110803 14:25:21 [ERROR] /usr/local/infobright-3.5.2-x86_64/bin/mysqld: Incorrect information in file: &#8216;./sdh/summary_temp_condition_207306.frm&#8217;<br />
110803 14:25:22 [ERROR] /usr/local/infobright-3.5.2-x86_64/bin/mysqld: Incorrect information in file: &#8216;./sdh/temp_229637.frm&#8217;<br />
110803 16:22:44 [ERROR] /usr/local/infobright-3.5.2-x86_64/bin/mysqld: Incorrect information in file: &#8216;./sdh/summary_temp_condition_207306.frm&#8217;<br />
110803 16:22:44 [ERROR] /usr/local/infobright-3.5.2-x86_64/bin/mysqld: Incorrect information in file: &#8216;./sdh/temp_229637.frm&#8217;<br />
110803 16:55:55 [ERROR] /usr/local/infobright-3.5.2-x86_64/bin/mysqld: Incorrect information in file: &#8216;./sdh/summary_temp_condition_207306.frm&#8217;<br />
110803 16:55:56 [ERROR] /usr/local/infobright-3.5.2-x86_64/bin/mysqld: Incorrect information in file: &#8216;./sdh/temp_229637.frm&#8217;<br />
110803 16:58:11 [ERROR] /usr/local/infobright-3.5.2-x86_64/bin/mysqld: Incorrect information in file: &#8216;./sdh/summary_temp_condition_207306.frm&#8217;<br />
110803 16:58:11 [ERROR] /usr/local/infobright-3.5.2-x86_64/bin/mysqld: Incorrect information in file: &#8216;./sdh/temp_229637.frm&#8217;<br />
110803 17:05:34 [ERROR] /usr/local/infobright-3.5.2-x86_64/bin/mysqld: Incorrect information in file: &#8216;./sdh/summary_temp_condition_207306.frm&#8217;<br />
110803 17:05:34 [ERROR] /usr/local/infobright-3.5.2-x86_64/bin/mysqld: Incorrect information in file: &#8216;./sdh/temp_229637.frm&#8217;<br />
110803 17:28:05 [ERROR] /usr/local/infobright-3.5.2-x86_64/bin/mysqld: Incorrect information in file: &#8216;./sdh<br />
110803 17:29:25 [ERROR] /usr/local/infobright-3.5.2-x86_64/bin/mysqld: Incorrect information in file: &#8216;./sdh/temp_229637.frm&#8217;<br />
110803 17:32:31 [ERROR] /usr/local/infobright-3.5.2-x86_64/bin/mysqld: Incorrect information in file: &#8216;./sdh/summary_temp_condition_207306.frm&#8217;<br />
110803 17:32:31 [ERROR] /usr/local/infobright-3.5.2-x86_64/bin/mysqld: Incorrect information in file: &#8216;./sdh/temp_229637.frm&#8217;<br />
110803 17:52:42 [ERROR] /usr/local/infobright-3.5.2-x86_64/bin/mysqld: Incorrect information in file: &#8216;./sdh/summary_temp_condition_207306.frm&#8217;<br />
110803 17:52:42 [ERROR] /usr/local/infobright-3.5.2-x86_64/bin/mysqld: Incorrect information in file: &#8216;./sdh/temp_229637.frm&#8217;<br />
110803 18:03:20 [ERROR] /usr/local/infobright-3.5.2-x86_64/bin/mysqld: Incorrect information in file: &#8216;./sdh/summary_temp_condition_207306.frm&#8217;<br />
110803 18:03:20 [ERROR] /usr/local/infobright-3.5.2-x86_64/bin/mysqld: Incorrect information in file: &#8216;./sdh/temp_229637.frm&#8217;<br />
110803 18:13:14 [ERROR] /usr/local/infobright-3.5.2-x86_64/bin/mysqld: Incorrect information in file: &#8216;./sdh/summary_temp_condition_207306.frm&#8217;<br />
110803 18:13:14 [ERROR] /usr/local/infobright-3.5.2-x86_64/bin/mysqld: Incorrect information in file: &#8216;./sdh/temp_229637.frm&#8217;<br />
110803 18:17:14 - mysqld got signal 11 ;<br />
This could be because you hit a bug. It is also possible that this binary<br />
or one of the libraries it was linked against is corrupt, improperly built,<br />
or misconfigured. This error can also be caused by malfunctioning hardware.<br />
We will try our best to scrape up some info that will hopefully help diagnose<br />
the problem, but since we have already crashed, something is definitely wrong<br />
and this may fail.</p>

<p>key_buffer_size=16777216<br />
read_buffer_size=1048576<br />
max_used_connections=26<br />
max_threads=151<br />
threads_connected=22<br />
It is possible that mysqld could use up to<br />
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 327166 K<br />
bytes of memory<br />
Hope that&#8217;s ok; if not, decrease some variables in the equation.</p>

<p>thd: 0x2b82dc0513c0<br />
Attempting backtrace. You can use the following information to find out<br />
where mysqld died. If you see no messages after this, something went<br />
terribly wrong&#8230;<br />
stack_bottom = 0x2b82d9330f50 thread_stack 0x80000<br />
[0x9519c9]<br />
[0x4027da]<br />
[0xa82a60]<br />
[0x7676aa]<br />
[0x6e5428]<br />
[0x652ee4]<br />
[0x58ef1a]<br />
[0x4a2878]<br />
[0x4eb90a]<br />
[0x4b8761]<br />
[0x4b9d13]<br />
[0x4ac4a1]<br />
[0xa7dc7d]<br />
[0xac29f9]<br />
Trying to get some variables.<br />
Some pointers may be invalid and cause the dump to abort&#8230;<br />
thd-&gt;query at 0x2b82dc0bd850 is an invalid pointer
</p>
      ]]>
      </content>
    </entry>

    <entry>
      <title>Issues upgrading from 3.5.2 to 3.5.2&#45;P1 on Linux</title>
      <link rel="alternate" type="text/html" href="http://www.infobright.org/Forums/viewthread/2352/" />      
      <id>tag:infobright.org,2011:Forums/viewthread/.2352</id>
      <published>2011-05-31T20:01:51Z</published>
      <updated></updated>
      <author><name>Prasad</name></author>
      <content type="html">
      <![CDATA[
        <p>Hi,</p>

<p>On Linux I have a 3.5.2 32-bit Infobright [IB_3.5.2_r11794_12019(ice)] running with millions of rows. To upgrade to 3.5.2-P1 [IB_3.5.2_r11794_12393(ice)], since it is a bug-fix upgrade, I simply replaced the older versions of the following folders from 3.5.2 with the new ones from 3.5.2-P1: &#8220;bin&#8221;, &#8220;include&#8221;, &#8220;lib&#8221;, &#8220;libexec&#8221;, &#8220;scripts&#8221;, &#8220;share&#8221;, &#8220;support-files&#8221;. However, when I start Infobright, it comes up with errors:-</p>

<p><span style="color:red;"><br />
110531 17:01:48 mysqld_safe mysqld from pid file /var/lib/infobright/ajitsuma.devlab.com.pid ended<br />
110531 17:03:22 mysqld_safe Starting mysqld daemon with databases from /var/lib/infobright<br />
Loading configuration for Infobright instance ...<br />
Option: AllowMySQLQueryPath, value: 0.<br />
Option: AutoConfigure, value: 0.<br />
Option: CacheFolder, value: /var/lib/infobright/cache.<br />
Option: ControlMessages, value: 1.<br />
Option: InternalMessages, value: 0.<br />
Option: KNFolder, value: BH_RSI_Repository.<br />
Option: KNLevel, value: 99.<br />
Option: LicenseFile, value: &lt;unknown&gt;.<br />
Option: LoaderMainHeapSize, value: 320.<br />
Option: PushDown, value: 1.<br />
Option: ServerMainHeapSize, value: 600.<br />
Option: UseMySQLImportExportDefaults, value: 0.<br />
Infobright instance configuration loaded.<br />
110531 17:03:22 [ERROR] Plugin &#8216;BRIGHTHOUSE&#8217; init function returned error.<br />
110531 17:03:22 [ERROR] Plugin &#8216;BRIGHTHOUSE&#8217; registration as a STORAGE ENGINE failed.<br />
110531 17:03:22 [ERROR] Unknown/unsupported table type: brighthouse<br />
110531 17:03:22 [ERROR] Aborting</p>

<p>110531 17:03:22 [Note] /opt/GMSVP/infobright/bin/mysqld: Shutdown complete</p>

<p>110531 17:03:22 mysqld_safe mysqld from pid file /var/lib/infobright/ajitsuma.devlab.com.pid ended<br />
</span></p>

<p>The brighthouse.log file has the following entries:-</p>

<p>&nbsp;   <span style="color:red;">2011-05-31 17:03:22 Brighthouse: Fatal error: Unable to start IB Updater (/opt/GMSVP/infobright/bin/updater).</span></p>

<p><br />
I tried the same approach in Windows, and it worked just fine. </p>

<p>Any tips?</p>

<p>Thanks,<br />
Prasad
</p>
      ]]>
      </content>
    </entry>

    <entry>
      <title>ICE EC2 Instructions Typo</title>
      <link rel="alternate" type="text/html" href="http://www.infobright.org/Forums/viewthread/1983/" />      
      <id>tag:infobright.org,2011:Forums/viewthread/.1983</id>
      <published>2011-02-07T21:29:34Z</published>
      <updated></updated>
      <author><name>Alan Musnikow</name></author>
      <content type="html">
      <![CDATA[
        <p><a href="http://www.infobright.org/downloads/contributions/Amazon_Cloud_EC2_Instructions.pdf+Amazon&amp;hl=en&amp;gl=us&amp;pid=bl&amp;srcid=ADGEESglr8T24jo8_Nv9_fmNfp3QuMpAeCEkaCNQm4_0vkCV-YlFpyp65-eLrIJZ67qLNnFo1jfg4-_BWGiZlS-TohIsDCkDvji1VLgO4Vu3SwH8irclv-CHsuJOy11ocBioA8sa-kw1&amp;sig=AHIEtbR-VMEAvx2DnNoTcjItEGHLOzOV4Q&amp;pli=1">http://www.infobright.org/downloads/contributions/Amazon_Cloud_EC2_Instructions.pdf+Amazon&amp;hl=en&amp;gl=us&amp;pid=bl&amp;srcid=ADGEESglr8T24jo8_Nv9_fmNfp3QuMpAeCEkaCNQm4_0vkCV-YlFpyp65-eLrIJZ67qLNnFo1jfg4-_BWGiZlS-TohIsDCkDvji1VLgO4Vu3SwH8irclv-CHsuJOy11ocBioA8sa-kw1&amp;sig=AHIEtbR-VMEAvx2DnNoTcjItEGHLOzOV4Q&amp;pli=1</a> says:
</p><blockquote><p>electronic block storage.</p></blockquote><p>
I think it should say:
</p><blockquote><p>elastic block store.</p></blockquote>
      ]]>
      </content>
    </entry>

    <entry>
      <title>i want to use innodb plugin and get following errmsg</title>
      <link rel="alternate" type="text/html" href="http://www.infobright.org/Forums/viewthread/1940/" />      
      <id>tag:infobright.org,2011:Forums/viewthread/.1940</id>
      <published>2011-01-16T22:23:54Z</published>
      <updated></updated>
      <author><name>tomkyte</name></author>
      <content type="html">
      <![CDATA[
        <p>i add following under [mysqld] of d:\ice35\my-ib.ini<br />
then put ha_innodb.dll into D:\ICE35\lib\plugin
</p><div class="codeblock"><code><span style="color: #000000">
<span style="color: #0000BB">ignore_builtin_innodb<br />&nbsp;&nbsp;&nbsp;plugin_load</span><span style="color: #007700">=</span><span style="color: #0000BB">innodb</span><span style="color: #007700">=</span><span style="color: #0000BB">ha_innodb</span><span style="color: #007700">.</span><span style="color: #0000BB">dll</span><span style="color: #007700">;</span><span style="color: #0000BB">innodb_trx</span><span style="color: #007700">=</span><span style="color: #0000BB">ha_innodb</span><span style="color: #007700">.</span><span style="color: #0000BB">dll</span><span style="color: #007700">;</span><span style="color: #0000BB">innodb_locks</span><span style="color: #007700">=</span><span style="color: #0000BB">ha_innodb</span><span style="color: #007700">.</span><span style="color: #0000BB">dll</span><span style="color: #007700">;</span><span style="color: #0000BB">innodb_lock_waits</span><span style="color: #007700">=</span><span style="color: #0000BB">ha_innodb</span><span style="color: #007700">.</span><span style="color: #0000BB">dll</span><span style="color: #007700">;</span><span style="color: #0000BB">innodb_cmp</span><span style="color: #007700">=</span><span style="color: #0000BB">ha_innodb</span><span style="color: #007700">.</span><span style="color: #0000BB">dll</span><span style="color: #007700">;</span><span style="color: #0000BB">innodb_cmp_reset</span><span style="color: #007700">=</span><span style="color: #0000BB">ha_innodb</span><span style="color: #007700">.</span><span style="color: #0000BB">dll</span><span style="color: #007700">;</span><span style="color: #0000BB">innodb_cmpmem</span><span style="color: #007700">=</span><span style="color: #0000BB">ha_innodb</span><span style="color: #007700">.</span><span style="color: #0000BB">dll</span><span style="color: #007700">;</span><span style="color: #0000BB">innodb_cmpmem_reset</span><span style="color: #007700">=</span><span style="color: #0000BB">ha_innodb</span><span style="color: #007700">.</span><span style="color: #0000BB">dll&nbsp;</span>
</span>
</code></div><p>
D:\ICE35&gt;sc start infobright</p>

<p><br />
D:\ICE35&gt;bin\mysql -uroot
</p><div class="codeblock"><code><span style="color: #000000">
<span style="color: #0000BB">error</span><span style="color: #007700">:&nbsp;</span><span style="color: #0000BB">Found&nbsp;option&nbsp;without&nbsp;preceding&nbsp;group&nbsp;in&nbsp;config&nbsp;file</span><span style="color: #007700">:&nbsp;</span><span style="color: #0000BB">D</span><span style="color: #007700">:</span><span style="color: #0000BB">\ICE35\my</span><span style="color: #007700">-</span><span style="color: #0000BB">ib</span><span style="color: #007700">.</span><span style="color: #0000BB">ini&nbsp;at&nbsp;line</span><span style="color: #007700">:&nbsp;</span><span style="color: #0000BB">1<br />Fatal&nbsp;error&nbsp;in&nbsp;defaults&nbsp;handling</span><span style="color: #007700">.&nbsp;</span><span style="color: #0000BB">Program&nbsp;aborted<br />Welcome&nbsp;to&nbsp;the&nbsp;MySQL&nbsp;monitor</span><span style="color: #007700">.&nbsp;&nbsp;</span><span style="color: #0000BB">Commands&nbsp;end&nbsp;with&nbsp;</span><span style="color: #007700">;&nbsp;or&nbsp;</span><span style="color: #0000BB">\g</span><span style="color: #007700">.<br /></span><span style="color: #0000BB">Your&nbsp;MySQL&nbsp;connection&nbsp;id&nbsp;is&nbsp;1<br />Server&nbsp;version</span><span style="color: #007700">:&nbsp;</span><span style="color: #0000BB">5.1.40&nbsp;build&nbsp;number&nbsp;</span><span style="color: #007700">(</span><span style="color: #0000BB">revision</span><span style="color: #007700">)=</span><span style="color: #0000BB">IB_3.5.0_r9686_9787</span><span style="color: #007700">(</span><span style="color: #0000BB">ice</span><span style="color: #007700">)<br /><br /></span><span style="color: #0000BB">Type&nbsp;</span><span style="color: #DD0000">'help;'&nbsp;</span><span style="color: #007700">or&nbsp;</span><span style="color: #DD0000">'\h'&nbsp;</span><span style="color: #007700">for&nbsp;</span><span style="color: #0000BB">help</span><span style="color: #007700">.&nbsp;</span><span style="color: #0000BB">Type&nbsp;</span><span style="color: #DD0000">'\c'&nbsp;</span><span style="color: #0000BB">to&nbsp;clear&nbsp;the&nbsp;current&nbsp;input&nbsp;statement</span><span style="color: #007700">.<br /><br /></span><span style="color: #0000BB">mysql</span><span style="color: #007700">&gt;&nbsp;</span><span style="color: #0000BB">INSTALL&nbsp;PLUGIN&nbsp;innodb&nbsp;SONAME&nbsp;</span><span style="color: #DD0000">'ha_innodb.dll'</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">ERROR&nbsp;1126&nbsp;</span><span style="color: #007700">(</span><span style="color: #0000BB">HY000</span><span style="color: #007700">):&nbsp;</span><span style="color: #0000BB">Can</span><span style="color: #DD0000">'t&nbsp;open&nbsp;shared&nbsp;library&nbsp;'</span><span style="color: #0000BB">d</span><span style="color: #007700">:</span><span style="color: #0000BB">\ICE35\lib</span><span style="color: #007700">/</span><span style="color: #0000BB">plugin</span><span style="color: #007700">/</span><span style="color: #0000BB">ha_innodb</span><span style="color: #007700">.</span><span style="color: #0000BB">dll&nbsp;</span><span style="color: #007700">(</span><span style="color: #0000BB">errno</span><span style="color: #007700">:&nbsp;</span><span style="color: #0000BB">2&nbsp;</span><span style="color: #007700">)<br /></span><span style="color: #0000BB">mysql</span><span style="color: #007700">&gt;&nbsp;</span><span style="color: #0000BB">show&nbsp;plugins</span><span style="color: #007700">;<br />+-------------+--------+----------------+---------+-------------+<br />|&nbsp;</span><span style="color: #0000BB">Name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">|&nbsp;</span><span style="color: #0000BB">Status&nbsp;</span><span style="color: #007700">|&nbsp;</span><span style="color: #0000BB">Type&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">|&nbsp;</span><span style="color: #0000BB">Library&nbsp;</span><span style="color: #007700">|&nbsp;</span><span style="color: #0000BB">License&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">|<br />+-------------+--------+----------------+---------+-------------+<br />|&nbsp;</span><span style="color: #0000BB">binlog&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">|&nbsp;</span><span style="color: #0000BB">ACTIVE&nbsp;</span><span style="color: #007700">|&nbsp;</span><span style="color: #0000BB">STORAGE&nbsp;ENGINE&nbsp;</span><span style="color: #007700">|&nbsp;</span><span style="color: #0000BB">NULL&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">|&nbsp;</span><span style="color: #0000BB">GPL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">|<br />|&nbsp;</span><span style="color: #0000BB">CSV&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">|&nbsp;</span><span style="color: #0000BB">ACTIVE&nbsp;</span><span style="color: #007700">|&nbsp;</span><span style="color: #0000BB">STORAGE&nbsp;ENGINE&nbsp;</span><span style="color: #007700">|&nbsp;</span><span style="color: #0000BB">NULL&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">|&nbsp;</span><span style="color: #0000BB">GPL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">|<br />|&nbsp;</span><span style="color: #0000BB">MEMORY&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">|&nbsp;</span><span style="color: #0000BB">ACTIVE&nbsp;</span><span style="color: #007700">|&nbsp;</span><span style="color: #0000BB">STORAGE&nbsp;ENGINE&nbsp;</span><span style="color: #007700">|&nbsp;</span><span style="color: #0000BB">NULL&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">|&nbsp;</span><span style="color: #0000BB">GPL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">|<br />|&nbsp;</span><span style="color: #0000BB">MyISAM&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">|&nbsp;</span><span style="color: #0000BB">ACTIVE&nbsp;</span><span style="color: #007700">|&nbsp;</span><span style="color: #0000BB">STORAGE&nbsp;ENGINE&nbsp;</span><span style="color: #007700">|&nbsp;</span><span style="color: #0000BB">NULL&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">|&nbsp;</span><span style="color: #0000BB">GPL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">|<br />|&nbsp;</span><span style="color: #0000BB">MRG_MYISAM&nbsp;&nbsp;</span><span style="color: #007700">|&nbsp;</span><span style="color: #0000BB">ACTIVE&nbsp;</span><span style="color: #007700">|&nbsp;</span><span style="color: #0000BB">STORAGE&nbsp;ENGINE&nbsp;</span><span style="color: #007700">|&nbsp;</span><span style="color: #0000BB">NULL&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">|&nbsp;</span><span style="color: #0000BB">GPL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">|<br />|&nbsp;</span><span style="color: #0000BB">partition&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">|&nbsp;</span><span style="color: #0000BB">ACTIVE&nbsp;</span><span style="color: #007700">|&nbsp;</span><span style="color: #0000BB">STORAGE&nbsp;ENGINE&nbsp;</span><span style="color: #007700">|&nbsp;</span><span style="color: #0000BB">NULL&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">|&nbsp;</span><span style="color: #0000BB">GPL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">|<br />|&nbsp;</span><span style="color: #0000BB">BRIGHTHOUSE&nbsp;</span><span style="color: #007700">|&nbsp;</span><span style="color: #0000BB">ACTIVE&nbsp;</span><span style="color: #007700">|&nbsp;</span><span style="color: #0000BB">STORAGE&nbsp;ENGINE&nbsp;</span><span style="color: #007700">|&nbsp;</span><span style="color: #0000BB">NULL&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">|&nbsp;</span><span style="color: #0000BB">PROPRIETARY&nbsp;</span><span style="color: #007700">|<br />+-------------+--------+----------------+---------+-------------+&nbsp;</span>
</span>
</code></div>
      ]]>
      </content>
    </entry>

    <entry>
      <title>Installing multiple instances of ICE with RPM</title>
      <link rel="alternate" type="text/html" href="http://www.infobright.org/Forums/viewthread/1669/" />      
      <id>tag:infobright.org,2010:Forums/viewthread/.1669</id>
      <published>2010-07-30T18:07:39Z</published>
      <updated>2010-08-01T08:17:10Z</updated>
      <author><name>David Lutz</name></author>
      <content type="html">
      <![CDATA[
        <p>I have developed and tested the following method for installing a second instance of ICE (and/or IEE) on a single physical server after an initial installation with the RPM installer as RPM is not designed to install multiple copies of the same package.&nbsp; (It can be easily repeated for more than two instances or modified for multiple versions of ICE/IEE.)&nbsp; Similar efforts would be required for DEB and PKG installations but not necessary with the <span style="color:black;"><b>install-infobright.sh</b></span> script included in the TAR packages.</p>

<p>There are really no sequential dependencies here so any of the steps can be done in any order but I find the following to be the most logical to me.&nbsp; If your second installation fails to start, review the server log, bh.err by default, in the data directory for your 2nd installation.&nbsp; It will point out what can&#8217;t be found, read, or rationalized.</p>

<p>Good luck!</p>

<p>1. install 1st instance with the <span style="color:black;"><b>rpm</b></span> command per instructions found <a href="http://www.infobright.org/wiki/Install_Guide_for_Linux/">here</a> (click link to be taken to the wiki page)
</p><div class="codeblock"><code><span style="color: #000000">
<span style="color: #FF8000">#&nbsp;rpm&nbsp;-i&nbsp;infobright_&lt;version_name&gt;.rpm&nbsp;</span>
</span>
</code></div>

<p>2. if you started the infobright server after installation, be sure to shut down the server for the 1st installed instance
</p><div class="codeblock"><code><span style="color: #000000">
<span style="color: #FF8000">#&nbsp;/etc/init.d/mysqld-ib&nbsp;stop&nbsp;</span>
</span>
</code></div>

<p>3. create 2nd symbolic link in <span style="color:orange;">/usr/local</span> to infobright software directory
</p><div class="codeblock"><code><span style="color: #000000">
<span style="color: #FF8000">#&nbsp;ln&nbsp;-s&nbsp;/usr/local/&lt;infobright&nbsp;softare&gt;&nbsp;&lt;new&nbsp;link&gt;&nbsp;</span>
</span>
</code></div>

<p>4. create new data &amp; cache directories (can be a copy of existing directories), be sure to preserve the mysql ownership and privileges
</p><div class="codeblock"><code><span style="color: #000000">
<span style="color: #FF8000">#&nbsp;cp&nbsp;-rp&nbsp;/&lt;path&gt;/&lt;1dir&gt;&nbsp;/&lt;path&gt;/&lt;2dir&gt;&nbsp;</span>
</span>
</code></div><p>
By default, the data and cache directories are located in <span style="color:orange;">/usr/local/infobright</span>.&nbsp; Many users run the <span style="color:black;"><b>postconfig.sh</b></span> script to relocate them to somewhere like <span style="color:orange;">/opt/infobright</span> so their paths are <span style="color:orange;">/opt/infobright/data</span> and <span style="color:orange;">/opt/infobright/cache</span>.&nbsp; In this case the command would look like this:
</p><div class="codeblock"><code><span style="color: #000000">
<span style="color: #FF8000">#&nbsp;cp&nbsp;-rp&nbsp;/opt/infobright&nbsp;/opt/&lt;2dir&gt;&nbsp;</span>
</span>
</code></div>

<p>5. edit new <span style="color:orange;">/&lt;2dir&gt;/data/brighthouse.ini</span><br />
&nbsp; - change &#8216;CacheFolder&#8217; value from CacheFolder = /&lt;1dir&gt;/cache to CacheFolder = /&lt;2dir&gt;/cache</p>

<p><b>NOTE:</b>&nbsp; <i>If you plan to run both instances simultaneously, you may also need to adjust the amount of memory specified for <span style="color:blue;">ServerManHeapSize</span> such that the combined amounts do not exceed the total memory of the physical server.</i></p>

<p>6. copy mysql config file to a new file
</p><div class="codeblock"><code><span style="color: #000000">
<span style="color: #FF8000">#&nbsp;cp&nbsp;/etc/my-ib.cnf&nbsp;/etc/my-&lt;name&gt;.cnf&nbsp;</span>
</span>
</code></div>

<p>7. edit the new mysql config file, <span style="color:orange;">/etc/my-&lt;name&gt;.cnf</span><br />
&nbsp; - change every occurrence of &#8216;port&#8217; value from 5029 to a different, unused port number, say, 5030 (3 times)<br />
&nbsp; - change every occurrence of &#8216;socket&#8217; value from /etc/mysql-ib.sock to /etc/mysql-&lt;name&gt;.sock (2 times)</p>

<p>&nbsp; - change &#8216;infobright&#8217; in the following line to &lt;new link&gt;<br />
&nbsp; -&nbsp;  &nbsp;  basedir=/usr/local/&lt;new link&gt;</p>

<p>&nbsp; - change every occurrence of &#8216;infobright&#8217; in the following lines to &lt;2dir&gt;<br />
&nbsp; -&nbsp;  &nbsp;  datadir = /&lt;2dir&gt;/data<br />
&nbsp; -&nbsp;  &nbsp;  log-error = /&lt;2dir&gt;/data/bh.err<br />
&nbsp; -&nbsp;  &nbsp;  general_log_file=/&lt;2dir&gt;/data/general_query.log<br />
&nbsp; -&nbsp;  &nbsp;  slow_query_log_file=/&lt;2dir&gt;/data/slow_query.log</p>

<p>8. copy infobright start/stop script to new file
</p><div class="codeblock"><code><span style="color: #000000">
<span style="color: #FF8000">#&nbsp;cp&nbsp;/etc/init.d/mysqld-ib&nbsp;/etc/init.d/mysqld-&lt;name&gt;&nbsp;</span>
</span>
</code></div>

<p>9. edit new start/stop script, <span style="color:orange;">/etc/init.d/mysqld-&lt;name&gt;</span><br />
&nbsp; - change &#8216;conf&#8217; value from conf=/etc/my-ib.cnf to conf=/etc/my-&lt;name&gt;.cnf</p>

<p>10. copy client script to new file
</p><div class="codeblock"><code><span style="color: #000000">
<span style="color: #FF8000">#&nbsp;cp&nbsp;/usr/bin/mysql-ib&nbsp;/usr/bin/mysql-&lt;name&gt;&nbsp;</span>
</span>
</code></div>

<p>11. edit new client script, <span style="color:orange;">/usr/bin/mysql-&lt;name&gt;</span><br />
&nbsp; - change path to use new link name - /usr/local/&lt;new link&gt;/bin/mysql<br />
&nbsp; - change defaults-file to new mysql config file -&#8212;defaults-file=/etc/my-&lt;name&gt;.cnf</p>

<p>12. restart 1st server and start 2nd server
</p><div class="codeblock"><code><span style="color: #000000">
<span style="color: #FF8000">#&nbsp;/etc/init.d/mysqld-ib&nbsp;start<br />#&nbsp;/etc/init.d/mysqld-&lt;name&gt;&nbsp;start&nbsp;</span>
</span>
</code></div>

<p><span style="color:blue;"><b>UPDATE</b>:&nbsp; If one uses the same string for &lt;name&gt;, &lt;new link&gt; and &lt;2dir&gt; (as I did), this is greatly simplified.</span>
</p>
      ]]>
      </content>
    </entry>


</feed>
