Gentoo Archives: gentoo-user

From: Daevid Vincent <daevid@××××××.com>
To: gentoo-user@l.g.o
Subject: RE: [gentoo-user] apache2 2.2.x fails to start due to mod_dav_svn.so
Date: Thu, 20 Sep 2007 02:09:38
Message-Id: BRAKAluevz176RbFGIU00000bf6@mx1.lockdownnetworks.com
In Reply to: [gentoo-user] apache2 2.2.x fails to start due to mod_dav_svn.so by Daevid Vincent
1 Seriously? Not a single other person has this issue but me?
2
3 Just because my web server has been down for an entire day due to this, I
4 decided, OK, I'll just remove the DAV / SVN stuff and at least get the sites
5 up.
6
7 I changed the line in conf.d/apache2 to:
8 APACHE2_OPTS="-D PHP5 -D DEFAULT_VHOST -D INFO -D LANGUAGE -D SSL -D
9 SSL_DEFAULT_VHOST -D SUEXEC -D AUTH_MYSQL"
10
11 Then took out all the *-trac.conf files from /etc/apache2/vhosts.d
12
13 I had to recompile PHP and mod_auth_mysql as well b/c I got some other
14 errors.
15
16 Now I get the oh-so-helpful (not):
17
18 # /etc/init.d/apache2 start
19 * Starting apache2 ... [ !! ]
20
21 Awesome.
22
23 # tail -f error_log
24
25 (2)No such file or directory: apache2: could not open error log file
26 /usr/lib/apache2/logs/bimagery-error_log.
27 Unable to open logs
28
29 Oh, so I look, and look at that, no directory or link, and
30 apache2-extramodules is a broken link to God knows where that went!
31
32 # ll /usr/lib/apache2/
33 total 84
34 drwxr-xr-x 4 root root 4096 Sep 19 18:37 .
35 drwxr-xr-x 105 root root 69632 Sep 11 22:49 ..
36 drwxr-xr-x 2 root root 4096 Sep 7 12:43 build
37 lrwxrwxrwx 1 root root 29 Sep 12 2005 extramodules ->
38 /usr/lib/apache2-extramodules
39 drwxr-xr-x 2 root root 4096 Sep 7 12:43 modules
40
41 apache2 # ln -vs /var/log/apache2 logs
42
43 So now apache2 at least starts. __Still no Trac/SVN__.
44
45 WHAT THE ($#*&@# IS GOING ON! WHY is Apache 2.4 forced upon me as 'stable'
46 when it doesn't work and breaks all these modules!?
47
48 > -----Original Message-----
49 > From: Daevid Vincent [mailto:daevid@××××××.com]
50 > Sent: Wednesday, September 19, 2007 1:35 AM
51 > To: gentoo-user@l.g.o
52 > Subject: [gentoo-user] apache2 2.2.x fails to start due to
53 > mod_dav_svn.so
54 >
55 > Apache was working fine in 2.0.58, then an emerge world
56 > forced an update
57 > of apache2 to 2.2.4, now after a reboot, apache won't start!
58 >
59 > What's the point of running a 'stable' Gentoo system if it just keeps
60 > breaking things??!
61 >
62 > *sigh*
63 >
64 > It fails on 2.2.4 so I tried 2.2.6 (as it's marked stable too, and
65 > emerge world wants to do it anyways) and it still fails.
66 >
67 > [I] www-servers/apache
68 > Available versions: (2) 2.0.58-r2 2.0.59-r5 ~2.0.61 2.2.4-r12
69 > 2.2.6
70 > {apache2 debug doc ldap mpm-event mpm-itk mpm-leader
71 > mpm-peruser
72 > mpm-prefork mpm-threadpool mpm-worker no-suexec selinux ssl
73 > static-modules threads}
74 > Installed versions: 2.2.6(2)(00:45:36 09/19/07)(-debug -doc ldap
75 > -mpm-event -mpm-itk -mpm-peruser -mpm-prefork -mpm-worker -no-suexec
76 > -selinux ssl -static-modules -threads)
77 > Homepage: http://httpd.apache.org/
78 > Description: The Apache Web Server.
79 >
80 > # /etc/init.d/apache2 start
81 > * Apache2 has detected a syntax error in your configuration files:
82 > apache2: Syntax error on line 176 of /etc/apache2/httpd.conf: Syntax
83 > error on line 3 of /etc/apache2/modules.d/47_mod_dav_svn.conf: API
84 > module structure 'dav_svn_module' in file
85 > /usr/lib/apache2/modules/mod_dav_svn.so is garbled - expected
86 > signature
87 > 41503232 but saw 41503230 - perhaps this is not an Apache
88 > module DSO, or
89 > was compiled for a different Apache version?
90 >
91 > Line 3 says:
92 >
93 > <IfModule !mod_dav_svn.c>
94 > LoadModule dav_svn_module modules/mod_dav_svn.so
95 > </IfModule>
96 >
97 > I have the stupid modules and they're all dated tonight (as in just
98 > built)!
99 >
100 > # ll /usr/lib/apache2/modules/mod_dav*
101 > -rwxr-xr-x 1 root root 86792 Sep 19 00:45
102 > /usr/lib/apache2/modules/mod_dav.so
103 > -rwxr-xr-x 1 root root 41528 Sep 19 00:45
104 > /usr/lib/apache2/modules/mod_dav_fs.so
105 > -rwxr-xr-x 1 root root 13760 Sep 19 00:45
106 > /usr/lib/apache2/modules/mod_dav_lock.so
107 > -rwxr-xr-x 1 root root 115552 Aug 19 18:39
108 > /usr/lib/apache2/modules/mod_dav_svn.so
109 >
110 > My "/etc/conf.d/apache2" has:
111 >
112 > APACHE2_OPTS="-D DEFAULT_VHOST -D INFO -D LANGUAGE -D SSL -D
113 > SSL_DEFAULT_VHOST -D SUEXEC -D SVN -D SVN_AUTHZ -D DAV -D DAV_FS"
114 >
115 > This is what I originally followed to get SVN/Trac working:
116 > http://www.rockfloat.com/howto/gentoo-subversion.html#add_supp
117 > ort_to_apa
118 > che
119 >
120 >
121 > --
122 > gentoo-user@g.o mailing list
123 >
124 >
125
126 --
127 gentoo-user@g.o mailing list

Replies