Bug#456576: Apache2 don't start because file /etc/apache2/mods-available/alias.conf is not found
Package: apache2 Version: 2.2.6-3 Severity: important When the apache2 service is starting, I had an error saying that the following line Include /etc/apache2/mods-enabled/*.conf in the apache2.conf file can't be executed because the file /etc/apache2/mods-available/alias.conf can not be found. In fact, in my case, it was because the link to the alias was bad, figuring a single dot . instead of a normal .. like I show in the lines below : The link was : alias.conf - ./mods-available/alias.conf instead of alias.conf - ../mods-available/alias.conf in the mods-enabled directory so the link doesn't link to the right file -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.22-1-686 (SMP w/1 CPU core) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages apache2 depends on: ii apache2-mpm-prefork 2.2.6-3Traditional model for Apache HTTPD apache2 recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#456576: Apache2 don't start because file /etc/apache2/mods-available/alias.conf is not found
Hi, On Sunday 16 December 2007, Clément Bâty wrote: In fact, in my case, it was because the link to the alias was bad, figuring a single dot . instead of a normal .. like I show in the lines below : the link should normally be created with the a2enmod script, which does the correct link to ../mods-available/* . In fact, I could not find any script in the apache2 packages that contains a reference to ./mods-available . So either you created that link manually and mistyped it or there might be a postinstall script of a different package (third party module, webapp) that conatins a typo. To find the latter, grep mods-available /var/lib/dpkg/info/*inst might help. Cheers, Stefan