-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Hard Crash starting daemon CentOS 7 #196
Comments
Can you update docker to version 1.12.3 for me. I highly doubt that is the cause of the crash, but I'd like to make sure as few things are out of date as possible. Can you also provide the logs from the daemon, they're in |
https://gist.github.com/necrogami/869afed51583819b225d13b64cb01c03 info.log (all other logs are empty) More details for you. So it starts the sftp docker container. |
install/download were https but base wasn't. Updated base to https. ran |
Alright, thanks, It'll take some time to dig into this, thanks for the information so far though. |
This is gonna sound strange, but can you disable SSL on the daemon and see if it crashes still? |
It doesn't crash, but it doesn't connect either.
|
The daemon doesn't say it connects to anything, It just listens. |
So, we talked on Discord a bit about this, and its looking like your system is at fault, specifically libssl:
If the daemon isn't crashing with SSL disabled, then this is most definitely the issue. Most everything you're running appears to be pretty out of date, docker should be |
It's default centos 7, I just today upgraded all the packages but, I did
install docker from their repo so it's now up to date.
…On Fri, Dec 2, 2016, 9:52 PM Dane Everitt ***@***.***> wrote:
So, we talked on Discord a bit about this, and its looking like your
system is at fault, specifically libssl:
:Dec 02 08:25:18 WyldLife.dedi.creeperhost.net kernel: node[1149]: segfault at 9 ip 00007f865df7f459 sp 00007fffe9669098 error 4 in libcrypto.so.1.0.1e[7f865de85000+1bd000]
:Dec 02 08:25:29 WyldLife.dedi.creeperhost.net kernel: node[1884]: segfault at 9 ip 00007f0e1f962459 sp 00007ffe8008f718 error 4 in libcrypto.so.1.0.1e[7f0e1f868000+1bd000]
If the daemon isn't crashing with SSL disabled, then this is most
definitely the issue. Most everything you're running appears to be pretty
out of date, docker should be 1.12.3 by now to address security issues,
as well as implement new features that we use. The 3.10 kernel is fine,
but the absolute minimum that docker supports, and not necessarily the most
up-to-date.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#196 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AACA_CjsuA-iSFqHK1Z9-k0WbMQ3_puhks5rENl4gaJpZM4LC-tu>
.
|
And in terms of connecting, when i open the node list page in the panel it connects to each of the daemons for a heartbeat check, This doesn't happen and doesn't show connected from the panel. After updating to the latest packages available for centos 7 (core only) and newest docker, re-enabling ssl this is still crashing. You're currently listing centos 7 as officially supported. However out of the box it's not. Here's the current data after updates: insecure (with crtl+c), secure ending in crash, yum update, mail crash log, and updated docker info https://gist.github.com/necrogami/762289ca176f498fe5d0197ad247a250 |
Yeah, we've done preliminary testing and it was working fine on the systems we tested with. I'm still thinking it might be The bottom of your crash log shows a segfault with
In fact, there is a related issue to it here which suggests that a different version of Theres an issue related on Github as well for Saltstack on Centos. This issue suggests it might be a kernel related issue. |
So i've solved this issue with an odd work around. This appears to be a bug related to the repo-installed version of nodejs on default centos servers. If i download the pre-compiled software from nodejs site and move that to /opt then symlink node/npm to /usr/bin this problem goes away. I have confirmed that this is now working via Node js 6.9.1 and centos 7 an annoying work around but it works. |
We are working with the maintainers of OpenSSL in RHEL/CentOS to resolve the issue, however it's worth noting this thread: nodejs/node#9551 Essentially, the problem is that OpenSSL parses certain oddly-arranged certificate files incorrectly. See nodejs/node#9551 (comment) for a workaround that doesn't require reinstalling Node.js. |
I'm also testing with a centos server and whenever i try to run the daemon i get this hard crash sent to the accounts mailbox
https://gist.github.com/necrogami/d793eb9f0744bd46b97dfb391a6c24fb
uname -a
node -v
docker info
The text was updated successfully, but these errors were encountered: