Solved

mod_dav_svn.so failed to load

Posted on 2008-10-02
9
1,728 Views
Last Modified: 2013-12-02
Hi all,

I installed CollabNet Subversion on my machine (SVN1.5.2/Apache 2.2.8/Windows 2003 Enterprise). Apache was not able to run as a Windows service. An error was given as follows.

The Apache service named  reported the following error:
>>> httpd.exe: Syntax error on line 116 of C:/Program Files/CollabNet Subversion Server/httpd/conf/httpd.conf: Cannot load C:/Program Files/CollabNet Subversion Server/httpd/modules/mod_dav_svn.so into server: The specified procedure could not be found.  

I am confused because the mod_dav_svn.so is right at where it's supposed to be. In the httpd.conf file I have root path and loadmodule in the following lines.

ServerRoot "C:/Program Files/CollabNet Subversion Server/httpd"
...
LoadModule dav_svn_module modules/mod_dav_svn.so   .

I  tried to give all path to the mod_dav_svn.so which is
LoadModule dav_svn_module "C:/Program Files/CollabNet Subversion Server/httpdmodules/mod_dav_svn.so"

But it didn't work. There are some other modules before mod_dav_svn that reside in the same directory which Apache didn't complain. But it complained it couldn't find  mod_dav_svn. I don't understand why. Your suggestions will be highly appreciated!

Amy
0
Comment
Question by:iLvChopin
  • 4
  • 3
9 Comments
 
LVL 8

Assisted Solution

by:big_daddy0690
big_daddy0690 earned 50 total points
Comment Utility
Please reference my posts in this question to see if it solves your problem.

http://www.experts-exchange.com/Programming/Languages/Scripting/Q_23595751.html
0
 

Author Comment

by:iLvChopin
Comment Utility
Hi big_bddy0690,

Thanks for your post. I uninstalled Collabnet Subversion and installed Apached 2.2.9 and Subversion 1.5.2 separately. It now works without authentication in place. I want to use Windows authentication therefore I put mod_auth_sspi.so to Apache's modules directory. (that's from what I read)

I added the following line to load the SSPI module in httpd.conf

LoadModule sspi_auth_module modules/mod_auth_sspi.so

When I restarted the Apache server, once again it complained it couldn't find the mod_auth_sspi.so even though it was right there in the directory. I had to comment out the above line in order for Apache to run.

It made me crazy...Any thoughts??

0
 

Author Comment

by:iLvChopin
Comment Utility
i am increasing the points to 250...
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 8

Expert Comment

by:big_daddy0690
Comment Utility
Can you post what you have within the <Location /svn> tag within httpd.conf
0
 
LVL 8

Expert Comment

by:big_daddy0690
Comment Utility
Please include your full LoadModule section as well.
0
 

Accepted Solution

by:
iLvChopin earned 0 total points
Comment Utility
HI, after some extensive google search, I found where the problem was. The SSPI module has to be loaded first before any other svn modules. After I made that change, my SVN + Apache was up and running. Thank you for your responses to my question. I'd like to give 50pts for your kindness. Thanks!
0
 

Author Comment

by:iLvChopin
Comment Utility
oh well, I don't know how to reward 50 points to you...Can someone help?
0

Featured Post

Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

Join & Write a Comment

This article is about some of the basic and important steps to be used to improve the performance in web-sphere commerce application development. 1) Always leverage the Dyna-caching facility provided by the product 2) Remove the unwanted code …
Upgrading Tomcat – There are a couple of methods to upgrade Tomcat is to use The Apache Installer is to download and unzip and run the services.bat remove|install Tomcat6 Because of the App that we are working with, we can only use Tomcat 6.…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now