Applicable to:
- Plesk Onyx for Linux
Symptoms
-
The system user is unable to connect to the server via SSH with the chrooted environment:
# ssh username@203.0.113.2
<…>
Connection to 203.0.113.2 closed. -
The errors like this may be found in
/var/log/messages:
CONFIG_TEXT: kernel: [2381259.980854] bash[30893]: segfault at b9002127b4 ip 000000b9002127b4 sp 00007ffdac5cc638 error 14 in libc.so.6[7f2ea39be000+1a1000]
-
The following errors are in
/var/log/auth.log:
CONFIG_TEXT: sshd[15442]: Accepted password for username from 203.0.113.2 port 33110 ssh2
sshd[15442]: pam_unix(sshd:session): session opened for user username by (uid=0)
systemd-logind[924]: New session 9339 of user username.
systemd: PAM unable to dlopen(pam_unix.so): /lib/security/pam_unix.so: cannot open shared object file: No such file or directory
ystemd: PAM adding faulty module: pam_unix.so
systemd: PAM unable to dlopen(pam_plesk.so): /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.25' not found (required by /lib/x86_64-linux-gnu/libcrypt.so.1)
systemd: PAM adding faulty module: pam_plesk.so
sshd[15469]: Received disconnect from 203.0.113.2: 11: disconnected by user
sshd[15442]: pam_unix(sshd:session): session closed for user username
systemd-logind[924]: Removed session 9339.
Cause
-
Chroot libraries are not up to date.
-
Libraries on the server are custom or were modified manually.
Resolution
-
Install available system updates and rebuild chroot template using this article .
-
Remove custom or manually modified libraries and install them from the official repositories (corresponding to server Operating System).
Comments
0 comments
Please sign in to leave a comment.