ERR ORR <rd0002(at)gmail(dot)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