In addition to the other comments you can probably run something like
ipcs -mato find out what shared memory exists and who owns it. The command might be slightly different depending on your operating system. I'd guess your shared memory already exists belonging to someone else.
In reply to Re: IPC::Shareable::SharedMem: shmget: Permission denied
by mje
in thread IPC::Shareable::SharedMem: shmget: Permission denied
by katharnakh
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |