apache2.2-common: mod_cgid fills error.log with [error] lines
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Debian |
Fix Released
|
Unknown
|
|||
apache2 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: apache2-common
I found that on my Ubuntu 7.04, Apache's error.log contains a lot (many per second) of error lines like:
[Thu Aug 09 19:08:45 2007] [error] cgid daemon process died, restarting
[Thu Aug 09 19:08:45 2007] [error] (2)No such file or directory: Couldn't bind unix domain socket /var/run/
Disabling mod_cgid (that was installed by default on my Feisty) and restarting Apache stops the file growth.
Digging into the problem I noticed that /etc/apache2/
# Socket for cgid communication
ScriptSock /var/run/
but, /var/run/apache2/ doesn't exist. Creating it or a change in cgid.conf specifying a valid directory has solved the problem.
To reproduce this behaviour it's enough to run Apache and look at the above cited lines in error.log.
The same happens in Ubuntu 6.06LTS Apache/2.0.55 (reference https:/
Thank you for taking the time to report this bug and helping to make Ubuntu better.
I cannot reproduce your issue. The directory /var/run/apache2 should be created whenever apache2 is started with its init script.
Did this start to happen after an upgrade from apache2 ?