service terminated unexpectedly

Product:
Planning Analytics 2.1.14
Microsoft Windows 2022 server

Issue:

Newly created tm1 instance does not start.

Does not leave any log files in the logs folder.

You get error:

The IBM TM1 Server x64 – tm1applicationname service terminated unexpectedly. It has done this 1 time(s).

 

Solution:

Start CMD

Go to folder d:\Program files\ibm\tm1_64\bin64

Remove the service

tm1sd.exe -remove  -n "tm1applicationname"

Reinstall the service with the correct path to the folder that contains the tm1s,cfg file

tm1sd.exe -install -n "tm1applicationname" -z "D:\TM1 Data\tm1applicationname\Config"

 

You should not include the tm1s,cfg file name in the path you supply.

You do not get log files, when the error is that it can not find the tm1s.cfg file.

More Information:

https://www.ibm.com/docs/en/planning-analytics/2.0.0?topic=tso-setting-up-tm1-server-run-as-windows-service 

https://bihints.com/sites/default/files/tm1scfg.html 

https://www.ibm.com/docs/en/planning-analytics/2.0.0?topic=local-tm1scfg-configuration-file

Planning Analytics Configuration File Breakdown