You are not logged in.
Pages: 1
I have installed postgresql using pacman & now it doesn't start. I get "FATAL: could not create lock file "/run/postgresql/.s.PGSQL.5432.lock": No such file or directory" full log here:
$ sudo rc.d start postgresql
:: Starting PostgreSQL [BUSY]
pg_ctl: could not start server
Examine the log output.
[FAIL]
gaurish@home:~/code$ tail /var/log/postgresql.log
FATAL: could not create lock file "/run/postgresql/.s.PGSQL.5432.lock": No such file or directory
FATAL: could not create lock file "/run/postgresql/.s.PGSQL.5432.lock": No such file or directory
Can one suggest few things that I can try, so Postgres starts
Offline
Run the following to create the missing directory (i.e. /run/postgresql):
sudo systemd-tmpfiles --create postgresql.conf
Offline
Nice, this was very helpful. Is this missing in the wiki page for postgres?
Offline
It's a bug in the package:
Offline
@foutrelis Thanks for the workaround!
Offline
Pages: 1