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

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

book

Article ID: 4572

calendar_today

Updated On:

Products

CA eHealth

Issue/Introduction

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

<Please see attached file for image>

Discovery_save_error.jpg

Environment

eHealth 6.3.1.x and 6.3.2.x

Cause

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).

Resolution

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

nhServer stop

nhStopDb immediate

Then restart them under the $NH_USER account.

Attachments

1558699885514000004572_sktwi1f5rjvs16oun.jpeg get_app