delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/06/28/15:18:47

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <20010628191820.8794.qmail@web11202.mail.yahoo.com>
Date: Thu, 28 Jun 2001 12:18:20 -0700 (PDT)
From: Michael Williams <lamwilli AT yahoo DOT com>
Reply-To: williams AT csdi DOT com
Subject: initdb failure - postgres hangs with 100% CPU
To: pgsql-cygwin AT postgresql DOT org
Cc: cygwin AT sources DOT redhat DOT com
MIME-Version: 1.0

I am attempting to create a postgresql database under
cygwin:

$ uname -a
CYGWIN_NT-4.0 WCA22291271 1.3.2(0.39/3/2) 2001-05-20
23:28 i686 unknown

on a WinNT Workstation. WinNT 4.0 SP5

$ echo $PGDATA
/usr/share/postgresql/data

nbk3r4y AT WCA22291271 ~
$ initdb -d > initdb.log 2>&1 &
[2] 213

nbk3r4y AT WCA22291271 ~
$ tail -f initdb.log
 
PG_IDENT_SAMPLE=/usr/share/postgresql/pg_ident.conf.sample
This database system will be initialized with username
"nbk3r4y".
This user will own all the data files and must also
own the server process.

Creating directory /usr/share/postgresql/data
Creating directory /usr/share/postgresql/data/base
Creating directory /usr/share/postgresql/data/global
Creating directory /usr/share/postgresql/data/pg_xlog
Creating template1 database in
/usr/share/postgresql/data/base/1
Running: /usr/bin/postgres -boot -x1 -C -F
-D/usr/share/postgresql/data -d templ
ate1

At this point the NT system hangs.  The Win Task
manager shows the proesser pegged at 100% utilization
by initdb.  cgywin "top" tells the same story.

  %   Pid  Tid  Pri      Key    Start Address 
ImageName
___________________________________________________________________

  99%     340     609 2502656 2195456   0:00:45.745
postgres.exe
   0%      30    4529 1118208 1605632   0:00:07.671
CSRSS.EXE

initdb never comes back.

This user ID has NT local administrator rights.

Please let me know why postgres is dieing at this
point.

Thanks,

Michael Williams


__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019