On Thu, Feb 11, 1999 at 09:26:45AM +0100, Tobias Lehtipalo wrote:

>       I recently compiled Postgresql 6.4.2. on an SGI machine running
> IRIX 6.4. When I tried to initialize the database I got a core dump due to
> memory fault. It seems that other people running IRIX 6.4 has had similiar
> problems and one suggestion is that the problem arisis because IRIX 6.4
> does not allow shared memory locks by none root processes. Unfortunately I
> have no authority over the IRIX system so I upgrading to IRIX 6.5 is not an
> option right now.
> 
> Is there anyone in the postgresql community that has been able to solve
> this problem? I would sincenrely appriciate any suggestions.

What compiler / compile options do you use. And what is your setting of 
the SGI_ABI environment variable?

I have successfully compiled PostgreSQL 6.4.2 on a SGI Octane running
Irix 6.4 -- successfully at least to the point that I could run the
regression test, so initdb did work for me. Unfortunately, I don't
remember too much about how I did this... I think, there is no irix6
config option, so I somehow used the irix5 one. My configure options
must have been something like --with-CC=cc --with-odbc --without-CXX.
It may be that I had set SGI_ABI to n32.

I don't think that Irix disallows shared memory for non-root processes
in general, but it may be that there is some "security" option to do
this. Perhaps, you could talk to the admin of that machine and ask if
s/he can check this out.

Greetinx, Jan
-- 
 +- Jan T. Kim -------------------------------------------------------+
 |             email: [EMAIL PROTECTED]                           |
 |             WWW:   http://www.mpiz-koeln.mpg.de/~kim/              |
 *-----=<  hierarchical systems are for files, not for humans  >=-----*

Reply via email to