[Opensim-dev] SVNBACKUP Module ... HowTo ?

Jeroen van Veen j.veenvan at gmail.com
Mon May 26 07:06:49 UTC 2008


hey ursula,

I had the same error. The dll is there, but mono fails to use it somehow :/
apr and apr-utils were natively installed though, and /usr/lib/libapr-1.so is 
the library on my system. I added this to /etc/mono/config

<dllmap dll="libapr" target="libapr-1.so" os="!windows" />

Now the dll loads, and I get another error:
Exception: PumaCode.SvnDotNet.SubversionSharp.SvnException: PROPFIND request 
failed on '/svn/osvn'; PROPFIND of '/svn/osvn': Server certificate 
verification failed: certificate issued for a different hostname, issuer is 
not trusted (https://192.168.2.101)

in OpenSim.ini:
[SVN]
Enabled = true
Directory = /opt/opensim/production/SVNModule
URL = "https://192.168.2.101/svn/osvn"
Username = "svnuser"
Password = "svnpw"
ImportOnStartup = true
Autosave = true
AutoSavePeriod = 15

I'm not sure why its complaining about a certificate. It's probably some ssl 
setting I messed up :(

phrearch


Op Wednesday 07 May 2008 11:46:22 schreef Ursula MATOVA:
> Well ...
>
> After some investigations,
> I have found that Berkeley DB was missing on my system ( oupps ) ...
> So I have just rebuild apr / apr-utils / subversion ...
>
> I still have the same error :S
>
>    at OpenSim.Application.Main (System.String[] args) [0x00000]
> InnerException: System.TypeInitializationException: An exception was
> thrown by the type initializer for PumaCode.SvnDotNet.AprSharp.Apr ---
>
>  > System.DllNotFoundException: libapr
>
>    at (wrapper managed-to-native)
> PumaCode.SvnDotNet.AprSharp.Apr:apr_initialize ()
>
> :S
>
> Regards
> Ursula
>
> Le 7 mai 08 à 10:35, Ursula MATOVA a écrit :
> > Hi Justin,
> >
> > Thanks for the link, but I already read this page :)
> >
> > The error I have maybe caused by some errors in my SVN Repository.
> >
> > Nobody tried this Module under Linux ?
> >
> > Regards,
> > Ursula.
> >
> > Le 7 mai 08 à 10:24, Justin Clark-Casey a écrit :
> >> Hi Ursula,
> >>
> >> Try
> >>
> >> http://opensimulator.wordpress.com/2008/04/20/svn-module-or-diy-rollback
> >>s-and-backups/
> >>
> >> for documentation.
> >>
> >> I'm afraid I don't know why you're getting that error, I'm not
> >> familiar
> >> with that portion of the code
> >>
> >> Ursula MATOVA wrote:
> >>> Hi all,
> >>>
> >>> I'd like to test the brand new SVNBackupModule
> >>> but, I'm unable to find any documentation on it :( could somebody
> >>> point me on if it exists ?
> >>>
> >>> I've made some tests, but without success for now ...
> >>>
> >>> - Set up a SVN Server on my Linux Box,
> >>> - Creating an initial repository : "opensim",
> >>> - Test from my windows box with TortoiseSVN. I'm able to checkin/
> >>> checkout the repository.
> >>>
> >>> Now, OpenSim.ini configuration :
> >>>
> >>> [SVN]
> >>> Enabled = true
> >>> Directory = SVN4488
> >>> URL = "svn://127.0.0.1/opensim"
> >>> Username = "yyyyyyyy"
> >>> Password = "xxxxxxxx"
> >>> ImportOnStartup = true
> >>> Autosave = false
> >>> AutoSavePeriod = 15 ; Number of minutes between autosave backups
> >>>
> >>> Gives me the following error :
> >>>
> >>> 16:32:28 - [SVNBACKUP]: Connecting to SVN server svn://127.0.0.1/
> >>> opensim ...
> >>> [APPLICATION]:
> >>> APPLICATION EXCEPTION DETECTED: System.UnhandledExceptionEventArgs
> >>>
> >>> Exception: System.TypeInitializationException: An exception was
> >>> thrown
> >>> by the type initializer for
> >>> PumaCode.SvnDotNet.SubversionSharp.SvnClient --->
> >>> System.TypeInitializationException: An exception was thrown by the
> >>> type initializer for PumaCode.SvnDotNet.AprSharp.Apr --->
> >>> System.DllNotFoundException: libapr
> >>>  at (wrapper managed-to-native)
> >>> PumaCode.SvnDotNet.AprSharp.Apr:apr_initialize ()
> >>>  at PumaCode.SvnDotNet.AprSharp.Apr..cctor () [0x00000] --- End of
> >>> inner exception stack trace ---
> >>>
> >>>  at PumaCode.SvnDotNet.AprSharp.AprAllocator.Create () [0x00000]
> >>>  at PumaCode.SvnDotNet.SubversionSharp.Svn.AllocatorCreate ()
> >>> [0x00000]
> >>>  at PumaCode.SvnDotNet.SubversionSharp.Svn.PoolCreate (AprPool pool)
> >>> [0x00000]
> >>>  at PumaCode.SvnDotNet.SubversionSharp.Svn.PoolCreate () [0x00000]
> >>>  at PumaCode.SvnDotNet.SubversionSharp.SvnConfig.Ensure () [0x00000]
> >>>  at PumaCode.SvnDotNet.SubversionSharp.SvnClient..cctor () [0x00000]
> >>> --- End of inner exception stack trace ---
> >>>
> >>>  at
> >>> OpenSim
> >>> .Region.Modules.SvnSerialiser.SvnBackupModule.SetupSvnProvider
> >>> () [0x00000]
> >>>  at
> >>> OpenSim.Region.Modules.SvnSerialiser.SvnBackupModule.PostInitialise
> >>> ()
> >>> [0x00000]
> >>>  at OpenSim.Region.Environment.ModuleLoader.PostInitialise ()
> >>> [0x00000]
> >>>  at
> >>> OpenSim.ApplicationPlugins.LoadRegions.LoadRegionsPlugin.Initialise
> >>> (OpenSim.OpenSimMain openSim) [0x00000]
> >>>  at OpenSim.OpenSimMain.InternalStartUp () [0x00000]
> >>>  at OpenSim.OpenSimMainConsole.StartUp () [0x00000]
> >>>  at OpenSim.Application.Main (System.String[] args) [0x00000]
> >>> InnerException: System.TypeInitializationException: An exception was
> >>> thrown by the type initializer for PumaCode.SvnDotNet.AprSharp.Apr
> >>> ---
> >>>
> >>>> System.DllNotFoundException: libapr
> >>>
> >>>  at (wrapper managed-to-native)
> >>> PumaCode.SvnDotNet.AprSharp.Apr:apr_initialize ()
> >>>  at PumaCode.SvnDotNet.AprSharp.Apr..cctor () [0x00000] --- End of
> >>> inner exception stack trace ---
> >>>
> >>>  at PumaCode.SvnDotNet.AprSharp.AprAllocator.Create () [0x00000]
> >>>  at PumaCode.SvnDotNet.SubversionSharp.Svn.AllocatorCreate ()
> >>> [0x00000]
> >>>  at PumaCode.SvnDotNet.SubversionSharp.Svn.PoolCreate (AprPool pool)
> >>> [0x00000]
> >>>  at PumaCode.SvnDotNet.SubversionSharp.Svn.PoolCreate () [0x00000]
> >>>  at PumaCode.SvnDotNet.SubversionSharp.SvnConfig.Ensure () [0x00000]
> >>>  at PumaCode.SvnDotNet.SubversionSharp.SvnClient..cctor () [0x00000]
> >>>
> >>> Application is terminating: True
> >>>
> >>>
> >>>
> >>>
> >>>
> >>> Any idea ?
> >>>
> >>> I'm using OpenSim.Rev4488 / Linux32 / Standalone / Mono 1.9.1
> >>>
> >>> Thanks in advance,
> >>>
> >>>
> >>> Ursula.
> >>>
> >>> _______________________________________________
> >>> Opensim-dev mailing list
> >>> Opensim-dev at lists.berlios.de
> >>> https://lists.berlios.de/mailman/listinfo/opensim-dev
> >>
> >> --
> >> justincc
> >> Justin Clark-Casey
> >> http://justincc.wordpress.com
> >> _______________________________________________
> >> Opensim-dev mailing list
> >> Opensim-dev at lists.berlios.de
> >> https://lists.berlios.de/mailman/listinfo/opensim-dev
> >
> > _______________________________________________
> > Opensim-dev mailing list
> > Opensim-dev at lists.berlios.de
> > https://lists.berlios.de/mailman/listinfo/opensim-dev
>
> _______________________________________________
> Opensim-dev mailing list
> Opensim-dev at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-dev





More information about the Opensim-dev mailing list