Skip to content
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

Error loading Python lib #1

Open
write2akj opened this issue May 4, 2023 · 5 comments
Open

Error loading Python lib #1

write2akj opened this issue May 4, 2023 · 5 comments

Comments

@write2akj
Copy link

Hi matthill

I am getting below error. Could you please help to resolve this:

Error loading Python lib '/tmp/_MEIONNbeW/libpython3.8.so.1.0': dlopen: /lib64/libm.so.6: version `GLIBC_2.29' not found (required by /tmp/_MEIONNbeW/libpython3.8.so.1.0).

@matthill
Copy link
Contributor

matthill commented May 4, 2023

Can you provide more info to help me reproduce?

How did you install? Which operating system? is this x86 or arm? What command are you running to see this error?

@write2akj
Copy link
Author

@matthill ,

The operating system I am using is CentOS Linux 7 (Core).
uname -r = 3.10.0-327.el7.x86_64

I have installed it by following steps given in readme for "RedHat/Fedora Install (arm64 and x86_64)".

Getting this error when running "sshlog sessions" command and "sshlog watch" command.
[14444] Error loading Python lib '/tmp/_MEI4WBLOV/libpython3.8.so.1.0': dlopen: /lib64/libm.so.6: version `GLIBC_2.29' not found (required by /tmp/_MEI4WBLOV/libpython3.8.so.1.0)

Also getting below error in log file continuously:
##########################
systemd: sshlog.service holdoff time over, scheduling restart.
systemd: Stopped SSHLog Agent Service.
systemd: Started SSHLog Agent Service.
sshlogd: [14683] Error loading Python lib '/tmp/_MEIYeUCY1/libpython3.8.so.1.0': dlopen: /lib64/libm.so.6: version `GLIBC_2.29' not found (required by /tmp/_MEIYeUCY1/libpython3.8.so.1.0)
systemd: sshlog.service: main process exited, code=exited, status=255/n/a
systemd: Unit sshlog.service entered failed state.
systemd: sshlog.service failed.
##########################

@matthill
Copy link
Contributor

matthill commented May 5, 2023

Ahh, I see. I believe the reason it does not work is because the kernel version is too low.

SSHLog requires Linux Kernel 5.4 or higher (released Nov 2019). Your kernel is 3.10. The daemon uses eBPF to monitor the OpenSSH process in the kernel. That was a feature that was not available back when CentOS 7 was released.

@lkasjkasj
Copy link

Hello, I faced the same problem, OS Centos 7, but the kernel version is higher
5.4.248-1.el7.elrepo.x86_64

@lrhazi
Copy link

lrhazi commented Jun 29, 2023

same error in RHEL 8, where the kernel is 4.18.0-477.13.1.el8_8.x86_64

What's odd is that the docker version seems to work fine, even though that is using the same kernel!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants