I have installed Maas (region contoller) on a PC (Ubuntu 18.10 - desktop. Same error on 19.04 Desktop). I was able to get the web GUI (http://$API_HOST:5240/MAAS) going and was busy with setting up the Vlan etc. I did not complete the setup (I guess I did not set the VLAn that will provide dhcp).
When I rebooted, the Ubuntu desktop froze upon startup giving a list of messages about maas-server/pyhon errors (Permission denied). A screenshot from the error message is attached.
I was able to determine that Maas is not running anymore:
$ sudo systemctl status maas-dhcpd
maas-dhcpd.service - MAAS instance of ISC DHCP server for IPv4 Loaded: loaded (/lib/systemd/system/maas-dhcpd.service; enabled; vendor prese Active: inactive (dead) Condition: start condition failed at Fri 2019-06-21 12:43:04 SAST; 4s ago └─ ConditionPathExists=/var/lib/maas/dhcpd.conf was not met Docs: man:dhcpd(8)
The command to restart Maas, does not help. ($ sudo systemctl restart maas-dhcpd)
I reinstalled everything on Ubuntu 19.04 Desktop and got the same initial error. Screen froze with the error message provided above. I can get the minimal desktop back with "$ sudo startx" but some of the features (internet browser) will not work. When I use "sudo systemctl restart gdm3" a new Desktop start screen appear, but I cannot login.
However, this time I completed the Maas setup on the Maas GUI. Now I Maas is still running when I reboot.
Here is a link the "/etc/profile" contents: https://shorturl.at/luzS6
Anyone that can propose or point me to a solution?
Hope that helps. Gert Kruger