trying to start postmaster

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

trying to start postmaster

От:
Don Patou <pknoob@noos.fr>
Дата:
I've just compiled the latest postgresql on gentoo linux. I don't have 
anything like /etc/postgresql or /var/lib/postgresql. The only thing it 
created during compilation is a /usr/share/postgresql with some 
pg_hba.conf.sample and postgresql.conf.sample (and also 
/usr/share/doc/postgresql-7.3.1). When I start postmaster it says it can't cd 
to /var/lib/postgres which indeed doesn't exists. Do I need to create all 
them myself or did I miss something?

thanx in advance

Re: trying to start postmaster

От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Don Patou  writes:
> When I start postmaster it says it can't cd 
> to /var/lib/postgres which indeed doesn't exists. Do I need to create all 
> them myself or did I miss something?

You didn't run initdb.  See chapter three of the Admin Guide:
http://www.ca.postgresql.org/users-lounge/docs/7.3/postgres/runtime.html

			regards, tom lane

FAQ