Need some shmget advice

Поиск
Список
Период
Сортировка
Искать

Need some shmget advice

От:
"Hamilton, Andrew Mr." <HamiltonA@hq.5sigcmd.army.mil>
Дата:
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

Re: Need some shmget advice

От:
The Hermit Hacker <scrappy@hub.org>
Дата:

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 

Re: Need some shmget advice

От:
James Blackwell <innocent@linuxguru.net>
Дата:

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



FAQ