Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 89217 - Bad Apache2 module configuration of www-apache/mod_fcgid...
Summary: Bad Apache2 module configuration of www-apache/mod_fcgid...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Lance Albertson (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-15 13:26 UTC by Jiri Tyr
Modified: 2005-04-19 12:08 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Tyr 2005-04-15 13:26:14 UTC
After emerge www-apache/mod_fcgid can not restart (start) apache2.

Reproducible: Always
Steps to Reproduce:
1. emerge www-apache/mod_fcgid
2. /etc/init.d/apache2 restart

Actual Results:  
 * Stopping apache2...
Syntax error on line 3 of /usr/lib/apache2/conf/modules.d/20_mod_fcgid.conf:
Cannot load /usr/lib/apache2/modules/mod_fcgid.so into server:
/usr/lib/apache2/modules/mod_fcgid.so: cannot open shared object file: No such
file or di  [ ok ]
 * Apache2 has detected a syntax error in your configuration files:
Syntax error on line 3 of /usr/lib/apache2/conf/modules.d/20_mod_fcgid.conf:
Cannot load /usr/lib/apache2/modules/mod_fcgid.so into server:
/usr/lib/apache2/modules/mod_fcgid.so: cannot open shared object file: No such
file or directory


Expected Results:  
Restarting of Apache2.

Pleas change in /etc/apache2/conf/modules.d/20_mod_fcgid.conf line
LoadModule fcgid_module modules/mod_fcgid.so
to
LoadModule fcgid_module extramodules/mod_fcgid.so
Comment 1 Lance Albertson (RETIRED) gentoo-dev 2005-04-15 16:16:06 UTC
Commited. Sorry I didn't catch that before!
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-04-15 20:14:25 UTC
Uhm, no - this is incompatible with ~x86 Apache versions! Please revert this back. And also the ebuild installs this into wrong location. It should inherit apache-module. 

See Bug 76457. 
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2005-04-15 21:26:43 UTC
One more comment. Bug 79313 contains a perfectly valid, apache-module eclass compliant ebuild. Why this one has not been commited just evades me. There has been a _lot_ of mess with the whole Apache refresh and now a _new_ incompatible ebuild gets into portage. 

People running ~arch Apache run ~arch Apache modules, because this is the only way to keep the whole thing working. Now we have ~x86 mod_fcgid which installs into bogus directory and is "fixed" to contain bogus conf file. This just makes no sense. 

I *really beg* - please do not introduce more problems. Don
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2005-04-15 21:26:43 UTC
One more comment. Bug 79313 contains a perfectly valid, apache-module eclass compliant ebuild. Why this one has not been commited just evades me. There has been a _lot_ of mess with the whole Apache refresh and now a _new_ incompatible ebuild gets into portage. 

People running ~arch Apache run ~arch Apache modules, because this is the only way to keep the whole thing working. Now we have ~x86 mod_fcgid which installs into bogus directory and is "fixed" to contain bogus conf file. This just makes no sense. 

I *really beg* - please do not introduce more problems. Don´t confuse people even more. This whole thing has done enough damage already. :-/
Comment 5 Lance Albertson (RETIRED) gentoo-dev 2005-04-15 21:50:06 UTC
Since the ~ apache is still being worked on, this ebuild was commited to work with the stable ebuild for apache (our nodes are using this version of apache thus I needed that). Also, since the eclass you mention isn't backwards compatible with the old apache ebuild, I can't use that eclass yet. This ebuild is marked ~ because its the initial commit of it. I don't see the point of using the new layout until it actually gets committed as stable. For now I can modify the ebuild so that you can only install it unless you are using the stable version of apache.

I haven't been pleased with this whole mess myself but we just have to be patient and deal. I don't see how I can incorporate both types of installs in one ebuild without making a huge mess. So for now, this ebuild will just work for the current stable release of apache. If you woudl like to use the other ebuild and test it, please do that as we'll be using that once the apache updates have been all stablized.
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2005-04-16 02:56:45 UTC
Thanks for reply. Please, add the Apache version check (like mod_php did) so that this ebuild only installs to stable (old layout or whatever) Apache and close the bug then. Otherwise, I like this one. ;-)
Comment 7 Lance Albertson (RETIRED) gentoo-dev 2005-04-16 05:44:46 UTC
Ok, I'll probably get to that later tonight as I'm working all day today. Thanks for the info!
Comment 8 Lance Albertson (RETIRED) gentoo-dev 2005-04-17 15:52:35 UTC
Ok, I commited the fix so that it only installs if you're using the current stable apache2 ebuild. Let me know how this works.
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2005-04-19 04:10:34 UTC
Seems to work fine so far. Thanks for the ebuild - mod_fastcgi sucks. ;-)
Comment 10 Lance Albertson (RETIRED) gentoo-dev 2005-04-19 12:08:57 UTC
Great, glad it works!