1 |
I've wasted two precious days now on this. |
2 |
I'm reverting back to good old apache 2.0.59. |
3 |
|
4 |
I found this link that might help other's |
5 |
http://forums.gentoo.org/viewtopic-t-580341-highlight-apache.html |
6 |
|
7 |
Why does mod_auth_mysql REQUIRE apache 2.2 ?!?! UGH! |
8 |
|
9 |
I added this to my package.mask file: |
10 |
|
11 |
>=www-servers/apache-2.0.99 |
12 |
>=www-apache/mod_auth_mysql-3.0.0-r2 |
13 |
|
14 |
And ran: |
15 |
|
16 |
emerge -av apache mod_auth_mysql php subversion |
17 |
|
18 |
Thank God I have daily backups of all my /etc dir. |
19 |
|
20 |
A few ideas that I thought about that may help someone (or me even in a |
21 |
few months when I am no doubt forced to upgrade apache [again]) is that |
22 |
I think that you need to re-emerge the following things to get this all |
23 |
working, not to mention all the config files you have to touch, and |
24 |
broken links to fix: |
25 |
|
26 |
apache |
27 |
php |
28 |
mod_auth_mysql |
29 |
subversion |
30 |
|
31 |
While hindsight is 20/20, it really would have been helpful if the |
32 |
ebuild script triggered this, or a revdep-rebuild did or SOMETHING was |
33 |
smart enough to look for all the apache2 related stuff and re-compile. |
34 |
|
35 |
Someone in that link above offered a solution: |
36 |
|
37 |
# for i in $(qdepends -CNQ www-servers/apache); do emerge $i; done |
38 |
|
39 |
However, I don't have this "qdepends" thing, so that wasn't very |
40 |
helpful, but I think he's on the right track... |
41 |
|
42 |
-su: qdepends: command not found |
43 |
# eix qdepends |
44 |
No matches found. |
45 |
|
46 |
I have a suspicion that subversion is the key to the initial error I had |
47 |
re: mod_dav_svn. That may seem obvious now, it wasn't when my production |
48 |
server went down. Yeah, you can give me all your finger pointing about |
49 |
"you should have done a test server", etc... Well, some of us are a |
50 |
one-man shop with ONE server, and some VMWares who are trying to |
51 |
maintain a semi-stable system, while actually doing their real work. One |
52 |
"assumes" that "stable" means just that, Lord knows it takes forever for |
53 |
a package to actually be marked as such, you'd think it was worth the |
54 |
wait... |
55 |
|
56 |
...now to figure out why hostapd is taking a crap on my face, ... Oh and |
57 |
why KDE is broken ... *sigh* |
58 |
|
59 |
> -----Original Message----- |
60 |
> From: Daevid Vincent [mailto:daevid@××××××.com] |
61 |
> Sent: Wednesday, September 19, 2007 6:53 PM |
62 |
> To: gentoo-user@l.g.o |
63 |
> Subject: RE: [gentoo-user] apache2 2.2.x fails to start due |
64 |
> to mod_dav_svn.so |
65 |
> |
66 |
> Seriously? Not a single other person has this issue but me? |
67 |
> |
68 |
> Just because my web server has been down for an entire day |
69 |
> due to this, I |
70 |
> decided, OK, I'll just remove the DAV / SVN stuff and at |
71 |
> least get the sites |
72 |
> up. |
73 |
> |
74 |
> I changed the line in conf.d/apache2 to: |
75 |
> APACHE2_OPTS="-D PHP5 -D DEFAULT_VHOST -D INFO -D LANGUAGE -D SSL -D |
76 |
> SSL_DEFAULT_VHOST -D SUEXEC -D AUTH_MYSQL" |
77 |
> |
78 |
> Then took out all the *-trac.conf files from /etc/apache2/vhosts.d |
79 |
> |
80 |
> I had to recompile PHP and mod_auth_mysql as well b/c I got some other |
81 |
> errors. |
82 |
> |
83 |
> Now I get the oh-so-helpful (not): |
84 |
> |
85 |
> # /etc/init.d/apache2 start |
86 |
> * Starting apache2 ... [ !! ] |
87 |
> |
88 |
> Awesome. |
89 |
> |
90 |
> # tail -f error_log |
91 |
> |
92 |
> (2)No such file or directory: apache2: could not open error log file |
93 |
> /usr/lib/apache2/logs/bimagery-error_log. |
94 |
> Unable to open logs |
95 |
> |
96 |
> Oh, so I look, and look at that, no directory or link, and |
97 |
> apache2-extramodules is a broken link to God knows where that went! |
98 |
> |
99 |
> # ll /usr/lib/apache2/ |
100 |
> total 84 |
101 |
> drwxr-xr-x 4 root root 4096 Sep 19 18:37 . |
102 |
> drwxr-xr-x 105 root root 69632 Sep 11 22:49 .. |
103 |
> drwxr-xr-x 2 root root 4096 Sep 7 12:43 build |
104 |
> lrwxrwxrwx 1 root root 29 Sep 12 2005 extramodules -> |
105 |
> /usr/lib/apache2-extramodules |
106 |
> drwxr-xr-x 2 root root 4096 Sep 7 12:43 modules |
107 |
> |
108 |
> apache2 # ln -vs /var/log/apache2 logs |
109 |
> |
110 |
> So now apache2 at least starts. __Still no Trac/SVN__. |
111 |
> |
112 |
> WHAT THE ($#*&@# IS GOING ON! WHY is Apache 2.4 forced upon |
113 |
> me as 'stable' |
114 |
> when it doesn't work and breaks all these modules!? |
115 |
> |
116 |
> > -----Original Message----- |
117 |
> > From: Daevid Vincent [mailto:daevid@××××××.com] |
118 |
> > Sent: Wednesday, September 19, 2007 1:35 AM |
119 |
> > To: gentoo-user@l.g.o |
120 |
> > Subject: [gentoo-user] apache2 2.2.x fails to start due to |
121 |
> > mod_dav_svn.so |
122 |
> > |
123 |
> > Apache was working fine in 2.0.58, then an emerge world |
124 |
> > forced an update |
125 |
> > of apache2 to 2.2.4, now after a reboot, apache won't start! |
126 |
> > |
127 |
> > What's the point of running a 'stable' Gentoo system if it |
128 |
> just keeps |
129 |
> > breaking things??! |
130 |
> > |
131 |
> > *sigh* |
132 |
> > |
133 |
> > It fails on 2.2.4 so I tried 2.2.6 (as it's marked stable too, and |
134 |
> > emerge world wants to do it anyways) and it still fails. |
135 |
> > |
136 |
> > [I] www-servers/apache |
137 |
> > Available versions: (2) 2.0.58-r2 2.0.59-r5 ~2.0.61 2.2.4-r12 |
138 |
> > 2.2.6 |
139 |
> > {apache2 debug doc ldap mpm-event mpm-itk mpm-leader |
140 |
> > mpm-peruser |
141 |
> > mpm-prefork mpm-threadpool mpm-worker no-suexec selinux ssl |
142 |
> > static-modules threads} |
143 |
> > Installed versions: 2.2.6(2)(00:45:36 |
144 |
> 09/19/07)(-debug -doc ldap |
145 |
> > -mpm-event -mpm-itk -mpm-peruser -mpm-prefork -mpm-worker -no-suexec |
146 |
> > -selinux ssl -static-modules -threads) |
147 |
> > Homepage: http://httpd.apache.org/ |
148 |
> > Description: The Apache Web Server. |
149 |
> > |
150 |
> > # /etc/init.d/apache2 start |
151 |
> > * Apache2 has detected a syntax error in your configuration files: |
152 |
> > apache2: Syntax error on line 176 of /etc/apache2/httpd.conf: Syntax |
153 |
> > error on line 3 of /etc/apache2/modules.d/47_mod_dav_svn.conf: API |
154 |
> > module structure 'dav_svn_module' in file |
155 |
> > /usr/lib/apache2/modules/mod_dav_svn.so is garbled - expected |
156 |
> > signature |
157 |
> > 41503232 but saw 41503230 - perhaps this is not an Apache |
158 |
> > module DSO, or |
159 |
> > was compiled for a different Apache version? |
160 |
> > |
161 |
> > Line 3 says: |
162 |
> > |
163 |
> > <IfModule !mod_dav_svn.c> |
164 |
> > LoadModule dav_svn_module modules/mod_dav_svn.so |
165 |
> > </IfModule> |
166 |
> > |
167 |
> > I have the stupid modules and they're all dated tonight (as in just |
168 |
> > built)! |
169 |
> > |
170 |
> > # ll /usr/lib/apache2/modules/mod_dav* |
171 |
> > -rwxr-xr-x 1 root root 86792 Sep 19 00:45 |
172 |
> > /usr/lib/apache2/modules/mod_dav.so |
173 |
> > -rwxr-xr-x 1 root root 41528 Sep 19 00:45 |
174 |
> > /usr/lib/apache2/modules/mod_dav_fs.so |
175 |
> > -rwxr-xr-x 1 root root 13760 Sep 19 00:45 |
176 |
> > /usr/lib/apache2/modules/mod_dav_lock.so |
177 |
> > -rwxr-xr-x 1 root root 115552 Aug 19 18:39 |
178 |
> > /usr/lib/apache2/modules/mod_dav_svn.so |
179 |
> > |
180 |
> > My "/etc/conf.d/apache2" has: |
181 |
> > |
182 |
> > APACHE2_OPTS="-D DEFAULT_VHOST -D INFO -D LANGUAGE -D SSL -D |
183 |
> > SSL_DEFAULT_VHOST -D SUEXEC -D SVN -D SVN_AUTHZ -D DAV -D DAV_FS" |
184 |
> > |
185 |
> > This is what I originally followed to get SVN/Trac working: |
186 |
> > http://www.rockfloat.com/howto/gentoo-subversion.html#add_supp |
187 |
> > ort_to_apa |
188 |
> > che |
189 |
> > |
190 |
> > |
191 |
> > -- |
192 |
> > gentoo-user@g.o mailing list |
193 |
> > |
194 |
> > |
195 |
> |
196 |
> -- |
197 |
> gentoo-user@g.o mailing list |
198 |
> |
199 |
> |
200 |
|
201 |
-- |
202 |
gentoo-user@g.o mailing list |