On Thu, Oct 7, 2021 at 8:40 AM Thomas Samoht <pah...@googlemail.com> wrote:
>
> Setup
> -----
> Linux myhostname 4.18.0-305.19.1.el8_4.x86_64 #1 SMP Wed Sep 15
> 19:12:32 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
> NAME="Rocky Linux"
> VERSION="8.4 (Green Obsidian)"
>
> Apache httpd 2.4.37-39, as delivered by Rocky 8.4
> Apache runs with user=X group=X, where X is myuser
> Safety context of the repositories has been changed with
>         chcon -Rv -t httpd_sys_content_t
> and     chcon -Rv -t httpd_sys_rw_content_t
> (This way it worked in CentOS 6 and 7)
>
> Subversion 1.10.2-4
>
> ------
>
>
> For a series of old repositories (that ran on CentOS 6, and are in BDB
> format), I set up two virtual machines, one with CentOS 7 (where
> everything works fine), and one with Rocky Linux 8.4, which I would
> prefer to use as it has support until 2029.
>
>
> When I access my repository eli on this setup, I get the
> following message in ssl_error_log, which seems to be the
> reason why access to the repository is denied.
>
>
> [Wed Oct 06 20:09:33.472851 2021] [:error] [pid 1805:tid
> 140046887720704] (20014)Internal error (specific information not
> available): [client 192.168.178.146:34252] BDB repository at
> '/home/myuser/data0/svn/rps/eli' is not compatible with event MPM
>
>
> What do I have to do to get the setup working?

Wow, I did not think there were many BDB repositories left in the
wild. I think you need to convert to FSFS. That should bring a number
of benefits and it will free you to using the event MPM as well.

If you do not have the down time to do a dump/load then you should be
able to migrate using svnsync. Once the new repository is ready to go
it should be relatively short downtime (seconds) to make the new
repository the default. Once that is done, then you should be free to
use event MPM.

I do not recall why event MPM cannot support BDB, but it probably has
to do with not being able to support multiple writers from a single
process. It has been a documented limitation since SVN 1.7 release
notes: https://subversion.apache.org/docs/release-notes/1.7#httpd-2.4-support

Mark

Reply via email to