home clear 64x64
en blue 200x116 de orange 200x116 info letter User
suche 36x36
Neueste VersionenFixList
11.1.0.7 FixList
10.5.0.9 FixList
10.1.0.6 FixList
9.8.0.5 FixList
9.7.0.11 FixList
9.5.0.10 FixList
9.1.0.12 FixList
Haben Sie Probleme? - Kontaktieren Sie uns.
Kostenlos registrieren anmeldung-x26
Kontaktformular kontakt-x26

DB2 - Problembeschreibung

Problem IC99915 Status: Geschlossen

HADRV10_MONITOR.KSH FAILING DUE TO .BASHRC ENTRIES

Produkt:
DB2 FOR LUW / DB2FORLUW / A10 - DB2
Problembeschreibung:
hadrV10_monitor.ksh calls "su -" here: 
hdrRole=$(su - ${candidate_P_instance} -c "db2pd -hadr -db 
${DB2HADRDBNAME?}" | egrep "^Primary |^Standby |not 
activated|not active" | awk '{print $1}') 
This will also trigger .bashrc/.kshrc/.profile. 
In case, eg .bashrc contains a db2pd command too, like "db2pd 
-db <dbname> -hadr", hdrRole will contain duplicate entries and 
subsequent check 
if [[ $hdrRole == "Primary" ]]; then 
will fail. 
The script needs to take into account that customer might have 
outputs in their .bashrc that can conflict.
Problem-Zusammenfassung:
**************************************************************** 
* USERS AFFECTED:                                              * 
* All using HADR                                               * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error Description                                        * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to DB2 Version 10.1 Fix Pack 5.                      * 
****************************************************************
Local-Fix:
Lösung
First fixed in DB2 Version 10.1 Fix Pack 5.
Workaround
keiner bekannt / siehe Local-Fix
Weitere Daten
Datum - Problem gemeldet    :
Datum - Problem geschlossen :
Datum - der letzten Änderung:
07.03.2014
14.07.2015
14.07.2015
Problem behoben ab folgender Versionen (IBM BugInfos)
Problem behoben lt. FixList in der Version
10.1.0.5 FixList