1) -rw-r--r-- 1 root root 14640 Jun 15 21:17 libdl-2.24.so lrwxrwxrwx 1 root root 13 Jun 15 21:17 libdl.so.2 -> libdl-2.24.so 2) nothing. just empty
Did you update the jail? jk_update -j {jail} If yes, copy libdl-2.24.so to the folder manually and create the symlink for libdl.so.2 manually
I updated the jail multiple times. And I also did copy the file manually and created the symlink Code: jk_update -j /var/www/clients/client7/web190/ removing deprecated file /var/www/clients/client7/web190/usr/share/libtool/config Code: > cd /var/www/clients/client7/web190/lib/x86_64-linux-gnu/ > cp /lib/x86_64-linux-gnu/libdl-2.24.so . > ln -s libdl-2.24.so libdl.so.2 Now I can connect with ssh from my own server, but not with any other application or remote host. > ls: error while loading shared libraries: libpcre.so.3: cannot open shared object file: No such file or directory > whoami: cannot find name for user ID 5039 Something messed up since the update and I need to find a way to totally fix it :/
I don't think this is going to work anyway as long as the "user ID" isn't even known? Something else must be broken. I don't understand why an "jk_update" doesn't fix anything?? Do I need to change something on the jk_update.ini oder jk_init.ini ?
To my understanding the User ID will not be know inside the jail if the corresponding files (like passwd) are not inside the jail.
I used "chattr -i web190" and removed everything that was created through jailkit. I removed the user inside of ISPConfig and also removed everything related to them from "passwd", "group" and "shadow" I tried to reinit the jail > jk_init -v -j /var/www/clients/client7/web190 basicshell editors extendedshell netutils ssh sftp scp Source file(s) /lib/libnsl.so.1 do not exist Source file(s) /lib64/libnsl.so.1 do not exist Source file(s) /lib/libnss*.so.2 do not exist Source file(s) /lib64/libnss*.so.2 do not exist
Managed to get the files back.. But still the same problem. Fully reinstalled Jailkit, fully recreated jail and I can't SSH into it. This upgrade totally screwed up everything
Finally.. I messing fixed it. abort, failed to get user information in the jail for user ID 5039: Success, check /var/www/clients/client7/web190/etc/passwd i looked inside of it and there was an OLD username... i manually changed it to the newly created