Results 1 to 5 of 5

Thread: Apache showing wrong version

  1. #1

    Apache showing wrong version

    Hello,

    I have compiled version 1.7.8 of SubVersion on my existing SVN server - right now it is running 1.1.4 After the compile, the command-line utilities show the right version, but the web page shows 1.1.4 still in the line at the bottom of the page. I ran svnadmin upgrade on one of the repositories - now SVN can't access it at all. I'm suspecting it is because of a wrong version.

    How do I direct Apache to use the correct SVN binaries?

    I should mention - I'm not the person who built this - they are long gone!

    Thanks,

    Brian

  2. #2
    Online Operations Site Admin
    Join Date
    Mar 2012
    Location
    WANdisco, Sheffield, UK
    Posts
    698
    Hi there,

    How did you perform the upgrade?
    Mand Beckett
    WANdisco

    Read the WANdisco blog for Subversion, uberSVN and SmartSVN tips and tricks | Find me on Twitter

  3. #3
    (Assuming this is your RedHat system) The apache config file determines which modules are loaded. By default it will load the modules from /usr linked to the Subversion libraries in /usr and will ignore the modules and libraries in /usr/local. If your build of 1.7.8 included mod_dav_svn and it used the same apr and apr-util as Apache then you can edit the Apache config file to load the modules from /usr/local (or which ever path you chose for the 1.7.8 mod_dav_svn).

  4. #4
    Looking on my system, I see a /usr/lib/httpd/modules/mod_dav_svn.so and /usr/local/svn_1.7.8/include/subversion-1/mod_dav_svn.h Since these are different file types, I assume I cannot use the .h instead of the .so file. How can I create the .so that the module command needs? Or can I direct it to load the .h?

    Mand - to upgrade the repo I used svnadmin -upgrade /path/to/repo (and made sure that it used the 1.7.8 version of svnadmin)

    Thanks,

    Brian

  5. #5
    mod_dav_svn.so is the module. I'd exepct /usr/lib/httpd/modules/mod_dav_svn.so to be the original 1.1.4 module, you should be able to tell by looking at the timestamp. Your build of 1.7.8 needs to be configured to build mod_dav_svn, it should happen automatically if it finds the right things or you can use an explicit --with-apxs.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •