Re: failed to start postgresql service
| От | Jerry Sievers |
|---|---|
| Тема | Re: failed to start postgresql service |
| Дата | |
| Msg-id | 87hb5xwg94.fsf@comcast.net обсуждение |
| Ответ на | failed to start postgresql service (Gergely Buday <gbuday@gmail.com>) |
| Ответы |
Re: failed to start postgresql service
|
| Список | pgsql-general |
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
В списке pgsql-general по дате отправления: