PDA

View Full Version : installing/running linux client - no gui



FoBoT
07-01-2004, 11:52 AM
is X windows required or not?

a couple things don't make sense

i downloaded the No GUI Installer with JVM

untar/gzipped it

i don't see a "installCommunityTSC.bin" file as it says on the download page (quoted below)


Notes:

After downloading open a shell and CD to the directory where you downloaded the installer.
At the prompt type: sh ./installCommunityTSC.bin

A Java virtual machine is included with this download. It will be run automatically when you run the shell script.


i read the "GUILessInstallerInstructions.txt" instructions and edited the D2OL.lax file

i even added the absolute path for a couple more things in the D2OL.lax file

i get the following error stuff



FATAL [com.sengent.d2ol.node.agent.Node] Fatal Error in Node.run! Node ID: Unknown
java.lang.Exception: Error creating Controller: com.sengent.d2ol.node.agent.controllers.gui.PureJavaExtension
at com.sengent.d2ol.node.agent.controllers.NodeController.getControllerInstanceUsingReflection(Unknown Source)
at com.sengent.d2ol.node.agent.controllers.NodeController.getJavaController(Unknown Source)
at com.sengent.d2ol.node.agent.controllers.NodeController.createController(Unknown Source)
at com.sengent.d2ol.node.agent.NodeCommandReceiver.<init>(Unknown Source)
at com.sengent.d2ol.node.agent.Node.initNode(Unknown Source)
at com.sengent.d2ol.node.agent.Node.run(Unknown Source)
at java.lang.Thread.run(Thread.java:536)
at com.sengent.common.threading.SafeThread.run(Unknown Source)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
... 8 more
Caused by: java.lang.UnsatisfiedLinkError: /home/shared/CommunityTSC/jre/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1473)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1389)
at java.lang.Runtime.loadLibrary0(Runtime.java:788)
at java.lang.System.loadLibrary(System.java:832)
at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)
at java.security.AccessController.doPrivileged(Native Method)
at sun.awt.NativeLibLoader.loadLibraries(NativeLibLoader.java:38)
at sun.awt.DebugHelper.<clinit>(DebugHelper.java:29)
at java.awt.Component.<clinit>(Component.java:507)
at com.sengent.d2ol.node.agent.controllers.gui.PureJavaExtension.<init>(Unknown Source)
at com.sengent.d2ol.node.agent.controllers.gui.PureJavaExtension.getInstance(Unknown Source)
... 12 more
==================================
CommunityTSC Error!
=============
Error in CommunityTSC.
If the problem persists, please re-install
the latest CommunityTSC installer from http://www.childhooddiseases.org/
or email support@childhooddiseases.org
Thank you for your support of the CommunityTSC project.

Detail Message: Error creating Controller: com.sengent.d2ol.node.agent.controllers.gui.PureJavaExtension
==================================
FATAL [com.sengent.d2ol.node.agent.Node] REALLY Could not show dialog, title=CommunityTSC Error!, msg=Error in CommunityTSC.
If the problem persists, please re-install
the latest CommunityTSC installer from http://www.childhooddiseases.org/
or email support@childhooddiseases.org
Thank you for your support of the CommunityTSC project.

Detail Message: Error creating Controller: com.sengent.d2ol.node.agent.controllers.gui.PureJavaExtension
java.lang.NoClassDefFoundError
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:140)
at com.sengent.d2ol.node.agent.Node.showSimpleDialogWithReflectionCall(Unknown Source)
at com.sengent.d2ol.node.agent.Node.showDialog(Unknown Source)
at com.sengent.d2ol.node.agent.Node.run(Unknown Source)
at java.lang.Thread.run(Thread.java:536)
at com.sengent.common.threading.SafeThread.run(Unknown Source)

Bok
07-01-2004, 11:58 AM
X is not required.. however you need one more step

Go in to /CommunityTSC/TSC/res and edit general.prp

set the LaunchMain=false

cd ..

./D2OL controller:cli

I have it running on a number of linux boxen without X in this config. It doesn't use java at all without the main window up.

Bok

FoBoT
07-01-2004, 12:07 PM
WINNER!!!
:allhail:

thank you very much

don't tell Fozzie, he might get mad :sofa:

Bok
07-01-2004, 12:14 PM
Originally posted by FoBoT
[don't tell Fozzie, he might get mad :sofa:

Thought he was already quite mad :rotfl: :D

MerePeer
07-01-2004, 06:42 PM
He will be mad when he sees how Fobot stepped on the gas and left him in the dust.