Übersicht
Stichwortsuche
History
Versionen
Kategorien
Alle Artikel
SuSE Linux: Version Versionen ab 6.1
IBM DB/2: Version V6.1
db2inst1: ibmdb2 db2as: ibmdb2 db2fenc1: ibmdb2- Ändern Sie die Eigentümer und Gruppen für folgende Verzeichnisse von:
/usr/lib/db2: drwxr-xr-x 2 root root 1024 Dec 21 14:07 db2inst1/ drwxr-xr-x 2 root root 1024 Dec 21 14:07 db2fenc1/ drwxr-xr-x 2 root root 1024 Dec 21 14:07 db2as/nach:
/usr/lib/db2: drwxr-xr-x 2 db2inst1 db2iadm1 1024 Dec 21 14:07 db2inst1/ drwxr-xr-x 2 db2fenc1 db2fadm1 1024 Dec 21 14:07 db2fenc1/ drwxr-xr-x 2 db2as db2asgrp 1024 Dec 21 14:07 db2as/wie folgt:
chown db2inst1:db2iadm1 db2inst1 chown db2fenc1:db2fadm1 db2fenc1 chown db2as:db2asgrp db2as- erstellen Sie eine .profile in folgenden home directories für die Benutzer db2inst1 / db2as mit folgendem Inhalt:
---- snip . $HOME/sqllib/db2profile # The following three lines have been added by UDB DB2. if [ -f sqllib/db2profile ]; then . sqllib/db2profile fi ---- snip
# Entries for IBM DB2 Database # db2cdb2inst1 50000/tcp # Connection port for DB2 instance db2inst1 db2idb2inst1 50001/tcp # Interrupt port for DB2 instance db2inst1Sie werden von db2setup neu eingefügt. Falls diese Zeilen bei der Installation
# Entries for IBM DB2 Database # db2as 523/tcp # administrativ instance
mount -o exec /cdrom
rpm -Uhv /cdrom/db2/install/dummyrpm/glibc-2.0.7-0.i386.rpm rpm -Uhv /cdrom/db2/install/dummyrpm/libstdc++-2.8.0-0.i386.rpm
scp /lib/libpthread.so.0 root@nestel:/root logon nestel as root cd /root touch libpthread.so.0 cp /lib/libpthread.so.0 /lib/libpthread.so.orig cp libpthread.so.0 /lib/libpthread.so.suse6.2 ldconfig check link : ls -la /lib/libpthread.so.0 , does it point to the right lib ? -> lrwxrwxrwx 1 root root 23 Feb 18 10:30 libpthread.so.0 -> libpthread.so.suse6.2
[ Customize... ] Optional: [*] Java Support [*] Control Center [*] DB2 Sample Applications [*] Create Links for DB2 Libraries -> ok
[ Customize... ] DB2 Product Library (HTML): [*] de_DE Control Center Help (HTML): [*] de_DE
- +--- Warning -------------------------------------+ | | | (X) This is your last chance to stop. | | | | Select OK to start, or Cancel to abort. | | | | [ OK ] [ Cancel ] | +-------------------------------------------------+
#db2cdb2inst1 50000/tcp # Connection port for DB2 instance db2inst1 #db2idb2inst1 50001/tcp # Interrupt port for DB2 instance db2inst1
nestel:~ # rm /tmp/db2setup* -rw-r--r-- 1 root root 10745 Dec 21 16:48 /tmp/db2setup.log -rw-r--r-- 1 root root 619885 Dec 21 16:54 /tmp/db2setup.trc
rm -vrf /var/db2/
# end of /etc/inittab db:234:once:/etc/rc.db2 > /dev/console 2>&1 # Autostart DB2 Services
> ps auxw | grep db2 db2as 8351 0.0 17.5 40656 11044 p1 S < 16:32 0:00 db2sysc db2as 8353 0.0 17.6 40656 11104 p1 S < 16:32 0:00 db2ipccm db2as 8355 0.0 17.6 40656 11136 p1 S < 16:32 0:00 db2tcpcm db2as 8356 0.0 17.7 40656 11148 p1 S < 16:32 0:00 db2tcpdm root 8350 0.0 17.4 40652 10964 p1 S < 16:32 0:00 db2wdog root 8352 0.0 17.4 40652 10976 p1 S < 16:32 0:00 db2gdskill -9 8351 8353 ...
> ipcs ------ Shared Memory Segments -------- key shmid owner perms bytes nattch status 0x00000000 0 wwwrun 600 46084 6 dest 0x7403b020 257 db2as 767 524288 7 0x6103b020 258 db2as 701 3555328 7 ------ Semaphore Arrays -------- key semid owner perms nsems status 0x7403b020 256 db2as 767 1 0x00000000 257 db2as 761 1 0x7303b020 258 db2as 767 1 0x00000000 259 db2as 761 1 0x5a03b020 260 db2as 666 1 0x00000000 261 db2as 761 1 0x00000000 262 db2as 761 1 ------ Message Queues -------- key msqid owner perms used-bytes messages 0x00000000 3203 db2as 701 0 0 0x00000000 3204 db2as 701 0 0 0x7103b020 3205 db2as 763 0 0 0x7203b020 3206 db2as 763 0 0 0x7703b020 3207 db2as 765 0 0 > ipcrm shm 257 > ipcrm shm ... > ipcrm sem 256 > ipcrm sem ... > ipcrm msg 3203 > ipcrm msg ... > ipcs ------ Shared Memory Segments -------- key shmid owner perms bytes nattch status 0x00000000 0 wwwrun 600 46084 6 dest ------ Semaphore Arrays -------- key semid owner perms nsems status ------ Message Queues -------- key msqid owner perms used-bytes messages
+------------------------------- DB2 Installer --------------------------------+ | | | +--- Warning ------------------------------------------------------------+ | | | | | | | DBI1767W DB2 registry may contain corrupted information. | | | | | | | | Explanation: The registry may contain invalid instance | | | | information. This is probably due to the fact that an instance or | | | | the Administration Server is not deleted properly before removing | | | | the DB2 product. If you are re-installing the product and want to | | | | keep the existing instance information in the registry, press | | | | Cancel. Otherwise, press OK to re-create the registry. Do you | | | | want to re-create the registry? | | | | | | | | User Response: | | | | | | | | o Press OK to re-create the registry, or | | | | | | | | o Press Cancel to keep the current registry information. | | | | | | | | [ OK ] [ Cancel ] | | | +------------------------------------------------------------------------+ | +------------------------------------------------------------------------------+- wählen Sie OK um die Registry neu zu erstellen
Stichwörter: IBM, DB2, DATABASE, DATENBANK
Feedback willkommen: Send Mail to dl@suse.de (Geben Sie bitte folgendes Stichwort an: SDB-mkraft_db2
)
Übersicht
Stichwortsuche
History
Versionen
Kategorien
Alle Artikel