Post Reply 
Wow. I'm really impressed! Freenas?
09-02-2015, 09:00
Post: #19
RE: Wow. I'm really impressed! Freenas?
(09-02-2015 00:07)airflow Wrote:  I cannot install MinimServer update 57, as this version is not available directly on your webpage. I installed MinimServer 0.8.3b instead. I guess that update 57 is only available via the online update function?

Yes, that's correct. You won't be able to install this update until you have MinimServer running.

Quote:The libext-directory doesn't contain any files. I didn't find ohnet(linux-x86)-1.1.1452.zip anywhere else, but I found ohnet(linux-x64)-1.0.1356.zip in the lib-directory instead.

This is the correct file to modify.

Quote:I should replace the libohNet.so and libohNetJni.so files within this archive. The problem is that the compilation of the ohnet-project (as documented in this thread) does indeed output a file called libohNet.so, but no libohNetJni.so. Is this a problem? I hope it's not, as the extensive test-suite completed successfully.

To build libohNetJni.so, use:

gmake nocpp11=yes ohNetJni

You need to have a JDK installed on your build machine to do this. The default build of ohNet doesn't build or test the ohNet Java bindings.

However, this isn't the cause of the problem you are seeing (see below).

Quote:So I just replaced the file libohNet.so within the archive, and left the other file as it was. I want to mention that my version of libohNet.so is much larger than the existing file within the archive of MinimServer (12.810 KB vs. 1.803 KB).

The larger size is caused by debug symbols within the library. I am stripping these symbols when I build this library for MinimServer. This difference shouldn't cause any problems.

Quote:When I try to start MinimServer now by executing ./bin/startc, it throws a different error than before:
Code:
root@testus_1:/usr/local/share/minimserver # bin/startc
MinimServer 0.8.3 update 50, Copyright (c) 2012-2014 Simon Nash. All rights reserved.
java.lang.UnsatisfiedLinkError: no ohNet in java.library.path
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1886)
        at java.lang.Runtime.loadLibrary0(Runtime.java:849)
        at java.lang.System.loadLibrary(System.java:1088)
        at org.jminim.lib.OhNetService.createLibrary(OhNetService.java:569)

From this stack trace, this is happening when MinimServer tries to load the libohNet.so library (not the libohNetJni.so library). I suspect something has gone wrong when you modified or replaced the .zip file. Please upload your modified .zip file to my FTP server and I will take a look at it. I will PM you the server details.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Wow. I'm really impressed! Freenas? - simoncn - 09-02-2015 09:00

Forum Jump:


User(s) browsing this thread: 1 Guest(s)