callblockerd.service failed to start - (Result: start-limit)
wysi opened this issue · 3 comments
callblockerd.service failed to start
I manualy stoped and started the service, but it always exits with status=127.
Would you mind helping me with this?
log:
sudo systemctl status callblockerd.service -l
● callblockerd.service - callblocker
Loaded: loaded (/etc/systemd/system/callblockerd.service; enabled)
Active: failed (Result: start-limit) since Sun 2016-09-04 19:29:41 CEST; 6min ago
Process: 1407 ExecStart=/usr/bin/callblockerd (code=exited, status=127)
Main PID: 1407 (code=exited, status=127)
Sep 04 19:29:41 raspberrypi systemd[1]: callblockerd.service: main process exited, code=exited, status=127/n/a
Sep 04 19:29:41 raspberrypi systemd[1]: Unit callblockerd.service entered failed state.
Sep 04 19:29:41 raspberrypi systemd[1]: callblockerd.service holdoff time over, scheduling restart.
Sep 04 19:29:41 raspberrypi systemd[1]: Stopping callblocker...
Sep 04 19:29:41 raspberrypi systemd[1]: Starting callblocker...
Sep 04 19:29:41 raspberrypi systemd[1]: callblockerd.service start request repeated too quickly, refusing to start.
Sep 04 19:29:41 raspberrypi systemd[1]: Failed to start callblocker.
Sep 04 19:29:41 raspberrypi systemd[1]: Unit callblockerd.service entered failed state.
The lighttpd.service couldn't start either.
log:
sudo systemctl status lighttpd.service -l
● lighttpd.service - Lighttpd Daemon
Loaded: loaded (/lib/systemd/system/lighttpd.service; enabled)
Active: failed (Result: exit-code) since Sun 2016-09-04 19:04:50 CEST; 38min ago
Sep 04 19:04:50 raspberrypi systemd[1]: Starting Lighttpd Daemon...
Sep 04 19:04:50 raspberrypi lighttpd[504]: ignoring unknown attr section a%abi
Sep 04 19:04:50 raspberrypi lighttpd[504]: ignoring unknown attr section a%abi
Sep 04 19:04:50 raspberrypi lighttpd[504]: /usr/sbin/lighttpd: error while loading shared libraries: libfam.so.0: cannot open shared object file: No such file or directory
Sep 04 19:04:50 raspberrypi systemd[1]: lighttpd.service: control process exited, code=exited status=127
Sep 04 19:04:50 raspberrypi systemd[1]: Failed to start Lighttpd Daemon.
Sep 04 19:04:50 raspberrypi systemd[1]: Unit lighttpd.service entered failed state.
Sep 04 19:40:30 raspberrypi systemd[1]: Stopped Lighttpd Daemon.
that are two things
1: callblockerd
I see callblockerd.service start request repeated too quickly, refusing to start. -> Enters fail state
-> maybe try to reboot the system or try to start the callblockerd executable manually and also look for errors with "sudo journalctl _SYSTEMD_UNIT=callblockerd.service"
2: lighttpd
Looks like you are misssing a library: "libfam.so.0" Install it like "sudo apt-get install libfam0". Maybe you will need to reinstall the library: sudo apt-get install --reinstall libfam0. The lighttpd Debian package as a hard dependency on this library.
Thank you for your help.
My root filesystem is on an usb flash drive. I plugged in the usb drive to my computer and run fsck. I solved some errors. I don't know why the filesystem was corrupted. There were no power outages in my opinion.
After that I tried to reinstall de libfam0. I didn't worked:
sudo apt-get install --reinstall libfam0
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 0 B/24.7 kB of archives.
After this operation, 0 B of additional disk space will be used.
dpkg: unrecoverable fatal error, aborting:
files list file for package 'e2fsprogs' is missing final newline
E: Sub-process /usr/bin/dpkg returned an error code (2)
I manually added a "newline" to the /var/lib/dpkg/info/e2fsprogs.list.
Then I got another error:
sudo apt-get install --reinstall libfam0
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 0 B/24.7 kB of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 53008 files and directories currently installed.)
Preparing to unpack .../libfam0_2.7.0-17.1_armhf.deb ...
Unpacking libfam0 (2.7.0-17.1) over (2.7.0-17.1) ...
Setting up libfam0 (2.7.0-17.1) ...
Processing triggers for libc-bin (2.19-18+deb8u4) ...
Segmentation fault
/sbin/ldconfig.real: Path `/lib/arm-linux-gnueabihf' given more than once
/sbin/ldconfig.real: Path `/usr/lib/arm-linux-gnueabihf' given more than once
Segmentation fault
dpkg: error processing package libc-bin (--configure):
subprocess installed post-installation script returned error exit status 139
Errors were encountered while processing:
libc-bin
E: Sub-process /usr/bin/dpkg returned an error code (1)
I seems that some one has the same error on apt-get:
But no solution.
I also get this errors:
sudo journalctl _SYSTEMD_UNIT=callblockerd.service
-- Logs begin at Thu 2016-09-08 11:07:06 CEST, end at Thu 2016-09-08 12:02:55 CEST. --
Sep 08 11:07:20 raspberrypi callblockerd[545]: /usr/bin/callblockerd: error while loading shared libraries: libpjmedia.so.2: cannot open shared object file: No such file or directory
Sep 08 11:07:20 raspberrypi callblockerd[623]: /usr/bin/callblockerd: error while loading shared libraries: libpjmedia.so.2: cannot open shared object file: No such file or directory
Sep 08 11:07:21 raspberrypi callblockerd[634]: /usr/bin/callblockerd: error while loading shared libraries: libpjmedia.so.2: cannot open shared object file: No such file or directory
Sep 08 11:07:21 raspberrypi callblockerd[648]: /usr/bin/callblockerd: error while loading shared libraries: libpjmedia.so.2: cannot open shared object file: No such file or directory
Sep 08 11:07:22 raspberrypi callblockerd[658]: /usr/bin/callblockerd: error while loading shared libraries: libpjmedia.so.2: cannot open shared object file: No such file or directory
sudo journalctl -xn _SYSTEMD_UNIT=lighttpd.service
-- Logs begin at Thu 2016-09-08 11:07:06 CEST, end at Thu 2016-09-08 12:03:21 CEST. --
Sep 08 11:07:20 raspberrypi lighttpd[541]: 2016-09-08 11:07:20: (configfile.c.1003) opening configfile /etc/lighttpd/lighttpd.conf failed: No such file or directory
I don't understand why the lighttpd.conf file is missing?
Looks like you filesystem is corrupted. Solving some errors wont be enough, you want a 100% error free filesystem. Maybe your flash disk is damaged too bad, you can check that with "sudo smartctl -a /dev/sda | less".
However this issue has nothing to do with callblock, so i will close it soon.