as the title says i installed mate and tightvnc via dietpi-launcher, after reboot most of my services did not start
i need proftpd, noip2, cron, apache and mpd
service --status-all
[ - ] alsa-utils
[ - ] apache2
[ + ] avahi-daemon
[ - ] bootlogs
[ - ] bootmisc.sh
[ - ] cgroup-bin
[ - ] checkfs.sh
[ - ] checkroot-bootclean.sh
[ - ] checkroot.sh
[ + ] console-setup
[ - ] cron
[ + ] cups
[ + ] cups-browsed
[ + ] dbus
[ + ] ddclient
[ ? ] dietpi-service
[ + ] dphys-swapfile
[ + ] fake-hwclock
[ + ] hdparm
[ - ] hostname.sh
[ - ] hwclock.sh
[ + ] kbd
[ + ] keyboard-setup
[ - ] keymap.sh
[ - ] killprocs
[ - ] kmod
[ ? ] lpd
[ - ] motd
[ - ] mountall-bootclean.sh
[ - ] mountall.sh
[ - ] mountdevsubfs.sh
[ - ] mountkernfs.sh
[ - ] mountnfs-bootclean.sh
[ - ] mountnfs.sh
[ - ] mpd
[ + ] networking
[ + ] nfs-common
[ ? ] noip2
[ + ] procps
[ - ] proftpd
[ + ] resolvconf
[ - ] rmnologin
[ + ] rpcbind
[ - ] saned
[ - ] sendsigs
[ + ] ssh
[ - ] sudo
[ + ] udev
[ + ] udev-finish
[ - ] umountfs
[ - ] umountnfs.sh
[ - ] umountroot
[ + ] urandom
[ + ] vnstat
[ - ] x11-common
i can start them manually by service xxx start,
is there something i could do to re-enable these services permanently.
thx for the great distro
hope someone can help
scr44tch:
i can start them manually by service xxx start,
is there something i could do to re-enable these services permanently.
thx for the great distro
hope someone can help
Hi,
DietPi disables services for all software available in DietPi-Software, this is to allow DietPi better control of service starting order. DietPi will automatically start all those services if they are installed, during boot.
You can run the following to check which services DietPi will automatically run during boot:
dietpi-services restart
If the services are still not running, please paste results of their status (do for proftpd and the other aswell):
systemctl status apache2 -l
after reboot the named services are not starting
root@OfficePi:~# systemctl status apache2 -l
● apache2.service - LSB: Apache2 web server
Loaded: loaded (/etc/init.d/apache2)
Active: inactive (dead)
root@OfficePi:~# systemctl status noip2 -l
● noip2.service - LSB: Start/stop noip2
Loaded: loaded (/etc/init.d/noip2)
Active: inactive (dead)
root@OfficePi:~# systemctl status proftpd -l
● proftpd.service - LSB: Starts ProFTPD daemon
Loaded: loaded (/etc/init.d/proftpd)
Active: inactive (dead)
root@OfficePi:~# systemctl status mpd -l
● mpd.service
Loaded: masked (/dev/null)
Active: inactive (dead)
root@OfficePi:~# systemctl status cron -l
● cron.service - Regular background program processing daemon
Loaded: loaded (/lib/systemd/system/cron.service; disabled)
Active: inactive (dead)
Docs: man:cron(8)
root@OfficePi:~# dietpi-services restart
DietPi-Services
─────────────────────────────────────────────────────
Mode: restart
Please wait...
[Ok] cron
[Ok] proftpd
[Ok] apache2
[Failed] mpd
[Ok] noip2
DietPi-Process_Tool
─────────────────────────────────────────────────────
Mode: Apply
Please wait...
Cron (1236)
[Ok] Nice 0
[Ok] Affinity 0-3
[Ok] Scheduler SCHED_OTHER 0
NoIp (1301)
[Ok] Nice 0
[Ok] Affinity 0-3
[Ok] Scheduler SCHED_OTHER 0
OpenSSH Server (493)
[Ok] Nice 0
[Ok] Affinity 0-3
[Ok] Scheduler SCHED_OTHER 0
OpenSSH Server (1106)
[Ok] Nice 0
[Ok] Affinity 0-3
[Ok] Scheduler SCHED_OTHER 0
ProFTP (1257)
[Ok] Nice 0
[Ok] Affinity 0-3
[Ok] Scheduler SCHED_OTHER 0
Webserver Apache2 (1282)
[Ok] Nice 0
[Ok] Affinity 0-3
[Ok] Scheduler SCHED_OTHER 0
Webserver Apache2 (1285)
[Ok] Nice 0
[Ok] Affinity 0-3
[Ok] Scheduler SCHED_OTHER 0
Webserver Apache2 (1286)
[Ok] Nice 0
[Ok] Affinity 0-3
[Ok] Scheduler SCHED_OTHER 0
Webserver Apache2 (1287)
[Ok] Nice 0
[Ok] Affinity 0-3
[Ok] Scheduler SCHED_OTHER 0
Webserver Apache2 (1288)
[Ok] Nice 0
[Ok] Affinity 0-3
[Ok] Scheduler SCHED_OTHER 0
Webserver Apache2 (1289)
[Ok] Nice 0
[Ok] Affinity 0-3
[Ok] Scheduler SCHED_OTHER 0
[Ok] DietPi-Process Tool | Completed
after reboot its the same
update:
i uninstalled mate desktop + tightvnc via gui and everything is back to normal my services are back,
scr44tch:
after reboot the named services are not starting
update:
i uninstalled mate desktop + tightvnc via gui and everything is back to normal my services are back,
Hi,
Thanks for the info.
Looks like something is preventing dietpi-services from running during boot. Its launched by rc.local. Although you’ve uninstalled desktop+vnc, its worth taking a look.
Could you paste results of the following please:
cat /etc/rc.local
systemctl status rc.local -l
We have another report of VNC breaking Kodi, so i’ve added this to and existing git ticket: https://github.com/Fourdee/DietPi/issues/454 I’ll try to replicate your installation and test.
I’d like to check other system settings and services.
If you could send a bug report, i’d be grateful:
https://dietpi.com/forum/t/send-dietpi-a-bug-report/421/1