MinimServer Forum

Full Version: Linux 64bit edition
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
Hi,
under linux 64bit is standard now.
My thecus N4800 also is working with a 64bit OS.
When do you think will the 64bit Version of Minim will be available ?
I`am really interested in testing minim .

Thank you and best regards.
Michael
(04-08-2012 08:26)mirei Wrote: [ -> ]Hi,
under linux 64bit is standard now.
My thecus N4800 also is working with a 64bit OS.
When do you think will the 64bit Version of Minim will be available ?
I`am really interested in testing minim .

Thank you and best regards.
Michael

Hi Michael,
I've been surprised that no-one has asked for this until now. Smile

I can build a test version for Linux Intel x64. You would need to install it from the Linux command line in the same way as the Linux x86 version (see the installation page on the MinimServer website). Are you OK with doing this?

Simon
Hi Simon,

sounds pretty good.
I'am looking forward gladly for this version to test it
and give you a reply.

Thanky you very much !

Best Regards
Michael
The test downloads are available now for MinimServer and MinimWatch. You'll need to use 64-bit Java as well.

Please let me know whether this runs OK on the Thecus.
(07-08-2012 20:55)simoncn Wrote: [ -> ]The test downloads are available now for MinimServer and MinimWatch. You'll need to use 64-bit Java as well.

Please let me know whether this runs OK on the Thecus.

Excellent just what I needed to run on a headless Ubuntu Server 64 bits I installed 2 days ago.
Seems to work just fine.

Side question: if it possible to restrict the network interfaces minimserver will bind to ?
(08-08-2012 13:13)bubbleguuum Wrote: [ -> ]Excellent just what I needed to run on a headless Ubuntu Server 64 bits I installed 2 days ago.
Seems to work just fine.

Thanks for the feedback. I'll publish this as an official release soon.

Quote:Side question: if it possible to restrict the network interfaces minimserver will bind to ?

Not at present. ohNet has an option for a device to listen on a single subnet only. Would this be useful to you?
(08-08-2012 13:21)simoncn Wrote: [ -> ]
Quote:Side question: if it possible to restrict the network interfaces minimserver will bind to ?

Not at present. ohNet has an option for a device to listen on a single subnet only. Would this be useful to you?

Yes, for a very specific usage as I'm building a BubbleUPnPServer public demo server, that wraps minimserver, and I'd like miniserver to bind to 127.0.0.1 only. I can certainly work something out using iptables though.

I found a harmless Exception triggerable when there is no contentDir prop it seems (I had it happen also when typing the props command):

Code:
...@...:/opt/minimserver-0.52/data# java -Djava.awt.headless=true -jar ../lib/minimserver.jar
MinimServer 0.52, Copyright (c) 2012 Simon Nash. All rights reserved.
starting MinimServer
Enter command (? for help), or null to exit:
>Enter content directory, or null line to exit:
props
albumSortTags=Album, Artist
delayStart=0
displayName=MinimServer:...
indexTags=Artist, Date, Genre, All Artists, Composer, Conductor, Orchestra
showExtras=true
upnpComposer=artist
.logFile=minimserver.log
http.port=9790
>about
java.lang.NullPointerException
        at org.jminim.core.LogImpl.getStackTrace(LogImpl.java:592)
        at org.jminim.core.LogImpl.printStackTraceSync(LogImpl.java:538)
        at org.jminim.core.LogImpl.warning(LogImpl.java:284)
        at com.minimserver.ServerConsole$ServerConsoleView.getContentDir(ServerConsole.java​:282)
        at com.minimserver.Server.doStart(Server.java:930)
        at com.minimserver.Server.start(Server.java:424)
        at org.jminim.core.ContextImpl.startComponent(ContextImpl.java:171)
        at org.jminim.core.ContextImpl.start(ContextImpl.java:87)
        at org.jminim.core.RootContextImpl.startComponent(RootContextImpl.java:36)
        at org.jminim.core.ContextImpl.start(ContextImpl.java:87)
        at org.jminim.core.RuntimeImpl.run(RuntimeImpl.java:373)
        at org.jminim.core.LauncherImpl.run(LauncherImpl.java:658)
        at org.jminim.core.LauncherImpl.launch(LauncherImpl.java:81)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav​a:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.jminim.launch.Launcher.launch(Launcher.java:60)
        at com.minimserver.launch.LaunchServer.main(LaunchServer.java:26)
about
Selected media server is MinimServer:....
MinimServer 0.52, Copyright (c) 2012 Simon Nash. All rights reserved.
Running on ....
(08-08-2012 13:42)bubbleguuum Wrote: [ -> ]Yes, for a very specific usage as I'm building a BubbleUPnPServer public demo server, that wraps minimserver, and I'd like miniserver to bind to 127.0.0.1 only. I can certainly work something out using iptables though.

There will be support for this in the next release.

Quote:
I found a harmless Exception triggerable when there is no contentDir prop it seems (I had it happen also when typing the props command):

Thanks for reporting this. It will be fixed in the next release.

Quote:java -Djava.awt.headless=true -jar ../lib/minimserver.jar

I didn't know about the java.awt.headless property. FYI, there's a MinimServer property you can use to get the same effect:

java -jar ../lib/minimserver.jar --set watch.view=console
(08-08-2012 17:17)simoncn Wrote: [ -> ]I didn't know about the java.awt.headless property. FYI, there's a MinimServer property you can use to get the same effect:

java -jar ../lib/minimserver.jar --set watch.view=console

I had to use java.awt.headless because I didn't know about watch.view, otherwise minimserver try to launch the Swing tray and it fails if X is not installed. Maybe this Exception can be catched, automatically falling back to a headless setup (without requiring either java.awt.headless or watch.view which both work).

Code:
java.lang.UnsatisfiedLinkError: /usr/lib/jvm/java-7-oracle/jre/lib/amd64/xawt/libmawt.so: libXtst.so.6: cannot open shared object file: No such file or directory
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1939)
        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1864)
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1825)
        at java.lang.Runtime.load0(Runtime.java:792)
        at java.lang.System.load(System.java:1059)
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1939)
        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1864)
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1846)
        at java.lang.Runtime.loadLibrary0(Runtime.java:845)
        at java.lang.System.loadLibrary(System.java:1084)
        at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:67)
        at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:47)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.awt.Toolkit.loadLibraries(Toolkit.java:1648)
        at java.awt.Toolkit.<clinit>(Toolkit.java:1670)
        at javax.swing.UIManager.getSystemLookAndFeelClassName(UIManager.java:608)
        at com.minimserver.TrayControl$TrayView.init(TrayControl.java:235)
(08-08-2012 17:42)bubbleguuum Wrote: [ -> ]I had to use java.awt.headless because I didn't know about watch.view, otherwise minimserver try to launch the Swing tray and it fails if X is not installed. Maybe this Exception can be catched, automatically falling back to a headless setup (without requiring either java.awt.headless or watch.view which both work).

I should be able to handle this error as you suggest, with a message at the console saying this has happened and the exception stack trace written to the log. I'll put this on the list of things to do.
Pages: 1 2 3
Reference URL's