You are not logged in.

#1 2013-03-23 21:02:09

ciembor
Member
Registered: 2008-03-30
Posts: 57

Starting PostgreSQL with systemctl fails

root@peace /h/ciembor# systemctl start postgresql
Failed to get D-Bus connection: No connection to service manager.

What can I do with that?

//edit

OK, I already run it with

systemctl enable postgresql.service

and restart. But now I get

could not connect to server: No such file or directory
    Is the server running locally and accepting
    connections on Unix domain socket "/tmp/.s.PGSQL.5432"?

when I try to create user.

Last edited by ciembor (2013-03-23 21:30:58)

Offline

#2 2013-03-25 22:49:22

teekay
Member
Registered: 2011-10-26
Posts: 271

Re: Starting PostgreSQL with systemctl fails

Sounds like you are using a custom kernel without the required features for running systemd (e.g. CGROUPS, AUTOFS4 or thelike) enabled. Double-check your /var/log/kernel.log and messages.log

Offline

Board footer

Powered by FluxBB