Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 45639

Summary: Apache 2.0.49 fails to set symlink correctly
Product: Gentoo Linux Reporter: Lance Albertson (RETIRED) <ramereth>
Component: Current packagesAssignee: Stuart Herbert (RETIRED) <stuart>
Status: RESOLVED DUPLICATE    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Lance Albertson (RETIRED) gentoo-dev 2004-03-24 13:23:31 UTC
After upgrading to 2.0.49 today, I tried starting apache and it failed on me below.

# /etc/init.d/apache2 start
 * Apache2 has detected a syntax error in your configuration files:
Syntax error on line 22 of /etc/apache2/conf/apache2.conf:
Cannot load /etc/apache2/modules/mod_access.so into server: /etc/apache2/modules/mod_access.so: cannot open shared object file: No such file or directory

After doing some searching, I noticed the symlink for modules in /etc/apache2 was pointing to the wrong directory. It should point to /usr/lib/apache2/modules. It was pointing to /usr/lib/apache2/.

Not sure if this was something wrong on my part of an error in the ebuild.

Note: I just saw your email on -core, Was it supposed to create these symlinks for backwards compatiblity or what?
Comment 1 Lance Albertson (RETIRED) gentoo-dev 2004-03-25 07:16:47 UTC

*** This bug has been marked as a duplicate of 45621 ***