DB2 - Problem description
Problem IC77016 | Status: Closed |
DB2 SETUP WIZARD MIGHT BE UNABLE TO LAUNCH WHEN SELINUX IS ENABLED AND ALLOW_EXECSTACK IS OFF | |
product: | |
DB2 FOR LUW / DB2FORLUW / 970 - DB2 | |
Problem description: | |
When SELinux is set to enforce (rather than permissive) and the SELinux boolean value allow_execstack is set to off the DB2 Setup wizard might not be able to start. You might get a failure like this: # ./db2setup DBI1190I db2setup is preparing the DB2 Setup wizard which will guide you through the program setup process. Please wait. Failed to find VM - aborting Moreover, you can see following error message in the db2setup.err log file: # cat /tmp/db2setup.err failed to open </tmp/db2.tmp.23925/db2/linuxamd64/java/jre/lib/amd64/default/li bjvm.so> - reason: </tmp/db2.tmp.23925/db2/linuxamd64/java/jre/lib/amd64/default/li bjvm.so: cannot enable executable stack as shared object requires: Permission denied> | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * This will affect DB2 v9.7 users who use the DB2 Setup Wizard * * on Linux and Unix platforms * **************************************************************** * PROBLEM DESCRIPTION: * * When SELinux is set to enforce (rather than permissive) and * * the SELinux boolean value allow_execstack is set to off the * * DB2 Setup wizard might not be able to start. * **************************************************************** * RECOMMENDATION: * * Upgrade to DB2 v9.7, Fix pack 5. * **************************************************************** | |
Local Fix: | |
By setting selinux to "permissive" you get around this issue. You can also set the allow_execstack boolean value to "on" when SELinux is set to "enforce" by executing this command: #setsebool allow_execstack=on | |
available fix packs: | |
DB2 Version 9.7 Fix Pack 5 for Linux, UNIX, and Windows | |
Solution | |
Adjusted the checking condition for Script Delivered in DB2 v9.7, Fix pack 5 | |
Workaround | |
not known / see Local fix | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 17.06.2011 07.12.2011 07.12.2011 |
Problem solved at the following versions (IBM BugInfos) | |
9.7.FP5 | |
Problem solved according to the fixlist(s) of the following version(s) | |
9.7.0.5 |