the shm facility uses files in /tmp for its communication
(so much for memory speed). look in /tmp for the files created.

I hestitate to recommend using strace on  postmaster but it may provide
some clues....

On Thu, 30 Mar 2000, Niall Dalton wrote:

> Hi,
> 
> > One assumes you are running Linux.
> Yes, sorry for not being clear.
> Kernel 2.2.12-20smp.
> 
> 
> > shm is provided by iBCS .
> > make sure that it is loaded (use lsmod).
> Yes, it is loaded, as shown below, but I still
> get permission denied errors.
> 
> 
> [postgres@machine postgres]$ /sbin/lsmod
> Module                  Size  Used by
> iBCS                  117824   0 
> eepro100               12272   1  (autoclean)
> st                     24960   0  (unused)
> aic7xxx               112304   6 
> [postgres@machine postgres]$ /usr/local/pgsql/bin/postmaster -D
> /usr/local/pgsql/data
> IpcMemoryCreate: shmget failed (Permission denied) key=5432010,
> size=120, permission=700
> IpcMemoryAttach: shmat failed (Permission denied) id=3201
> FATAL 1:  AttachSLockMemory: could not attach segment
> [postgres@statler postgres]$ 
> 
> 
> Thanks for the help,
> Niall
> 

Reply via email to