Bug 136882

Summary: apache2 will not start after default installation
Product: [openSUSE] SUSE Linux 10.1 Reporter: Martin Mrazik <mmrazik>
Component: NetworkAssignee: Peter Poeml <poeml>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P5 - None    
Version: Alpha 3plus   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: /var/log/apache2/error_log

Description Martin Mrazik 2005-12-05 11:40:32 UTC
this is probably problem of apache2-mod_perl.

After installation of SL10.1 Alpha3plus I am unable to start apache2. See the attached /var/log/apache2/error_log.
Comment 1 Martin Mrazik 2005-12-05 11:41:25 UTC
Created attachment 59803 [details]
/var/log/apache2/error_log
Comment 2 Peter Poeml 2005-12-12 11:17:50 UTC
There is an error in the here document in apache2-mod_perl.spec, which
creates the startup file. In the line
  if ( ! $ENV{MOD_PERL}) { die "GATEWAY_INTERFACE not Perl!"; }
the dollar sign is not quoted.

Now, for some reason, this no longer evaluates to "" in STABLE, but
rather to "/etc/bash.bashrc" instead.
Werner, do you have any idea what causes (independently of this bug here)
that change? Is that a bug?

The diff of the old startup file and the one in STABLE is:

@@ -1,6 +1,6 @@
   # Taken from http://perl.apache.org/docs/2.0/user/handlers/server.html#Startup_File
 
-  if ( ! {MOD_PERL}) { die "GATEWAY_INTERFACE not Perl!"; }
+  if ( ! /etc/bash.bashrc{MOD_PERL}) { die "GATEWAY_INTERFACE not Perl!"; }
 
   use lib qw(/srv/www/perl-lib);
 

Comment 3 Peter Poeml 2006-01-25 16:26:21 UTC
Werner, if you have no idea, or don't see a reason to investigate,
feel free to close the bug. The wrong startup file has been fixed
already.
Comment 4 Ihno Krumreich 2006-04-24 12:16:06 UTC
Status of the bug?
Comment 5 Peter Poeml 2006-04-24 15:10:03 UTC
I would have liked a comment from Werner on the shell issue, but anyway
the issue is fixed, and I close the bug.