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

Re: Troubles in Initializing Postgres Database 8.2

From: "Maarten van der Heijden" <maarten(at)vdg-security(dot)com>
To: "Magnus Hagander" <magnus(at)hagander(dot)net>
Cc: <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: Troubles in Initializing Postgres Database 8.2
Date: 2007-01-31 11:47:01
Message-ID: A4EE27BB6C221B47B24839B4F0E9528729A307@server02.vdg-nederland.com (view raw or flat)
Thread:
Lists: pgsql-bugs
Hi,

Good news! We've succesfully installed Postgres on Windows Embedded.
The trick was to include a Null Device Driver to the image.

Thanks for your help!

Regards,
Maarten

-----Oorspronkelijk bericht-----
Van: Magnus Hagander [mailto:magnus(at)hagander(dot)net] 
Verzonden: maandag 29 januari 2007 13:00
Aan: Maarten van der Heijden
Onderwerp: Re: [BUGS] Troubles in Initializing Postgres Database 8.2

It shouldn't be, but it has been my experience that windows can give the
weirdest errorcodes sometimes :D

On Mon, Jan 29, 2007 at 12:47:44PM +0100, Maarten van der Heijden wrote:
> Using my test program with different user accounts (admin and lower account) indeed failed with an "access denied" error message (getlasterror code 5). Not sure if this is related to "file not found" (getlasterror  code 2).
> 
> 
> -----Oorspronkelijk bericht-----
> Van: Magnus Hagander [mailto:magnus(at)hagander(dot)net] 
> Verzonden: maandag 29 januari 2007 12:32
> Aan: Maarten van der Heijden
> Onderwerp: Re: [BUGS] Troubles in Initializing Postgres Database 8.2
> 
> On Mon, Jan 29, 2007 at 11:55:02AM +0100, Maarten van der Heijden wrote:
> > Hi,
> > 
> > After reviewing the shmem.c code I constructed a test program to see if Xp embedded supports shared memory. I've used the same functions as used in shmem.c. There seems to be no problem in creating/opening and accessing/reading shared memory in Xp embedded. 
> > 
> > Using process explorer I could also see InitDb creating the shared memory segment (PostgreSQL.1). 
> > 
> > If I understand correctly, InitDb should create a shared memory segment which Postgres can use to initialize the database cluster? And it looks like initdb fails there right?
> 
> Eh, I have to say I'm not 100% on which order these things are done. ;)
> 
> But - inteesting to notice that it worked when you ran it. Question: Did
> you use the same permissions/account? Remember that if you used an admin
> account, you did not use the same one, because initdb will re-exec
> itself with lower permissions. So be sure to try it with a non-admin
> service account. It could be permissions related.
> 
> 
> > Is there a way to have more debug output from the process? (initdb with debug option doesn't have enough debug info regarding the error)
> 
> I think you may need to locate the line that emits it in the source and
> add more info around there yourself :-( this is definitly not something
> we've seen before.
> 
> //Magnus
> 
> -- 
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.432 / Virus Database: 268.17.12/655 - Release Date: 28-1-2007 13:12
>  
> 
> -- 
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.5.432 / Virus Database: 268.17.12/655 - Release Date: 28-1-2007 13:12
>  
> 
> ______________________________________________________________________
> *******************************DISCLAIMER******************************De informatie verzonden met dit e-mail bericht is uitsluitend voor de geadresseerde(n). Openbaarmaking, vermenigvuldiging, verspreiding en/of  verstrekking aan derden is niet toegestaan. Indien U deze e-mail abusievelijk heeft ontvangen, verzoeken wij U het e-mail bericht te verwijderen en de afzender hiervan op de hoogte te stellen. VDG Security Systems bv sluit iedere aansprakelijkheid uit, die voortvloeit uit elektronische verzending. 
> The information contained in this communication is intended solely for use of the individual or entity to whom it is addressed and others authorized to receive it. If you are not the intended recipient you are hereby notified that any disclosure, copying,distribution or taking any action in reliance on the contents of this information is strictly prohibited. If you are not the intended recipient, please delete this message and any attachments and advise the sender by return e-mail. VDG Security Systems bv rules out any and every liability resulting from any electronic transmission. 
> ***********************************************************************
> This email has been scanned by the MessageLabs Email Security System.
> On behalf of VDG Security Systems bv

-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.17.12/655 - Release Date: 28-1-2007 13:12
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.17.17/661 - Release Date: 30-1-2007 23:30
 

______________________________________________________________________
*******************************DISCLAIMER******************************De informatie verzonden met dit e-mail bericht is uitsluitend voor de geadresseerde(n). Openbaarmaking, vermenigvuldiging, verspreiding en/of  verstrekking aan derden is niet toegestaan. Indien U deze e-mail abusievelijk heeft ontvangen, verzoeken wij U het e-mail bericht te verwijderen en de afzender hiervan op de hoogte te stellen. VDG Security Systems bv sluit iedere aansprakelijkheid uit, die voortvloeit uit elektronische verzending. 
The information contained in this communication is intended solely for use of the individual or entity to whom it is addressed and others authorized to receive it. If you are not the intended recipient you are hereby notified that any disclosure, copying,distribution or taking any action in reliance on the contents of this information is strictly prohibited. If you are not the intended recipient, please delete this message and any attachments and advise the sender by return e-mail. VDG Security Systems bv rules out any and every liability resulting from any electronic transmission. 
***********************************************************************
This email has been scanned by the MessageLabs Email Security System.
On behalf of VDG Security Systems bv

pgsql-bugs by date

Next:From: chrisDate: 2007-01-31 15:13:39
Subject: BUG #2946: server crashes when trying to catch exception in function
Previous:From: Magnus HaganderDate: 2007-01-31 09:58:59
Subject: Re: [BUGS] Missing error message on missing ssl-key-files

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