Unable to start Node Manager Service when the Node Manager is installed in a folder with spaces in the folder name.

Unable to start Node Manager Service when the Node Manager is installed in a folder with spaces in the folder name.

book

Article ID: KB0079632

calendar_today

Updated On:

Products Versions
Spotfire Server 7.5 and Higher versions

Description

The Node Manager is by default installed under 'C:\tibco\tsnm' folder path, however, if you wish to install the Node Manager at some other folder path, you can install it under some other folder path as well.
Though, if you have a space in the Folder name at the path where you are installing the Node Manager you may come across issues when starting the Node Manager once you are done with the Node Manager installation.

The Node Manager service would not start with the below error:
Error_Startup

For example, your Node Manager installation Folder is:
'C:\Node Manager Test'

You could see the below error message in startup.log:
 'C:\Node' is not recognized as an internal or external command, operable program or batch file.

The Node Manager service, however, would not start.

Issue/Introduction

Unable to start Node Manager Service when the Node Manager is installed in a folder with spaces in the folder name.

Resolution

A workaround in such scenarios, when you need to install/re-install the Node Manager at a folder path where the Folder name includes spaces, you will need to provide the short filename(8dot3name) for the Folder during the installation of the Node Manager.

For example, considering the above scenario where a user preferred Node Manager installation directory is:
'C:\Node Manager Test'

You can find the short file name for it using the below command:
Dir /X

In the above example the short file name for the Folder could be found using:
C:/ Dir /X
which would result in 'NODEMA~1'

The path that should be then provided during the installation of the Node Manager would be 
'C:\NODEMA~1'

Once you provide this path and on successful completion of the Node Manager, you will now be able to start the Node manager service installed at a folder path which includes spaces.

Some detailed information on Dir /X could be found at:
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/dir

The detailed information on 8dot3name could be found at:
https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-R2-and-2012/ff621566(v=ws.11)
 

Additional Information

https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/dir

https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-R2-and-2012/ff621566(v=ws.11)

https://blogs.technet.microsoft.com/josebda/2012/11/13/windows-server-2012-file-server-tip-disable-8-3-naming-and-strip-those-short-names-too/