You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Flap Flap <fl...@kilooctet.net> on 2008/06/23 12:30:34 UTC
Error : mod_dav_svn.so can't be load by apache...
Hi there,
I've got a gentoo hosted server by OVH (kimsufi) with apache2 installed.
I've make an emerge subversion to install subversion and the svnserve run
find.
Svn protocol access of my repository is ok, but I can't make the http access
work.
When I add the LoadModule directive to my httpd.conf apache don't restart
and throw an error :
API module structure `dav_svn_module' in file
/usr/local/apache/modules/mod_dav_svn.so is garbled - perhaps this is not an
Apache module DSO?
I don't how or where I can get another .so.
Can someon take me on the good way ?
Thanks.
--
Benoît Milgram / Flapflap
Re: Error : mod_dav_svn.so can't be load by apache...
Posted by Ryan Schmidt <su...@ryandesign.com>.
On Jun 25, 2008, at 7:36 AM, Flap Flap wrote:
> 2008/6/25 Flap Flap <fl...@kilooctet.net>:
>
>> Thanks for the explanation on Reply-To !
>>
>> Now my mod_dav_svn.so is ok.
>> So I've made my first checkout !!!
>> Great, but I can't commit.
>>
>> Error log :
>>
>> mkdir -m "Initial import." http://ksXXXXXX.kimsufi.com/svn/XXXX
>> Permission denied
>> svn: Can't create directory '/var/svn/repos/db/transactions/
>> 0-1.txn': Permission denied
>>
>> It seems I've got trouble witrh premission. I follow the
>> instruction here http://gentoo-wiki.com/Subversion/Web_DAV.
>>
>> Creating repositories for apache
>> Apache needs rw access to the repository directory. This can be
>> achieved in two ways.
>>
>> Changing owner and/or group of the repository
>> Change owner of the repository
>> chown apache:apache /var/svn/repos/test -R
>> Adding apache to svnusers group
>> Create group svnusers
>> groupadd svnusers
>> Add apache to this group
>> usermod -G svnusers -a apache
>> Change group of the repository
>> chgrp svnusers /var/svn/repos -R
>> Give write access for the group
>> chmod g+w /var/svn/repos -R
>> I've checked my repos, apache is owner and svnusers is group owner...
>
> Ok resolved, apache use the nobody user... :)
Glad you got it working!
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Error : mod_dav_svn.so can't be load by apache...
Posted by Flap Flap <fl...@kilooctet.net>.
Thanks for the explanation on Reply-To !
Now my mod_dav_svn.so is ok.
So I've made my first checkout !!!
Great, but I can't commit.
Error log :
mkdir -m "Initial import." http://ksXXXXXX.kimsufi.com/svn/XXXX
Permission denied
svn: Can't create directory '/var/svn/repos/db/transactions/0-1.txn':
Permission denied
It seems I've got trouble witrh premission. I follow the instruction here
http://gentoo-wiki.com/Subversion/Web_DAV.
Creating repositories for apache
Apache needs rw access to the repository directory. This can be achieved in
two ways.
- Changing owner and/or group of the repository
1. Change owner of the repository
chown apache:apache /var/svn/repos/test -R
- Adding apache to svnusers group
1. Create group svnusers
groupadd svnusers
2. Add apache to this group
usermod -G svnusers -a apache
3. Change group of the repository
chgrp svnusers /var/svn/repos -R
4. Give write access for the group
chmod g+w /var/svn/repos -R
I've checked my repos, apache is owner and svnusers is group owner...
Re: Error : mod_dav_svn.so can't be load by apache...
Posted by Ryan Schmidt <su...@ryandesign.com>.
On Jun 24, 2008, at 04:27, Flap Flap wrote:
>> Please respond to the list also, not just to me.
>
> Oops sorry for the bad response recipient...
> Can't the list be configure to set the right adress in the reply-to
> field ?
Please read this which explains why the Reply-To header is left
unchanged:
http://subversion.tigris.org/mailing-lists.html#reply-to
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Error : mod_dav_svn.so can't be load by apache...
Posted by Flap Flap <fl...@kilooctet.net>.
Oops sorry for the bad response recipient...
Can't the list be configure to set the right adress in the reply-to field ?
Anyway... I can't find the pacakge for gentoo on the list you give me.
I'll try on gentoo forum+
Thanks
2008/6/24 Ryan Schmidt <su...@ryandesign.com>:
> On Jun 24, 2008, at 03:35, Flap Flap wrote:
>
> 2008/6/24 Ryan Schmidt:
>>
>> On Jun 23, 2008, at 07:30, Flap Flap wrote:
>>>
>>> I've got a gentoo hosted server by OVH (kimsufi) with apache2 installed.
>>>> I've make an emerge subversion to install subversion and the svnserve
>>>> run find.
>>>> Svn protocol access of my repository is ok, but I can't make the http
>>>> access work.
>>>> When I add the LoadModule directive to my httpd.conf apache don't
>>>> restart and throw an error :
>>>>
>>>> API module structure `dav_svn_module' in file
>>>> /usr/local/apache/modules/mod_dav_svn.so is garbled - perhaps this is not an
>>>> Apache module DSO?
>>>>
>>>> I don't how or where I can get another .so.
>>>>
>>>> Can someon take me on the good way ?
>>>>
>>>
>>> Perhaps this mod_dav_svn was made for Apache 2.0 but you're running
>>> Apache 2.2, or the other way around?
>>>
>>> Perhaps this mod_dav_svn was made with a different version of APR than
>>> your Apache? They need to be using the same version of APR.
>>>
>>
>> Hi Ryan,
>>
>> Thanks for response...
>>
>> I think you point the good thing, but with emerge I dont see how I can
>> control the package installed and so the mod_dav_svn version.
>> Is there any way to download the good one any where ?
>>
>
> I don't know emerge so I can't help you with that. You may have to ask on a
> Gentoo mailing list.
>
> Binary packages are available here if you would like:
>
> http://subversion.tigris.org/getting.html#binary-packages
>
> Or you could build from source.
>
> Please respond to the list also, not just to me.
>
>
--
Benoît Milgram / Flapflap
http://www.kilooctet.net
I'm also a music mashup / bootlegs producer :
http://www.djgaston.net
Re: Error : mod_dav_svn.so can't be load by apache...
Posted by Ryan Schmidt <su...@ryandesign.com>.
On Jun 24, 2008, at 03:35, Flap Flap wrote:
> 2008/6/24 Ryan Schmidt:
>
>> On Jun 23, 2008, at 07:30, Flap Flap wrote:
>>
>>> I've got a gentoo hosted server by OVH (kimsufi) with apache2
>>> installed.
>>> I've make an emerge subversion to install subversion and the
>>> svnserve run find.
>>> Svn protocol access of my repository is ok, but I can't make the
>>> http access work.
>>> When I add the LoadModule directive to my httpd.conf apache don't
>>> restart and throw an error :
>>>
>>> API module structure `dav_svn_module' in file /usr/local/apache/
>>> modules/mod_dav_svn.so is garbled - perhaps this is not an Apache
>>> module DSO?
>>>
>>> I don't how or where I can get another .so.
>>>
>>> Can someon take me on the good way ?
>>
>> Perhaps this mod_dav_svn was made for Apache 2.0 but you're
>> running Apache 2.2, or the other way around?
>>
>> Perhaps this mod_dav_svn was made with a different version of APR
>> than your Apache? They need to be using the same version of APR.
>
> Hi Ryan,
>
> Thanks for response...
>
> I think you point the good thing, but with emerge I dont see how I
> can control the package installed and so the mod_dav_svn version.
> Is there any way to download the good one any where ?
I don't know emerge so I can't help you with that. You may have to
ask on a Gentoo mailing list.
Binary packages are available here if you would like:
http://subversion.tigris.org/getting.html#binary-packages
Or you could build from source.
Please respond to the list also, not just to me.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Error : mod_dav_svn.so can't be load by apache...
Posted by Ryan Schmidt <su...@ryandesign.com>.
On Jun 23, 2008, at 07:30, Flap Flap wrote:
> I've got a gentoo hosted server by OVH (kimsufi) with apache2
> installed.
> I've make an emerge subversion to install subversion and the
> svnserve run find.
> Svn protocol access of my repository is ok, but I can't make the
> http access work.
> When I add the LoadModule directive to my httpd.conf apache don't
> restart and throw an error :
>
> API module structure `dav_svn_module' in file /usr/local/apache/
> modules/mod_dav_svn.so is garbled - perhaps this is not an Apache
> module DSO?
>
> I don't how or where I can get another .so.
>
> Can someon take me on the good way ?
Perhaps this mod_dav_svn was made for Apache 2.0 but you're running
Apache 2.2, or the other way around?
Perhaps this mod_dav_svn was made with a different version of APR
than your Apache? They need to be using the same version of APR.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org