<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Install DB2 on Mac OS X and give us feedback</title>
	<atom:link href="http://programmingzen.com/2009/01/20/installing-db2-on-mac-os-x/feed/" rel="self" type="application/rss+xml" />
	<link>http://programmingzen.com/2009/01/20/installing-db2-on-mac-os-x/</link>
	<description>Meditations on programming, startups, and technology</description>
	<lastBuildDate>Mon, 16 Jan 2012 09:16:51 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<item>
		<title>By: dhinchak</title>
		<link>http://programmingzen.com/2009/01/20/installing-db2-on-mac-os-x/#comment-25530</link>
		<dc:creator>dhinchak</dc:creator>
		<pubDate>Fri, 07 Oct 2011 02:45:52 +0000</pubDate>
		<guid isPermaLink="false">http://antoniocangiano.com/?p=544#comment-25530</guid>
		<description>i am trying to access DB2 through X code. Do you have any idea how it can be done?</description>
		<content:encoded><![CDATA[<p>i am trying to access DB2 through X code. Do you have any idea how it can be done?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vasco Jorge</title>
		<link>http://programmingzen.com/2009/01/20/installing-db2-on-mac-os-x/#comment-25204</link>
		<dc:creator>Vasco Jorge</dc:creator>
		<pubDate>Sat, 03 Sep 2011 10:12:53 +0000</pubDate>
		<guid isPermaLink="false">http://antoniocangiano.com/?p=544#comment-25204</guid>
		<description>Good afternoon, Antonio Cangiano,

I recently installed Mac OS X Lion, follow your instructions, and i keep receive the same errors:


DB2 Setup log file started at:  Fri Sep  2 18:38:21 2011 WEST
============================================================

Operating system information: Darwin Darwin Kernel Version 11.1.0: Tue Jul 26 16:07:11 PDT 2011; root:
Product to install:                        IBM DB2 Express Edition
Installation type:                         Typical
Previously Installed Components:
    Base client support
    Java support
    SQL procedures
    Base server support
    Communication support - TCP/IP
    Base application development tools
    First Steps
    DB2 Instance Setup wizard
    Sample database source
    DB2 data source support
Selected Components:
    Base client support
    Java support
    SQL procedures
    Base server support
    Communication support - TCP/IP
    Base application development tools
    First Steps
    DB2 Instance Setup wizard
    Sample database source
    DB2 data source support

Languages:
    English (already installed )

Target directory:                          /opt/IBM/db2/V9.5

Space required:                            313 MB

New instances:
    Instance name:                         db2vmfnj
        Start instance on reboot:          Yes
        TCP/IP configuration:
            Service name:                  db2c_db2vmfnj
            Port number:                   50001
        Instance user information:
            User name:                     db2vmfnj
            UID:                           502
            Group name:                    staff
            Home directory:                /Users/db2vmfnj



Contact specification:
    New contacts:
        Name:                              db2vmfnj
        Instance:                          db2vmfnj
        E-mail address:                    db2vmfnj@VMJMacBookProi7.local
        E-mail address is for a pager:     No


Response file name:                        /var/root/db2exp.rsp

The DB2 installer could not find the IBM Tivoli System Automation for Multiplatforms Base Component (SA MP Base Component) on the DB2 install media.  The SA MP Base Component should be located at db2//tsamp sub directory under the top directory of the DB2 install media.  If you want to use the SA MP Base Component with the DB2 HA feature, see the SA MP Base Compoenent Installation and Configuration Guide for information about how to manually install the SA MP Base Component.

Command to be run: &quot;(cd /opt/IBM/db2/V9.5; /usr/bin/tar xzvf /Users/vmfnjorge/DownloadDirector/exp/db2/macos/FILES/BASE_CLIENT_R_9.5.0.2_macos_i386.tar.gz)&quot;.
Command to be run: &quot;(cd /opt/IBM/db2/V9.5; /usr/bin/tar xzvf /Users/vmfnjorge/DownloadDirector/exp/db2/macos/FILES/DB2_PRODUCT_MESSAGES_EN_9.5.0.2_macos_i386.tar.gz)&quot;.
Command to be run: &quot;(cd /opt/IBM/db2/V9.5; /usr/bin/tar xzvf /Users/vmfnjorge/DownloadDirector/exp/db2/macos/FILES/BASE_CLIENT_9.5.0.2_macos_i386.tar.gz)&quot;.
Command to be run: &quot;(cd /opt/IBM/db2/V9.5; /usr/bin/tar xzvf /Users/vmfnjorge/DownloadDirector/exp/db2/macos/FILES/JAVA_RUNTIME_SUPPORT_9.5.0.2_macos_i386.tar.gz)&quot;.
Command to be run: &quot;(cd /opt/IBM/db2/V9.5; /usr/bin/tar xzvf /Users/vmfnjorge/DownloadDirector/exp/db2/macos/FILES/DB2_JAVA_HELP_EN_9.5.0.2_macos_i386.tar.gz)&quot;.
Command to be run: &quot;(cd /opt/IBM/db2/V9.5; /usr/bin/tar xzvf /Users/vmfnjorge/DownloadDirector/exp/db2/macos/FILES/JAVA_SUPPORT_9.5.0.2_macos_i386.tar.gz)&quot;.
Command to be run: &quot;(cd /opt/IBM/db2/V9.5; /usr/bin/tar xzvf /Users/vmfnjorge/DownloadDirector/exp/db2/macos/FILES/SQL_PROCEDURES_9.5.0.2_macos_i386.tar.gz)&quot;.
Command to be run: &quot;(cd /opt/IBM/db2/V9.5; /usr/bin/tar xzvf /Users/vmfnjorge/DownloadDirector/exp/db2/macos/FILES/BASE_DB2_ENGINE_R_9.5.0.2_macos_i386.tar.gz)&quot;.
Command to be run: &quot;(cd /opt/IBM/db2/V9.5; /usr/bin/tar xzvf /Users/vmfnjorge/DownloadDirector/exp/db2/macos/FILES/ICU_SUP_9.5.0.2_macos_i386.tar.gz)&quot;.
Command to be run: &quot;(cd /opt/IBM/db2/V9.5; /usr/bin/tar xzvf /Users/vmfnjorge/DownloadDirector/exp/db2/macos/FILES/JAVA_COMMON_FILES_9.5.0.2_macos_i386.tar.gz)&quot;.
Command to be run: &quot;(cd /opt/IBM/db2/V9.5; /usr/bin/tar xzvf /Users/vmfnjorge/DownloadDirector/exp/db2/macos/FILES/BASE_DB2_ENGINE_9.5.0.2_macos_i386.tar.gz)&quot;.
Command to be run: &quot;(cd /opt/IBM/db2/V9.5; /usr/bin/tar xzvf /Users/vmfnjorge/DownloadDirector/exp/db2/macos/FILES/COMMUNICATION_SUPPORT_TCPIP_9.5.0.2_macos_i386.tar.gz)&quot;.
Command to be run: &quot;(cd /opt/IBM/db2/V9.5; /usr/bin/tar xzvf /Users/vmfnjorge/DownloadDirector/exp/db2/macos/FILES/APPLICATION_DEVELOPMENT_TOOLS_9.5.0.2_macos_i386.tar.gz)&quot;.
Command to be run: &quot;(cd /opt/IBM/db2/V9.5; /usr/bin/tar xzvf /Users/vmfnjorge/DownloadDirector/exp/db2/macos/FILES/FIRST_STEPS_9.5.0.2_macos_i386.tar.gz)&quot;.
Command to be run: &quot;(cd /opt/IBM/db2/V9.5; /usr/bin/tar xzvf /Users/vmfnjorge/DownloadDirector/exp/db2/macos/FILES/INSTANCE_SETUP_SUPPORT_9.5.0.2_macos_i386.tar.gz)&quot;.
Command to be run: &quot;(cd /opt/IBM/db2/V9.5; /usr/bin/tar xzvf /Users/vmfnjorge/DownloadDirector/exp/db2/macos/FILES/EXPRESS_PRODUCT_SIGNATURE_9.5.0.2_macos_i386.tar.gz)&quot;.
Command to be run: &quot;(cd /opt/IBM/db2/V9.5; /usr/bin/tar xzvf /Users/vmfnjorge/DownloadDirector/exp/db2/macos/FILES/DB2_SAMPLE_DATABASE_9.5.0.2_macos_i386.tar.gz)&quot;.
Command to be run: &quot;(cd /opt/IBM/db2/V9.5; /usr/bin/tar xzvf /Users/vmfnjorge/DownloadDirector/exp/db2/macos/FILES/DB2_DATA_SOURCE_SUPPORT_9.5.0.2_macos_i386.tar.gz)&quot;.
Installing DB2 file sets :.......Success
Setting DB2 library path :.......Success
The DB2 installer could not find the IBM Tivoli System Automation for Multiplatforms Base Component (SA MP Base Component) on the DB2 install media.  The SA MP Base Component should be located at db2//tsamp sub directory under the top directory of the DB2 install media.  If you want to use the SA MP Base Component with the DB2 HA feature, see the SA MP Base Compoenent Installation and Configuration Guide for information about how to manually install the SA MP Base Component.

Executing control tasks :.......Success
Updating global registry :.......Success
Starting DB2 Fault Monitor :.......Success
Updating the db2ls link :.......Success
ERROR: The value &quot;DB2SYSTEM=VMJMacBookProi7.local&quot; could not be added to the
Global Profile Registry. Return value is &quot;133&quot;.

Setting default global profile registry variables :.......Failure
Initializing instance list :.......Success
Command to be run: &quot;cd /opt/IBM/db2/V9.5/;/opt/IBM/db2/V9.5/instance/db2icrt -a server -s wse -u db2vmfnj -p db2c_db2vmfnj db2vmfnj&quot;.
ERROR: An error occurred while creating the instance &quot;db2vmfnj&quot;. The return
code is &quot;67&quot;. Create the instance manually using the command &quot;db2icrt&quot;.

ERROR: DBI1055E The message file db2install.cat cannot be found.

Explanation:  The message file required by this
script is missing from the system; it may have been
deleted or the database products may have been loaded
incorrectly.

User Response:  Verify that the product option containing
the message file is installed correctly.  If there are
verification errors; reinstall the product option.

ERROR: dyld: Library not loaded: /Users/rchase/build/rchase_db2_v95fp2_darwinport_darwin64_s081205_S1/INST/lib/libdb2locale.dylib
  Referenced from: /opt/IBM/db2/V9.5/bin/db2langdir
  Reason: image not found
dyld: Library not loaded: /Users/rchase/build/rchase_db2_v95fp2_darwinport_darwin64_s081205_S1/INST/lib/libdb2locale.dylib
  Referenced from: /opt/IBM/db2/V9.5/bin/db2langdir
  Reason: image not found

ERROR: An error occurred while configuring the instance &quot;db2vmfnj&quot;.

Configuring DB2 instances :.......Failure
Updating global profile registry :.......Success
Configuring health alert notifications :.......Success
WARNING: A minor error occurred while installing &quot;IBM DB2 Express Edition &quot; on
this computer. Some features may not function correctly.


Post Install Recommendations
-----------------------------

Required steps:
In order to start using DB2 you need to logon using a valid user ID such as the DB2 instance owner&#039;s ID &quot;db2vmfnj&quot;.

You can connect to the DB2 instance &quot;db2vmfnj&quot; using the port number &quot;50001&quot;. Record it for future reference.
.
.
.


And keeping receiving means that i create a mac os user to be used with DB2, altered the db2setup to mention the OSM as a x86_64, but nothing works. What can i do to correctly install the software?</description>
		<content:encoded><![CDATA[<p>Good afternoon, Antonio Cangiano,</p>
<p>I recently installed Mac OS X Lion, follow your instructions, and i keep receive the same errors:</p>
<p>DB2 Setup log file started at:  Fri Sep  2 18:38:21 2011 WEST<br />
============================================================</p>
<p>Operating system information: Darwin Darwin Kernel Version 11.1.0: Tue Jul 26 16:07:11 PDT 2011; root:<br />
Product to install:                        IBM DB2 Express Edition<br />
Installation type:                         Typical<br />
Previously Installed Components:<br />
    Base client support<br />
    Java support<br />
    SQL procedures<br />
    Base server support<br />
    Communication support &#8211; TCP/IP<br />
    Base application development tools<br />
    First Steps<br />
    DB2 Instance Setup wizard<br />
    Sample database source<br />
    DB2 data source support<br />
Selected Components:<br />
    Base client support<br />
    Java support<br />
    SQL procedures<br />
    Base server support<br />
    Communication support &#8211; TCP/IP<br />
    Base application development tools<br />
    First Steps<br />
    DB2 Instance Setup wizard<br />
    Sample database source<br />
    DB2 data source support</p>
<p>Languages:<br />
    English (already installed )</p>
<p>Target directory:                          /opt/IBM/db2/V9.5</p>
<p>Space required:                            313 MB</p>
<p>New instances:<br />
    Instance name:                         db2vmfnj<br />
        Start instance on reboot:          Yes<br />
        TCP/IP configuration:<br />
            Service name:                  db2c_db2vmfnj<br />
            Port number:                   50001<br />
        Instance user information:<br />
            User name:                     db2vmfnj<br />
            UID:                           502<br />
            Group name:                    staff<br />
            Home directory:                /Users/db2vmfnj</p>
<p>Contact specification:<br />
    New contacts:<br />
        Name:                              db2vmfnj<br />
        Instance:                          db2vmfnj<br />
        E-mail address:                    <a href="mailto:db2vmfnj@VMJMacBookProi7.local">db2vmfnj@VMJMacBookProi7.local</a><br />
        E-mail address is for a pager:     No</p>
<p>Response file name:                        /var/root/db2exp.rsp</p>
<p>The DB2 installer could not find the IBM Tivoli System Automation for Multiplatforms Base Component (SA MP Base Component) on the DB2 install media.  The SA MP Base Component should be located at db2//tsamp sub directory under the top directory of the DB2 install media.  If you want to use the SA MP Base Component with the DB2 HA feature, see the SA MP Base Compoenent Installation and Configuration Guide for information about how to manually install the SA MP Base Component.</p>
<p>Command to be run: &#8220;(cd /opt/IBM/db2/V9.5; /usr/bin/tar xzvf /Users/vmfnjorge/DownloadDirector/exp/db2/macos/FILES/BASE_CLIENT_R_9.5.0.2_macos_i386.tar.gz)&#8221;.<br />
Command to be run: &#8220;(cd /opt/IBM/db2/V9.5; /usr/bin/tar xzvf /Users/vmfnjorge/DownloadDirector/exp/db2/macos/FILES/DB2_PRODUCT_MESSAGES_EN_9.5.0.2_macos_i386.tar.gz)&#8221;.<br />
Command to be run: &#8220;(cd /opt/IBM/db2/V9.5; /usr/bin/tar xzvf /Users/vmfnjorge/DownloadDirector/exp/db2/macos/FILES/BASE_CLIENT_9.5.0.2_macos_i386.tar.gz)&#8221;.<br />
Command to be run: &#8220;(cd /opt/IBM/db2/V9.5; /usr/bin/tar xzvf /Users/vmfnjorge/DownloadDirector/exp/db2/macos/FILES/JAVA_RUNTIME_SUPPORT_9.5.0.2_macos_i386.tar.gz)&#8221;.<br />
Command to be run: &#8220;(cd /opt/IBM/db2/V9.5; /usr/bin/tar xzvf /Users/vmfnjorge/DownloadDirector/exp/db2/macos/FILES/DB2_JAVA_HELP_EN_9.5.0.2_macos_i386.tar.gz)&#8221;.<br />
Command to be run: &#8220;(cd /opt/IBM/db2/V9.5; /usr/bin/tar xzvf /Users/vmfnjorge/DownloadDirector/exp/db2/macos/FILES/JAVA_SUPPORT_9.5.0.2_macos_i386.tar.gz)&#8221;.<br />
Command to be run: &#8220;(cd /opt/IBM/db2/V9.5; /usr/bin/tar xzvf /Users/vmfnjorge/DownloadDirector/exp/db2/macos/FILES/SQL_PROCEDURES_9.5.0.2_macos_i386.tar.gz)&#8221;.<br />
Command to be run: &#8220;(cd /opt/IBM/db2/V9.5; /usr/bin/tar xzvf /Users/vmfnjorge/DownloadDirector/exp/db2/macos/FILES/BASE_DB2_ENGINE_R_9.5.0.2_macos_i386.tar.gz)&#8221;.<br />
Command to be run: &#8220;(cd /opt/IBM/db2/V9.5; /usr/bin/tar xzvf /Users/vmfnjorge/DownloadDirector/exp/db2/macos/FILES/ICU_SUP_9.5.0.2_macos_i386.tar.gz)&#8221;.<br />
Command to be run: &#8220;(cd /opt/IBM/db2/V9.5; /usr/bin/tar xzvf /Users/vmfnjorge/DownloadDirector/exp/db2/macos/FILES/JAVA_COMMON_FILES_9.5.0.2_macos_i386.tar.gz)&#8221;.<br />
Command to be run: &#8220;(cd /opt/IBM/db2/V9.5; /usr/bin/tar xzvf /Users/vmfnjorge/DownloadDirector/exp/db2/macos/FILES/BASE_DB2_ENGINE_9.5.0.2_macos_i386.tar.gz)&#8221;.<br />
Command to be run: &#8220;(cd /opt/IBM/db2/V9.5; /usr/bin/tar xzvf /Users/vmfnjorge/DownloadDirector/exp/db2/macos/FILES/COMMUNICATION_SUPPORT_TCPIP_9.5.0.2_macos_i386.tar.gz)&#8221;.<br />
Command to be run: &#8220;(cd /opt/IBM/db2/V9.5; /usr/bin/tar xzvf /Users/vmfnjorge/DownloadDirector/exp/db2/macos/FILES/APPLICATION_DEVELOPMENT_TOOLS_9.5.0.2_macos_i386.tar.gz)&#8221;.<br />
Command to be run: &#8220;(cd /opt/IBM/db2/V9.5; /usr/bin/tar xzvf /Users/vmfnjorge/DownloadDirector/exp/db2/macos/FILES/FIRST_STEPS_9.5.0.2_macos_i386.tar.gz)&#8221;.<br />
Command to be run: &#8220;(cd /opt/IBM/db2/V9.5; /usr/bin/tar xzvf /Users/vmfnjorge/DownloadDirector/exp/db2/macos/FILES/INSTANCE_SETUP_SUPPORT_9.5.0.2_macos_i386.tar.gz)&#8221;.<br />
Command to be run: &#8220;(cd /opt/IBM/db2/V9.5; /usr/bin/tar xzvf /Users/vmfnjorge/DownloadDirector/exp/db2/macos/FILES/EXPRESS_PRODUCT_SIGNATURE_9.5.0.2_macos_i386.tar.gz)&#8221;.<br />
Command to be run: &#8220;(cd /opt/IBM/db2/V9.5; /usr/bin/tar xzvf /Users/vmfnjorge/DownloadDirector/exp/db2/macos/FILES/DB2_SAMPLE_DATABASE_9.5.0.2_macos_i386.tar.gz)&#8221;.<br />
Command to be run: &#8220;(cd /opt/IBM/db2/V9.5; /usr/bin/tar xzvf /Users/vmfnjorge/DownloadDirector/exp/db2/macos/FILES/DB2_DATA_SOURCE_SUPPORT_9.5.0.2_macos_i386.tar.gz)&#8221;.<br />
Installing DB2 file sets :&#8230;&#8230;.Success<br />
Setting DB2 library path :&#8230;&#8230;.Success<br />
The DB2 installer could not find the IBM Tivoli System Automation for Multiplatforms Base Component (SA MP Base Component) on the DB2 install media.  The SA MP Base Component should be located at db2//tsamp sub directory under the top directory of the DB2 install media.  If you want to use the SA MP Base Component with the DB2 HA feature, see the SA MP Base Compoenent Installation and Configuration Guide for information about how to manually install the SA MP Base Component.</p>
<p>Executing control tasks :&#8230;&#8230;.Success<br />
Updating global registry :&#8230;&#8230;.Success<br />
Starting DB2 Fault Monitor :&#8230;&#8230;.Success<br />
Updating the db2ls link :&#8230;&#8230;.Success<br />
ERROR: The value &#8220;DB2SYSTEM=VMJMacBookProi7.local&#8221; could not be added to the<br />
Global Profile Registry. Return value is &#8220;133&#8243;.</p>
<p>Setting default global profile registry variables :&#8230;&#8230;.Failure<br />
Initializing instance list :&#8230;&#8230;.Success<br />
Command to be run: &#8220;cd /opt/IBM/db2/V9.5/;/opt/IBM/db2/V9.5/instance/db2icrt -a server -s wse -u db2vmfnj -p db2c_db2vmfnj db2vmfnj&#8221;.<br />
ERROR: An error occurred while creating the instance &#8220;db2vmfnj&#8221;. The return<br />
code is &#8220;67&#8243;. Create the instance manually using the command &#8220;db2icrt&#8221;.</p>
<p>ERROR: DBI1055E The message file db2install.cat cannot be found.</p>
<p>Explanation:  The message file required by this<br />
script is missing from the system; it may have been<br />
deleted or the database products may have been loaded<br />
incorrectly.</p>
<p>User Response:  Verify that the product option containing<br />
the message file is installed correctly.  If there are<br />
verification errors; reinstall the product option.</p>
<p>ERROR: dyld: Library not loaded: /Users/rchase/build/rchase_db2_v95fp2_darwinport_darwin64_s081205_S1/INST/lib/libdb2locale.dylib<br />
  Referenced from: /opt/IBM/db2/V9.5/bin/db2langdir<br />
  Reason: image not found<br />
dyld: Library not loaded: /Users/rchase/build/rchase_db2_v95fp2_darwinport_darwin64_s081205_S1/INST/lib/libdb2locale.dylib<br />
  Referenced from: /opt/IBM/db2/V9.5/bin/db2langdir<br />
  Reason: image not found</p>
<p>ERROR: An error occurred while configuring the instance &#8220;db2vmfnj&#8221;.</p>
<p>Configuring DB2 instances :&#8230;&#8230;.Failure<br />
Updating global profile registry :&#8230;&#8230;.Success<br />
Configuring health alert notifications :&#8230;&#8230;.Success<br />
WARNING: A minor error occurred while installing &#8220;IBM DB2 Express Edition &#8221; on<br />
this computer. Some features may not function correctly.</p>
<p>Post Install Recommendations<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>Required steps:<br />
In order to start using DB2 you need to logon using a valid user ID such as the DB2 instance owner&#8217;s ID &#8220;db2vmfnj&#8221;.</p>
<p>You can connect to the DB2 instance &#8220;db2vmfnj&#8221; using the port number &#8220;50001&#8243;. Record it for future reference.<br />
.<br />
.<br />
.</p>
<p>And keeping receiving means that i create a mac os user to be used with DB2, altered the db2setup to mention the OSM as a x86_64, but nothing works. What can i do to correctly install the software?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Balazs</title>
		<link>http://programmingzen.com/2009/01/20/installing-db2-on-mac-os-x/#comment-8652</link>
		<dc:creator>Balazs</dc:creator>
		<pubDate>Thu, 21 Jan 2010 14:00:06 +0000</pubDate>
		<guid isPermaLink="false">http://antoniocangiano.com/?p=544#comment-8652</guid>
		<description>Danny and Alexey: you may be experiencing the 32bit/64bit mixture &quot;feature&quot; of Snow Leopard.  Apparently 10.6 still boots with 32bit kernel by default.  The first thing to do is checking to see if your Mac has a 64-bit-capable EFI. If the output of the following command is EFI64, you’re in business. If not, you can&#039;t run 64bit apps.

    ioreg -l -p IODeviceTree &#124; awk -F&#039;&quot;&#039; &#039;/firmware-abi/{print $4}&#039;

I have put together a page with some pointers I fund useful to get DB2 running on OS X.  Some of the items are similar to recommendations above.  Hope it helps:
http://www.wdream.com/2010/01/installing-db2-express-c-9-5-on-mac-os-x-10-6/</description>
		<content:encoded><![CDATA[<p>Danny and Alexey: you may be experiencing the 32bit/64bit mixture &#8220;feature&#8221; of Snow Leopard.  Apparently 10.6 still boots with 32bit kernel by default.  The first thing to do is checking to see if your Mac has a 64-bit-capable EFI. If the output of the following command is EFI64, you’re in business. If not, you can&#8217;t run 64bit apps.</p>
<p>    ioreg -l -p IODeviceTree | awk -F&#8217;&#8221;&#8216; &#8216;/firmware-abi/{print $4}&#8217;</p>
<p>I have put together a page with some pointers I fund useful to get DB2 running on OS X.  Some of the items are similar to recommendations above.  Hope it helps:<br />
<a href="http://www.wdream.com/2010/01/installing-db2-express-c-9-5-on-mac-os-x-10-6/" rel="nofollow">http://www.wdream.com/2010/01/installing-db2-express-c-9-5-on-mac-os-x-10-6/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Installing DB2 Express C 9.5 on Mac OS X 10.6 &#171; W dream</title>
		<link>http://programmingzen.com/2009/01/20/installing-db2-on-mac-os-x/#comment-8651</link>
		<dc:creator>Installing DB2 Express C 9.5 on Mac OS X 10.6 &#171; W dream</dc:creator>
		<pubDate>Thu, 21 Jan 2010 13:59:46 +0000</pubDate>
		<guid isPermaLink="false">http://antoniocangiano.com/?p=544#comment-8651</guid>
		<description>[...] Install DB2 on Mac OS X and give us feedback by Antonio Cangiano [...]</description>
		<content:encoded><![CDATA[<p>[...] Install DB2 on Mac OS X and give us feedback by Antonio Cangiano [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alexey</title>
		<link>http://programmingzen.com/2009/01/20/installing-db2-on-mac-os-x/#comment-8648</link>
		<dc:creator>Alexey</dc:creator>
		<pubDate>Mon, 18 Jan 2010 20:13:55 +0000</pubDate>
		<guid isPermaLink="false">http://antoniocangiano.com/?p=544#comment-8648</guid>
		<description>Hi, I have the same problem as danny. Does anyone know the solution to the problem?
Have the same hardware and software as danny.

Thanks in advance.</description>
		<content:encoded><![CDATA[<p>Hi, I have the same problem as danny. Does anyone know the solution to the problem?<br />
Have the same hardware and software as danny.</p>
<p>Thanks in advance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: danny</title>
		<link>http://programmingzen.com/2009/01/20/installing-db2-on-mac-os-x/#comment-8511</link>
		<dc:creator>danny</dc:creator>
		<pubDate>Wed, 09 Dec 2009 14:43:12 +0000</pubDate>
		<guid isPermaLink="false">http://antoniocangiano.com/?p=544#comment-8511</guid>
		<description>Hi, actually for installation part it runs smoothly, but when I try to run db2start it says error with library not loaded. Here is the error &quot;dyld: Library not loaded: /opt/IBM/db2/V9.5/lib32/libdb2dascmn.dylib
  Referenced from: /opt/IBM/db2/V9.5/lib64/libdb2e.dylib
  Reason: no suitable image found.  Did find:
	/opt/IBM/db2/V9.5/lib32/libdb2dascmn.dylib: mach-o, but wrong architecture&quot;

I got Macbook Pro with snow leopard installed. 

Thanks</description>
		<content:encoded><![CDATA[<p>Hi, actually for installation part it runs smoothly, but when I try to run db2start it says error with library not loaded. Here is the error &#8220;dyld: Library not loaded: /opt/IBM/db2/V9.5/lib32/libdb2dascmn.dylib<br />
  Referenced from: /opt/IBM/db2/V9.5/lib64/libdb2e.dylib<br />
  Reason: no suitable image found.  Did find:<br />
	/opt/IBM/db2/V9.5/lib32/libdb2dascmn.dylib: mach-o, but wrong architecture&#8221;</p>
<p>I got Macbook Pro with snow leopard installed. </p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wheeler Chu</title>
		<link>http://programmingzen.com/2009/01/20/installing-db2-on-mac-os-x/#comment-8178</link>
		<dc:creator>Wheeler Chu</dc:creator>
		<pubDate>Sat, 24 Oct 2009 11:11:22 +0000</pubDate>
		<guid isPermaLink="false">http://antoniocangiano.com/?p=544#comment-8178</guid>
		<description>Hi Antonio, I did as you told Michael:

$ sudo -s
# . /Users/db2inst1/sqllib/db2profile
# db2start
# exit
$ su – db2inst1
# db2sampl -force

but got those messages exactly the same as not with root, though the sample database seems to work well..</description>
		<content:encoded><![CDATA[<p>Hi Antonio, I did as you told Michael:</p>
<p>$ sudo -s<br />
# . /Users/db2inst1/sqllib/db2profile<br />
# db2start<br />
# exit<br />
$ su – db2inst1<br />
# db2sampl -force</p>
<p>but got those messages exactly the same as not with root, though the sample database seems to work well..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott Allan</title>
		<link>http://programmingzen.com/2009/01/20/installing-db2-on-mac-os-x/#comment-8109</link>
		<dc:creator>Scott Allan</dc:creator>
		<pubDate>Mon, 19 Oct 2009 11:38:54 +0000</pubDate>
		<guid isPermaLink="false">http://antoniocangiano.com/?p=544#comment-8109</guid>
		<description>Just in case someone else is interested, I set up a new user account &quot;db2admin&quot; on the mac and installed the DB2 instance there under sudo ./db2icrt -p 50001 -u db2admin db2admin.   Although I could connect to a database under another administrator user account, I was unable to run certain commands such as &quot;db2start&quot;.  I didn&#039;t want to have to be logged on to both accounts every time I used the database. There didn&#039;t seem to be a way to create groups on the Mac so I tried this and it worked: db2 update dbm cfg using sysadm_group Admin.  Now all administrator accounts have access to db2 commands.   I did have to move the &quot;. /Users/db2admin/sqllib/db2profile&quot;  from .profile to .bash_profile in the non-DB2 account to get the terminal to find the path.</description>
		<content:encoded><![CDATA[<p>Just in case someone else is interested, I set up a new user account &#8220;db2admin&#8221; on the mac and installed the DB2 instance there under sudo ./db2icrt -p 50001 -u db2admin db2admin.   Although I could connect to a database under another administrator user account, I was unable to run certain commands such as &#8220;db2start&#8221;.  I didn&#8217;t want to have to be logged on to both accounts every time I used the database. There didn&#8217;t seem to be a way to create groups on the Mac so I tried this and it worked: db2 update dbm cfg using sysadm_group Admin.  Now all administrator accounts have access to db2 commands.   I did have to move the &#8220;. /Users/db2admin/sqllib/db2profile&#8221;  from .profile to .bash_profile in the non-DB2 account to get the terminal to find the path.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Timo Ruohomäki</title>
		<link>http://programmingzen.com/2009/01/20/installing-db2-on-mac-os-x/#comment-8104</link>
		<dc:creator>Timo Ruohomäki</dc:creator>
		<pubDate>Sun, 18 Oct 2009 16:39:43 +0000</pubDate>
		<guid isPermaLink="false">http://antoniocangiano.com/?p=544#comment-8104</guid>
		<description>Hi Antonio,

The client-side support is more important for us than the server side where it doesn&#039;t matter that it supports only 64 bit processors. Anyway, while waiting for DB2 Client for OSX the best alternative seems to be Openlink Software&#039;s UDA drivers. Do you know if they are missing any vital parts on the functionality when compared to DB2 Client?</description>
		<content:encoded><![CDATA[<p>Hi Antonio,</p>
<p>The client-side support is more important for us than the server side where it doesn&#8217;t matter that it supports only 64 bit processors. Anyway, while waiting for DB2 Client for OSX the best alternative seems to be Openlink Software&#8217;s UDA drivers. Do you know if they are missing any vital parts on the functionality when compared to DB2 Client?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott Allan</title>
		<link>http://programmingzen.com/2009/01/20/installing-db2-on-mac-os-x/#comment-8100</link>
		<dc:creator>Scott Allan</dc:creator>
		<pubDate>Sat, 17 Oct 2009 03:33:11 +0000</pubDate>
		<guid isPermaLink="false">http://antoniocangiano.com/?p=544#comment-8100</guid>
		<description>OK I figured it out from this blog: http://blog.springenwerk.com/2009/01/ibm-db2-on-mac-with-ruby-rails-and.html

I needed to install as root but skip the step creating the DB2 instance.    Then I later created the instance using /opt/IBM/db2/instance/db2icrt

sudo ./db2icrt -p 50001 -u scott scott

I did get this error the first time:
----------------------------------
DB2 has failed to modify the .profile file or the .login file of this user. These files may not exist, or you may not have write permission to them. Without the modification you need to set your environment manually each time when you log in as this user to use DB2.

User response: 

Add the following line to the .profile file or the .login file:

 . /Users/scott/sqllib/db2profile   to the .profile file, or
 source /Users/scott/sqllib/db2cshrc to the .login file
--------------------------------
I couldn&#039;t find a .profile file on my machine and couldn&#039;t really figure out where it belonged after searching the internet so I just created one in $HOME and it seemed to work.  I deleted sqllib and reran db2icrt again.  After that I ran db2sampl to create the SAMPLE database. Then I was able to connect using jdbc:db2://localhost:50001/SAMPLE  the userid was my user account name &quot;scott&quot; and the password was the OS password on my Mac.

I hope this helps out others that may have this problem.</description>
		<content:encoded><![CDATA[<p>OK I figured it out from this blog: <a href="http://blog.springenwerk.com/2009/01/ibm-db2-on-mac-with-ruby-rails-and.html" rel="nofollow">http://blog.springenwerk.com/2009/01/ibm-db2-on-mac-with-ruby-rails-and.html</a></p>
<p>I needed to install as root but skip the step creating the DB2 instance.    Then I later created the instance using /opt/IBM/db2/instance/db2icrt</p>
<p>sudo ./db2icrt -p 50001 -u scott scott</p>
<p>I did get this error the first time:<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
DB2 has failed to modify the .profile file or the .login file of this user. These files may not exist, or you may not have write permission to them. Without the modification you need to set your environment manually each time when you log in as this user to use DB2.</p>
<p>User response: </p>
<p>Add the following line to the .profile file or the .login file:</p>
<p> . /Users/scott/sqllib/db2profile   to the .profile file, or<br />
 source /Users/scott/sqllib/db2cshrc to the .login file<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
I couldn&#8217;t find a .profile file on my machine and couldn&#8217;t really figure out where it belonged after searching the internet so I just created one in $HOME and it seemed to work.  I deleted sqllib and reran db2icrt again.  After that I ran db2sampl to create the SAMPLE database. Then I was able to connect using jdbc:db2://localhost:50001/SAMPLE  the userid was my user account name &#8220;scott&#8221; and the password was the OS password on my Mac.</p>
<p>I hope this helps out others that may have this problem.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic page generated in 0.187 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2012-01-16 09:56:39 -->
<!-- Compression = gzip -->
