From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1IYGtn-0000ki-9U for garchives@archives.gentoo.org; Thu, 20 Sep 2007 07:56:35 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l8K7lKiJ028337; Thu, 20 Sep 2007 07:47:20 GMT Received: from outbound.mailhop.org (outbound.mailhop.org [63.208.196.171]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l8K7gmYA023407 for ; Thu, 20 Sep 2007 07:42:49 GMT Received: from c-67-168-161-74.hsd1.wa.comcast.net ([67.168.161.74] helo=daevid.com) by outbound.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1IYGgR-000IBI-56 for gentoo-user@lists.gentoo.org; Thu, 20 Sep 2007 03:42:47 -0400 Received: from [192.168.1.19] (helo=locutus) by daevid.com with esmtpsa (TLSv1:RC4-MD5:128) (Exim 4.67) (envelope-from ) id 1IYGgP-0000Bk-OI for gentoo-user@lists.gentoo.org; Thu, 20 Sep 2007 00:42:45 -0700 X-Mail-Handler: MailHop Outbound by DynDNS X-Originating-IP: 67.168.161.74 X-Report-Abuse-To: abuse@dyndns.com (see http://www.mailhop.org/outbound/abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX1/Zr1F59i3+ZFKGAU6giSEH From: "Daevid Vincent" To: References: <064b01c7fa98$0ceefb70$1301a8c0@locutus> 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 Message-ID: <007901c7fb59$d6183400$1301a8c0@locutus> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138 In-Reply-To: thread-index: Acf6l/mw6XtMg06XTGCO3uK2+93izgAiFKTgAAuE2IA= X-Archives-Salt: 8c8db0da-2e0e-4ed4-82ee-983ecdae927d X-Archives-Hash: fa4767c23d43f782f5970464920f6232 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: > > > > > > LoadModule dav_svn_module modules/mod_dav_svn.so > > > > > > 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