Re: initdb: failed

Adam Lang <[email protected]>
Newsgroups gmane.comp.db.postgresql.cygwin
Message-ID <[email protected]>
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 <[email protected]> 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
> 
> 
> <[email protected]> wrote:
> > Adam Lang wrote:
> >
> > >Nothing is being generated in log files.
> > >
> > >On Tue, 27 Jul 2004 08:23:39 +0800, Carlo Florendo
> > ><[email protected]> 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

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

               http://www.postgresql.org/docs/faqs/FAQ.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.