Question & Answer
Question
Why does db2haicu fail with "Ensure that the cluster vendor wrapper library is root owned and the db2havend executable has suid root permissions. Refer to db2diag.log and DB2 Information Center for details." ?
Answer
db2haicu tool fails with the following error :
"Ensure that the cluster vendor wrapper library is root owned and the db2havend executable has suid root permissions. Refer to db2diag.log and DB2 Information Center for details."
db2diag.log reports:
2013-08-27-14.56.55.884868-300 E4477E532 LEVEL: Error
PID : 5342 TID : 140737248044832PROC : db2haicu
INSTANCE: db2inst1 NODE : 000
FUNCTION: DB2 Common, SQLHA APIs for DB2 HA Infrastructure,
sqlhaListCluster, probe:900
MESSAGE : ZRC=0x800F044E=-2146499506=SQLO_ROOT_NEEDED "Root capability
required"
DATA #1 : String, 43 bytes
Error initializing HA Vendor Infrastructure
DATA #2 : String, 43 bytes
/home/db2inst1/sqllib/lib64/libdb2tsa.so
DATA #3 : Pointer, 8 bytes
0x00007fffeb74e0e0
This is because the permission on files libdb2tsa.so, libdb2tsa.so.1, db2havend, db2havend32 are not set right. Please make sure that the files have the following permissions and are owned by the appropriate user ID :
-r-sr-xr-x 1 root db2inst1 4642211 Apr 3 18:17 db2havend
-r-sr-xr-x 1 root db2inst1 3990657 Apr 3 18:17 db2havend32
lrwxrwxrwx 1 root root 14 Apr 11 13:10 libdb2tsa.so -> libdb2tsa.so.1
-r-xr-xr-x 1 bin bin 152529 Mar 19 01:32 libdb2tsa.so.1
Related Information
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21649212