Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Ensure n (NodeJS) is installed" fails due to openssl needing to be updated in CentOS 7 #62

Closed
instantchow opened this issue Dec 15, 2017 · 0 comments

Comments

@instantchow
Copy link

TASK [RocketChat.Server : Ensure n (NodeJS) is installed] ********************************************************************************************
...
fatal: [10.115.18.57]: FAILED! => {
    "changed": false,
    "cmd": "/usr/bin/npm install --global n",
    "invocation": {
        "module_args": {
            "executable": "/usr/bin/npm",
            "global": true,
            "ignore_scripts": false,
            "name": "n",
            "path": null,
            "production": false,
            "registry": null,
            "state": "present",
            "version": null
        }
    },
    "msg": "npm: relocation error: npm: symbol SSL_set_cert_cb, version libssl.so.10 not defined in file libssl.so.10 with link time reference",
    "rc": 127,
    "stderr": "npm: relocation error: npm: symbol SSL_set_cert_cb, version libssl.so.10 not defined in file libssl.so.10 with link time reference\n",
    "stderr_lines": [
        "npm: relocation error: npm: symbol SSL_set_cert_cb, version libssl.so.10 not defined in file libssl.so.10 with link time reference"
    ],
    "stdout": "",
    "stdout_lines": []
}
        to retry, use: --limit @/home/bla/ansible-rocketchat/site.retry

OS

Mostly clean, CentOS 7 minimal image

Workaround

running yum update openssl brings openssl-1.0.1e-51.el7_2_2.2 to 1.0.2k-8.el7

related link: https://stackoverflow.com/questions/46473376/node-relocation-error-node-symbol-ssl-set-cert-cb-version-libssl-so-10-not-d

Possible Fix

adding update to openssl in playbook.

xenithorb added a commit that referenced this issue Feb 18, 2018
 Major refactoring for robustness and including Let's Encrypt support

  Fixes #62 #63
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant