IBM Support

TM1 Server may not be able to shut down if you are using Java extensions with Java 8 on Linux

Troubleshooting


Problem

The JVM in Java version 8 does not release the correct signal back to the TM1 Server, thus preventing it from shutting down.

 

Resolving The Problem

If you encounter this issue, make the following changes to the shutdown_tm1s.sh script and run the script:

Original script:

TM1_SERVER_PROCESS_ID=`ps -ef | grep "tm1s.exe -w -z\"$normalized_configuration_directory\"" | grep -v grep | awk '{print     $2}'`
echo "Shutdown TM1 Server PID:" $TM1_SERVER_PROCESS_ID

# Send an INT signal to process (Ctrl -c)
kill -s USR1 $TM1_SERVER_PROCESS_ID
exit $?

New script with changes to be made in bold:

TM1_SERVER_PROCESS_ID=`ps -ef | grep "tm1s.exe -w -z\"$normalized_configuration_directory\"" | grep -v grep | awk '{print $2}'`
echo "Shutdown TM1 Server PID:" $TM1_SERVER_PROCESS_ID
# Send an INT signal to process (Ctrl -c)
kill -s INT $TM1_SERVER_PROCESS_ID
sleep 10
kill -9 $TM1_SERVER_PROCESS_ID
exit $?

Document Location

Worldwide

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSCTEW","label":"IBM Planning Analytics Local"},"Component":"","Platform":[{"code":"PF016","label":"Linux"}],"Version":"2.0.8, 2.0.9","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}},{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSDLC4","label":"IBM Planning Analytics Advanced"},"Component":"","Platform":[{"code":"PF016","label":"Linux"}],"Version":"2.0.8, 2.0.9","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}},{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSDL22","label":"IBM Planning Analytics Express"},"Component":"","Platform":[{"code":"PF016","label":"Linux"}],"Version":"2.0.8, 2.0.9","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
02 October 2019

UID

ibm11077867