Re: Initdb FATAL error shmat - Win98 Cygwin 1.5.10-3 - PostgreSQL 7.4.3

2004-08-09 Thread Corinna Vinschen
On Aug  8 12:53, Mike G wrote:
> 
> Hello,
> 
> I will bring it up with the postgresql hackers.

Thanks!


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Co-Project Leader  mailto:[EMAIL PROTECTED]
Red Hat, Inc.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Initdb FATAL error shmat - Win98 Cygwin 1.5.10-3 - PostgreSQL 7.4.3

2004-08-08 Thread Mos
I was happy that worked... but I do not why, when I reboot my computer, it 
works not !
(I change nothing !)

When the initdb was ok, the number of shared detected buffers was 1000 
(instead au 50 when fails).

Since I do not succeed in new initdb command.
Mos

At 14:09 08/08/04, you wrote:
Mos,
On Tue, Aug 03, 2004 at 09:41:34PM -0100, Mos wrote:
> I install PostgreSQL 7.4.2 today without changing Cygwin install.
> Initdb works fine : initialization is good !
I'm glad PostgreSQL is working for you, but it appears that there is a
Windows 9x problem lurking that may bite you in the future... :,(
Jason
--
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6
--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


Re: Initdb FATAL error shmat - Win98 Cygwin 1.5.10-3 - PostgreSQL 7.4.3

2004-08-08 Thread Mike G

Hello,

I will bring it up with the postgresql hackers.

PS - Sorry for the new posting.  I read these via digest.
Mike

* From: Jason Tishler 
* To: cygwin at cygwin dot com
* Date: Sun, 8 Aug 2004 11:07:56 -0400
* Subject: Re: Initdb FATAL error shmat - Win98 Cygwin 1.5.10-3 - PostgreSQL 7.4.3
* References: <[EMAIL PROTECTED]>

Corinna,

I apologize for the delay, but I was on vacation...

On Tue, Aug 03, 2004 at 03:30:58PM +0200, Corinna Vinschen wrote:
> I tried it and it actually only happens on 9x.  I found that postgres
> tries to shmat to an address which I have no idea about where it comes
> from.  The problem with that address is, that it's neither a multiple
> of SHMLBA, nor does postgres call shmat with the SHM_RND flag.  For
> some reason the address is ok on NT.
> 
> So, Jason, do you have an idea why that happens?

No.

> Two questions come to mind:
> 
> - How does postgres evaluate that address

I don't know.

> and why does it only fail on 9x?

Ditto.

> - Why does postgres use a fixed address at all, instead of using NULL
>   to let the system decide which address to use?

Ditto.

I do not have access to Windows 9x and (unfortunately) have not used
PostgreSQL seriously for 3 years now, so I'm not particularly motivated
to work on this problem.

Sorry,
Jason

-- 
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Initdb FATAL error shmat - Win98 Cygwin 1.5.10-3 - PostgreSQL 7.4.3

2004-08-08 Thread Jason Tishler
Mos,

On Tue, Aug 03, 2004 at 09:41:34PM -0100, Mos wrote:
> I install PostgreSQL 7.4.2 today without changing Cygwin install.
> Initdb works fine : initialization is good !

I'm glad PostgreSQL is working for you, but it appears that there is a
Windows 9x problem lurking that may bite you in the future... :,(

Jason

-- 
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Initdb FATAL error shmat - Win98 Cygwin 1.5.10-3 - PostgreSQL 7.4.3

2004-08-08 Thread Jason Tishler
Corinna,

I apologize for the delay, but I was on vacation...

On Tue, Aug 03, 2004 at 03:30:58PM +0200, Corinna Vinschen wrote:
> I tried it and it actually only happens on 9x.  I found that postgres
> tries to shmat to an address which I have no idea about where it comes
> from.  The problem with that address is, that it's neither a multiple
> of SHMLBA, nor does postgres call shmat with the SHM_RND flag.  For
> some reason the address is ok on NT.
> 
> So, Jason, do you have an idea why that happens?

No.

> Two questions come to mind:
> 
> - How does postgres evaluate that address

I don't know.

> and why does it only fail on 9x?

Ditto.

> - Why does postgres use a fixed address at all, instead of using NULL
>   to let the system decide which address to use?

Ditto.

I do not have access to Windows 9x and (unfortunately) have not used
PostgreSQL seriously for 3 years now, so I'm not particularly motivated
to work on this problem.

Sorry,
Jason

-- 
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Initdb FATAL error shmat - Win98 Cygwin 1.5.10-3 - PostgreSQL 7.4.3

2004-08-03 Thread Mos
I install PostgreSQL 7.4.2 today without changing Cygwin install. Initdb 
works fine : initialization is good !

Mos
-
On Aug  2 20:57, Mos wrote:
> Hi there !
>
>
> I have a problem to work with PostgreSQL with Cygwin.
>
> My OS is Windows 98 and I install cygwin full package, following numerous
> tutorials available on the Net.
>
> All is fine except, I can not initialize a database :
> All is fine until i try to initialize the database :
>
> ---
> 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 1179648> failed: Invalid argument
I tried it and it actually only happens on 9x.  I found that postgres
tries to shmat to an address which I have no idea about where it comes
from.  The problem with that address is, that it's neither a multiple
of SHMLBA, nor does postgres call shmat with the SHM_RND flag.  For some
reason the address is ok on NT.
So, Jason, do you have an idea why that happens?  Two questions come to mind:
- How does postgres evaluate that address and why does it only fail on 9x?
- Why does postgres use a fixed address at all, instead of using NULL to
  let the system decide which address to use?
Corinna
--
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Co-Project 
Leader  mailto:[EMAIL PROTECTED]
Red Hat, Inc.

wi  

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


Re: Initdb FATAL error shmat - Win98 Cygwin 1.5.10-3 - PostgreSQL 7.4.3

2004-08-03 Thread Corinna Vinschen
On Aug  2 20:57, Mos wrote:
> Hi there !
> 
> 
> I have a problem to work with PostgreSQL with Cygwin.
> 
> My OS is Windows 98 and I install cygwin full package, following numerous 
> tutorials available on the Net.
> 
> All is fine except, I can not initialize a database :
> All is fine until i try to initialize the database :
> 
> ---
> 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 1179648> failed: Invalid argument

I tried it and it actually only happens on 9x.  I found that postgres
tries to shmat to an address which I have no idea about where it comes
from.  The problem with that address is, that it's neither a multiple
of SHMLBA, nor does postgres call shmat with the SHM_RND flag.  For some
reason the address is ok on NT.

So, Jason, do you have an idea why that happens?  Two questions come to mind:

- How does postgres evaluate that address and why does it only fail on 9x?

- Why does postgres use a fixed address at all, instead of using NULL to
  let the system decide which address to use?


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Co-Project Leader  mailto:[EMAIL PROTECTED]
Red Hat, Inc.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Initdb FATAL error shmat - Win98 Cygwin 1.5.10-3 - PostgreSQL 7.4.3

2004-08-02 Thread Mos
Hi there !
I have a problem to work with PostgreSQL with Cygwin.
My OS is Windows 98 and I install cygwin full package, following numerous 
tutorials available on the Net.

All is fine except, I can not initialize a database :
All is fine until i try to initialize the database :
---
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 failed: Invalid argument
initdb: failed
$
---
Mailing lists or news groups do not provide any solution I guess. Is 
anybody have an idea ?

Several users tell me old Cygwin release (with ipc-dameon2 or ipc-daemon 
work fine). So what the problem now ?

TNX
Mos

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/