Hi,
After doing so like as above said, it worked for me when tried as 'root' and 'cbsrepl' users. But again for some reason, it started again throwing the same error.
I tried once by having only two lines, just to check whether i can delete previously created one,
use IPC::Shareable; tie $robj->{status}, 'IPC::Shareable', 'data_glue', {create => 0, mode + => 664, destroy => 0}; (tied $robj->{status})->remove();
but after this there was nothing printed on the screen, as there is nothing to print. Then i checked
> ipcs -ma ------ Shared Memory Segments -------- key shmid owner perms bytes nattch stat +us 0x61746164 16187392 root 230 65536 0 ------ Semaphore Arrays -------- key semid owner perms nsems 0x61746164 15630336 root 230 3 ------ Message Queues -------- key msqid owner perms used-bytes messages 0x00001f58 0 root 600 0 0
But still, it looks something remains even after having (tied $robj->{status})->remove();. May be because of this am i getting the error again? If so, how can delete this and take measures to create once again and delete once done?
Thanks in advance,
katharnakh.

In reply to Re^2: IPC::Shareable::SharedMem: shmget: Permission denied by katharnakh
in thread IPC::Shareable::SharedMem: shmget: Permission denied by katharnakh

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.