From: John V. S. <js...@gm...> - 2007-05-28 06:25:46
|
According to this post, Windows file permissions could be the cause. If you're using Cygwin chmod, it may not be updating them correctly. The DOS attrib -R *.dll command can probably be used with a wildcard; all of the DLL's under luciddb-0.6.0/lib/fennel need to be accessible. http://forum.java.sun.com/thread.jspa?threadID=675250&messageID=3942675 Kinda makes you wonder what exactly it is Windows wants to do to those executable files besides...execute them. The Windows release was tested on bare Windows without Cygwin (the cyg prefixes in the DDL names are a misleading result of the fact that the build is based on Cygwin+mingw, even though only the provided mingwm10.dll is required for runtime). If you can't get it working on Cygwin, try unpacking and installing it outside of Cygwin instead. If you can get it working on Cygwin, please post what you had to do here or in wiki so that the packaging can get fixed for the 0.7 release. JVS Kirk Abbott wrote: > Hello, > > I downloaded luciddb-0.6.0 (precompiled windows version). I tried to > follow the instructions at > http://docs.eigenbase.org/LucidDbGettingStarted > > The install step seems to work properly. But when I tried to start the > server I get an error (as seen below). > > $ ./lucidDbServer.bat > Server personality: LucidDB > Loading database... > Exception in thread "main" org.eigenbase.util.EigenbaseException: Failed > to load database > at > net.sf.farrago.resource.FarragoResource$_Def1.ex(FarragoResource.java:1679) > at > net.sf.farrago.db.FarragoDatabase.<init>(FarragoDatabase.java:253) > at > net.sf.farrago.db.FarragoDbSingleton.pinReference(FarragoDbSingleton.java:89) > at > net.sf.farrago.server.FarragoAbstractServer.start(FarragoAbstractServer.java:181) > at com.lucidera.farrago.LucidDbServer.main(LucidDbServer.java:60) > Caused by: java.lang.UnsatisfiedLinkError: > C:\work\databases\luciddb\luciddb-0.6.0\lib\fennel\cygfarrago.dll: > Access is denied > at java.lang.ClassLoader$NativeLibrary.load(Native Method) > at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751) > at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1676) > at java.lang.Runtime.loadLibrary0(Runtime.java:822) > at java.lang.System.loadLibrary(System.java:992) > at org.eigenbase.util.Util.loadLibrary(Util.java:1083) > at > net.sf.farrago.fennel.FennelStorage.<clinit>(FennelStorage.java:46) > at > net.sf.farrago.db.FarragoDatabase.assertNoFennelHandles(FarragoDatabase.java:427) > at > net.sf.farrago.db.FarragoDatabase.loadFennel(FarragoDatabase.java:437) > at > net.sf.farrago.db.FarragoDatabase.<init>(FarragoDatabase.java:186) > ... 3 more > ------------------------------------------------------------------------------------- > The issue seems to be the loading of the dll. I thought that it might be > a permissions issue... But chmod'ing does not help. A cygcheck gives: > > $ cygcheck.exe fennel/cygfarrago.dll > fennel/cygfarrago.dll > fennel\libstlport_gcc.dll.4.6 > C:\WINDOWS\system32\msvcrt.dll > C:\WINDOWS\system32\KERNEL32.dll > C:\WINDOWS\system32\ntdll.dll > fennel\cygfennel_btree.dll > fennel\cygfennel_cache.dll > fennel\cygfennel_common.dll > C:\WINDOWS\system32\RPCRT4.dll > C:\WINDOWS\system32\ADVAPI32.dll > fennel\cygfennel_device.dll > fennel\cygfennel_segment.dll > fennel\cygfennel_tuple.dll > C:\WINDOWS\system32\WS2_32.DLL > C:\WINDOWS\system32\WS2HELP.dll > fennel\cygfennel_txn.dll > fennel\cygfennel_db.dll > fennel\cygfennel_exec.dll > fennel\cygfennel_ftrs.dll > fennel\mingwm10.dll > > Any ideas?? > > Kirk. > > ----------------------------------------- > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > luciddb-users mailing list > luc...@li... > https://lists.sourceforge.net/lists/listinfo/luciddb-users > |