Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 76044 - net-www/apache-2.0.52-r1 (stable) fails to create /var/log/apache2
Summary: net-www/apache-2.0.52-r1 (stable) fails to create /var/log/apache2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Apache Team - Bugzilla Reports
URL:
Whiteboard:
Keywords:
: 63822 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-12-29 10:16 UTC by Roman Gaufman
Modified: 2005-02-26 19:44 UTC (History)
1 user (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 Roman Gaufman 2004-12-29 10:16:48 UTC
This is a bug report for the stable version of apache. I know this is fixed in the masked version.

# ls -al /usr/lib/apache2/logs
lrwxrwxrwx  1 root root 16 Dec 29 13:20 /usr/lib/apache2/logs -> /var/log/apache2
# ls /var/log/apache2
ls: /var/log/apache2: No such file or directory

Reproducible: Always
Steps to Reproduce:
Comment 1 Roman Gaufman 2004-12-29 10:18:38 UTC
Oh, and ofcourse:

# /etc/init.d/apache2 start
 * Starting apache2...
(2)No such file or directory: apache2: could not open error log file /usr/lib/apache2/logs/error_log.
Unable to open logs
Comment 2 Lourdes Jones 2005-01-03 05:20:49 UTC
Is this different than bug 71741 (duplicated in bug 75129)?
Comment 3 Roman Gaufman 2005-01-03 11:49:10 UTC
bug 71741 says "fixed in apache-2.0.52-r2." -- I just checked and -r1 is still the latest stable version. I dont use masked software like many (most?) people, so  therefore this is either a request to get this fixed in -r1 or get -r2 unmasked.

Thanks.
Comment 4 Michael Crawford (ali3nx) 2005-01-21 15:40:14 UTC
This is caused by a missing directory symlink from /usr/lib/apache2/log ~~> /var/log/apache2 aswell /var/log/apache2 is not created by either apache or the ebuild while installing. Aswell the ssl engine's mutex dir is missing. see bug 79014
Comment 5 Elfyn McBratney (beu) (RETIRED) gentoo-dev 2005-02-23 22:22:02 UTC
Fixed in CVS (stable - apache-2.0.52-r1).
Comment 6 Michael Stewart (vericgar) (RETIRED) gentoo-dev 2005-02-26 19:44:24 UTC
*** Bug 63822 has been marked as a duplicate of this bug. ***