Postgres 6.4.2 - Mailing list pgsql-bugs

From Mark Kotyk
Subject Postgres 6.4.2
Date
Msg-id 372EA5D5.54E1E9FA@shaw.wave.ca
Whole thread Raw
List 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@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@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;}}

pgsql-bugs by date:

Previous
From: chris@applix.com (Chris Howell)
Date:
Subject: failure of postmaster during installation
Next
From: Unprivileged user
Date:
Subject: General Bug Report: "Create User TestUser IN GROUP group_name" does not add the user to the group.