Failed to get NAME_INIT.D ('NoSuchUnit')

i keep getting this error: Failed to get status information via dbus for service NAME_INIT.D, systemctl didn’t recognize this service (‘NoSuchUnit’).
V: 3.0.0.1 STABLE

all happen right after i installed a Desktop Environment apt-get gnome

next i know i get that error and soon after i could not login to the user portal but all other applications work fine…

oh yeah i also installed 3CX PBX but that was 1 day before and did not have issues after that till after the desktop environment

1 Like

Same problem but simply by doing the update from 2.7.9 to 2.7.14.5

I Have Same issue in 3.0.0.1

Info

Name
NAME_INIT.D
Description
Error: failed to get information for this service, it doesn’t exists for systemd

Status

Start on boot: unknown
Status: unknown
Started at: unknown

I don’t know how to correct that

Ok yesterday with @Acidope we have fixed this issue by removing this services in /etc/yunohost/services.yml .

We don’t know how it appears , so may be it has just fixed symptom…

1 Like

Yep fix work fine. Nothing to declare since last week.

1 Like

thanks it’s OK now
my error is corrected

I get this error all the time since upgrading from YH 3.4.2 to YH 3.4.2.4. Sometimes it helps to logout and log in again, but not everytime.

I’m now getting this on YH 3.4.2.4 after trying to install Wordpress, log:

2019-04-03 11:35:02,313: DEBUG - + local file=/etc/fail2ban/filter.d/wordpress.conf 2019-04-03 11:35:02,313: DEBUG - + local checksum_setting_name=checksum__etc_fail2ban_filter.d_wordpress.conf 2019-04-03 11:35:02,314: DEBUG - ++ ynh_app_setting_get wordpress checksum__etc_fail2ban_filter.d_wordpress.conf 2019-04-03 11:35:02,315: DEBUG - ++ sudo yunohost app setting wordpress checksum__etc_fail2ban_filter.d_wordpress.conf --output-as plain --quiet 2019-04-03 11:35:03,419: DEBUG - + local checksum_value= 2019-04-03 11:35:03,420: DEBUG - + ‘[’ -n ‘’ ‘]’ 2019-04-03 11:35:03,421: DEBUG - + tee /etc/fail2ban/jail.d/wordpress.conf 2019-04-03 11:35:06,029: DEBUG - [wordpress] 2019-04-03 11:35:06,031: DEBUG - enabled = true 2019-04-03 11:35:06,032: DEBUG - port = http,https 2019-04-03 11:35:06,034: DEBUG - filter = wordpress 2019-04-03 11:35:06,035: DEBUG - logpath = /var/log/auth.log 2019-04-03 11:35:06,036: DEBUG - maxretry = 5 2019-04-03 11:35:06,037: DEBUG - + tee /etc/fail2ban/filter.d/wordpress.conf 2019-04-03 11:35:06,038: DEBUG - [INCLUDES] 2019-04-03 11:35:06,040: DEBUG - before = common.conf 2019-04-03 11:35:06,041: DEBUG - [Definition] 2019-04-03 11:35:06,042: DEBUG - failregex = Authentication (attempt for unknown user|failure for) . … from <HOST> 2019-04-03 11:35:06,043: DEBUG - ignoreregex = 2019-04-03 11:35:06,044: DEBUG - + ynh_store_file_checksum /etc/fail2ban/jail.d/wordpress.conf 2019-04-03 11:35:06,045: DEBUG - + local checksum_setting_name=checksum__etc_fail2ban_jail.d_wordpress.conf 2019-04-03 11:35:06,047: DEBUG - ++ sudo md5sum /etc/fail2ban/jail.d/wordpress.conf 2019-04-03 11:35:06,048: DEBUG - ++ cut '-d ’ -f1 2019-04-03 11:35:06,153: DEBUG - + ynh_app_setting_set wordpress checksum__etc_fail2ban_jail.d_wordpress.conf fd860149809c226fe042388ed59c4e96 2019-04-03 11:35:06,154: DEBUG - + sudo yunohost app setting wordpress checksum__etc_fail2ban_jail.d_wordpress.conf --value=fd860149809c226fe042388ed59c4e96 --quiet 2019-04-03 11:35:07,358: DEBUG - + ynh_store_file_checksum /etc/fail2ban/filter.d/wordpress.conf 2019-04-03 11:35:07,359: DEBUG - + local checksum_setting_name=checksum__etc_fail2ban_filter.d_wordpress.conf 2019-04-03 11:35:07,360: DEBUG - ++ cut ‘-d ’ -f1 2019-04-03 11:35:07,360: DEBUG - ++ sudo md5sum /etc/fail2ban/filter.d/wordpress.conf 2019-04-03 11:35:07,361: DEBUG - + ynh_app_setting_set wordpress checksum__etc_fail2ban_filter.d_wordpress.conf 4d5969a892d3d1a49cda6d2993f02b5b 2019-04-03 11:35:07,361: DEBUG - + sudo yunohost app setting wordpress checksum__etc_fail2ban_filter.d_wordpress.conf --value=4d5969a892d3d1a49cda6d2993f02b5b --quiet 2019-04-03 11:35:09,668: DEBUG - ++ lsb_release --codename --short 2019-04-03 11:35:09,870: DEBUG - + ‘[’ stretch ‘!=’ jessie ‘]’ 2019-04-03 11:35:09,871: DEBUG - + systemctl reload fail2ban 2019-04-03 11:35:18,296: DEBUG - + ynh_exit_properly 2019-04-03 11:35:18,296: WARNING - Job for fail2ban.service failed because the control process exited with error code. 2019-04-03 11:35:18,298: DEBUG - + local exit_code=1 2019-04-03 11:35:18,299: WARNING - See “systemctl status fail2ban.service” and “journalctl -xe” for details. 2019-04-03 11:35:18,300: DEBUG - + ‘[’ 1 -eq 0 ‘]’ 2019-04-03 11:35:18,301: WARNING - !! 2019-04-03 11:35:18,302: DEBUG - + trap ‘’ EXIT 2019-04-03 11:35:18,303: WARNING - wordpress’s script has encountered an error. Its execution was cancelled. 2019-04-03 11:35:18,304: DEBUG - + set +eu 2019-04-03 11:35:18,305: WARNING - !! 2019-04-03 11:35:18,306: DEBUG - + echo -e ‘!!\n wordpress’’‘s script has encountered an error. Its execution was cancelled.\n!!’ 2019-04-03 11:35:18,307: WARNING - 2019-04-03 11:35:18,308: DEBUG - + type -t ynh_clean_setup 2019-04-03 11:35:18,309: DEBUG - + ynh_die 2019-04-03 11:35:18,309: DEBUG - + echo ‘’ 2019-04-03 11:35:18,310: DEBUG - + exit 1

Sorry if the formatting is screwy, I couldn’t get it to cooperate with pastebin. But looks like fail2ban is possible issue.

There is definitly an issue, but how is it related to the original post which is from 9 months ago ? :confused:

The error message that I got on screen before the looking at the log said the same thing.!
Sorry I likely should have opened a new post.