[arch-general] Postgresql with Systemd
Paul Gideon Dann
pdgiddie at gmail.com
Tue Sep 4 11:13:32 EDT 2012
On Tuesday 04 Sep 2012 16:10:21 you wrote:
> I'm having some trouble getting postgresql working with systemd. The unit
> originally would fail to start, until I realised that the script it uses to
> start assume that the variables in /etc/conf.d/postgresql will be defined,
> and in my setup they were commented out.
> Once I'd uncommented them, the unit starts OK, and I can connect using
> pgsql. However, there is no domain socket created at /tmp/.s.PGSQL.5432,
> which is clearly not right. It means that phpPgAdmin is broken in its
> default configuration.
Forget this bit. It's been a long day and I was an idiot: I didn't twig that
the socket starts with a dot and would not appear in a simple "ls". The
socket is being created fine, but phpPgAdmin still won't connect, even though
pgsql is fine, and I'm not sure why.
More information about the arch-general