From: "Daevid Vincent" <daevid@daevid.com>
To: <gentoo-user@lists.gentoo.org>
Subject: RE: [gentoo-user] apache2 2.2.x fails to start due to mod_dav_svn.so
Date: Thu, 20 Sep 2007 00:42:15 -0700 [thread overview]
Message-ID: <007901c7fb59$d6183400$1301a8c0@locutus> (raw)
In-Reply-To: <BRAKAluevz176RbFGIU00000bf6@mx1.lockdownnetworks.com>
I've wasted two precious days now on this.
I'm reverting back to good old apache 2.0.59.
I found this link that might help other's
http://forums.gentoo.org/viewtopic-t-580341-highlight-apache.html
Why does mod_auth_mysql REQUIRE apache 2.2 ?!?! UGH!
I added this to my package.mask file:
>=www-servers/apache-2.0.99
>=www-apache/mod_auth_mysql-3.0.0-r2
And ran:
emerge -av apache mod_auth_mysql php subversion
Thank God I have daily backups of all my /etc dir.
A few ideas that I thought about that may help someone (or me even in a
few months when I am no doubt forced to upgrade apache [again]) is that
I think that you need to re-emerge the following things to get this all
working, not to mention all the config files you have to touch, and
broken links to fix:
apache
php
mod_auth_mysql
subversion
While hindsight is 20/20, it really would have been helpful if the
ebuild script triggered this, or a revdep-rebuild did or SOMETHING was
smart enough to look for all the apache2 related stuff and re-compile.
Someone in that link above offered a solution:
# for i in $(qdepends -CNQ www-servers/apache); do emerge $i; done
However, I don't have this "qdepends" thing, so that wasn't very
helpful, but I think he's on the right track...
-su: qdepends: command not found
# eix qdepends
No matches found.
I have a suspicion that subversion is the key to the initial error I had
re: mod_dav_svn. That may seem obvious now, it wasn't when my production
server went down. Yeah, you can give me all your finger pointing about
"you should have done a test server", etc... Well, some of us are a
one-man shop with ONE server, and some VMWares who are trying to
maintain a semi-stable system, while actually doing their real work. One
"assumes" that "stable" means just that, Lord knows it takes forever for
a package to actually be marked as such, you'd think it was worth the
wait...
...now to figure out why hostapd is taking a crap on my face, ... Oh and
why KDE is broken ... *sigh*
> -----Original Message-----
> From: Daevid Vincent [mailto:daevid@daevid.com]
> Sent: Wednesday, September 19, 2007 6:53 PM
> To: gentoo-user@lists.gentoo.org
> Subject: RE: [gentoo-user] apache2 2.2.x fails to start due
> to mod_dav_svn.so
>
> Seriously? Not a single other person has this issue but me?
>
> Just because my web server has been down for an entire day
> due to this, I
> decided, OK, I'll just remove the DAV / SVN stuff and at
> least get the sites
> up.
>
> I changed the line in conf.d/apache2 to:
> APACHE2_OPTS="-D PHP5 -D DEFAULT_VHOST -D INFO -D LANGUAGE -D SSL -D
> SSL_DEFAULT_VHOST -D SUEXEC -D AUTH_MYSQL"
>
> Then took out all the *-trac.conf files from /etc/apache2/vhosts.d
>
> I had to recompile PHP and mod_auth_mysql as well b/c I got some other
> errors.
>
> Now I get the oh-so-helpful (not):
>
> # /etc/init.d/apache2 start
> * Starting apache2 ... [ !! ]
>
> Awesome.
>
> # tail -f error_log
>
> (2)No such file or directory: apache2: could not open error log file
> /usr/lib/apache2/logs/bimagery-error_log.
> Unable to open logs
>
> Oh, so I look, and look at that, no directory or link, and
> apache2-extramodules is a broken link to God knows where that went!
>
> # ll /usr/lib/apache2/
> total 84
> drwxr-xr-x 4 root root 4096 Sep 19 18:37 .
> drwxr-xr-x 105 root root 69632 Sep 11 22:49 ..
> drwxr-xr-x 2 root root 4096 Sep 7 12:43 build
> lrwxrwxrwx 1 root root 29 Sep 12 2005 extramodules ->
> /usr/lib/apache2-extramodules
> drwxr-xr-x 2 root root 4096 Sep 7 12:43 modules
>
> apache2 # ln -vs /var/log/apache2 logs
>
> So now apache2 at least starts. __Still no Trac/SVN__.
>
> WHAT THE ($#*&@# IS GOING ON! WHY is Apache 2.4 forced upon
> me as 'stable'
> when it doesn't work and breaks all these modules!?
>
> > -----Original Message-----
> > From: Daevid Vincent [mailto:daevid@daevid.com]
> > Sent: Wednesday, September 19, 2007 1:35 AM
> > To: gentoo-user@lists.gentoo.org
> > Subject: [gentoo-user] apache2 2.2.x fails to start due to
> > mod_dav_svn.so
> >
> > Apache was working fine in 2.0.58, then an emerge world
> > forced an update
> > of apache2 to 2.2.4, now after a reboot, apache won't start!
> >
> > What's the point of running a 'stable' Gentoo system if it
> just keeps
> > breaking things??!
> >
> > *sigh*
> >
> > It fails on 2.2.4 so I tried 2.2.6 (as it's marked stable too, and
> > emerge world wants to do it anyways) and it still fails.
> >
> > [I] www-servers/apache
> > Available versions: (2) 2.0.58-r2 2.0.59-r5 ~2.0.61 2.2.4-r12
> > 2.2.6
> > {apache2 debug doc ldap mpm-event mpm-itk mpm-leader
> > mpm-peruser
> > mpm-prefork mpm-threadpool mpm-worker no-suexec selinux ssl
> > static-modules threads}
> > Installed versions: 2.2.6(2)(00:45:36
> 09/19/07)(-debug -doc ldap
> > -mpm-event -mpm-itk -mpm-peruser -mpm-prefork -mpm-worker -no-suexec
> > -selinux ssl -static-modules -threads)
> > Homepage: http://httpd.apache.org/
> > Description: The Apache Web Server.
> >
> > # /etc/init.d/apache2 start
> > * Apache2 has detected a syntax error in your configuration files:
> > apache2: Syntax error on line 176 of /etc/apache2/httpd.conf: Syntax
> > error on line 3 of /etc/apache2/modules.d/47_mod_dav_svn.conf: API
> > module structure 'dav_svn_module' in file
> > /usr/lib/apache2/modules/mod_dav_svn.so is garbled - expected
> > signature
> > 41503232 but saw 41503230 - perhaps this is not an Apache
> > module DSO, or
> > was compiled for a different Apache version?
> >
> > Line 3 says:
> >
> > <IfModule !mod_dav_svn.c>
> > LoadModule dav_svn_module modules/mod_dav_svn.so
> > </IfModule>
> >
> > I have the stupid modules and they're all dated tonight (as in just
> > built)!
> >
> > # ll /usr/lib/apache2/modules/mod_dav*
> > -rwxr-xr-x 1 root root 86792 Sep 19 00:45
> > /usr/lib/apache2/modules/mod_dav.so
> > -rwxr-xr-x 1 root root 41528 Sep 19 00:45
> > /usr/lib/apache2/modules/mod_dav_fs.so
> > -rwxr-xr-x 1 root root 13760 Sep 19 00:45
> > /usr/lib/apache2/modules/mod_dav_lock.so
> > -rwxr-xr-x 1 root root 115552 Aug 19 18:39
> > /usr/lib/apache2/modules/mod_dav_svn.so
> >
> > My "/etc/conf.d/apache2" has:
> >
> > APACHE2_OPTS="-D DEFAULT_VHOST -D INFO -D LANGUAGE -D SSL -D
> > SSL_DEFAULT_VHOST -D SUEXEC -D SVN -D SVN_AUTHZ -D DAV -D DAV_FS"
> >
> > This is what I originally followed to get SVN/Trac working:
> > http://www.rockfloat.com/howto/gentoo-subversion.html#add_supp
> > ort_to_apa
> > che
> >
> >
> > --
> > gentoo-user@gentoo.org mailing list
> >
> >
>
> --
> gentoo-user@gentoo.org mailing list
>
>
--
gentoo-user@gentoo.org mailing list
next prev parent reply other threads:[~2007-09-20 7:56 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-19 8:35 [gentoo-user] apache2 2.2.x fails to start due to mod_dav_svn.so Daevid Vincent
2007-09-20 1:52 ` Daevid Vincent
2007-09-20 6:41 ` Naga
2007-09-20 7:49 ` Daevid Vincent
2007-09-20 7:42 ` Daevid Vincent [this message]
2007-09-20 7:56 ` [gentoo-user] " Remy Blank
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='007901c7fb59$d6183400$1301a8c0@locutus' \
--to=daevid@daevid.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox