Sophie

Sophie

distrib > Mandriva > 2010.1 > x86_64 > by-pkgid > 965e33040dd61030a94f0eb89877aee8 > files > 1176

howto-html-en-20080722-2mdv2010.1.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML
><HEAD
><TITLE
>Installing DB2 Express-C on Fedora Core 6</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
REL="HOME"
TITLE="IBM DB2 Express-C for Linux HOWTO"
HREF="index.html"><LINK
REL="PREVIOUS"
TITLE="Installing DB2 Express-C on Red Hat Enterprise Linux (RHEL) 4"
HREF="rhel4.html"><LINK
REL="NEXT"
TITLE="Installing DB2 Express-C on Fedora 7"
HREF="fedora7.html"></HEAD
><BODY
CLASS="sect1"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>IBM DB2 Express-C for Linux HOWTO</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="rhel4.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="fedora7.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="sect1"
><H1
CLASS="sect1"
><A
NAME="fedora6"
></A
>8. Installing DB2 Express-C on Fedora Core 6</H1
><P
>&#13;    Before proceeding, please ensure that you have read
    <A
HREF="planning.html"
>Section 5</A
> and <A
HREF="installing.html"
>Section 6</A
>.
  </P
><P
>Note that IBM does not officially support this distribution for DB2
  9. Any problems you encounter using this distribution must be replicated on a
  supported distribution before IBM Support can help you resolve the
  issue. See the DB2 Linux validation website in <A
HREF="resources.html"
>Section 22</A
>.</P
><P
>These installation notes are based on a single-partition 32-bit
  installation using the 2.6.18-1.2849.fc6 kernel.</P
><DIV
CLASS="sect2"
><H2
CLASS="sect2"
><A
NAME="AEN511"
></A
>8.1. Installation notes</H2
><P
>The only installation error encountered was found when launching the
    <B
CLASS="command"
>./db2setup</B
> command. The screen displayed this error:
      <TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="screen"
>ERROR:
    The following library files could not be loaded by db2langdir
    in /tmp/exp/disk1/db2/linux/install/../bin

        libstdc++.so.5
        libstdc++.so.5
        
    Check the following web site for the up-to-date system
    requirements of IBM DB2 Version 9.1:
        http://www.ibm.com/software/data/db2/udb/sysreqs.html

    Aborting the current installation ...</PRE
></FONT
></TD
></TR
></TABLE
>
    To resolve this error, use the <B
CLASS="command"
>yum</B
> package utility to
    install the necessary C++ compatibility libraries:
    <TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="screen"
>yum -y install compat-libstdc++-33</PRE
></FONT
></TD
></TR
></TABLE
>
    Installation succeeded after installing the C++ libraries.
    </P
></DIV
><DIV
CLASS="sect2"
><H2
CLASS="sect2"
><A
NAME="AEN518"
></A
>8.2. Post-installation notes</H2
><P
>Test results (see <A
HREF="tests.html"
>Section 21</A
> for more details) were
    successful, except the Configuration Assistant was very slow when launched
    from the DB2 Control Center. I eventually had to kill the process and it
    returned a DB2JAVIT : RC = 143 return code.
    </P
><P
>One strange effect encountered was that DB2 windows were not showing
    up when launching the Java-based GUI tools (and other windows were missing
    window decoration); however, logging off and then back in again solved the
    problem.</P
><P
>To inherit the DB2 instance environment from another home directory,
    create databases, dynamically load the DB2 libraries, and other tasks, I
    found that I had to either disable SELinux or modify the default SELinux
    policies. You can disable SELinux at run-time by running the following
    command as root:
      <TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="screen"
># /usr/sbin/setenforce 0</PRE
></FONT
></TD
></TR
></TABLE
>
    Note that when you reboot SELinux will be enabled again. To disable SELinux
    permanently, edit <TT
CLASS="filename"
>/etc/selinux/config</TT
> and set the
    following value:
      <TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="screen"
>SELINUX=disabled</PRE
></FONT
></TD
></TR
></TABLE
>
    </P
><P
>If you have enabled your firewall (using the <B
CLASS="command"
>iptables</B
>
    service), and you want to enable external connectivity to your DB2 server,
    you must open up ports 523 and any DB2 service ports (use <B
CLASS="command"
>db2 get dbm
    cfg | grep SVCENAME</B
> to retrieve the service names and check
    <TT
CLASS="filename"
>/etc/services</TT
> for the equivalent port values) in your
    firewall.</P
></DIV
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="rhel4.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="fedora7.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>Installing DB2 Express-C on Red Hat Enterprise Linux (RHEL) 4</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
>&nbsp;</TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Installing DB2 Express-C on Fedora 7</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>