[Bug 1917414] Re: Ceph-osd fails to start with "error while loading shared libraries: cannot make segment writable for relocation: Permission denied"

Yash 1917414 at bugs.launchpad.net
Fri Mar 5 05:21:26 UTC 2021


I am facing the same error with ceph-mon, while running Ubuntu Focal (20.04) pre-installed riscv64 server img on QEMU.
I am manually deploying ceph by following the steps provided on the official site[0].

When executing this cmd:
$ sudo systemctl start ceph-mon at node1
I am getting the below error:

Mar 04 06:35:21 ubuntu systemd[1]: Started Ceph cluster monitor daemon.
Mar 04 06:35:21 ubuntu ceph-mon[5357]: /usr/bin/ceph-mon: error while loading shared libraries: cannot make segment writable for relocation: Operation not permitted
Mar 04 06:35:21 ubuntu systemd[1]: ceph-mon at ubuntu.service: Main process exited, code=exited, status=127/n/a
Mar 04 06:35:21 ubuntu systemd[1]: ceph-mon at ubuntu.service: Failed with result 'exit-code'.

How were you able to track down that the problem is with "libec_isa.so"
in your case?

[0]: https://docs.ceph.com/en/latest/install/manual-deployment/

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to ceph in Ubuntu.
https://bugs.launchpad.net/bugs/1917414

Title:
  Ceph-osd fails to start with "error while loading shared libraries:
  cannot make segment writable for relocation: Permission denied"

Status in ceph package in Ubuntu:
  Confirmed

Bug description:
  OSD's fail to start with "error while loading shared libraries: cannot
  make segment writable for relocation: Permission denied"

  The specific library is libec_isa.so

  And it appears to be while the OSD is starting the Jerasure modules.

  I'm going to assume its not compiled with no-PIC which might be a
  hold-over from previous releases?

  Hardware is Rasberry PI 4 4GB
  Ubuntu is 20.04 LTS downloaded on the 1/3/2021 (Or for US date format 3/1/2021)

  Package version is: 15.2.8-0ubuntu0.20.04.1

  Bug reporter wouldn't let me select
  https://launchpad.net/ubuntu/focal/arm64/ceph-
  osd/15.2.8-0ubuntu0.20.04.1 as the package

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1917414/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list