XO from source Centos7 GLIBC_2.25 missing error
-
Hi!
Today I tried update my xen orchestra on CentOS7 and got this error:
Jul 07 12:09:54 xoa xo-server[42982]: Error: /lib64/libc.so.6: version `GLIBC_2.25' not found (required by /opt/xen-orchestra/node_modules/argon2/lib/binding/napi-v3/argon2.node)All listing form journalctl is here:
Jul 07 12:09:52 xoa xo-server[42982]: yarn run v1.22.19 Jul 07 12:09:52 xoa xo-server[42982]: $ node dist/cli.mjs Jul 07 12:09:54 xoa xo-server[42982]: node:internal/modules/cjs/loader:1189 Jul 07 12:09:54 xoa xo-server[42982]: return process.dlopen(module, path.toNamespacedPath(filename)); Jul 07 12:09:54 xoa xo-server[42982]: ^ **Jul 07 12:09:54 xoa xo-server[42982]: Error: /lib64/libc.so.6: version `GLIBC_2.25' not found (required by /opt/xen-orchestra/node_modules/argon2/lib/binding/napi-v3/argon2.node)** Jul 07 12:09:54 xoa xo-server[42982]: at Object.Module._extensions..node (node:internal/modules/cjs/loader:1189:18) Jul 07 12:09:54 xoa xo-server[42982]: at Module.load (node:internal/modules/cjs/loader:981:32) Jul 07 12:09:54 xoa xo-server[42982]: at Function.Module._load (node:internal/modules/cjs/loader:822:12) Jul 07 12:09:54 xoa xo-server[42982]: at Module.require (node:internal/modules/cjs/loader:1005:19) Jul 07 12:09:54 xoa xo-server[42982]: at require (node:internal/modules/cjs/helpers:102:18) Jul 07 12:09:54 xoa xo-server[42982]: at Object.<anonymous> (/opt/xen-orchestra/node_modules/argon2/argon2.js:6:25) Jul 07 12:09:54 xoa xo-server[42982]: at Module._compile (node:internal/modules/cjs/loader:1105:14) Jul 07 12:09:54 xoa xo-server[42982]: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10) Jul 07 12:09:54 xoa xo-server[42982]: at Module.load (node:internal/modules/cjs/loader:981:32) Jul 07 12:09:54 xoa xo-server[42982]: at Function.Module._load (node:internal/modules/cjs/loader:822:12) Jul 07 12:09:54 xoa xo-server[42982]: at Module.require (node:internal/modules/cjs/loader:1005:19) Jul 07 12:09:54 xoa xo-server[42982]: at require (node:internal/modules/cjs/helpers:102:18) Jul 07 12:09:54 xoa xo-server[42982]: at Object.<anonymous> (/opt/xen-orchestra/node_modules/hashy/index.js:124:4) Jul 07 12:09:54 xoa xo-server[42982]: at Module._compile (node:internal/modules/cjs/loader:1105:14) Jul 07 12:09:54 xoa xo-server[42982]: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10) Jul 07 12:09:54 xoa xo-server[42982]: at Module.load (node:internal/modules/cjs/loader:981:32) Jul 07 12:09:54 xoa xo-server[42982]: at Function.Module._load (node:internal/modules/cjs/loader:822:12) Jul 07 12:09:54 xoa xo-server[42982]: at ModuleWrap.<anonymous> (node:internal/modules/esm/translators:170:29) Jul 07 12:09:54 xoa xo-server[42982]: at ModuleJob.run (node:internal/modules/esm/module_job:198:25) Jul 07 12:09:54 xoa xo-server[42982]: at async Promise.all (index 0) Jul 07 12:09:54 xoa xo-server[42982]: at async ESMLoader.import (node:internal/modules/esm/loader:385:24) Jul 07 12:09:54 xoa xo-server[42982]: at async loadESM (node:internal/process/esm_loader:88:5) { Jul 07 12:09:54 xoa xo-server[42982]: code: 'ERR_DLOPEN_FAILED' Jul 07 12:09:54 xoa xo-server[42982]: } Jul 07 12:09:54 xoa xo-server[42982]: error Command failed with exit code 1. Jul 07 12:09:54 xoa xo-server[42982]: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. Jul 07 12:09:54 xoa systemd[1]: xo-server.service: main process exited, code=exited, status=1/FAILURE Jul 07 12:09:54 xoa systemd[1]: Unit xo-server.service entered failed state. Jul 07 12:09:54 xoa systemd[1]: xo-server.service failed. Jul 07 12:09:54 xoa systemd[1]: xo-server.service holdoff time over, scheduling restart. Jul 07 12:09:54 xoa systemd[1]: Stopped Xen-Orchestra server. -- Subject: Unit xo-server.service has finished shutting down -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- -- Unit xo-server.service has finished shutting down. Jul 07 12:09:54 xoa systemd[1]: Started Xen-Orchestra server. -- Subject: Unit xo-server.service has finished start-up -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- -- Unit xo-server.service has finished starting up. -- -- The start-up result is done.
-
Hi,
Are you sure you are on latest commit from
master
? -
@olivierlambert I think so.
I have used standard command sequence:
$ git checkout .
$ git pull --ff-only
$ yarn
$ yarn build -
Okay so it seems that your CentOS version is too old to get it working.
-
CentOS 7 had missing lib dependencies already like 2 years ago which prevented xo-server to start. Just switch to a newer OS.
-
[centos@xoa ~]$ cat /etc/centos-release
CentOS Linux release 7.9.2009 (Core)with latest update installed.
-
Centos 7 have glibc_2.17 and it can't be upgraded because all system build on this version.
-
That's exactly what I said in my previous post.
-
@olivierlambert so Centos 7 is not supported now? And I have to upgrade to Centos stream?
-
There's no "support" on the community/from the source version, the OS choice is entirely on you.
FYI, XOA is based on Debian 11.
If you don't want to think about this, go for XOA. Alternatively, since it's entirely free software, you have time to test on various distro you like and select the one you prefer.
-
@olivierlambert Thanks. My other instance is on Ubuntu. It updated without problems.
But it seems new version have problems with session timeout. Now It logging out few times a day)