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

7.4.5 stopped working?

From: Klint Gore <kg(at)kgb(dot)une(dot)edu(dot)au>
To: pgsql-cygwin(at)postgresql(dot)org
Subject: 7.4.5 stopped working?
Date: 2004-09-21 00:38:43
Message-ID: 414F7813C1.3797KG@129.180.47.120 (view raw or flat)
Thread:
Lists: pgsql-cygwin
I had the latest cygwin postgres (as of yesterday) working when I went
home last night and this morning I cant start the postmaster.  I cant
think of anything that changed.

$ uname -a
CYGWIN_NT-5.0 kgb 1.5.11(0.116/4/2) 2004-09-04 23:17 i686 unknown unknown Cygwin

$ postmaster --version
postmaster (PostgreSQL) 7.4.5

cygserver starts and stays running.  last night it was a process and
thats how I started it this morning.  in trying to work out what's
happening, i've installed the service now.

$ /usr/sbin/cygserver --version
cygserver: (cygwin) 1.10
API version 1.5.11(0.116/4/1)-(3.0.0.2) 2004-09-04 23:17
Copyright 2001, 2002, 2003 Red Hat, Inc.
Compiled on Sep  4 2004

when I try to start the postmaster using
   pg_ctl -D /usr/local/pgsql/data -l /var/log/pgsql/logfile start
it just exits straight away.  

with normal logging the log file is empty.  with debug5 i get the envion
dump followed by
DEBUG:  -----------------------------------------
DEBUG:  found "/usr/bin/postgres" using argv[0]
DEBUG:  invoking IpcMemoryCreate(size=17776640)

config file is default except for (log settings added today after trying
to start failed; this install is just a tempory test so fsync=false is
acceptable)
  tcpip_socket=true
  shared_buffers=2000
  fsync=false
  log_min_messages=debug5
  log_min_error_statement=debug5

initdb was run yesterday with --locale=C

if I run "postmaster -D /usr/local/pgsql/data" i get the same invoking
ipcmemorycreate followed by "Bad system call"

Any ideas?

klint.

+---------------------------------------+-----------------+
: Klint Gore                            : "Non rhyming    :
: EMail   : kg(at)kgb(dot)une(dot)edu(dot)au           :  slang - the    :
: Snail   : A.B.R.I.                    :  possibilities  :
: Mail      University of New England   :  are useless"   :
:           Armidale NSW 2351 Australia :     L.J.J.      :
: Fax     : +61 2 6772 5376             :                 :
+---------------------------------------+-----------------+

Responses

pgsql-cygwin by date

Next:From: Mike G.Date: 2004-09-21 04:39:59
Subject: Re: Cygwin on Win98: initdb failed
Previous:From: Jean-Pierre PelletierDate: 2004-09-20 20:21:18
Subject: Re: All Production releases of PostgreSQL hung because of bugs in cygserver

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