I've installed the postgresql-server
package on OpenBSD 5.4 amd64, and I try starting it through its rc.d
script, however, it doesn't look like it's running after that.
opti# /etc/rc.d/postgresql start
postgresql(ok)
opti# ps auxw | fgrep -i sql
root 8892 0.0 0.0 1652 276 p1 R/1 5:04PM 0:00.00 fgrep -i sql (tcsh)
opti#
Why does the script report that it starts successfully?
Why does it not actually start?
/var/postgresql/logfile
, it says,postgres cannot access the server configuration file "/var/postgresql/data/postgresql.conf": No such file or directory
initdb
the database cluster, then? I suggest re-reading the install documentation for PostgreSQL on OpenBSD, wherever that lives on your system.