Adding members/CFs in pureScale with db2iupdt command may fail if /tmp filesystem is mounted with noexec
db2scope 310002R9XW Visits (1461)
Using db2iupdt to add a member of CF (For example, db2iupdt -add -m xx -mnet yy db2inst1) failed with
the following error
DB2 Setup log file started at: <timestamp>
Operating system information: Linux xxxx .x86_64.#1 SMP time x86_64
ERROR: The DB2prereqcheck tool found errors.For detailed information please check /tmp
ERROR: The "db2iupdt" command failed. Ensure that errors reported in the log
file are fixed, then rerun the command.
However, in /tmp
DBT3533I The db2prereqcheck utility has confirmed that all installation prerequisites were met.
To diagnose the issue, "-d" option can be added to db2iupdt to take debug output. And the following can be found in the trace:
In the output file /tmp/db2io4jDCsm and /tmp/db2ie0c1LZU, you can find the following error:
The above error indicates Db2 command received "Permission Denied" error when trying to execute the script.
Create a test script in /tmp directory and check if it can be executed or receive the same error. For instance
$ cat test.sh
Also verify that /tmp is not mounted with noexec option with mount command. If it is mounted with noexec option, you can correct it
mount -o remount,exec,<other options> /tmp
After fixing the above error, reissue db2iupdt command to add pureScale members or CFs.