Übersicht
Stichwortsuche
History
Versionen
Kategorien
Alle Artikel
English
SuSE Linux: Version 6.1
ibmdb2
)
von einer SuSE Linux 6.1 Beta-CD installiert.
DB2 läßt sich jedoch nicht starten: der Startscript-Aufruf
root:~# rcdb2 start # oder gleichwertig: root:~# /sbin/init.d/db2 startliefert nur eine Fehlermeldung.
:-(
Dieser Fehler wird in SuSE Linux 6.1 natürlich behoben sein.
root
) aus:
--------8<-------- Start below ----------8<---------- #!/bin/bash # # Create and initialize a sample DB2 instance # (the needed accounts are already present) # # First, provide the $HOME/.profile files in case of need # for user in db2fenc1 db2inst1 db2as ; do passwdline=$( /usr/bin/grep "^$user" /etc/passwd ) group=$(echo "$passwdline" | cut -d: -f4) home=$(echo "$passwdline" | cut -d: -f6) if [ ! -e "$home"/.profile ] ; then /bin/cp -a /etc/skel/.profile "$home" /bin/chown "${user}"."${group}" "$home"/.profile fi done /bin/cp -a /etc/inittab /etc/inittab.predb2 # # Note: the following command creates /etc/rc.db2 and modifies # /etc/inittab. This is not needed in SuSE Linux: we provide # /sbin/init.d/db2 instead. # /usr/IBMdb2/V5.0/instance/db2icrt -a SERVER -u db2fenc1 db2inst1 /usr/IBMdb2/V5.0/install/db2iexec db2inst1 \ ". sqllib/db2profile; \ db2 update dbm cfg using svcename db2cdb2inst1; \ db2set -i db2inst1 db2comm=tcpip; \ db2 terminate" # Create the DB2 Administration server # /usr/IBMdb2/V5.0/instance/dasicrt db2as # Restoring the original /etc/inittab -- DB2 can be started # by means of /sbin/init.d/db2 # if [ -f /etc/inittab.predb2 ] ; then /bin/rm -f /etc/rc.db2 /bin/mv -f /etc/inittab.predb2 /etc/inittab fi # --------8<---------- The End -------------8<------
Stichwörter: DB2, DATENBANK, BETA, 6.1, IBM
Kategorien:
Anwendungen
, Applikationen
, Kommerzielle Applikationen
Übersicht
Stichwortsuche
History
Versionen
Kategorien
Alle Artikel
English