[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Error loading mod_dav_svn

From: Itamar O <itamarost_at_gmail.com>
Date: Wed, 7 Jul 2010 20:54:57 +0300

Hi list,

I am administering the Subversion server on my organizational intranet,
and have been running SVN 1.5.6 (from the collabnet package) on
Windows Server 2003 with Apache 2.2.11 with no issues.

Recently we have purchased a newer server hardware with Windows Server
2008 64-bit,
and I started working on it to set up a new subversion (and Trac)
server to replace the older one.
After installing everything things seemed to work fine, and I managed to
create and use a sandbox repository successfully (that was about 10 days ago).
That is until yesterday I tried restarting the Apache service,
and suddenly got an Apache error about not being able to load mod_dav_svn.
The only thing that changed was a Trac plugin I just installed, which
seems unrelated.

Full details follow, to help you help me :-)
Server is Dual-Quad-Core 64-bit.
Installation:
1. Python 2.6.5 (for Trac)
2. VisualSVN Server 2.1.2 (with Subversion 1.6.11, arrives built-in
with Apache 2.2.13)
   after installation I have disabled the VisualSVN service, because I
wanted to use a clean Apache.
3. Apache HTTP server 2.2.15.
   additional modules: mod_wsgi (for Trac), mod_sspi (for authentication)
   mod_dav_svn.so & mod_authz_svn.so copied from VisualSVN
installation to the Apache modules directory.
4. svn-python bindings 1.6.5

when LoadModule ... modules/mod_dav_svn.so is in the configuration
file, here's a snippet from the error log after a server restart:
(of course the server is not started successfully after this)

[Wed Jul 07 19:12:58 2010] [notice] Parent: Received restart signal --
Restarting the server.
[Wed Jul 07 19:12:58 2010] [notice] Child 3980: Exit event signaled.
Child process is ending.
httpd.exe: Syntax error on line 40 of C:/Program Files (x86)/Apache
Software Foundation/Apache2.2/conf/httpd.conf: Cannot load C:/Program
Files (x86)/Apache Software
Foundation/Apache2.2/modules/mod_dav_svn.so into server: The specified
module could not be found.
[Wed Jul 07 19:12:58 2010] [warn] (OS 995)The I/O operation has been
aborted because of either a thread exit or an application request. :
winnt_accept: Asynchronous AcceptEx failed.
[Wed Jul 07 19:12:58 2010] [info] Child 3980: Accept thread exiting.
[Wed Jul 07 19:12:59 2010] [notice] Child 3980: Released the start mutex
[Wed Jul 07 19:12:59 2010] [info] Child 3980: 64 threads blocked on
the completion port
[Wed Jul 07 19:13:00 2010] [notice] Child 3980: All worker threads have exited.
[Wed Jul 07 19:13:00 2010] [info] mod_wsgi (pid=3980): Destroying interpreters.
[Wed Jul 07 19:13:00 2010] [info] mod_wsgi (pid=3980): Destroy
interpreter 'my-server'.
[Wed Jul 07 19:13:00 2010] [info] mod_wsgi (pid=3980): Cleanup interpreter ''.
[Wed Jul 07 19:13:00 2010] [info] mod_wsgi (pid=3980): Terminating Python.
[Wed Jul 07 19:13:00 2010] [error] Exception KeyError: KeyError(2524,)
in <module 'threading' from 'C:\\Python26\\Lib\\threading.pyc'>
ignored
[Wed Jul 07 19:13:00 2010] [info] mod_wsgi (pid=3980): Python has shutdown.
[Wed Jul 07 19:13:00 2010] [notice] Child 3980: Child process is exiting

and when this line is commented out, the server starts up fine, and
here's the log snippet:

[Wed Jul 07 19:13:07 2010] [warn] pid file C:/Program Files
(x86)/Apache Software Foundation/Apache2.2/logs/httpd.pid overwritten
-- Unclean shutdown of previous Apache run?
[Wed Jul 07 19:13:07 2010] [warn] mod_wsgi: Compiled for Python/2.6.2.
[Wed Jul 07 19:13:07 2010] [warn] mod_wsgi: Runtime using Python/2.6.5.
[Wed Jul 07 19:13:07 2010] [notice] Apache/2.2.15 (Win32) mod_wsgi/3.0
Python/2.6.5 DAV/2 mod_auth_sspi/1.0.4 configured -- resuming normal
operations
[Wed Jul 07 19:13:07 2010] [notice] Server built: Mar 4 2010 11:27:46
[Wed Jul 07 19:13:07 2010] [notice] Parent: Created child process 5008
[Wed Jul 07 19:13:07 2010] [debug] mpm_winnt.c(487): Parent: Sent the
scoreboard to the child
[Wed Jul 07 19:13:07 2010] [warn] mod_wsgi: Compiled for Python/2.6.2.
[Wed Jul 07 19:13:07 2010] [warn] mod_wsgi: Runtime using Python/2.6.5.
[Wed Jul 07 19:13:07 2010] [notice] Child 5008: Child process is running
[Wed Jul 07 19:13:07 2010] [debug] mpm_winnt.c(408): Child 5008:
Retrieved our scoreboard from the parent.
[Wed Jul 07 19:13:07 2010] [info] Parent: Duplicating socket 268 and
sending it to child process 5008
[Wed Jul 07 19:13:07 2010] [debug] mpm_winnt.c(605): Parent: Sent 1
listeners to child 5008
[Wed Jul 07 19:13:07 2010] [debug] mpm_winnt.c(564): Child 5008:
retrieved 1 listeners from parent
[Wed Jul 07 19:13:07 2010] [info] mod_wsgi (pid=5008): Initializing Python.
[Wed Jul 07 19:13:07 2010] [info] mod_wsgi (pid=5008): Attach interpreter ''.
[Wed Jul 07 19:13:07 2010] [notice] Child 5008: Acquired the start mutex.
[Wed Jul 07 19:13:07 2010] [notice] Child 5008: Starting 64 worker threads.
[Wed Jul 07 19:13:07 2010] [notice] Child 5008: Starting thread to
listen on port 80.

The log states that "The specified module could not be found.", but
obviously the file is present (I double checked, really).
I tried:
- copying over the file with the original from the VisualSVN directory.
- reinstalling VisualSVN and then recopying the original .so file.
- using the built-in Apache server that comes with VisualSVN instead
of the one I installed myself.
- copying the mod_dav_svn.so file from the Alagazam 1.6.12 package
in all cases I got the same error...

Does anyone have any idea what can be the problem?
Or what other diagnostic steps I can perform to better understand the issue?

Thanks,
Itamar O.
Received on 2010-07-07 19:55:36 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.