New installation

After having had a look at nethserver and testing with an internal domain, I must say its a very nice and promising distribution.

So I decided to set it up with a real domain. But I started from scratch, updated the system and enabled a bunch of modules :smiley:

I successfully created the domain too, and joined a windows client.

I have some little issues, where I need a bit of help:

I have two services that are not started: postgresql and unbound. How can I fix that, and/or which modules rely on them, so I could maybe try to uninstall them, and install them again afterwards to see, if that fixes the not starting services?

Thanks in advance for your apreciated help :slight_smile:

unbound is used by the Mail Server.
postgresql is used by WebTop5 and other modules.

You can check if they failed (errored) to start:

systemctl status -l postgresql unbound

root@● postgresql.service - PostgreSQL database server
Loaded: loaded (/usr/lib/systemd/system/postgresql.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Tue 2020-01-21 09:28:40 CET; 1h 25min ago

Jan 21 09:28:40 hostname.domain systemd[1]: Starting PostgreSQL database server…
Jan 21 09:28:40 hostname.domain systemd[1]: postgresql.service: control process exited, code=exited status=1
Jan 21 09:28:40 hostname.domain systemd[1]: Failed to start PostgreSQL database server.
Jan 21 09:28:40 hostname.domain systemd[1]: Unit postgresql.service entered failed state.
Jan 21 09:28:40 hostname.domain systemd[1]: postgresql.service failed.

● unbound.service - Unbound recursive Domain Name Server
Loaded: loaded (/usr/lib/systemd/system/unbound.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Tue 2020-01-21 08:53:16 CET; 2h 1min ago
Main PID: 21792 (code=exited, status=1/FAILURE)

Jan 21 08:53:16 hostname.domain systemd[1]: Starting Unbound recursive Domain Name Server…
Jan 21 08:53:16 hostname.domain unbound-checkconf[21787]: unbound-checkconf: no errors in /etc/unbound/unbound.conf
Jan 21 08:53:16 hostname.domain systemd[1]: Started Unbound recursive Domain Name Server.
Jan 21 08:53:16 hostname.domain unbound[21792]: Jan 21 08:53:16 unbound[21792:0] error: can’t bind socket: Address already in use for ::1
Jan 21 08:53:16 hostname.domain unbound[21792]: Jan 21 08:53:16 unbound[21792:0] fatal error: could not open ports
Jan 21 08:53:16 hostname.domain systemd[1]: unbound.service: main process exited, code=exited, status=1/FAILURE
Jan 21 08:53:16 hostname.domain systemd[1]: Unit unbound.service entered failed state.
Jan 21 08:53:16 hostname.domain systemd[1]: unbound.service failed.

So I will try to reinstall mailserver and report back. Or is it a matter of changing ipv6 settings? Where to find?

Edit to add, that after some tinkering with some modules, activating IPS and and Webproxy, and a reboot the error does not appear anymore. So this thread could be deleted, as it was a tempory problem?