节点:重定位错误:节点:符号SSL_set_cert_cb,版本libsslso。在文件libsslso中没有定义。有链接时间参考。

时间:2021-06-13 13:47:14

I've been running a NodeJS server for a website using the MEAN stack for a website, and it's been running for a few months. When I started to work on it again this morning, I started up the website with:

我为一个网站运行了一个NodeJS服务器,它使用的是一个网站的平均堆栈,它已经运行了几个月。当我今天早上重新开始工作的时候,我用:

nodemon server/app.js

The express server starts up just fine, but as soon as I connect to it with my browser, I get the following error:

express服务器启动很好,但是当我用浏览器连接到它时,我就会得到以下错误:

node: relocation error: node: symbol SSL_set_cert_cb, version libssl.so.10 not defined in file libssl.so.10 with link time reference [nodemon] failed to start process, "node" exec not found`

节点:重定位错误:节点:符号SSL_set_cert_cb,版本libsslso。在文件libsslso中没有定义。10 .连接时间引用[nodemon]未能启动进程,“节点”exec未找到'

And when I do node server/app.js, I get the same node: relocation error..., but dont' get the ...failed to start process...

当我做节点服务器/应用时。我得到了相同的节点:重新定位错误……,但不要……失败的开始过程……

I don't think it is with any changes I made in the past few days, because I went to another server where this was running on (where the code was a few weeks old), and I restarted the nodejs process, and then it broke when I accessed the site.

我不认为这与我在过去几天做的任何更改有关,因为我去了运行它的另一个服务器(那里的代码是几周以前的),我重新启动了nodejs进程,然后当我访问这个站点时它就崩溃了。

npm version: 3.10.10, node version: 6.11.3, CentOS Linux release 7.3.1611

npm版本:3.10.10,节点版本:6.11.3,CentOS Linux发行版7.3.1611

2 个解决方案

#1


74  

I had same issue with a ursa module that on the same environment.

在相同的环境下,我对ursa模块也有同样的问题。

Npm rebuild has the following error when my openssl version is 1.0.1e

当我的openssl版本是1.0.1e时,Npm重构有以下错误

node-gyp: relocation error: node-gyp: symbol SSL_set_cert_cb, version libssl.so.10 not defined in file libssl.so.10 with link time reference

节点-gyp:重定位错误:节点-gyp:符号SSL_set_cert_cb,版本libsslso。在文件libsslso中没有定义。有链接时间参考。

I updated openssl with yum update openssl to 1.0.2k, then npm rebuild no longer has that error.

我用yum更新openssl到1.2 k更新了openssl,然后npm重构不再有这个错误。

#2


3  

Thank you, after yum update openssl I could successfully execute

谢谢,在yum更新openssl后,我可以成功执行

npm install angular

npm安装角

npm: relocation error: npm: symbol SSL_set_cert_cb, version libssl.so.10 not defined in file libssl.so.10 with link time reference

npm:重定位错误:npm:符号SSL_set_cert_cb,版本libsslso。在文件libsslso中没有定义。有链接时间参考。

yum update openssl

yum更新openssl

npm install angular

npm安装角

angular-seed@0.0.0 /home/mapr/MS/angularjs-springmvc-sample-boot-master 7

angular-seed@0.0.0 /home/mapr/MS/angularjs-springmvc-sample-boot-master 7

└── angular@1.6.6

└──angular@1.6.6

Running fine.

运行的很好。

#1


74  

I had same issue with a ursa module that on the same environment.

在相同的环境下,我对ursa模块也有同样的问题。

Npm rebuild has the following error when my openssl version is 1.0.1e

当我的openssl版本是1.0.1e时,Npm重构有以下错误

node-gyp: relocation error: node-gyp: symbol SSL_set_cert_cb, version libssl.so.10 not defined in file libssl.so.10 with link time reference

节点-gyp:重定位错误:节点-gyp:符号SSL_set_cert_cb,版本libsslso。在文件libsslso中没有定义。有链接时间参考。

I updated openssl with yum update openssl to 1.0.2k, then npm rebuild no longer has that error.

我用yum更新openssl到1.2 k更新了openssl,然后npm重构不再有这个错误。

#2


3  

Thank you, after yum update openssl I could successfully execute

谢谢,在yum更新openssl后,我可以成功执行

npm install angular

npm安装角

npm: relocation error: npm: symbol SSL_set_cert_cb, version libssl.so.10 not defined in file libssl.so.10 with link time reference

npm:重定位错误:npm:符号SSL_set_cert_cb,版本libsslso。在文件libsslso中没有定义。有链接时间参考。

yum update openssl

yum更新openssl

npm install angular

npm安装角

angular-seed@0.0.0 /home/mapr/MS/angularjs-springmvc-sample-boot-master 7

angular-seed@0.0.0 /home/mapr/MS/angularjs-springmvc-sample-boot-master 7

└── angular@1.6.6

└──angular@1.6.6

Running fine.

运行的很好。