Re: initdb: failed
От | Adam Lang |
---|---|
Тема | Re: initdb: failed |
Дата | |
Msg-id | b8d2d7d704072711501487b39@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: initdb: failed (Adam Lang <raider.adam@gmail.com>) |
Список | pgsql-cygwin |
I got it working. Thsi time when I removed cygwin, I removed the registry entries for it also. Restarted the computer and reinstalled it again. It went liek gold this time with the following instructions: 1. Install and configure cygserver: $ cygserver-config 2. Start cygserver: $ cygserver & 3. Initialize PostgreSQL: $ initdb -D /var/postgresql/data 4. Start the PostgreSQL postmaster: $ postmaster -D /var/postgresql/data & 5. Connect to PostgreSQL: $ psql template1 Now that it is working fine, I will set up to do it with a better user account and as a service. On Tue, 27 Jul 2004 11:17:09 -0400, Adam Lang <raider.adam@gmail.com> wrote: > I am still failign on initdb. I followed the instructions to the > letter. I uninstalled cygwin and did it from scratch. This is what I > am getting. Also, no log file is being created in /var/log. either. > > Signal 12 > Signal 12 > 50 > creating configuration files... ok > creating template1 database in /var/postgresql/data/base/1... Signal 12 > > initdb: failed > > postgres@napoleon ~ > > On Tue, 27 Jul 2004 11:34:03 +0800, Carlo Florendo > > > <list-subscriber@hq.astra.ph> wrote: > > Adam Lang wrote: > > > > >Nothing is being generated in log files. > > > > > >On Tue, 27 Jul 2004 08:23:39 +0800, Carlo Florendo > > ><list-subscriber@hq.astra.ph> wrote: > > > > > > > > >>Adam Lang wrote: > > >> > > >> > > >> > > >>>I'm now going by this: > > >>>http://www.tishler.net/jason/software/postgresql/postgresql-7.4.README > > >>> > > >>>I am trying the first simple way to get the program started and if I > > >>>can get that, figure I try the NT service route. > > >>> > > >>>When I try to initialize the database, I get: > > >>> > > >>>creating configuration files... ok > > >>>creating template1 database in /var/postgresql/data/base/1... Signal 12 > > >>> > > >>>initdb: failed > > >>>initdb: removing data directory "/var/postgresql/data" > > >>> > > >>>I installed the cygwin files, restarted the computer to make sure > > >>>nothing was running and then went through the steps and I still get > > >>>this. I am really lost, especially since no log files are generating. > > >>> > > >>> > > >>> > > > > Ok then. I've written a tutorial on how to configure postgresql on > > Cygwin. I'm soon going to propose the tutorial to be included in the > > postgresql docs. > > In the meantime, check it out: > > > > http://www.geocities.com/cfflorendo/postgresql-cygwin.html > > > > > > > > Thanks! > > > > Best Regards, > > > > Carlo > > ------ > > Carlo Florendo y Flora > > Astra Philippines Inc. > > www.astra.ph > > > > > > > -- > Back to thy punishment, > False fugitive, and to thy speed add wings, > Lest with a whip of scorpions I pursue > Thy ling'ring, or with one stroek fo this dart > Strange horror sieze thee, and pangs unfelt before. > - Sin, Paradise Lost > -- Back to thy punishment, False fugitive, and to thy speed add wings, Lest with a whip of scorpions I pursue Thy ling'ring, or with one stroek fo this dart Strange horror sieze thee, and pangs unfelt before. - Sin, Paradise Lost
В списке pgsql-cygwin по дате отправления: