September 14, 201015 yr Okay I've had unraid running for a couple of days now and i have been able to get Pytivo installed and functioning. I installed unmenu with no problems but now i am trying to get streambaby running and i have it a wall. I installed java but every time i try to run streambaby i get the following error. What am i missing? root@Tower:/boot# installpkg jre-6u21-i586-1.txz Verifying package jre-6u21-i586-1.txz. Installing package jre-6u21-i586-1.txz: PACKAGE DESCRIPTION: # Java 2 Platform Standard Edition Runtime Environment, # Version 6.0 update 21. # # The J2SE Runtime Environment (JRE) is intended for software # developers and vendors to redistribute with their applications. # It contains the Java virtual machine, runtime class libraries, and # Java application launcher that are necessary to run programs written # in the Java programming language. # # If you need development tools, obtain the jdk from /extra, or see the # Sun Microsystems web page: http://java.sun.com/ Executing install script for jre-6u21-i586-1.txz. Package jre-6u21-i586-1.txz installed. root@Tower:/boot# /usr/lib/java/bin/java /boot/packages/streambaby/streambaby Exception in thread "main" java.lang.NoClassDefFoundError: /boot/packages/streambaby/streambaby Caused by: java.lang.ClassNotFoundException: .boot.packages.streambaby.streambaby at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) Could not find the main class: /boot/packages/streambaby/streambaby. Program will exit.
September 14, 201015 yr /boot/packages/streambaby/streambaby is not the name of a python script perhaps? It is basically telling you the file does not exist. Joe L.
September 15, 201015 yr Author Well I seem to have it running for now. I reinstalled a java and i am using a different script file to call streambaby (one that came with the distro in a different folder) but I am still having a problem with streambaby not starting up at boot time. I added the following line to the go code but it doesn't seem to be starting up at boot. /boot/packages/streambaby/extra/service/linux32/streambaby start If anyone thinks they can help I can post the contents of script file.
September 15, 201015 yr Well I seem to have it running for now. I reinstalled a java and i am using a different script file to call streambaby (one that came with the distro in a different folder) but I am still having a problem with streambaby not starting up at boot time. I added the following line to the go code but it doesn't seem to be starting up at boot. /boot/packages/streambaby/extra/service/linux32/streambaby start If anyone thinks they can help I can post the contents of script file. The array is probably not yet online when you go to start it. Try something like this: chmod +x /boot/packages/streambaby/extra/service/linux32/streambaby echo "/boot/packages/streambaby/extra/service/linux32/streambaby start" | at now + 1 minute It will start the service 1 minute after you reboot.
Archived
This topic is now archived and is closed to further replies.