Hi, in previous versions of apache (apache < 2.2), mod_fcgid works without problems in apache. Now, Apache2 do not create a symlink in /usr/lib/apache2/logs pointing to /var/log/apache. If you do not configure your apache.conf adding something like this: <IfModule mod_fcgid.c> SocketPath <path to socket> SharememPath <path to shared memory file> </IfModule> it tries to use both /usr/lib/apache2/logs/fcgid_shm (for shared memory) and /usr/lib/apache2/logs/fcgidsock (for socket). As it does not exists (remember, the symlink\directory 'logs' does not exists in /usr/lib/apache2), apache does not start. There are some solutions for this: 1. Patch mod_fcgid: ------------------- Lines 19 and 20 of mod_fcgid.c has the links hardcoded: #define DEFAULT_SOCKET_PREFIX "logs/fcgidsock" #define DEFAULT_SHM_PATH "logs/fcgid_shm" Here is the place to put the "new" right paths for it. 2. Modify apache's ebuild ----------..-------------- Apache's ebuild makes a symlink from /usr/lib/apache2/logs to /var/log/apache 3. Modify /etc/apache/modules.d/20_mod_fcgid.conf ------------------------------------------------- Adding something like this to that file: SocketPath /var/log/apache2/fcgidsock SharememPath /var/log/apache2/fcgid_shm
(In reply to comment #0) > Adding something like this to that file: > SocketPath /var/log/apache2/fcgidsock > SharememPath /var/log/apache2/fcgid_shm Victor, I rev-bumped mod_fcgid-2.1 and included the above Path's with it. Hope that fixes your issues w/ apache-2.2.4. (Feel free to reopen if it isn't fixed as usual.)
Hi, works fine now Christian. Thanks for all.
This bug has been added again in www-apache/mod_fcgid-2.1-r2. The way to fix it is the same that the previous.
fixed again, sorry for removing it. just remeger -r2