Return-Path: postarch
Received: by postgres.Berkeley.EDU (5.61/1.29)
	id AA05022; Mon, 15 Jun 92 09:24:55 -0700
Message-Id: <9206151624.AA05022@postgres.Berkeley.EDU>
From: postarch (Postgres Mailing Archive)
Subject: Re: Problems with postgres
To: postgres@postgres.berkeley.edu
Sender: pg_adm@postgres.berkeley.edu
Reply-To: mer@postgres.berkeley.edu
In-Reply-To: Your message of "Wed, 10 Jun 92 16:57:13 PDT."
             <9206102357.AA19667@postgres.Berkeley.EDU> 
Date: Mon, 15 Jun 92 09:24:44 PDT

you write:

> I recently upgraded to SunOS 4.1.2 and now postgres doesn't seem to want 
> to run.  
> 
> I startup postmaster in the rc.local file but it core dumps with a memory
> violation.  After the system boots, as root I start up postmaster by hand
> and it runs or seems to.  
> 
> I then try to create the first database.
> 
> ~/postgres/bin/createdb postgres as user postgres
> and get the following error message:
> 
> FATAL 1:Jun 9 08:40:31:AttachSLockMemory: could not attach segment
> 
> createdb: database creation failed on postgres.
> 
> I have reconfigured the kernel and rebooted using it.
> 
> Any clues out there??

I run postgres under SunOs 4.1.2 on our sparc I and things have worked fine.
Are you starting the postmaster as root?  You might try starting as postgres. 
Failing this, you can try (saving your data directory) reinstalling from
scratch.


Jeff Meredith
mer@postgres.berkeley.edu
