MineMeld install failing on Ubuntu Server 16.04.4

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

MineMeld install failing on Ubuntu Server 16.04.4

L1 Bithead

Having a devil of a time installing MM. I got to the 37th task in the install but got this error:


TASK [minemeld : create extensions frigidaire] **************************************************************************************************************
fatal: [127.0.0.1]: FAILED! => {"changed": true, "cmd": ["/opt/minemeld/engine/current/bin/mm-extensions-freeze", "/opt/minemeld/local/library", "/opt/minemeld/local/library/freeze.txt"], "delta": "0:00:00.280661", "end": "2018-04-25 14:43:22.167971", "msg": "non-zero return code", "rc": 1, "start": "2018-04-25 14:43:21.887310", "stderr": "Traceback (most recent call last):\n File \"/opt/minemeld/engine/current/bin/mm-extensions-freeze\", line 11, in <module>\n load_entry_point('minemeld-core', 'console_scripts', 'mm-extensions-freeze')()\n File \"/opt/minemeld/engine/current/local/lib/python2.7/site-packages/pkg_resources/__init__.py\", line 480, in load_entry_point\n return get_distribution(dist).load_entry_point(group, name)\n File \"/opt/minemeld/engine/current/local/lib/python2.7/site-packages/pkg_resources/__init__.py\", line 2693, in load_entry_point\n return ep.load()\n File \"/opt/minemeld/engine/current/local/lib/python2.7/site-packages/pkg_resources/__init__.py\", line 2324, in load\n return self.resolve()\n File \"/opt/minemeld/engine/current/local/lib/python2.7/site-packages/pkg_resources/__init__.py\", line 2330, in resolve\n module = __import__(self.module_name, fromlist=['__name__'], level=0)\n File \"/opt/minemeld/engine/core/minemeld/run/freeze.py\", line 19, in <module>\n import minemeld.extensions\n File \"/opt/minemeld/engine/core/minemeld/extensions/__init__.py\", line 1, in <module>\n from .manager import * # noqa\n File \"/opt/minemeld/engine/core/minemeld/extensions/manager.py\", line 11, in <module>\n from pip.utils import egg_link_path\nImportError: No module named utils", "stderr_lines": ["Traceback (most recent call last):", " File \"/opt/minemeld/engine/current/bin/mm-extensions-freeze\", line 11, in <module>", " load_entry_point('minemeld-core', 'console_scripts', 'mm-extensions-freeze')()", " File \"/opt/minemeld/engine/current/local/lib/python2.7/site-packages/pkg_resources/__init__.py\", line 480, in load_entry_point", " return get_distribution(dist).load_entry_point(group, name)", " File \"/opt/minemeld/engine/current/local/lib/python2.7/site-packages/pkg_resources/__init__.py\", line 2693, in load_entry_point", " return ep.load()", " File \"/opt/minemeld/engine/current/local/lib/python2.7/site-packages/pkg_resources/__init__.py\", line 2324, in load", " return self.resolve()", " File \"/opt/minemeld/engine/current/local/lib/python2.7/site-packages/pkg_resources/__init__.py\", line 2330, in resolve", " module = __import__(self.module_name, fromlist=['__name__'], level=0)", " File \"/opt/minemeld/engine/core/minemeld/run/freeze.py\", line 19, in <module>", " import minemeld.extensions", " File \"/opt/minemeld/engine/core/minemeld/extensions/__init__.py\", line 1, in <module>", " from .manager import * # noqa", " File \"/opt/minemeld/engine/core/minemeld/extensions/manager.py\", line 11, in <module>", " from pip.utils import egg_link_path", "ImportError: No module named utils"], "stdout": "", "stdout_lines": []}

 

I'm at a loss on how to fix

6 REPLIES 6

L0 Member

Having the same issue with the Minimeld Ansible playbook for CentOS7 here...

Please, could you try again? I merge the fix for this problem.

Thank you. I will give this a try and get back to you.

Your fix has gotten me further. Now I'm getting this error:

 


TASK [minemeld : npm install] ******************************************************************************************************
fatal: [127.0.0.1]: FAILED! => {"changed": true, "cmd": ["npm", "install"], "delta": "0:00:01.477859", "end": "2018-05-07 10:30:49.017637", "msg": "non-zero return code", "rc": -6, "start": "2018-05-07 10:30:47.539778", "stderr": "npm WARN package.json minemeldWebui@0.9.45-beta.1 No repository field.\nnpm WARN package.json minemeldWebui@0.9.45-beta.1 No license field.\n|DNS-request| registry.npmjs.org \n|DNS-request| registry.npmjs.org \n|DNS-request| registry.npmjs.org \n|DNS-request| registry.npmjs.org \n|DNS-response|: registry.npmjs.org does not exist\n../deps/uv/src/unix/getaddrinfo.c:91: uv__getaddrinfo_translate_error: Assertion `!\"unknown EAI_* error code\"' failed.", "stderr_lines": ["npm WARN package.json minemeldWebui@0.9.45-beta.1 No repository field.", "npm WARN package.json minemeldWebui@0.9.45-beta.1 No license field.", "|DNS-request| registry.npmjs.org ", "|DNS-request| registry.npmjs.org ", "|DNS-request| registry.npmjs.org ", "|DNS-request| registry.npmjs.org ", "|DNS-response|: registry.npmjs.org does not exist", "../deps/uv/src/unix/getaddrinfo.c:91: uv__getaddrinfo_translate_error: Assertion `!\"unknown EAI_* error code\"' failed."], "stdout": "", "stdout_lines": []}

L1 Bithead

Also having an issue here. Ansible playbook installation suceeds, however the the minemeld-engine/minemeld-traced services fail to start and both report "FATAL - Exited too quickly (process log may have details)"

 

minemeld-engine.log:

ImportError: /opt/minemeld/engine/current/local/lib/python2.7/site-packages/plyvel/_plyvel.so: undefined symbol: _ZNK7leveldb6Status8ToStringB5cxx11Ev
2018-05-09T11:47:03 (1185)launcher.main ERROR: Exception initializing graph
Traceback (most recent call last):
  File "/opt/minemeld/engine/core/minemeld/run/launcher.py", line 284, in main
    mbusmaster.wait_for_chassis(timeout=10)
  File "/opt/minemeld/engine/core/minemeld/mgmtbus.py", line 141, in wait_for_chassis
    raise RuntimeError('Timeout waiting for chassis')
RuntimeError: Timeout waiting for chassis
2018-05-09T11:47:03 (1185)mgmtbus.checkpoint_graph INFO: checkpoint_graph called, checking current state
2018-05-09T11:47:03 (1185)mgmtbus.checkpoint_graph INFO: graph status None, checkpoint_graph ignored
Traceback (most recent call last):
  File "/opt/minemeld/engine/current/bin/mm-run", line 11, in <module>
    load_entry_point('minemeld-core', 'console_scripts', 'mm-run')()
  File "/opt/minemeld/engine/core/minemeld/run/launcher.py", line 284, in main
    mbusmaster.wait_for_chassis(timeout=10)
  File "/opt/minemeld/engine/core/minemeld/mgmtbus.py", line 141, in wait_for_chassis
    raise RuntimeError('Timeout waiting for chassis')
RuntimeError: Timeout waiting for chassis

 

minemeld-traced.log:

ImportError: /opt/minemeld/engine/current/local/lib/python2.7/site-packages/plyvel/_plyvel.so: undefined symbol: _ZNK7leveldb6Status8ToStringB5cxx11Ev
Traceback (most recent call last):
  File "/opt/minemeld/engine/current/bin/mm-traced", line 11, in <module>
    load_entry_point('minemeld-core', 'console_scripts', 'mm-traced')()
  File "/opt/minemeld/engine/current/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 480, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/opt/minemeld/engine/current/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2691, in load_entry_point
    return ep.load()
  File "/opt/minemeld/engine/current/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2322, in load
    return self.resolve()
  File "/opt/minemeld/engine/current/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2328, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/opt/minemeld/engine/core/minemeld/traced/main.py", line 35, in <module>
    import minemeld.traced.storage
  File "/opt/minemeld/engine/core/minemeld/traced/storage.py", line 30, in <module>
    import plyvel
  File "/opt/minemeld/engine/current/local/lib/python2.7/site-packages/plyvel/__init__.py", line 6, in <module>
    from ._plyvel import (  # noqa
ImportError: /opt/minemeld/engine/current/local/lib/python2.7/site-packages/plyvel/_plyvel.so: undefined symbol: _ZNK7leveldb6Status8ToStringB5cxx11Ev

 

I was able to resolve my issue by purging the libleveldb's and reinstalling them.

  • 5912 Views
  • 6 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!