Re: [ADMIN] Error starting postmaster

From: Benjamin Gonay <us066182(at)ltlg1(dot)is(dot)belgacom(dot)be>
To: Gregg Berkholtz <gregg(at)gbcomputers(dot)com>
Cc: "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgreSQL(dot)org>
Subject: Re: [ADMIN] Error starting postmaster
Date: 1999-01-04 08:59:11
Message-ID: Pine.LNX.3.96.990104095646.5455F-100000@ltlg1.bc
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi Gregg,

Try to remove the old ipc from system memory using the 'ipcrm' command.
(You can view ipcs with the 'ipcs' command, see man's if troubles)

Hope this help you...

On Sun, 3 Jan 1999, Gregg Berkholtz wrote:

> I am running Slackware 3.5, PostgreSQL 6.4.
> I was able to start and run PostgreSQL and run the initial regression
> test with only a failure in geometry and misc.
> Overall it worked well.
> I kill the postmaster process.
>
> I got an error:
> FATAL: StreamServerPort: bind() failed: errno=98
> Is another postmaster already running on that port?
> If not, remove socket node (/tmp/.s.PGSQL.5432) and retry
>
> I deleted this .s.PGSQL.5432 file and am now getting this error on
> startup:
> IpcMemoryCreate: shmget failed (Identifier removed) key=5432010,
> size=24588, per
> mission=700
> IpcMemoryIdGet: shmget failed (Identifier removed) key=5432010,
> size=24588, perm
> ission=0
> IpcMemoryAttach: shmat failed (Invalid argument) id=-2
> FATAL 1: AttachSLockMemory: could not attach segment
>
> I have also tried deleting the '/usr/local/pgsql/data' directory and
> then run initdb again -- didn't work.
>
> Any help please -- thanks greatly!
> --
> -----------------------------------------------------
> ///////////// Gregg Berkholtz - Owner/Consultant
> | G B | PC, Novell, and Linux Support/Sales
> | Computers | info: www.gbcomputers.com
> \\\\\\\\\\\\\
>
>

Cybersalutations.
Benjamin Gonay
---------------------------------------------------------------------------
_/ Email internet : Benjamin(dot)Gonay(at)ltlg1(dot)is(dot)belgacom(dot)be _/
_/ ~~ Soyons realistes, exigeons l'impossible. (E. Che Guevara) ~~ _/
_/ - - [Belgium - Liege] - - - - - - - - - - - - - - - - - - - - - - - _/
_/ linux forever...Linux Forever...LINUX Forever...LINUX FOREVER !!!!! _/
---------------------------------------------------------------------------

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Jan Wieck 1999-01-04 09:15:13 Re: [ADMIN] Log, via triggers.
Previous Message Gregg Berkholtz 1999-01-03 23:55:55 Error starting postmaster