Thread: missing postmaster.conf

missing postmaster.conf

From
christoph.dellavalle@goetheanum.ch
Date:
hi all

when I switch to my postgresql-user, I get this error-message:
myserver:~# su - postgres
su: /etc/postgresql/postmaster.conf: No such file or directory
I can't find this file anywhere on the machine.  Funny enough, I can create dbs etc.
How can I create a postmaster.conf and what is it for?

Thanks a lot,

Chris



Re: missing postmaster.conf

From
greg@turnstep.com
Date:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


> when I switch to my postgresql-user, I get this error-message:
> myserver:~# su - postgres
> su: /etc/postgresql/postmaster.conf: No such file or directory
> I can't find this file anywhere on the machine.  Funny enough, I can create dbs
> etc.
> How can I create a postmaster.conf and what is it for?

Well, *postgresql.conf* is the file that is typically used to
"create dbs etc." by storing configuration information.

The error shown is not PostgreSQL related, but has something to do
with the "postgres" user on your machine. See if running su without the
dash option gives the same error.

- --
Greg Sabino Mullane greg@turnstep.com
PGP Key: 0x14964AC8 200306270921
-----BEGIN PGP SIGNATURE-----
Comment: http://www.turnstep.com/pgp.html

iD8DBQE+/EZUvJuQZxSWSsgRAnsFAKCk6SAbaVKxRbNlUuUb7brojYydKQCgotmT
LS4XvJSPQ5wJQUNnWkL5a+c=
=+L2x
-----END PGP SIGNATURE-----



Re: missing postmaster.conf

From
Tom Lane
Date:
christoph.dellavalle@goetheanum.ch writes:
> when I switch to my postgresql-user, I get this error-message:
> myserver:~# su - postgres
> su: /etc/postgresql/postmaster.conf: No such file or directory

It'd appear to me that the postgres user's ~/.profile (or equivalent)
is trying to read that file.  Just get rid of that part of the profile
file, if you have no use for it.  There's no such file in a standard
Postgres installation.

            regards, tom lane