Postgres 6.4.2

From: Mark Kotyk <psykotyk(at)shaw(dot)wave(dot)ca>
To: bugs(at)postgreSQL(dot)org
Subject: Postgres 6.4.2
Date: 1999-05-04 07:46:30
Message-ID: 372EA5D5.54E1E9FA@shaw.wave.ca
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Hi there, I'm a big fan of PostgreSQL, and up until recently I've never
had a problem with it.

Whenever I try to start postmaster I get these errors:

[postgres(at)daisy bin]$ postmaster -d 3 -i
FindExec: found "/usr/local/pgsql/bin/postgres" using argv[0]
IpcMemoryCreate: shmget failed (Identifier removed) key=5432010,
size=24588, permission=700
IpcMemoryIdGet: shmget failed (Identifier removed) key=5432010,
size=24588, permission=0
IpcMemoryAttach: shmat failed (Invalid argument) id=-2
FATAL 1: AttachSLockMemory: could not attach segment
proc_exit(0) [#0]
shmem_exit(0) [#0]
exit(0)

My kernel is:
Linux daisy.psyndicate.nws.net 2.2.1 #1 SMP Fri Feb 19 23:56:45 CST 1999
i686 unknown

Everything compiles fine, initdb is good, I've set all my paths, and
environment vars, ran ldconfig etc etc.

Is this an issue with 2.2 kernels?

It shows I have lots of mem free too.

[postgres(at)daisy bin]$ cat /proc/meminfo

total: used: free: shared: buffers: cached:

Mem: 131055616 125128704 5926912 40202240 7626752 41127936

Swap: 133885952 23220224 110665728

MemTotal: 127984 kB

MemFree: 5788 kB

MemShared: 39260 kB

Buffers: 7448 kB

Cached: 40164 kB

SwapTotal: 130748 kB

SwapFree: 108072 kB

I've also tried 6.5 beta, but I got the same error. Any help would be most appreciated.

--
double t,r,i;main(int a,char *b){if(a&32768){t=r*r-i*i+(-2.5+0.0425*(float)((a
&4095)%80));i=2*r*i+(1.25-0.0625*(float)((a&4095)/80));r=t;if((((a>>12)&7)==7)
||(r*r+i*i>49))return(a>>12)&7;else return main(a+4096,b);}else{r=i=0;putchar(
39-main(a|32768,b));if(!(a%80))putchar(10);if(a<3200)main(a+1,b);return 0;}}

Browse pgsql-bugs by date

  From Date Subject
Next Message Atanas Kolev 1999-05-04 09:14:16 Bug report.
Previous Message Unprivileged user 1999-05-03 11:20:56 General Bug Report: Correction: pg_dump sets quotes wrong when dumping groups-acls.