Saving eHealth Discovery fails while merging results with error; nhConfig: line 383: cd: $NH_HOME: Permission denied

Document ID : KB000004572
Last Modified Date : 14/02/2018
Show Technical Document Details

When attempting to save a an Interactive discovery (done via the eHealth OneClick interface), it fails and generates the following error;

$NH_HOME/bin/nhConfig: line 383: cd: $USER_HOME: Permission denied $NH_HOME/bin/nhConfig: line 172: cd: $USER_HOME: Permission denied


eHealth 6.3.1.x and 6.3.2.x

This error is caused by some of the eHealth server processes running under the wrong system user ID (account) and so not having permission to write to eHealth's Oracle DB. This occurs when the eHealth is started under a different user account to the one which it is installed and administered under ($NH_USER).


To resolve this, simply stop all eHealth processes, including the DB;

nhServer stop

nhStopDb immediate

Then restart them under the $NH_USER account.