DB2 - Problembeschreibung
Problem IC76857 | Status: Geschlossen |
DB2_DEINSTALL DOES NOT STOP IF THE LOG FILE CANNOT BE CREATED OR UPDATED | |
Produkt: | |
DB2 FOR LUW / DB2FORLUW / 970 - DB2 | |
Problembeschreibung: | |
When you try to deinstall a DB2 copy that was installed as a non-root user and specify a log filename that cannot be created or if the logfile already exists but cannot be updated by the non-root user you will receive an incomplete error message and the deinstallation continues. All the log messages are printed to standard output and no log file will be generated. The following example describes the case when the log file, /tmp/deinstall.log, already exists and does not have write permission for the non-root user: $ ~/sqllib/install/db2_deinstall -a -l /tmp/deinstall.log DBI1016I Program db2_deinstall is performing uninstallation. Please wait. The log file "" cannot be created. No log will be generated. Previously Installed Products: DB2 Enterprise Server Edition Selected Products: DB2 Enterprise Server Edition .... The expected behavior for db2_deinstall is to print the following message and abort the deinstallation: DBI1503E An error was encountered when opening or writing to file, /tmp/deinstall.log. Explanation: An error was encountered when writing data to a file. One of the following errors occurred: * Incorrect access permissions on a given directory. * There is not enough space on your file system. | |
Problem-Zusammenfassung: | |
**************************************************************** * USERS AFFECTED: * * ALL * **************************************************************** * PROBLEM DESCRIPTION: * * When you try to deinstall a DB2 copy that was installed as a * * non-root user and specify a log filename that cannot be * * created or if the logfile already exists but cannot be * * updated by the non-root user you will receive an incomplete * * error message and the deinstallation continues. All the log * * messages are printed to standard output and no log file will * * be generated. * * * * The following example describes the case when the log file, * * /tmp/deinstall.log, already exists and does not have write * * permission for the non-root user: * * * * $ ~/sqllib/install/db2_deinstall -a -l /tmp/deinstall.log * * DBI1016I Program db2_deinstall is performing * * uninstallation. Please * * wait. * * * * * * The log file "" cannot be created. No log will be generated. * * * * Previously Installed Products: * * DB2 Enterprise Server Edition * * Selected Products: * * DB2 Enterprise Server Edition * * .... * * * * * * The expected behavior for db2_deinstall is to print the * * following message and abort the deinstallation: * * * * DBI1503E An error was encountered when opening or writing * * to file, * * /tmp/deinstall.log. * * * * Explanation: * * * * An error was encountered when writing data to a file. One of * * the * * following errors occurred: * * * Incorrect access permissions on a given directory. * * * There is not enough space on your file system. * **************************************************************** * RECOMMENDATION: * * Upgrade to DB2 version 9.7 FixPack 5 * **************************************************************** | |
Local-Fix: | |
Specify a file that can be created or updated by the non-root user. | |
verfügbare FixPacks: | |
DB2 Version 9.7 Fix Pack 5 for Linux, UNIX, and Windows | |
Lösung | |
First fixed in DB2 version 9.7 FixPack 5 | |
Workaround | |
keiner bekannt / siehe Local-Fix | |
Weitere Daten | |
Datum - Problem gemeldet : Datum - Problem geschlossen : Datum - der letzten Änderung: | 08.06.2011 02.01.2012 02.01.2012 |
Problem behoben ab folgender Versionen (IBM BugInfos) | |
9.7.FP5 | |
Problem behoben lt. FixList in der Version | |
9.7.0.5 |