We were changing a website php.ini file setting this morning and after applying it. Apache failed to start. Here is the error we were getting any help on it would be great.
[Fri Dec 18 09:35:22 2009] [notice] suEXEC mechanism enabled (wrapper: /usr/local/sbin/suexec) [Fri Dec 18 09:35:23 2009] [emerg] (12)Cannot allocate memory: mod_fcgid: Can't create share memory for size %zu byte
Here is the shared memory Shared Memory: T ID KEY MODE OWNER GROUP CREATOR CGROUP NATTCH SEGSZ CPID LPID ATIME DTIME CTIME m 65536 5432001 --rw------- pgsql pgsql pgsql pgsql 2 33144832 947 947 9:44:57 13:50:01 9:44:57 m 131073 23057828 --rw------- root wheel root wheel 24 337192 1595 1595 9:48:20 13:50:11 9:48:20
I don't have any databases using pgsql and don't plan on offering it infact virtualmin doesn't even know about it. Could I just stop it? Not sure if this will help or not I maybe going down the wrong path.
Comments
Submitted by andreychek on Fri, 12/18/2009 - 14:03 Comment #1
Hrm, I haven't seen an error like that before. Typically, nothing about the Postgres should prevent Apache from starting.
I have a suspicion the actual problem is elsewhere, but I'm not sure at the moment :-)
However, yes, you can certainly remove Postgres (pgsql). I don't use that on my system either, and it's not a bad idea to remove unused services.
If that doesn't help, let us know and we can figure out what else is going on there.
Submitted by JamieCameron on Fri, 12/18/2009 - 14:59 Comment #2
A google search on that error message in instructive .. have a look at :
http://www.google.com/search?source=ig&hl=en&rlz=1G1GGLQ_ENUS355&q=mod_f...'t+create+share+memory+for&aq=f&oq=&aqi=
and
http://www.mail-archive.com/mod-fcgid-users@lists.sourceforge.net/msg000...