Search Engine: Elastic

Article ID: 121494, created on May 8, 2014, last review on May 10, 2014

  • Applies to:
  • Plesk Automation 11.1


Apache does not start, faisl with error below:

# less /var/log/httpd/error_log
[emerg] (2)No such file or directory: mod_fcgid: Can't create shared memory for size 1200712 bytes


Absent directory/sub-directories in "/var/run/mod_fcgid".


  1. Check "/etc/httpd/conf.d/fcgid.conf" file for the following lines:

    FcgidIPCDir /var/run/mod_fcgid
    FcgidProcessTableFile /var/run/mod_fcgid/fcgid_shm

This is where you defined the directories to use for making temp files.

  1. Check whether the mentioned directory exist. If it is not so, please create them as below:

    [root@apache ~]# ls -la /var/run/mod_fcgid/
    drwxr-xr-x  3 apache apache 4096 May  7 15:45 .
    drwxr-xr-x 18 root   root   4096 May  6 15:38 ..
    drwxr-xr-x  2 apache apache 4096 Jun 27  2013 sock
  2. Start apache:

    [root@apache ~]# /etc/init.d/httpd start
    Starting httpd:                                            [  OK  ]

c1ecc6010feff26cb42d1d14a7881dd6 e0aff7830fa22f92062ee4db78133079 caea8340e2d186a540518d08602aa065

Email subscription for changes to this article
Save as PDF