Gergely Buday <gbuday@gmail.com> writes:
> Hi there,
>
> I created a directory /usr/local/pgsql/data to store the data of
> postgresql and ran
>
> $ initdb -D /usr/local/pgsql/data
>
> After that, I tried to start the postgresql service on my fedora 15 box via
>
> $ sudo service postgresql start
>
> but it has failed with the message
>
> Starting postgresql (via systemctl): Job failed. See system logs and
> 'systemctl status' for details.
> [FAILED]
Set and export the PGDATA variable in the rc script to the data
dirrectory path and try again.
Or try;
pg_ctl -D /usr/local/pgsql/data start
--
Jerry Sievers
Postgres DBA/Development Consulting
e: postgres.consulting@comcast.net
p: 305.321.1144