|
|
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 http://www-4.ibm.com/software/data/db2/ 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.
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 useradd(1M).
Databases can be created normally after installation and accessed using the db2 command.
As root from UNIX or Linux mode, type
/cdrom/db2setupand 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.
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.