0

I recently tried to get trac and svn working with apache on centOS 5 through some googling I found I needed to install mod_dav_svn.

I used yum to install it it listed a httpd 2.2.3 as a dependency (previously installed version was 2.2.16). I let it install and now nothing seems to work... Is there any way to undo this install? or would it be better to just to make it work with 2.2.3?

migrated from stackoverflow.com Mar 24 '11 at 0:51

This question came from our site for professional and enthusiast programmers.

  • What do you mean by nothing works? Is your entire apache installation broken in that it wont start, or is it that trac does not work? Check your error log in /var/log/httpd/error_log – Pratik Amin Mar 24 '11 at 1:12
1

or would it be better to just to make it work with 2.2.3?

CentOS 5 ships httpd 2.2.3 by default. Don't worry too much about the older version number. Apache httpd 2.2.3 with many security fixes which are back-ported by RedHat.

One good reason to stay with 2.2.3 is that it's the default package that comes with RedHat/CentOS. It's a known and stable version, the RedHat/CentOS documentation is written with 2.2.3 in mind and most other users will be using 2.2.3.

Using the defaults will also make future upgrades go better. For example, you would have been able to do a yum upgrade mod_dav_svn today, without breaking the application.

Custom packages are fine, but it's often better if they are installed to /usr/local so they won't collide with the default packages.

previously installed version was 2.2.16

How was this package installed? Was this a third party RPM? Or was it installed from source?

Have you checked other locations for another version of httpd, such as at /use/local/bin/httpd?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy