DB2
The CD containing DB2 as part of the IBM Small Business Suite is not readable by UnixWare 7, but DB2 product CDs can be used.
Visit the IBM web site to learn more about obtaining DB2.
The information provided here is for example purposes only. We recommend that you refer to the product documentation for definitive information about installing and configuring the product.
Prerequisites
- The DB2 installer depends on ksh. Even if there is a ksh binary on your system, the DB2 installation might fail because there is no package in the RPM database that provides ksh. To fix this problem, install the AST package from the Caldera OpenLinux 3.1 "Supplemental Open Source Software" CD. The AST RPM provides ksh and several other shells. You can get more information about, or download Open Source Software CD packages from
- You have to tune the UnixWare 7 kernel shared memory segment parameter, SHMMAX, as recommended in
- Your terminal type must be "xterm" with 80 columns and 24 rows for the DB2 installer to work properly.
Users and groups
DB2 can be installed as documented, but it cannot create an instance of the database during installation. The DB2 installer does not use the standard interface for changing passwords and, as a result, breaks the symbolic link between UnixWare 7 and Linux etc/passwd and /etc/shadow files. The database installation then fails because it does not see its password changes on the UnixWare 7 side.
The LKP File Update Daemon detects the broken links and re-links them properly, but as part of this process, it throws out the updates made by DB2. You can review /var/admsyslog to see the rejected changes, and then add the required users and passwords using .
Databases can be created normally after installation and accessed using the db2 command.
Installing DB2
As root from UNIX or Linux mode, type
/cdrom/db2setup
and follow the instructions that appear on the screen.
The installer creates a file, /etc/rc.db2, that needs to executed when the system is booted. You can start DB2 manually by executing this file.
Troubleshooting
If creation of the example database fails, make sure the Linux /etc/passwd file has a symbolic link to /unixware/etc/passwd. Otherwise the user accounts are not created in the Linux environment. If the files are not linked, re-link them, and re-run db2setup.