Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Install on terastation intel atom
15-08-2014, 20:50
Post: #1
Install on terastation intel atom
Hi Forum,
I ve got very limited Linuxskills
I tried to install minimserver on my Buffalo terastation ts wvhl- atom based.
installed java and made symlink in usr/local/bin
installed minim in usr/local/minimserver.

tried to start startd and startc and it crashes.

Crashlog:
MinimServer crash dump, produced at 20140815-200326.101

java.lang.NoClassDefFoundError: org/openhome/net/device/IResourceManager
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2532)
at java.lang.Class.getConstructor0(Class.java:2842)
at java.lang.Class.getConstructor(Class.java:1718)
at org.jminim.core.Factory.newInstance(Factory.java:21)
at org.jminim.core.ContextImpl.createComponent(ContextImpl.java:351)
at org.jminim.core.ContextImpl.createComponent(ContextImpl.java:278)
at org.jminim.core.LauncherImpl.run(LauncherImpl.java:813)
at org.jminim.core.LauncherImpl.launch(LauncherImpl.java:91)
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:606)
at org.jminim.launch.Launcher.doLaunch(Launcher.java:502)
at org.jminim.launch.Launcher.launch(Launcher.java:140)
at com.minimserver.launch.LaunchServer.main(LaunchServer.java:30)
Caused by: java.lang.ClassNotFoundException: org.openhome.net.device.IResourceManager
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at org.jminim.launch.RuntimeClassLoader.loadClass(RuntimeClassLoader.java:36)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at org.jminim.core.ComponentClassLoader.findLocalClass(ComponentClassLoader.java:16​3)
at org.jminim.core.ComponentClassLoader.loadClass(ComponentClassLoader.java:65)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
... 16 more

"Thread-2" id=9 WAITING
at java.lang.Object.wait(Native Method)
- waiting on org.jminim.core.RuntimeImpl$TimerThread@c94ad4
at org.jminim.core.RuntimeImpl$TimerThread.run(RuntimeImpl.java:2374)

"Thread-1" id=8 WAITING
at java.lang.Object.wait(Native Method)
- waiting on org.jminim.core.RuntimeImpl$ActionThread@14fabe1
at java.lang.Object.wait(Object.java:503)
at org.jminim.core.RuntimeImpl$ActionThread.run(RuntimeImpl.java:2328)

"Thread-0" id=7 WAITING
at java.lang.Object.wait(Native Method)
- waiting on org.jminim.launch.Launcher$ConsoleThread@19d6246
at java.lang.Object.wait(Object.java:503)
at org.jminim.launch.Launcher$ConsoleThread.run(Launcher.java:1168)

"Signal Dispatcher" id=4 RUNNABLE

"Finalizer" id=3 WAITING
at java.lang.Object.wait(Native Method)
- waiting on java.lang.ref.ReferenceQueue$Lock@19f0d93
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:135)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:151)
at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:209)

"Reference Handler" id=2 WAITING
at java.lang.Object.wait(Native Method)
- waiting on java.lang.ref.Reference$Lock@13456bb
at java.lang.Object.wait(Object.java:503)
at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:133)

"main" id=1 RUNNABLE
at sun.management.ThreadImpl.dumpThreads0(Native Method)
at sun.management.ThreadImpl.getThreadInfo(ThreadImpl.java:440)
at org.jminim.core.LogImpl.writeCrashDump(LogImpl.java:1039)
at org.jminim.core.LogImpl.printStackTraceSync(LogImpl.java:964)
- locked org.jminim.core.LogImpl@12a39aa
at org.jminim.core.LogImpl.printStackTrace(LogImpl.java:151)
at org.jminim.core.LauncherImpl.launch(LauncherImpl.java:97)
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:606)
at org.jminim.launch.Launcher.doLaunch(Launcher.java:502)
at org.jminim.launch.Launcher.launch(Launcher.java:140)
at com.minimserver.launch.LaunchServer.main(LaunchServer.java:30)

- - - - - - - - - - - - - - - -
I hope someone can point me the direction to go.
Tia
Find all posts by this user
Quote this message in a reply
15-08-2014, 21:36
Post: #2
RE: Install on terastation intel atom
(15-08-2014 20:50)hpapen Wrote:  Hi Forum,
I ve got very limited Linuxskills
I tried to install minimserver on my Buffalo terastation ts wvhl- atom based.
installed java and made symlink in usr/local/bin
installed minim in usr/local/minimserver.

tried to start startd and startc and it crashes.

Crashlog:
MinimServer crash dump, produced at 20140815-200326.101

java.lang.NoClassDefFoundError: org/openhome/net/device/IResourceManager
- - - - - - - - - - - - - - - -
I hope someone can point me the direction to go.
Tia

This might be caused by a file permissions and user privilege mismatch.

Which user is logged in when you run startc?

Which user was logged in when you ran tar xf to install minimserver?

Which user is the owner of /usr/local/minimserver?

Please also post the results of running this command:

ls -l /usr/local/minimserver/*
Find all posts by this user
Quote this message in a reply
15-08-2014, 23:18
Post: #3
RE: Install on terastation intel atom
(15-08-2014 21:36)simoncn Wrote:  
(15-08-2014 20:50)hpapen Wrote:  Hi Forum,
I ve got very limited Linuxskills
I tried to install minimserver on my Buffalo terastation ts wvhl- atom based.
installed java and made symlink in usr/local/bin
installed minim in usr/local/minimserver.

tried to start startd and startc and it crashes.

Crashlog:
MinimServer crash dump, produced at 20140815-200326.101

java.lang.NoClassDefFoundError: org/openhome/net/device/IResourceManager
- - - - - - - - - - - - - - - -
I hope someone can point me the direction to go.
Tia

This might be caused by a file permissions and user privilege mismatch.

Which user is logged in when you run startc?

Which user was logged in when you ran tar xf to install minimserver?

Which user is the owner of /usr/local/minimserver?

Please also post the results of running this command:

ls -l /usr/local/minimserver/*

I think you are right.
I downloaded the tar on a windows machine and copied it to a directoy on the nas. Started vi and moved the file to usr/local to unpack it. There is only one user; root.
use ls -l and see the tar file is root root. Unpack and there is dir minimserver. Ls -l to see a user and group I created in the nas menu.
So I think change ownership of the minimserver dir (and files/dir within)?? Can you help me out with the right syntaxis?
Tia
Find all posts by this user
Quote this message in a reply
16-08-2014, 08:23
Post: #4
RE: Install on terastation intel atom
(15-08-2014 23:18)hpapen Wrote:  I think you are right.
I downloaded the tar on a windows machine and copied it to a directoy on the nas. Started vi and moved the file to usr/local to unpack it. There is only one user; root.
use ls -l and see the tar file is root root. Unpack and there is dir minimserver. Ls -l to see a user and group I created in the nas menu.
So I think change ownership of the minimserver dir (and files/dir within)?? Can you help me out with the right syntaxis?
Tia

Please post the results of running this command:

ls -l /usr/local/minimserver/*

When I see this, I will be able to let you know how to fix the problem.
Find all posts by this user
Quote this message in a reply
16-08-2014, 09:15
Post: #5
RE: Install on terastation intel atom
(16-08-2014 08:23)simoncn Wrote:  
(15-08-2014 23:18)hpapen Wrote:  I think you are right.
I downloaded the tar on a windows machine and copied it to a directoy on the nas. Started vi and moved the file to usr/local to unpack it. There is only one user; root.
use ls -l and see the tar file is root root. Unpack and there is dir minimserver. Ls -l to see a user and group I created in the nas menu.
So I think change ownership of the minimserver dir (and files/dir within)?? Can you help me out with the right syntaxis?
Tia

Please post the results of running this command:

ls -l /usr/local/minimserver/*

When I see this, I will be able to let you know how to fix the problem.
Good morning,

Yesterday I changed ownership :chown -R root:root minimserver. and changed ownership of the links. Still same error. Permissions?

I removed minimserver and executed tar again so you can see

Here are the results:

root@paapnas:/usr/local# ls -l /usr/local/minimserver/*
lrwxrwxrwx 1 PapenPro thuis 21 Aug 16 09:57 /usr/local/minimserver/bin -> minimserver-0.8.2/bin
lrwxrwxrwx 1 PapenPro thuis 23 Aug 16 09:57 /usr/local/minimserver/icons -> minimserver-0.8.2/icons
lrwxrwxrwx 1 PapenPro thuis 21 Aug 16 09:57 /usr/local/minimserver/lib -> minimserver-0.8.2/lib

/usr/local/minimserver/data:

/usr/local/minimserver/libext:

/usr/local/minimserver/libsys:

/usr/local/minimserver/minimserver-0.8.2:
-rw-r--r-- 1 PapenPro thuis 7533 Jul 16 16:26 LICENSE.txt
drwxr-xr-x 2 PapenPro thuis 4096 Aug 3 19:42 bin
drwxr-xr-x 2 PapenPro thuis 4096 Aug 3 19:42 icons
drwxr-xr-x 2 PapenPro thuis 4096 Aug 3 19:42 lib
Find all posts by this user
Quote this message in a reply
16-08-2014, 10:51
Post: #6
RE: Install on terastation intel atom
(16-08-2014 09:15)hpapen Wrote:  Good morning,

Yesterday I changed ownership :chown -R root:root minimserver. and changed ownership of the links. Still same error. Permissions?

I removed minimserver and executed tar again so you can see

Here are the results:

root@paapnas:/usr/local# ls -l /usr/local/minimserver/*
lrwxrwxrwx 1 PapenPro thuis 21 Aug 16 09:57 /usr/local/minimserver/bin -> minimserver-0.8.2/bin
lrwxrwxrwx 1 PapenPro thuis 23 Aug 16 09:57 /usr/local/minimserver/icons -> minimserver-0.8.2/icons
lrwxrwxrwx 1 PapenPro thuis 21 Aug 16 09:57 /usr/local/minimserver/lib -> minimserver-0.8.2/lib

/usr/local/minimserver/data:

/usr/local/minimserver/libext:

/usr/local/minimserver/libsys:

/usr/local/minimserver/minimserver-0.8.2:
-rw-r--r-- 1 PapenPro thuis 7533 Jul 16 16:26 LICENSE.txt
drwxr-xr-x 2 PapenPro thuis 4096 Aug 3 19:42 bin
drwxr-xr-x 2 PapenPro thuis 4096 Aug 3 19:42 icons
drwxr-xr-x 2 PapenPro thuis 4096 Aug 3 19:42 lib

Thanks very much! Please also post the results of:

ls -l /usr/local/minimserver

and

ls -l /usr/local
Find all posts by this user
Quote this message in a reply
16-08-2014, 11:04
Post: #7
RE: Install on terastation intel atom
(16-08-2014 10:51)simoncn Wrote:  
(16-08-2014 09:15)hpapen Wrote:  Good morning,

Yesterday I changed ownership :chown -R root:root minimserver. and changed ownership of the links. Still same error. Permissions?

I removed minimserver and executed tar again so you can see

Here are the results:

root@paapnas:/usr/local# ls -l /usr/local/minimserver/*
lrwxrwxrwx 1 PapenPro thuis 21 Aug 16 09:57 /usr/local/minimserver/bin -> minimserver-0.8.2/bin
lrwxrwxrwx 1 PapenPro thuis 23 Aug 16 09:57 /usr/local/minimserver/icons -> minimserver-0.8.2/icons
lrwxrwxrwx 1 PapenPro thuis 21 Aug 16 09:57 /usr/local/minimserver/lib -> minimserver-0.8.2/lib

/usr/local/minimserver/data:

/usr/local/minimserver/libext:

/usr/local/minimserver/libsys:

/usr/local/minimserver/minimserver-0.8.2:
-rw-r--r-- 1 PapenPro thuis 7533 Jul 16 16:26 LICENSE.txt
drwxr-xr-x 2 PapenPro thuis 4096 Aug 3 19:42 bin
drwxr-xr-x 2 PapenPro thuis 4096 Aug 3 19:42 icons
drwxr-xr-x 2 PapenPro thuis 4096 Aug 3 19:42 lib

Thanks very much! Please also post the results of:

ls -l /usr/local/minimserver

and

ls -l /usr/local

root@paapnas:/usr# ls -l /usr/local/minimserver
lrwxrwxrwx 1 PapenPro thuis 21 Aug 16 11:54 bin -> minimserver-0.8.2/bin
drwxr-xr-x 2 PapenPro thuis 4096 Aug 3 19:42 data
lrwxrwxrwx 1 PapenPro thuis 23 Aug 16 11:54 icons -> minimserver-0.8.2/icons
lrwxrwxrwx 1 PapenPro thuis 21 Aug 16 11:54 lib -> minimserver-0.8.2/lib
drwxr-xr-x 2 PapenPro thuis 4096 Aug 3 19:42 libext
drwxr-xr-x 2 PapenPro thuis 4096 Aug 3 19:42 libsys
drwxr-xr-x 5 PapenPro thuis 4096 Aug 3 19:42 minimserver-0.8.2

root@paapnas:/usr/local# ls -l /usr/local
drwxr-xr-x 5 root root 4096 Mar 13 2013 BerkeleyDB.4.6
-rwxr--r-- 1 root root 1767172 Aug 16 11:52 MinimServer-0.8.2-linux-x64.tar.gz
-rwxr--r-- 1 root root 1753188 Aug 14 12:49 MinimServer-0.8.2-linux-x86.tar.gz
drwxr-xr-x 2 root root 16384 Aug 15 19:17 bin
drwxr-xr-x 5 root root 4096 Jun 15 05:56 bittorrent
drwxr-xr-x 2 root root 4096 Oct 24 2012 cgi-bin
drwxr-xr-x 9 root root 4096 Mar 13 2013 chimera
-rwxr--r-- 1 root root 33238674 Aug 14 13:04 ejre-7u60-fcs-b19-linux-i586-headless-07_may_2014.tar.gz
drwxr-xr-x 4 root root 4096 May 7 22:27 ejre1.7.0_60
drwxr-xr-x 6 root root 4096 Mar 13 2013 etc
drwxr-xr-x 3 root root 4096 Mar 13 2013 hdparm
drwxr-xr-x 2 root root 4096 Oct 24 2012 html
drwxr-xr-x 19 root root 12288 Jun 15 05:56 lib
drwxr-xr-x 2 root root 4096 Mar 13 2013 lib32
lrwxrwxrwx 1 root root 3 Jun 23 2013 lib64 -> lib
drwxr-xr-x 2 root root 4096 Mar 13 2013 libexec
drwxr-xr-x 6 PapenPro thuis 4096 Aug 3 19:42 minimserver
drwxr-xr-x 2 root root 4096 Jun 15 05:56 sbin
drwxr-xr-x 12 root root 4096 Mar 13 2013 share
drwxrwxrwx 14 root root 4096 Aug 15 15:02 squeezebox
drwxr-xr-x 3 root root 4096 Mar 13 2013 ssd
drwxr-xr-x 7 root root 4096 Mar 13 2013 ssl
drwxr-xr-x 6 root root 4096 Aug 16 12:02 twonky
drwxr-xr-x 3 root root 4096 Aug 14 13:24 var
drwxr-xr-x 9 root root 4096 Mar 13 2013 wbfs
drwxr-xr-x 9 root root 4096 Mar 13 2013 webaxs

Tia
Find all posts by this user
Quote this message in a reply
16-08-2014, 11:29
Post: #8
RE: Install on terastation intel atom
This all looks OK, though I don't know why the "PapenPro thuis" user is owning the directories and files. Did you issue the "tar xf" command when logged in as root? If so, I would expect the owner of these directories and files to be root.

With this setup, you should be able to run minimserver/bin/startd when you are logged in as root. If this still isn't working, please try the following:

1) Edit the minimserver/bin/startd file to change line 26 from:

LD_LIBRARY_PATH="${MINIMDIR}/libsys" java -jar "${MINIMDIR}/lib/mserver.jar" --noconsole --nohup </dev/null >minimserver.out 2>&1 &

to:

LD_LIBRARY_PATH="${MINIMDIR}/libsys" java -jar "${MINIMDIR}/lib/mserver.jar" --noconsole --nohup "$@" </dev/null >minimserver.out 2>&1 &

2) Run the command:

minimserver/bin/startd --trace

3) The file minimserver/data/minimserver.out will contain trace information. Please attach this file to a post here.
Find all posts by this user
Quote this message in a reply
16-08-2014, 12:09 (This post was last modified: 16-08-2014 12:12 by hpapen.)
Post: #9
RE: Install on terastation intel atom
(16-08-2014 11:29)simoncn Wrote:  This all looks OK, though I don't know why the "PapenPro thuis" user is owning the directories and files. Did you issue the "tar xf" command when logged in as root? If so, I would expect the owner of these directories and files to be root.

With this setup, you should be able to run minimserver/bin/startd when you are logged in as root. If this still isn't working, please try the following:

1) Edit the minimserver/bin/startd file to change line 26 from:

LD_LIBRARY_PATH="${MINIMDIR}/libsys" java -jar "${MINIMDIR}/lib/mserver.jar" --noconsole --nohup </dev/null >minimserver.out 2>&1 &

to:

LD_LIBRARY_PATH="${MINIMDIR}/libsys" java -jar "${MINIMDIR}/lib/mserver.jar" --noconsole --nohup "$@" </dev/null >minimserver.out 2>&1 &

2) Run the command:

minimserver/bin/startd --trace

3) The file minimserver/data/minimserver.out will contain trace information. Please attach this file to a post here.

I did tar -xvzf

I tried but still same outcome:
root@paapnas:/usr/local/minimserver/data# vi minimserver.out
ComponentClassLoader: using local class loader for class com.minimserver.Server$Contained
ComponentClassLoader: using local class loader for class com.minimserver.Server$TagContainer
ComponentClassLoader: using parent class loader for class java.lang.Throwable
ComponentClassLoader: using local class loader for class com.minimserver.Server$ActionException
ComponentClassLoader: using parent class loader for class java.lang.RuntimeException
ComponentClassLoader: using parent class loader for class java.lang.NumberFormatException
ComponentClassLoader: using parent class loader for package java.io
ComponentClassLoader: using parent class loader for class java.io.IOException
ComponentClassLoader: using parent class loader for package java.nio.charset
ComponentClassLoader: using parent class loader for class java.nio.charset.UnsupportedCharsetException
ComponentClassLoader: using parent class loader for class java.lang.IllegalArgumentException
ComponentClassLoader: using parent class loader for class java.lang.InterruptedException
ComponentClassLoader: using parent class loader for class org.jminim.RuntimeEvents
ComponentClassLoader: using parent class loader for class org.jminim.LogErrorException
ComponentClassLoader: using local class loader for package org.jminim.lib
ComponentClassLoader: using local class loader for class org.jminim.lib.HTTPRequestHandler
ComponentClassLoader: using local class loader for class com.minimserver.Server$Item
ComponentClassLoader: using local class loader for class com.minimserver.Server$CacheItem
ComponentClassLoader: using local class loader for class com.minimserver.Server$ContainedItem
ComponentClassLoader: using local class loader for class com.minimserver.Server$ItemAlbum
ComponentClassLoader: using local class loader for class com.minimserver.Server$Group
ComponentClassLoader: using parent class loader for class java.lang.Iterable
ComponentClassLoader: using parent class loader for class java.util.Map
ComponentClassLoader: using parent class loader for class java.util.Set
ComponentClassLoader: using parent class loader for class java.lang.CharSequence
ComponentClassLoader: using local class loader for class com.minimserver.Server$CustomTagRule
ComponentClassLoader: using local class loader for class com.minimserver.Server$CustomTagRuleReverseName
ComponentClassLoader: using local class loader for class com.minimserver.Server$CustomTagRuleYearOnly
ComponentClassLoader: using local class loader for class com.minimserver.Server$CustomTagRuleDecade
ComponentClassLoader: using local class loader for class com.minimserver.Server$CustomTagRuleIgnore
ComponentClassLoader: using parent class loader for class java.io.OutputStream
ComponentClassLoader: using parent class loader for class java.io.FileOutputStream
ComponentClassLoader: using parent class loader for class java.io.Writer
ComponentClassLoader: using parent class loader for class java.io.OutputStreamWriter
ComponentClassLoader: using parent class loader for class java.util.Collection
ComponentClassLoader: using parent class loader for class java.util.List
ComponentClassLoader: using local class loader for class com.minimserver.Server$Filter
ComponentClassLoader: using parent class loader for class java.lang.Comparable
ComponentClassLoader: using local class loader for class com.minimserver.Server$NullFilter
ComponentClassLoader: using local class loader for package org.openhome.net.device
ComponentClassLoader: using local class loader for class org.openhome.net.device.IResourceManager
java.lang.NoClassDefFoundError: org/openhome/net/device/IResourceManager
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2532)
at java.lang.Class.getConstructor0(Class.java:2842)
at java.lang.Class.getConstructor(Class.java:1718)
at org.jminim.core.Factory.newInstance(Factory.java:21)
at org.jminim.core.ContextImpl.createComponent(ContextImpl.java:351)
at org.jminim.core.ContextImpl.createComponent(ContextImpl.java:278)
at org.jminim.core.LauncherImpl.run(LauncherImpl.java:813)
at org.jminim.core.LauncherImpl.launch(LauncherImpl.java:91)
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:606)
at org.jminim.launch.Launcher.doLaunch(Launcher.java:502)
at org.jminim.launch.Launcher.launch(Launcher.java:140)
at com.minimserver.launch.LaunchServer.main(LaunchServer.java:30)
Caused by: java.lang.ClassNotFoundException: org.openhome.net.device.IResourceManager
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at org.jminim.launch.RuntimeClassLoader.loadClass(RuntimeClassLoader.java:36)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at org.jminim.core.ComponentClassLoader.findLocalClass(ComponentClassLoader.java:16​3)
at org.jminim.core.ComponentClassLoader.loadClass(ComponentClassLoader.java:65)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
... 16 more
- minimserver.out 117/117 100%
Find all posts by this user
Quote this message in a reply
16-08-2014, 12:13
Post: #10
RE: Install on terastation intel atom
(16-08-2014 11:29)simoncn Wrote:  This all looks OK, though I don't know why the "PapenPro thuis" user is owning the directories and files. Did you issue the "tar xf" command when logged in as root? If so, I would expect the owner of these directories and files to be root.

With this setup, you should be able to run minimserver/bin/startd when you are logged in as root. If this still isn't working, please try the following:

1) Edit the minimserver/bin/startd file to change line 26 from:

LD_LIBRARY_PATH="${MINIMDIR}/libsys" java -jar "${MINIMDIR}/lib/mserver.jar" --noconsole --nohup </dev/null >minimserver.out 2>&1 &

to:

LD_LIBRARY_PATH="${MINIMDIR}/libsys" java -jar "${MINIMDIR}/lib/mserver.jar" --noconsole --nohup "$@" </dev/null >minimserver.out 2>&1 &

2) Run the command:

minimserver/bin/startd --trace

3) The file minimserver/data/minimserver.out will contain trace information. Please attach this file to a post here.

I tried but still same outcome:
root@paapnas:/usr/local/minimserver/data# vi minimserver.out
ComponentClassLoader: using local class loader for class com.minimserver.Server$Contained
ComponentClassLoader: using local class loader for class com.minimserver.Server$TagContainer
ComponentClassLoader: using parent class loader for class java.lang.Throwable
ComponentClassLoader: using local class loader for class com.minimserver.Server$ActionException
ComponentClassLoader: using parent class loader for class java.lang.RuntimeException
ComponentClassLoader: using parent class loader for class java.lang.NumberFormatException
ComponentClassLoader: using parent class loader for package java.io
ComponentClassLoader: using parent class loader for class java.io.IOException
ComponentClassLoader: using parent class loader for package java.nio.charset
ComponentClassLoader: using parent class loader for class java.nio.charset.UnsupportedCharsetException
ComponentClassLoader: using parent class loader for class java.lang.IllegalArgumentException
ComponentClassLoader: using parent class loader for class java.lang.InterruptedException
ComponentClassLoader: using parent class loader for class org.jminim.RuntimeEvents
ComponentClassLoader: using parent class loader for class org.jminim.LogErrorException
ComponentClassLoader: using local class loader for package org.jminim.lib
ComponentClassLoader: using local class loader for class org.jminim.lib.HTTPRequestHandler
ComponentClassLoader: using local class loader for class com.minimserver.Server$Item
ComponentClassLoader: using local class loader for class com.minimserver.Server$CacheItem
ComponentClassLoader: using local class loader for class com.minimserver.Server$ContainedItem
ComponentClassLoader: using local class loader for class com.minimserver.Server$ItemAlbum
ComponentClassLoader: using local class loader for class com.minimserver.Server$Group
ComponentClassLoader: using parent class loader for class java.lang.Iterable
ComponentClassLoader: using parent class loader for class java.util.Map
ComponentClassLoader: using parent class loader for class java.util.Set
ComponentClassLoader: using parent class loader for class java.lang.CharSequence
ComponentClassLoader: using local class loader for class com.minimserver.Server$CustomTagRule
ComponentClassLoader: using local class loader for class com.minimserver.Server$CustomTagRuleReverseName
ComponentClassLoader: using local class loader for class com.minimserver.Server$CustomTagRuleYearOnly
ComponentClassLoader: using local class loader for class com.minimserver.Server$CustomTagRuleDecade
ComponentClassLoader: using local class loader for class com.minimserver.Server$CustomTagRuleIgnore
ComponentClassLoader: using parent class loader for class java.io.OutputStream
ComponentClassLoader: using parent class loader for class java.io.FileOutputStream
ComponentClassLoader: using parent class loader for class java.io.Writer
ComponentClassLoader: using parent class loader for class java.io.OutputStreamWriter
ComponentClassLoader: using parent class loader for class java.util.Collection
ComponentClassLoader: using parent class loader for class java.util.List
ComponentClassLoader: using local class loader for class com.minimserver.Server$Filter
ComponentClassLoader: using parent class loader for class java.lang.Comparable
ComponentClassLoader: using local class loader for class com.minimserver.Server$NullFilter
ComponentClassLoader: using local class loader for package org.openhome.net.device
ComponentClassLoader: using local class loader for class org.openhome.net.device.IResourceManager
java.lang.NoClassDefFoundError: org/openhome/net/device/IResourceManager
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2532)
at java.lang.Class.getConstructor0(Class.java:2842)
at java.lang.Class.getConstructor(Class.java:1718)
at org.jminim.core.Factory.newInstance(Factory.java:21)
at org.jminim.core.ContextImpl.createComponent(ContextImpl.java:351)
at org.jminim.core.ContextImpl.createComponent(ContextImpl.java:278)
at org.jminim.core.LauncherImpl.run(LauncherImpl.java:813)
at org.jminim.core.LauncherImpl.launch(LauncherImpl.java:91)
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:606)
at org.jminim.launch.Launcher.doLaunch(Launcher.java:502)
at org.jminim.launch.Launcher.launch(Launcher.java:140)
at com.minimserver.launch.LaunchServer.main(LaunchServer.java:30)
Caused by: java.lang.ClassNotFoundException: org.openhome.net.device.IResourceManager
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at org.jminim.launch.RuntimeClassLoader.loadClass(RuntimeClassLoader.java:36)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at org.jminim.core.ComponentClassLoader.findLocalClass(ComponentClassLoader.java:16​3)
at org.jminim.core.ComponentClassLoader.loadClass(ComponentClassLoader.java:65)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
... 16 more
- minimserver.out 117/117 100%
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


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