Pihole stuck in a loop.... error while loading shared libraries: libsystemd.so.0: ELF load command alignment not page-aligned

The issue I am facing:

Constantly spinning wheel when trying to start pi-hole for the first time:


... in the logs, the following is constantly spinning:
"....Starting pihole-FTL (no-daemon) as root,
Stopping pihole-FTL,
pgrep: error while loading shared libraries: libsystemd.so.0: ELF load command alignment not page-aligned,
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec],
Starting pihole-FTL (no-daemon) as root,
Stopping pihole-FTL...."

Details about my system:
Trying to install on a NAS -> WD MyCloud EX2...

  • set a static IP address on the NAS

  • Installed Portainer.io

  • SSH onto the NAS e.g.:
    ssh -oHostKeyAlgorithms=+ssh-dss sshd@

and check if required ports are being used e.g.:
lsof -i tcp:443
... then kill the processes if running:
kill -9
e.g.: kill -9 11577

Create a new container in portainer using the default network type:

give the container a name e.g. -> pihole

use the following image -> pihole/pihole:latest

fill in the Mac address e.g. -> xx:xx:xx:xx:xx:xx

fill in the host e.g. -> MyCloudEX2Ultra
Primary DNS:
127.0.0.1
Secondary DNS:
192.168.1.1

ServerIP=192.168.1.50
TZ=Europe/Dublin
DNS1=1.1.1.1
DNS2=1.0.0.1
WEBPASSWORD=

What I have changed since installing Pi-hole:
Haven't got that far :frowning:

Anyone have any ideas ? About to throw the towel in.... :slight_smile:

https://github.com/pi-hole/docker-pi-hole/issues/422

Thanks very much @DanSchaper

HEy traying to set this up myself, got portainer, but can't get pi-hole to boot, where u able to set it up?¿

Please open a new issue, fill out the template as completely as possible.

This thread was solved 5 years ago, closing it.