fails to start apache if module_setenvif is disabled

Bug #260620 reported by Denis Hofmann
8
Affects Status Importance Assigned to Milestone
twiki (Ubuntu)
Triaged
Low
Unassigned

Bug Description

Binary package hint: twiki

apache config :
syntax error on line 18 of /etc/apache2/conf.d/twiki.conf :
Invalid command 'BrowserMatchNoCase'....
I also tried with manul installation, same problem

ProblemType: Package
Architecture: i386
Date: Sat Aug 23 12:10:43 2008
DistroRelease: Ubuntu 8.04
ErrorMessage: le sous-processus post-installation script a retourné une erreur de sortie d'état 1
NonfreeKernelModules: fglrx
Package: twiki 1:4.1.2-3.1ubuntu1
PackageArchitecture: all
SourcePackage: twiki
Title: package twiki 1:4.1.2-3.1ubuntu1 failed to install/upgrade: le sous-processus post-installation script a retourné une erreur de sortie d'état 1
Uname: Linux 2.6.24-19-generic i686

TEST CASE:
sudo apt-get install twiki
sudo rm /etc/apache2/mods-enabled/setenvif.load
sudo invoke-rc.d apache2 restart

Lastest Package Tested:
1:4.1.2-3.2ubuntu1

WORKAROUND:
sudo ln -sf ../mods-available/setenvif.conf /etc/apache2/mods-enabled/setenvif.conf
sudo ln -sf ../mods-available/setenvif.load /etc/apache2/mods-enabled/setenvif.load

NEXT STEP:
decide whether the BrowserMatchNoCase directives should be wrapped in <IfModule mod_setenvif.c /> tags.

Revision history for this message
Denis Hofmann (linux-denishofmann) wrote :
Revision history for this message
Kjell Braden (afflux) wrote :

This is because of the module setenvif not being enabled in your apache configuration.
You may be able to work around this issue by running the following commands:

cd /etc/apache2/mods-enabled/
sudo ln -sf ../mods-available/setenvif.load
sudo ln -sf ../mods-available/setenvif.conf

Changed in twiki:
importance: Undecided → Low
status: New → Triaged
description: updated
Revision history for this message
Denis Hofmann (linux-denishofmann) wrote : Re: [Bug 260620] Re: package twiki 1:4.1.2-3.1ubuntu1 failed to install/upgrade: le sous-processus post-installation script a retourn? une erreur de sortie d'?tat 1

Many thanks for quick answer ! 2 minutes later it works.
It's a remaining lack for software installation : what is needed is
a configuration check up and default settings for sofware to install.
With regards,
Denis Hofmann

Kjell Braden a écrit :
> This is because of the module setenvif not being enabled in your apache configuration.
> You may be able to work around this issue by running the following commands:
>
> cd /etc/apache2/mods-enabled/
> sudo ln -sf ../mods-available/setenvif.load
> sudo ln -sf ../mods-available/setenvif.conf
>
> ** Changed in: twiki (Ubuntu)
> Importance: Undecided => Low
> Status: New => Triaged
>
> ** Summary changed:
>
> - package twiki 1:4.1.2-3.1ubuntu1 failed to install/upgrade: le sous-processus post-installation script a retourn? une erreur de sortie d'?tat 1
> + fails to start apache if module_setenvif is disabled
>
> ** Description changed:
>
> Binary package hint: twiki
>
> apache config :
> syntax error on line 18 of /etc/apache2/conf.d/twiki.conf :
> Invalid command 'BrowserMatchNoCase'....
> I also tried with manul installation, same problem
>
> ProblemType: Package
> Architecture: i386
> Date: Sat Aug 23 12:10:43 2008
> DistroRelease: Ubuntu 8.04
> ErrorMessage: le sous-processus post-installation script a retourné une erreur de sortie d'état 1
> NonfreeKernelModules: fglrx
> Package: twiki 1:4.1.2-3.1ubuntu1
> PackageArchitecture: all
> SourcePackage: twiki
> Title: package twiki 1:4.1.2-3.1ubuntu1 failed to install/upgrade: le sous-processus post-installation script a retourné une erreur de sortie d'état 1
> Uname: Linux 2.6.24-19-generic i686
> +
> +
> + TEST CASE:
> + sudo apt-get install twiki
> + sudo rm /etc/apache2/mods-enabled/setenvif.load
> + sudo invoke-rc.d apache2 restart
> +
> + Lastest Package Tested:
> + 1:4.1.2-3.2ubuntu1
> +
> + WORKAROUND:
> + sudo ln -sf ../mods-available/setenvif.conf /etc/apache2/mods-enabled/setenvif.conf
> + sudo ln -sf ../mods-available/setenvif.load /etc/apache2/mods-enabled/setenvif.load
> +
> + NEXT STEP:
> + decide whether the BrowserMatchNoCase directives should be wrapped in <IfModule mod_setenvif.c /> tags.
>
>

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.