Обсуждение: Need some shmget advice
Architecture: Solaris 2.6 Sparc Compiler: gcc 2.95.1 postgres version postgres-v6.5.3 I am getting this no matter what value I pass to postmaster -B. There is something else going on here. I did have some problems with the compile but got the problems worked out. Any suggestions? IpcMemoryCreate: shmget failed (Invalid argument) key=5432010, size=120, permission=700 IpcMemoryIdGet: shmget failed (No such file or directory) key=5432010, size=120, permission=0 IpcMemoryAttach: shmat failed (Invalid argument) id=-2 FATAL 1: AttachSLockMemory: could not attach segment Regards, Drew Hamilton
what does ipcs -a show?
On Wed, 12 Apr 2000, Hamilton, Andrew Mr. wrote:
> Architecture: Solaris 2.6 Sparc
> Compiler: gcc 2.95.1
> postgres version postgres-v6.5.3
>
> I am getting this no matter what value I pass to postmaster -B. There is
> something else going on here. I did have some problems with the compile but
> got the problems worked out. Any suggestions?
>
> IpcMemoryCreate: shmget failed (Invalid argument) key=5432010, size=120,
> permission=700
> IpcMemoryIdGet: shmget failed (No such file or directory) key=5432010,
> size=120, permission=0
> IpcMemoryAttach: shmat failed (Invalid argument) id=-2
> FATAL 1: AttachSLockMemory: could not attach segment
>
> Regards,
> Drew Hamilton
>
Marc G. Fournier ICQ#7615664 IRC Nick: Scrappy
Systems Administrator @ hub.org
primary: scrappy@hub.org secondary: scrappy@{freebsd|postgresql}.org
On Wed, 12 Apr 2000, Hamilton, Andrew Mr. wrote: > Architecture: Solaris 2.6 Sparc > Compiler: gcc 2.95.1 > postgres version postgres-v6.5.3 > > I am getting this no matter what value I pass to postmaster -B. There is > something else going on here. I did have some problems with the compile but > got the problems worked out. Any suggestions? I'm willing to guess that you're running 2.3.99pre? # mkdir /var/shm # mount -t shm none /var/shm