Skip to main content
Participant
November 13, 2006
Question

1228 Failed to create process mutex.

  • November 13, 2006
  • 4 replies
  • 1294 views
I have FMS installed on a RHE 3 vps. The admin and edge servers runs fine. netstat shows ports 1111 and 1935 are listening. Problem is, in the process list fmscore always comes up [defunct]. When I look at var/logs/messages the only thing that I can see that could be causing problems is :

1228 Failed to create process mutex.

Can anyone give me more information about what this means, and how to fix it? Any help would be much appreciated.

-Ian

    This topic has been closed for replies.

    4 replies

    Participant
    February 5, 2009
    You usually get the "Failed to create process mutex" error message in /var/log/syslog if the FMS user (the one specified in fms.ini with the SERVER.PROCESS_UID and SERVER.PROCESS_GID parameters) has no write permission to the ${FMS_DIR}/tmp directory (where FMS_DIR is the directory where you installed FMS in - usually /opt/adobe/fms). Don't forget to check the whole path leading to that "tmp" directory!
    If the user has no permission to enter eg. /opt/adobe, then it will not be able to reach the /opt/adobe/fms/tmp directory either.

    To check the permissions on your setup, run the following command sequence as root (replace ${FMS_USER} with the name of the OS user that FMS is running with and ${FMS_TMP_DIR} with the path of the "tmp" subdir in your FMS directory):

    su - ${FMS_USER} -s /bin/bash
    for path_element in $(echo "${FMS_TMP_DIR}" | tr '/' ' '); do fms_path=${fms_path}/${path_element}; if [ ! -x "${fms_path}" ]; then echo "Error: execute permission is needed on directory ${fms_path}"; fi; done

    This sets the current user to ${FMS_USER} and checks each directory in the path of ${FMS_TMP_DIR} for accessibility by that user. Repeat running the script each time you fix a permission error. Keep repeating until you can run the script without any error messages.

    You can mimic the script's behaviour manually with something like this (assuming the user is "fms" and the directory is "/opt/adobe/fms/tmp"):

    su - fms -s /bin/bash
    cd /opt
    cd /opt/adobe
    cd /opt/adobe/fms
    cd /opt/adobe/fms/tmp

    If any of the "cd" commands gives a "permission denied", then fix it by adding the required permissions. Usually you would set something like this:
    chown root.root /opt /opt/adobe
    chmod u=rwx,go=rx /opt /opt/adobe
    chown -R fms.fms /opt/adobe/fms
    chmod -R u+rwX,go+rX /opt/adobe/fms

    And of course to create a file in that "tmp" dir, the FMS user has to have write permissions to the "tmp" dir too.
    June 27, 2008
    hey Jay et al,

    I too had the defunt issue and spoke with FMS tech at Adobe who said "Hmm, it is failing to create a fiber. That is definitely new in FMS3. But not sure why it would cause a crash." He wasn't able to give me any additional information yet but I am just wondering if anyone else has seen this problem. If they have, please post and maybe we can get this bug/issue fixed.

    For me changing the UID/GID to 0 (root) didn't fix the problem. fmsadmin and fmscore/edge/master all start under root. I am running Gentoo Linux however which is different from this specific post.
    September 7, 2007
    I've only seen that once before. It had to do with the user FMS and the FMS admin service were running under. The problem turned out to be that FMS was running as one user, and FMS Admin was running as another. They need to run as the same user.
    Participant
    September 6, 2007
    Did you resolved that problem ?

    I have same problem...