Failed to start services Topic is solved

Having issues with your DietPi installation or found a bug? Post it here.
Post Reply
birdyy
Posts: 3
Joined: Wed Mar 17, 2021 4:44 pm

Failed to start services

Post by birdyy »

Hello,

Today I rebooted my Pi and almost every service stopped working.

No idea what is causing all of this.

DietPi-Services
─────────────────────────────────────────────────────
Mode: status

[FAILED] DietPi-Services | ● proftpd.service - LSB: Starts ProFTPD daemon
Loaded: loaded (/etc/init.d/proftpd; generated)
Active: failed (Result: exit-code) since Wed 2021-03-17 16:40:11 CET; 5min ago
Docs: man:systemd-sysv-generator(8)
Process: 4635 ExecStart=/etc/init.d/proftpd start (code=exited, status=1/FAILURE)

Mar 17 16:40:11 cs-dietpi systemd[1]: Starting LSB: Starts ProFTPD daemon...
Mar 17 16:40:11 cs-dietpi proftpd[4635]: Starting ftp server: proftpd2021-03-17 16:40:11,302 cs-dietpi proftpd[4642]: mod_ctrls/0.9.5: error: unable to bind to local socket: Address already in use
Mar 17 16:40:11 cs-dietpi proftpd[4635]: 2021-03-17 16:40:11,315 cs-dietpi proftpd[4642]: error: unable to stat() /var/log/proftpd: No such file or directory
Mar 17 16:40:11 cs-dietpi proftpd[4635]: 2021-03-17 16:40:11,315 cs-dietpi proftpd[4642]: mod_ctrls/0.9.5: unable to open ControlsLog '/var/log/proftpd/controls.log': No such file or directory
Mar 17 16:40:11 cs-dietpi proftpd[4635]: 2021-03-17 16:40:11,316 cs-dietpi proftpd[4642]: fatal: ControlsLog: unable to open '/var/log/proftpd/controls.log': No such file or directory on line 68 of '/etc/proftpd/proftpd.conf'
Mar 17 16:40:11 cs-dietpi proftpd[4635]: failed!
Mar 17 16:40:11 cs-dietpi systemd[1]: proftpd.service: Control process exited, code=exited, status=1/FAILURE
Mar 17 16:40:11 cs-dietpi systemd[1]: proftpd.service: Failed with result 'exit-code'.
Mar 17 16:40:11 cs-dietpi systemd[1]: Failed to start LSB: Starts ProFTPD daemon.
[ OK ] DietPi-Services | redis-server active (running) since Wed 2021-03-17 16:40:11 CET; 5min ago
[ OK ] DietPi-Services | mariadb active (running) since Wed 2021-03-17 16:40:14 CET; 5min ago
[ OK ] DietPi-Services | php7.3-fpm active (running) since Wed 2021-03-17 16:40:14 CET; 5min ago
[ OK ] DietPi-Services | lighttpd active (running) since Wed 2021-03-17 16:40:14 CET; 5min ago
[FAILED] DietPi-Services | ● jellyfin.service - Jellyfin Media Server
Loaded: loaded (/lib/systemd/system/jellyfin.service; disabled; vendor preset: enabled)
Drop-In: /etc/systemd/system/jellyfin.service.d
└─jellyfin.service.conf
Active: failed (Result: signal) since Wed 2021-03-17 16:40:22 CET; 5min ago
Process: 5060 ExecStart=/usr/bin/jellyfin ${JELLYFIN_WEB_OPT} ${JELLYFIN_RESTART_OPT} ${JELLYFIN_FFMPEG_OPT} ${JELLYFIN_SERVICE_OPT} ${JELLYFIN_NOWEBAPP_OPT} (code=killed, signal=ABRT)
Main PID: 5060 (code=killed, signal=ABRT)

Mar 17 16:40:22 cs-dietpi systemd[1]: jellyfin.service: Service RestartSec=100ms expired, scheduling restart.
Mar 17 16:40:22 cs-dietpi systemd[1]: jellyfin.service: Scheduled restart job, restart counter is at 5.
Mar 17 16:40:22 cs-dietpi systemd[1]: Stopped Jellyfin Media Server.
Mar 17 16:40:22 cs-dietpi systemd[1]: jellyfin.service: Start request repeated too quickly.
Mar 17 16:40:22 cs-dietpi systemd[1]: jellyfin.service: Failed with result 'signal'.
Mar 17 16:40:22 cs-dietpi systemd[1]: Failed to start Jellyfin Media Server.
[ OK ] DietPi-Services | sabnzbd active (running) since Wed 2021-03-17 16:40:15 CET; 5min ago
[ OK ] DietPi-Services | jackett active (running) since Wed 2021-03-17 16:40:15 CET; 5min ago
[FAILED] DietPi-Services | ● sonarr.service - Sonarr Daemon (DietPi)
Loaded: loaded (/etc/systemd/system/sonarr.service; disabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2021-03-17 16:40:19 CET; 5min ago
Process: 4996 ExecStart=/usr/bin/mono -O=-aot /opt/NzbDrone/NzbDrone.exe -nobrowser -data=/mnt/dietpi_userdata/sonarr (code=exited, status=226/NAMESPACE)
Main PID: 4996 (code=exited, status=226/NAMESPACE)

Mar 17 16:40:19 cs-dietpi systemd[1]: sonarr.service: Service RestartSec=100ms expired, scheduling restart.
Mar 17 16:40:19 cs-dietpi systemd[1]: sonarr.service: Scheduled restart job, restart counter is at 5.
Mar 17 16:40:19 cs-dietpi systemd[1]: Stopped Sonarr Daemon (DietPi).
Mar 17 16:40:19 cs-dietpi systemd[1]: sonarr.service: Start request repeated too quickly.
Mar 17 16:40:19 cs-dietpi systemd[1]: sonarr.service: Failed with result 'exit-code'.
Mar 17 16:40:19 cs-dietpi systemd[1]: Failed to start Sonarr Daemon (DietPi).
[FAILED] DietPi-Services | ● radarr.service - Radarr Daemon (DietPi)
Loaded: loaded (/etc/systemd/system/radarr.service; disabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2021-03-17 16:40:19 CET; 5min ago
Process: 4998 ExecStart=/opt/radarr/Radarr -nobrowser -data=/mnt/dietpi_userdata/radarr (code=exited, status=226/NAMESPACE)
Main PID: 4998 (code=exited, status=226/NAMESPACE)

Mar 17 16:40:19 cs-dietpi systemd[1]: radarr.service: Service RestartSec=100ms expired, scheduling restart.
Mar 17 16:40:19 cs-dietpi systemd[1]: radarr.service: Scheduled restart job, restart counter is at 5.
Mar 17 16:40:19 cs-dietpi systemd[1]: Stopped Radarr Daemon (DietPi).
Mar 17 16:40:19 cs-dietpi systemd[1]: radarr.service: Start request repeated too quickly.
Mar 17 16:40:19 cs-dietpi systemd[1]: radarr.service: Failed with result 'exit-code'.
Mar 17 16:40:19 cs-dietpi systemd[1]: Failed to start Radarr Daemon (DietPi).
[FAILED] DietPi-Services | ● bazarr.service - Bazarr Daemon (DietPi)
Loaded: loaded (/etc/systemd/system/bazarr.service; disabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2021-03-17 16:40:15 CET; 5min ago
Process: 4934 ExecStart=/usr/bin/python3 /opt/bazarr/bazarr.py -c /mnt/dietpi_userdata/bazarr (code=exited, status=226/NAMESPACE)
Main PID: 4934 (code=exited, status=226/NAMESPACE)

Mar 17 16:40:15 cs-dietpi systemd[1]: Started Bazarr Daemon (DietPi).
Mar 17 16:40:15 cs-dietpi systemd[4934]: bazarr.service: Failed to set up mount namespacing: No such file or directory
Mar 17 16:40:15 cs-dietpi systemd[4934]: bazarr.service: Failed at step NAMESPACE spawning /usr/bin/python3: No such file or directory
Mar 17 16:40:15 cs-dietpi systemd[1]: bazarr.service: Main process exited, code=exited, status=226/NAMESPACE
Mar 17 16:40:15 cs-dietpi systemd[1]: bazarr.service: Failed with result 'exit-code'.
[ OK ] DietPi-Services | cron active (running) since Wed 2021-03-17 16:40:15 CET; 5min ago
[ OK ] DietPi-Services | dropbear active (running) since Wed 2021-03-17 16:40:15 CET; 5min ago
[ OK ] DietPi-Services | dietpi-ramlog active (exited) since Wed 2021-03-17 16:28:31 CET; 16min ago
[ OK ] DietPi-Services | dietpi-preboot active (exited) since Wed 2021-03-17 16:28:31 CET; 16min ago
[ OK ] DietPi-Services | dietpi-boot active (exited) since Wed 2021-03-17 16:28:53 CET; 16min ago
[ OK ] DietPi-Services | dietpi-postboot active (exited) since Wed 2021-03-17 16:28:53 CET; 16min ago
[ INFO ] DietPi-Services | dietpi-wifi-monitor inactive (dead)
User avatar
Joulinar
Posts: 4249
Joined: Sat Nov 16, 2019 12:49 am

Re: Failed to start services

Post by Joulinar »

Hi,

looks like you re missing some files and file systems. Do you use an external HDD/SDD?

Code: Select all

error: unable to stat() /var/log/proftpd: No such file or directory
bazarr.service: Failed at step NAMESPACE spawning /usr/bin/python3: No such file or directory
as well some more errors on proftp

Code: Select all

error: unable to bind to local socket: Address already in use
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
birdyy
Posts: 3
Joined: Wed Mar 17, 2021 4:44 pm

Re: Failed to start services

Post by birdyy »

Then it has be the external ssd enclosure that is making problems.

Ended up switching to internal.
User avatar
Joulinar
Posts: 4249
Joined: Sat Nov 16, 2019 12:49 am

Re: Failed to start services

Post by Joulinar »

Does it mean it is fixed now?
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
birdyy
Posts: 3
Joined: Wed Mar 17, 2021 4:44 pm

Re: Failed to start services

Post by birdyy »

Well the issue was actually with the SSD so I switched it and reinstalled dietpi.
User avatar
Joulinar
Posts: 4249
Joined: Sat Nov 16, 2019 12:49 am

Re: Failed to start services

Post by Joulinar »

ah ok thx for sharing. To bad if some hardware died :(
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Post Reply