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

Re: Problem starting Apache

From: John Szakmeister <john_at_szakmeister.net>
Date: 2004-01-06 01:41:42 CET

On Monday 05 January 2004 17:04, Buddy Burden wrote:
> Folks,
>
> Okay, I've read the FAQ, the PDF book, and searched the mailing list
> archives. Google turned up one similar problem with no solution. So I
> place my fate in your hands.
>
> This is my first try at installing Subversion. I'm on RedHat 9, compiled
> both Apache and Subversion from source. Apache is 2.0.48 configured with
> --enable-dav and --with-berkeley-db. Subversion is 0.35.1, no special
> options.

So you compiled both Apache and Subversion, correct?

> Okay, first I made sure my Apache started up and gave me the standard
> pseudo-blank web page. Then I made my changes to httpd.conf, pretty much
> straight out of the book:
>
> # this one after all the other LoadModule lines
> LoadModule dav_svn_module modules/mod_dav_svn.so
>
> # this one after all the other (commented out) <Location> sections
> #
> # Subversion repository handling
> #
> <Location /repos>
> DAV svn
> SVNPath /usr/local/share/repos
> </Location>

This is okay if you're going to have one repository called repos. Otherwise,
you probably want to use the SVNParentPath directive.

> My first try complained that it couldn't find mod_dav_svn.so in
> /etc/httpd/modules, which sort of made sense since it was in
> /usr/local/apache2/modules. Not quite sure what to make of this, I took
> the expedient way out and just moved from the one place to the other (note:
> there was another module there--mod_authz_svn.so--which I also moved,
> figuring it probably needed to be in the new location as well).

/etc/httpd is for the compiled version of Apache that comes with RedHat. If
you compiled your own, the modules are likely located at /usr/local/apache2/
modules. Moreover, you're probably running the wrong version of httpd as
well. I'm not sure what comes with RedHat 9, so I can't say for certain.

> My second try (and all successive ones) gives me this:
>
> Starting httpd: Syntax error on line 211 of /etc/httpd/conf/httpd.conf:
> Cannot load /etc/httpd/modules/mod_dav_svn.so into server:
> /etc/httpd/modules/mod_dav_svn.so: undefined symbol: ap_lookup_provider
> [FAILED]
>
> which I cannot for the life of me figure out. Any thoughts? or any other
> information I can provide on the problem?

I think the fact that you're trying to run against a different version of
Apache than what you compiled it for is what's causing this problem. Shut
down you other httpd server, and try running '/usr/local/apache2/bin/
apachectl -k start'. See what you get from that.

-John

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jan 6 01:45:42 2004

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.