eHealth will not start /stop properly
An eHealth process fails with the following error:
ld.so.1: nhiPoller: fatal: libCciWscDb63.so: open failed: No such file or directory
Specific eHealth processes have setUID permissions:
ls -al $NH_HOME/bin/sys/nhiPoller
-r-sr-xr-x 1 root ehealth 3326240 Jun 5 2015 /export/eh63/bin/sys/nhiPoller
Since it is a security risk for root's PATH statement to include LD_LIBRARY_PATH, inside the poller code is where the Library path is referenced:
[[email protected] ~]$ readelf -d $NH_HOME/bin/sys/nhiPoller | grep PATH
0x0000000f (RPATH) Library rpath: [/opt/eHealth/lib]
As such, when nhiPollerNet starts as setUID, because the softlink /opt/eHealth is set to the incorrect eHealth directory, there is no /opt/eHealth/lib and nhiPollerNet cannot find the path to the libs directory.
eHealth installed directory = /opp/eh63102
Symbolic link = /opt/eHealth
As root, repair the incorrect symbolic link: (In the command below, replace the example eHealth installed directory with your eHealth installed directory)
ln -s /app/eh63102 /opt/eHealth
If you have any questions, contact CA Technical Support.