Issue with nnmaction not running NNMi 10.00/0.1/0.2

Problem
Issue with nnmaction not running 

Name                   PID  State          Last Message(s)
 OVsPMD               12380  RUNNING        -
 nnmaction                -  NOT_RUNNING    Exit on signal 17 Exit(1)
 nnmtrapreceivermd    12382  RUNNING        Initialization complete. Trap Receiver is running.
 nmsdbmgr             12381  RUNNING        Database available.
 ovjboss              12438  RUNNING        Initialization complete.


Verification Steps

Verify contains of the following file;
<NnmDataDir>/log/nnm/public/incidentActions.0.0.log 

Look for the following conditions;

SEVERE: com.hp.ov.nms.events.action.log.ActionLogger createActionServer:
Failed to get port number from /var/opt/OV/tmp/actionServer.port due to java.io.FileNotFoundException.
/var/opt/OV/tmp/actionServer.port.lock (Permission denied) : java.io.FileNotFoundException:
/var/opt/OV/tmp/actionServer.port.lock (Permission denied)
 
OR
 
SEVERE: com.hp.ov.nms.events.action.log.ActionLogger createActionServer: Failed to get port number from /var/opt/OV/tmp/actionServer.port due to java.io.FileNotFoundException. Port lock file not found  : java.io.FileNotFoundException: Port lock file not found
        at com.hp.ov.nms.events.action.server.ActionServer.createActionServer(ActionServer.java:205)
        at com.hp.ov.nms.events.action.server.ActionServer.main(ActionServer.java:314)


Cause 

Potential cause of this issue is file permissions being changed due to additional HP software being installed on the NNMi system.

Solution

To correct the problem perform the following steps;
* ovstop
 
* cd <NnmDataDir> 

* Check the current file permissions on the tmp directory
ls -ald tmp
The output should look like the following;
drwxrwsrwx   4 root root 4096 Nov 25 13:07 tmp

 If they don't then execute the appropriate commands here:
chown root:root tmp
chmod 777 tmp
chmod g+s tmp 

* Remove the actionServer.port and actionServer.port.lock files:
rm -f actionServer*

 * ovstart -c

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Powered by Zendesk
range_contents?locale=en-us","general_settings_url":"https://support.j9tech.com/hc/admin/general_settings?locale=en-us","user_segments_url":"https://support.j9tech.com/hc/admin/user_segments?locale=en-us","has_community_enabled":false,"has_multiselect_field":false,"has_groups":true,"has_internal_sections":true,"has_organizations":true,"has_tag_restrictions":true,"has_answer_bot_web_form_enabled":false,"billing_url":"/access/return_to?return_to=https://j9tech.zendesk.com/billing","has_answer_bot":true,"answer_bot_management_url":"https://support.j9tech.com/hc/admin/answer_bot?locale=en-us","is_account_owner":false,"guide_plan_state":"plan_legacy","has_theming_templates":false,"theming_center_url":"https://support.j9tech.com/theming","theming_cookie_key":"hc-da39a3ee5e6b4b0d3255bfef95601890afd80709-preview","is_preview":false};