-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 # emerge postgresql-server ...
# emerge --config dev-db/postgresql-server:9.3 ... # systemctl start postgresql-server-9.3 Job for postgresql-9.3.service failed. See 'systemctl status postgresql-9.3.service' and 'journalctl -xn' for details. # systemctl status postgresql-9.3.service ● postgresql-9.3.service - PostgreSQL database server ... Process: 24145 ExecStart=/usr/lib/postgresql-9.3/bin/pg_ctl start -D ${PGDATA} -s -l ${DATA_DIR}/postmaster.log -o -p ${PGPORT} - --data-directory=${DATA_DIR} -w -t 300 (code=exited, status=1/FAILURE) ... Jul 15 13:17:23 hackintosh pg_ctl[24145]: pg_ctl: could not start server Jul 15 13:17:23 hackintosh pg_ctl[24145]: Examine the log output. Jul 15 13:17:23 hackintosh systemd[1]: postgresql-9.3.service: control process exited, code=exited status=1 Jul 15 13:17:23 hackintosh systemd[1]: Failed to start PostgreSQL database server. Jul 15 13:17:23 hackintosh systemd[1]: Unit postgresql-9.3.service entered failed state. # cat /var/lib/postgresql/9.3/data/postmaster.log FATAL: could not create lock file "/run/postgresql /.s.PGSQL.5432.lock": No such file or directory *** To alleviate this I needed to run "systemd-tmpfiles --create". This was non-obvious to me. Sounds like a packaging issue that I need to do it in the first place? - -- Alexander berna...@gentoo.org https://secure.plaimi.net/~alexander -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iF4EAREIAAYFAlPFEQcACgkQRtClrXBQc7U73QD/bsI/9hp9XhNT9rBuNwiZUVu/ u4YbjfuN5KztqwM8XR4BAJZvsdAz9AxkpIJoOgeOfCKTEytTv27RmiGsSZnLND96 =9lQr -----END PGP SIGNATURE-----