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

Re: "initdb: failed" (invalid argument)?????????????

From: mike g <mike(at)thegodshalls(dot)com>
To: Daniel Secomb <dan(at)ds-d(dot)com>
Cc: pgsql-cygwin(at)postgresql(dot)org
Subject: Re: "initdb: failed" (invalid argument)?????????????
Date: 2004-07-24 03:44:38
Message-ID: 1090640678.11436.24.camel@localhost.localdomain (view raw or flat)
Thread:
Lists: pgsql-cygwin
What version of Postgresql are you using?

What version of Windows?

Mike
On Fri, 2004-07-23 at 20:18, Daniel Secomb wrote:
> Hi,
> 
> For some weird reason, the initialization attempt has spat the dummy and
> this is what it did:
> 
> 
> 
> $ export CYGWIN=server
> $ /usr/sbin/cygserver &
> [1] 686417
> $ cygserver: Initialization complete. Waiting for requests.
> initdb -D /usr/local/pgsql/data -W -E LATIN1
> The files belonging to this database system will be owned by user "Daniel
> Secomb
> ".
> This user must also own the server process.
> 
> The database cluster will be initialized with locale C.
> 
> creating directory /usr/local/pgsql/data... ok
> creating directory /usr/local/pgsql/data/base... ok
> creating directory /usr/local/pgsql/data/global... ok
> creating directory /usr/local/pgsql/data/pg_xlog... ok
> creating directory /usr/local/pgsql/data/pg_clog... ok
> selecting default max_connections... 10
> selecting default shared_buffers... 50
> creating configuration files... ok
> creating template1 database in /usr/local/pgsql/data/base/1... FATAL:
> shmat<id=
> 1179648> failed: Invalid argument
> 
> initdb: failed
> $
> 
> 
> 
> Any reason why it has done this?
> 
> Any help will be GREATLY appreciated!!
> 
> Many, many thanks!!
> 
> 
> 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.
> 
> 
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 7: don't forget to increase your free space map settings

In response to

pgsql-cygwin by date

Next:From: S RDate: 2004-07-26 01:37:01
Subject: initdb failing ?
Previous:From: mike gDate: 2004-07-24 03:40:09
Subject: Re: Multiple connection Load Testing - Inifinte Loop

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