I ran the following commands on the production server:
# git clone https://github.com/letsencrypt/letsencrypt
# cd letsencrypt
# ./letsencrypt-auto certonly --webroot -w /www/mydomain.tld -d mydomain.tld -d www.mydomain.tld
...
Setting up libssl1.0.0:i386 (1.0.1-4ubuntu5.31) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Inconsistency detected by ld.so: dl-close.c: 759: _dl_close: Assertion `map->l_init_called' failed!
E: Sub-process /usr/bin/dpkg returned an error code (127)
Failed to install a working "virtualenv" command, exiting
If I trying to run any command I get the error:
Inconsistency detected by ld.so: dl-close.c: 759: _dl_close: Assertion `map->l_init_calledā failed!
# ls
Inconsistency detected by ld.so: dl-close.c: 759: _dl_close: Assertion `map->l_init_called' failed!
# reboot
Inconsistency detected by ld.so: dl-close.c: 759: _dl_close: Assertion `map->l_init_called' failed!
# apt-get install something
Inconsistency detected by ld.so: dl-close.c: 759: _dl_close: Assertion `map->l_init_called' failed!
I canāt run any command, I canāt create second connection to the host, so if I lose this connection, I can not connect the server and solve this.
What should I do to get the server working?
This looks like an old linux bug - letsencrypt usually updates your system first. Personally Iād power cycle the server to get it back up, then update the system and apply all patches
Unfortunately I donāt have any image of the server, and I canāt run any command on the server except āpwdā and ācdā.
But ā/bin/pwdā is causing the same error:
Can you physically get to the server though, to power cycle it ?
Alternatively you could try the Magic SysRq key ā¦ Used in sequence, some of these actions can be used to cleanly end processes, flush data to disk, unmount all file systems, and restart your computer. To perform this process, press and hold the Alt + SysRq key combination and ā while holding the Alt and SysRq keys down ā type the following keys in order, pausing for several seconds in between each key: reisub
I was trying to connect to the server (to make second SSH connection) but get the error: āConnection closed.ā, so the current connection is my last chance to solve this issue, I donāt want to loose it.
Iām able to reboot the VPS through the Control Panel. But will it be working after that?
I donāt know the exact details of your VPS system, so canāt say 100%, however 99% of the time, yes it will come back up perfectly OK. On the other hand, you havenāt got a whole lot to lose, as itās not working or doing anything at the moment unfortunately.
It isnāt the script ( and in many ways has nothing do to with the LE script). It is an old linux bug that was not patched on your server, and needs patching. If you can access the main terminal via VNC then you can reboot in a recovery mode and patch it. exactly how depends on the OS you are using, Iām assuming ubuntu of some version, if so then you can enter recovery mode at the GRUB boot time.
Yes, this is Ubuntu. Iām very appreciated for your help. Unfortunately I have neither the ability to run VNC in recovery mode, nor to get access to a GRUB. VNC on the start shows the error about kernel panic.
What version of Ubuntu ? and what is the setup ? Iām guessing a VPS hosted somewhere āin the cloudā and you have a ācontrol panelā which provides a certain amount of āconsole / KVM / VNCā access to the virtual machine ? Can you use the āconsole / VNCā to add any key strokes at boot time ?
Ubuntu-14.04-amd64
The control panel is VM Manager, by ISPsystem. It gives the only ability to run VNC in new browser window. When the VNC is started the kernel panic error is occurs immediately.
Great worth doing an apt-get update and upgrade to ensure all packages are patched ( which LE should have done befpre it started trying to do anything else)