Обсуждение: Postgresql 9.3.2 Server crashes upon start

Поиск
Список
Период
Сортировка

Postgresql 9.3.2 Server crashes upon start

От
ERR ORR
Дата:
The server crashes when I start it from command line and have not changed
to the home directory of the postgres user before. If I change to the
homedir of the user beforehand, server starts OK.

Environment:
-------------------
Fedora Core 20 64bit on intel laptop
postgresql93-server-9.3.2-2PGDG.f20.x86_64

What I did:
----------------
- su root (from mystandard logon user)
- su postgres
- $/usr/pgsql-9.3/bin/postgres -D /clusterfs -s &
*==> CRASH*


*But:*- su root (from mystandard logon user)
- su postgres
- *cd*
- $/usr/pgsql-9.3/bin/postgres -D /clusterfs -s &
*==> OK*

Second problem is, I cant report this to the Redhat bugzilla via ABRT, as
they don't have a "postgresql93" component.

If you need any further info please let me know.

Re: Postgresql 9.3.2 Server crashes upon start

От
Tom Lane
Дата:
ERR ORR <rd0002@gmail.com> writes:
> The server crashes when I start it from command line and have not changed
> to the home directory of the postgres user before. If I change to the
> homedir of the user beforehand, server starts OK.

Are you starting the server in a directory the postgres user doesn't have
permission to read?

That's a known problem that will be fixed in the next releases, but for
now the answer is "don't do that".

            regards, tom lane