NX Error "Terminating due to unable to find valid directory to create syslog file"

2021-10-06T23:27:22Z
NX System Administration

Summary


Details

User cannot start NX and it fails with an error message"Terminating due to unable to find valid directory to create syslog file"
Issue does not exist when starting NX as Administrator.


Solution

This error message states that NX cannot create a syslog (nx session log) in the folder defined by the UGII_TMP_DIR environment variable.NX builds the full path for UGII_TMP_DIR within the system configuration file UGII_ENV_FILE which by default points to %UGII_BASE_DIR%\UGII\ugii_env_ug.dat.Here, %UGII_TMP_DIR% starts with the folder inherited by the %TMP% system environment variable:
# The UGII_TMP_DIR variable points to a temporary directory that is used UGII_TMP_DIR=${TMP}
So the user must ensure that %TMP% points to a valid folder with full permission / write access so NX can create the file as necessary.If the user cannot change the setting of %TMP% in the system, he can define %UGII_TMP_DIR% explicitly as user environment variable.If NX finds an existing variable, for example as defined in the Control Panel or in a batch file, the definition in UGII_ENV_FILE will be omitted.


Notes and References


Hardware/Software Configuration

Platform: INTL64
OS: windows
OS Version: 10_1507
Product: NX
Application: SYSTEM
Version: V1863
Function: WNT_INSTALL

Ref: 001-9513593

KB Article ID# PL8014454

Contents

SummaryDetails

Associated Components

Installation Licensing Plotting