Skip site navigation (1) Skip section navigation (2)

Re: initdb: failed

From: mike g <mike(at)thegodshalls(dot)com>
To: Adam Lang <raider(dot)adam(at)gmail(dot)com>
Cc: pgsql-cygwin(at)postgresql(dot)org
Subject: Re: initdb: failed
Date: 2004-07-27 02:33:17
Message-ID: 1090895597.23861.1.camel@localhost.localdomain (view raw or flat)
Thread:
Lists: pgsql-cygwin
Hello,

The webpage listed below is not current.  ipc-daemon2 is no longer used
and cygserver is used in it's place.  The readme included with the
postgresql installation has the correct instructions.

Mike

On Mon, 2004-07-26 at 15:33, 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.
> 
> 
> 
> On Mon, 26 Jul 2004 13:41:08 -0400, Adam Lang <raider(dot)adam(at)gmail(dot)com> wrote:
> > Ok, so what documentation should I be looking at for the current
> > installation instructions?
> > 
> > 
> > 
> > On Tue, 27 Jul 2004 03:30:26 +1000, Daniel Secomb <dan(at)ds-d(dot)com> wrote:
> > > You are using old commands. Cygwin no longer uses "ipc-daemon". Replace
> > > ipc-daemon with "cygserver".
> > >
> > > For example:
> > >
> > > $ export CYGWIN=server
> > > $ /usr/sbin/cygserver &
> > >
> > > See how you go.
> > >
> > > Kind Regards,
> > >
> > > Daniel Secomb
> > > Creative Director
> > > DS Design
> > > ABN 33 721 455 978
> > > PO Box 4540,
> > > Lake Haven NSW 2263
> > > Australia
> > > [p] +61 2 4393 6305
> > > [f] +61 2 4393 6306
> > > [m] +61414 571 500
> > > mailto:dan(at)ds-d(dot)com
> > > http://www.ds-d.com/
> > >
> > > Take a look at our latest web development project:
> > > http://www.specialfx.com.au/
> > >
> > > From the US, UK or Europe? Why not take advantage of the weaker Australian
> > > dollar? Click the following link http://www.xe.com/ucc/ for a currency
> > > conversion and find out how much you'll save!!
> > >
> > > _________________________________________________________________
> > >
> > > The material contained in this email may be confidential, and may also be
> > > the subject of copyright and/or privileged information. If you are not the
> > > intended recipient, any use, disclosure or copying of this document is
> > > prohibited. If you have received this document in error, please advise the
> > > sender and delete the document.
> > >
> > > This email communication does not create or vary any contractual
> > > relationship between DS Design and you. Internet communications are not
> > > secure and accordingly DS Design does not accept any legal liability for the
> > > contents of this message.
> > >
> > > Please note that neither DS Design nor the sender accepts any responsibility
> > > for viruses and it is your responsibility to scan the email and any
> > > attachments.
> > >
> > >
> > >
> > >
> > > -----Original Message-----
> > > From: pgsql-cygwin-owner(at)postgresql(dot)org
> > > [mailto:pgsql-cygwin-owner(at)postgresql(dot)org]On Behalf Of Adam Lang
> > > Sent: Tuesday, July 27, 2004 1:49 AM
> > > To: pgsql-cygwin(at)postgresql(dot)org
> > > Subject: [CYGWIN] initdb: failed
> > >
> > > I have spent several days trying tofind the cause of this on google,
> > > but I am stumped.
> > >
> > > Thsi is the article I was using as a guideline:
> > > http://www.sitepoint.com/article/1233
> > >
> > > I am running on Windows 2000 professional.  ipc-daemon2 seems to start
> > > fien in the service window.
> > >
> > > The problem is when I log into windows as postgres.  I rin the initdb
> > > -D command, it runs through its checks and then says initdb fails
> > > saying there is a lock file on the existing PID.  There is no
> > > postmaster process runnign.  I delete out the data directory to make
> > > sure there is no pid file, rerun initdb -D again and same thing.
> > >
> > > The versions of the software are the latest.  I just downloaded them a
> > > coupel days ago.
> > > --
> > >                          Let us not then pursue
> > > By force impossible, by leave obtained
> > > Unacceptable, though in Heav'n, our state
> > > Of splendid vassalage, but rather seek
> > > Our own good from ourselves, and from our own
> > > Live to ourselves, though in this vast recess,
> > > Free, and to none accountable, preferring
> > > Hard liberty before the easy yoke
> > > Of servile pomp.
> > >      - Mammon, Paradise Lost
> > >
> > > ---------------------------(end of broadcast)---------------------------
> > > TIP 2: you can get off all lists at once with the unregister command
> > >     (send "unregister YourEmailAddressHere" to majordomo(at)postgresql(dot)org)
> > >
> > >
> > 
> > --
> >                          Let us not then pursue
> > By force impossible, by leave obtained
> > Unacceptable, though in Heav'n, our state
> > Of splendid vassalage, but rather seek
> > Our own good from ourselves, and from our own
> > Live to ourselves, though in this vast recess,
> > Free, and to none accountable, preferring
> > Hard liberty before the easy yoke
> > Of servile pomp.
> >      - Mammon, Paradise Lost
> > 
> 

In response to

pgsql-cygwin by date

Next:From: Adam LangDate: 2004-07-27 02:33:29
Subject: Re: initdb: failed
Previous:From: Carlo FlorendoDate: 2004-07-27 00:23:39
Subject: Re: initdb: failed

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group