Re: BUG #3980: Can not Install PostgreSQL - error at the end of installation
От | Miroslav Nachev |
---|---|
Тема | Re: BUG #3980: Can not Install PostgreSQL - error at the end of installation |
Дата | |
Msg-id | 47C2F345.3030704@space-comm.com обсуждение исходный текст |
Ответ на | Re: BUG #3980: Can not Install PostgreSQL - error at the end of installation ("Dave Page" <dpage@pgadmin.org>) |
Ответы |
Re: BUG #3980: Can not Install PostgreSQL - error at the end of installation
|
Список | pgsql-bugs |
I can not start that command because: C:\Program Files\PostgreSQL\8.3\bin>initdb -D ../data The program "postgres" is needed by initdb but was not found in the same directory as "C:\Program Files\PostgreSQL\8.3\bin/initdb". Check your installation. In the same time there are 2 files with that name: C:\Program Files\PostgreSQL\8.3\bin>dir postgres.* Volume in drive C is ACER Volume Serial Number is 7C12-D67C Directory of C:\Program Files\PostgreSQL\8.3\bin 01.02.2008 г. 04:00 ч. 3 661 824 postgres.exe 01.02.2008 г. 04:00 ч. 1 092 970 postgres.lib 2 File(s) 4 754 794 bytes 0 Dir(s) 110 786 924 544bytes free Miro. Dave Page wrote: <blockquote cite="mid:937d27e10802250748q30052f7au4fe00b6a07cfa1ce@mail.gmail.com" type="cite"> On Mon, Feb 25, 2008 at 3:39 PM, Miroslav Nachev <miro@space-comm.com> wrote: To get up and running though, you should be able to install with initdb disabled and then run it manually from the commandline. How to do the above? When you install, un-check the initdb option on the initdb page of the wizard. Then, initialise the cluster after installation by running a command like: initdb -D ../data from the PostgreSQL command prompt window (there's a shortcut on the start menu). See http://www.postgresql.org/docs/8.3/interactive/app-initdb.html for more info on the initdb options. Once that's done you should register PostgreSQL as a service - see the 'register' mode of pg_ctl: http://www.postgresql.org/docs/8.3/interactive/app-pg-ctl.html Those steps are roughly what the installer normally does for you.
В списке pgsql-bugs по дате отправления: