DB2 - Problem description
Problem IT02177 | Status: Closed |
DB2FMCU -D TERMINATED WITH SIGTERM AND RETURN CODE 143 | |
product: | |
DB2 FOR LUW / DB2FORLUW / 970 - DB2 | |
Problem description: | |
Execution of 'db2fmcu -d' may terminate with return code 143. Following will be displayed in the DB2 command line upon execution of db2fmcu: # /db2/SB2/db2sb2_home/sqllib/bin/db2fmcu -d Terminated # echo $? 143 db2fmcu uses operating system call fcntl to check if file '/var/db2/.fmcd.lock' is locked by a running instance of the DB2 fault monitor deamon (db2fmcd). If the file is locked a kill is sent to the PID returned by fcntl to finish the running db2fmcd process. It's been observed that the operating system might return PID 0 for a locked file when fcntl is called. This could happen if the file is locaked on a shared filesystem (e.g. nfs). If the file is locked by a running process on machine A a call to fcntl on machine B will return the information that the file is locked but the PID will be 0. In case fcntl returns PID 0 db2fcmu does a kill against the process group and therefore terminates itself. This is not expected, hence db2fmcu needs to check the returned PID. A running db2fmcd process will always have a PID larger than 0. | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * All * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Upgrade to DB2 version 9.7 FixPack 10. * **************************************************************** | |
Local Fix: | |
Solution | |
First fixed in DB2 version 9.7 FixPack 10. | |
Workaround | |
not known / see Local fix | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 03.06.2014 17.11.2014 17.11.2014 |
Problem solved at the following versions (IBM BugInfos) | |
9.7.FP10 | |
Problem solved according to the fixlist(s) of the following version(s) | |
9.7.0.10 |