Skip to main content
knarendran
Gold ⭐️
July 15, 2017

Unable to start Node Manager

  • October 5, 2026 at 8:57 AM
  • 2 replies
  • 5270 views
  • Translate All

Issue:

Nodemanager log:

FATAL nodemanager.NodeManager (NodeManager.java:initAndStartNodeManager(540)) - Error starting NodeManager java.lang.UnsatisfiedLinkError: Could not load library. Reasons: [no leveldbjni64-1.6.0.2.4.0.0-169 in java.library.path, no leveldbjni-1.6.0.2.4.0.0-169 in java.library.path, no leveldbjni in java.library.path, No such file or directory]

Resolution:

a) If you are using Ambari, by default the library files reported as missing in the above error should be present under /var/lib/ambari-agent/tmp/hadoop_java_io_tmpdir

You can find this location by running "ps -ef | grep -i nodemanager" on any of the hosts in the cluster where nodemanager runs successfully and look for this property "-Djava.io.tmpdir"

If you have a different location other than the default then make sure the library files are present in that location or copy from another hosts.

b) You can also check to remove noexec from /tmp as below and then start node manager via ambari

cat /etc/fstab
mount -o remount,exec /tmp

2 replies

san_t_o
Silver ⭐️
March 4, 2020

Hi, 

 

I have reviewed the execution permissions of the temporary directories.

  • /tmp
  • /var/tmp
  • /var/lib/ambari-agent/tmp/

 

The java.library.path files were also copied.

 

The NodeManager service runs with the root user but with the user yarn I have the following message:

 

java.lang.UnsatisfiedLinkError: Could not load library. Reasons: [no leveldbjni64-1.8 in java.library.path, no leveldbjni-1.8 in java.library.path, no leveldbjni in java.library.path, Permission denied]

 

Maybe, another sugestion?

 

Translate
ask_bill_brooks
Platinum ⭐️
Platinum ⭐️
March 4, 2020

Hi @san_t_o, 

Just looking at the error message you've posted, it doesn't appear that this community article is particularly germane to your problem. You would have a better chance of receiving a satisfactory resolution by posting a new question in the questions area. This will also provide the opportunity to provide details specific to your environment that could aid other members in providing a more tailored answer to your issue. 

 

 

Translate
Bill Brooks, Community Moderator Was your question answered? Make sure to mark the answer as the accepted solution. If you find a reply useful, say thanks by clicking on the thumbs up button.