Re: postgresql installation
От | Cory Kempf |
---|---|
Тема | Re: postgresql installation |
Дата | |
Msg-id | 5faembw96k.fsf@singularity.enigami.com обсуждение исходный текст |
Ответ на | postgresql installation ("Netra systems" <julien@netra-systems.com>) |
Список | pgsql-hackers |
"Netra systems" <julien@netra-systems.com> writes: > hello, > i have pb with the postgre sql installation : > i compile all .. ok > but when i want to run postmaster or anything else it say : no db dir : > data/../template1 ... > i have no data dir in my postgre dinstalled dir .... > how can i have this dir with all into ? Have you run initdb? My guess is no. Also, when you run initdb, the data directory it uses (I use /var/lib/pgsql, which I set up by having my .zshrc file export PGDATA=/var/lib/pgsql for my postgres account) needs to be the same as that passed to postmaster via the -D option. Oh, initdb really should be run as the postgres user. Definately not as root! Make sure your permissions are set up ahead of time! +C -- Have you signed up to be a bone marrow doner? All it takes is a simple blood test, and it can save a life. <http://www.marrow.org> Cory Kempf Macintosh / Unix Consulting & Software Development ckempf@enigami.com <http://www.enigami.com/~ckempf/>
В списке pgsql-hackers по дате отправления: