Has anyone seen this error : Cannot create shared memory error No. 13  ?

Posted on 2006-05-19
Last Modified: 2013-12-16
We're running Linux kernel 2.4.21 and we keep running into this error when attempting to start a particular process:

Cannot create shared memory error No. 13  

Has anyone seen this before?
Question by:hackesea
    LVL 43

    Accepted Solution

    errno == 13 means Permission denied.
    Possibly another proccess already create shm with same key, but You have no right to attach to it.
    try straceing the process (strace -f ./processimage.exe)
    also check, if there is already smh: ipcs -m
    LVL 22

    Assisted Solution

    "Has anyone seen this error?"

    It went that way ---------------->

    More seriously, this may be a permissions issue. What is the process? HAve you run it successfully before on this system?

    If you run it as 'root', does it work? Does it need to run as work) In which case you may need to change file ownership, and perhaps suid the binary?

    Are there any log files for this proces? (In local directory or /var/log/process), and can they be made more vebose?

    Just a few ideas about where to look....or enable you to find more information for the experts here to work on.


    Featured Post

    What Is Threat Intelligence?

    Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

    Join & Write a Comment

    I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
    SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
    Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
    Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

    729 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now