The RapidMiner community is on read-only mode until further notice. Technical support via cases will continue to work as is. For any urgent licensing related requests from Students/Faculty members, please use the Altair academic forum here.
nohup and rapidminer command line
I am having trouble running a process that takes loads in an examle set and builds a model and generates it. I am trying to run it on a linux machine using the following command:
nohup rapidminer rm_workspace/UMLOCForEachProject/generateDTMModelForAllProject.xml > generateDTModel.log 2>&1 &
but after a day or so I get the message below that the xserver connection is closed.
Why does it need any x windows?
RapidMiner version 4.1, Copyright (C) 2001-2007
RapidMiner comes with ABSOLUTELY NO WARRANTY; This is free software,
and you are welcome to redistribute it under certain conditions;
see license information in the file named LICENSE.
G Jul 10, 2008 2:50:18 PM: rapidminer.home is '/usr/local/rapidminer-4.1'.
Last message repeated 1 times.
G Jul 10, 2008 2:50:18 PM: ----------------------------------------------------
G Jul 10, 2008 2:50:18 PM: Initialization Settings
G Jul 10, 2008 2:50:18 PM: ----------------------------------------------------
G Jul 10, 2008 2:50:18 PM: Default system encoding for IO: UTF-8
G Jul 10, 2008 2:50:18 PM: Load core operators...
G Jul 10, 2008 2:50:18 PM: Load Weka operators: true
G Jul 10, 2008 2:50:18 PM: Load JDBC drivers from lib directory: true
G Jul 10, 2008 2:50:18 PM: Load JDBC drivers from classpath: false
G Jul 10, 2008 2:50:18 PM: Load plugins: true
G Jul 10, 2008 2:50:18 PM: Load plugins from '/usr/local/rapidminer-4.1/lib/plug
ins'
G Jul 10, 2008 2:50:18 PM: ----------------------------------------------------
G Jul 10, 2008 2:50:18 PM: Read rcfile '/usr/local/rapidminer-4.1/etc/rapidminer
rc'.
G Jul 10, 2008 2:50:18 PM: Trying rcfile '/usr/local/rapidminer-4.1/etc/rapidmin
errc.Linux'...skipped
G Jul 10, 2008 2:50:18 PM: Trying rcfile '/home/Isaac/.rapidminer/4_1_0_rapidmin
errc'...skipped
G Jul 10, 2008 2:50:18 PM: Read rcfile '/home/Isaac/.rapidminer/4_1_0_rapidminer
rc.Linux'.
G Jul 10, 2008 2:50:18 PM: Trying rcfile '/home/Isaac/rapidminerrc'...skipped
G Jul 10, 2008 2:50:18 PM: Trying rcfile '/home/Isaac/rapidminerrc.Linux'...skip
ped
G Jul 10, 2008 2:50:18 PM: Trying rapidminer.rcfile. Property not specified...sk
ipped
G Jul 10, 2008 2:50:19 PM: Loading operators from 'operators.xml'.
G Jul 10, 2008 2:50:25 PM: Loading JDBC driver information from 'etc:jdbc_proper
ties.xml'.
G Jul 10, 2008 2:50:25 PM: Found 1 plugins in /usr/local/rapidminer-4.1/lib/plug
ins
G Jul 10, 2008 2:50:25 PM: Loading Text Plugin
G Jul 10, 2008 2:50:25 PM: Loading operators from '/usr/local/rapidminer-4.1/lib
/plugins/rapidminer-text-4.1.jar'.
P Jul 10, 2008 2:50:26 PM: Initialising process setup
P Jul 10, 2008 2:50:26 PM: [NOTE] No filename given for result file, using stdou
t for logging results!
P Jul 10, 2008 2:50:26 PM: Checking properties...
P Jul 10, 2008 2:50:26 PM: Properties are ok.
P Jul 10, 2008 2:50:26 PM: Checking process setup...
P Jul 10, 2008 2:50:26 PM: Inner operators are ok.
P Jul 10, 2008 2:50:26 PM: Checking i/o classes...
P Jul 10, 2008 2:50:26 PM: i/o classes are ok. Process output: Model.
P Jul 10, 2008 2:50:26 PM: Process ok.
P Jul 10, 2008 2:50:26 PM: Process initialised
P Jul 10, 2008 2:50:26 PM: [NOTE] Process starts
P Jul 10, 2008 2:50:26 PM: Process:
Root[0] (Process)
+- C45ExampleSource[0] (C45ExampleSource)
+- DecisionTree[0] (DecisionTree)
+- ModelWriter[0] (ModelWriter)
X connection to localhost:10.0 host broken (explicit kill or server shutdown)
nohup rapidminer rm_workspace/UMLOCForEachProject/generateDTMModelForAllProject.xml > generateDTModel.log 2>&1 &
but after a day or so I get the message below that the xserver connection is closed.
Why does it need any x windows?
RapidMiner version 4.1, Copyright (C) 2001-2007
RapidMiner comes with ABSOLUTELY NO WARRANTY; This is free software,
and you are welcome to redistribute it under certain conditions;
see license information in the file named LICENSE.
G Jul 10, 2008 2:50:18 PM: rapidminer.home is '/usr/local/rapidminer-4.1'.
Last message repeated 1 times.
G Jul 10, 2008 2:50:18 PM: ----------------------------------------------------
G Jul 10, 2008 2:50:18 PM: Initialization Settings
G Jul 10, 2008 2:50:18 PM: ----------------------------------------------------
G Jul 10, 2008 2:50:18 PM: Default system encoding for IO: UTF-8
G Jul 10, 2008 2:50:18 PM: Load core operators...
G Jul 10, 2008 2:50:18 PM: Load Weka operators: true
G Jul 10, 2008 2:50:18 PM: Load JDBC drivers from lib directory: true
G Jul 10, 2008 2:50:18 PM: Load JDBC drivers from classpath: false
G Jul 10, 2008 2:50:18 PM: Load plugins: true
G Jul 10, 2008 2:50:18 PM: Load plugins from '/usr/local/rapidminer-4.1/lib/plug
ins'
G Jul 10, 2008 2:50:18 PM: ----------------------------------------------------
G Jul 10, 2008 2:50:18 PM: Read rcfile '/usr/local/rapidminer-4.1/etc/rapidminer
rc'.
G Jul 10, 2008 2:50:18 PM: Trying rcfile '/usr/local/rapidminer-4.1/etc/rapidmin
errc.Linux'...skipped
G Jul 10, 2008 2:50:18 PM: Trying rcfile '/home/Isaac/.rapidminer/4_1_0_rapidmin
errc'...skipped
G Jul 10, 2008 2:50:18 PM: Read rcfile '/home/Isaac/.rapidminer/4_1_0_rapidminer
rc.Linux'.
G Jul 10, 2008 2:50:18 PM: Trying rcfile '/home/Isaac/rapidminerrc'...skipped
G Jul 10, 2008 2:50:18 PM: Trying rcfile '/home/Isaac/rapidminerrc.Linux'...skip
ped
G Jul 10, 2008 2:50:18 PM: Trying rapidminer.rcfile. Property not specified...sk
ipped
G Jul 10, 2008 2:50:19 PM: Loading operators from 'operators.xml'.
G Jul 10, 2008 2:50:25 PM: Loading JDBC driver information from 'etc:jdbc_proper
ties.xml'.
G Jul 10, 2008 2:50:25 PM: Found 1 plugins in /usr/local/rapidminer-4.1/lib/plug
ins
G Jul 10, 2008 2:50:25 PM: Loading Text Plugin
G Jul 10, 2008 2:50:25 PM: Loading operators from '/usr/local/rapidminer-4.1/lib
/plugins/rapidminer-text-4.1.jar'.
P Jul 10, 2008 2:50:26 PM: Initialising process setup
P Jul 10, 2008 2:50:26 PM: [NOTE] No filename given for result file, using stdou
t for logging results!
P Jul 10, 2008 2:50:26 PM: Checking properties...
P Jul 10, 2008 2:50:26 PM: Properties are ok.
P Jul 10, 2008 2:50:26 PM: Checking process setup...
P Jul 10, 2008 2:50:26 PM: Inner operators are ok.
P Jul 10, 2008 2:50:26 PM: Checking i/o classes...
P Jul 10, 2008 2:50:26 PM: i/o classes are ok. Process output: Model.
P Jul 10, 2008 2:50:26 PM: Process ok.
P Jul 10, 2008 2:50:26 PM: Process initialised
P Jul 10, 2008 2:50:26 PM: [NOTE] Process starts
P Jul 10, 2008 2:50:26 PM: Process:
Root[0] (Process)
+- C45ExampleSource[0] (C45ExampleSource)
+- DecisionTree[0] (DecisionTree)
+- ModelWriter[0] (ModelWriter)
X connection to localhost:10.0 host broken (explicit kill or server shutdown)
0
Answers
we unfortunately build some dependencies on graphical elements into some of the models (including for example the decision tree model). The latest CVS should have removed most of these dependencies now so upgrading might help. You can get more information about how to access the CVS version and building RapidMiner yourself at
http://rapid-i.com/content/view/25/48/
We are hoping that we removed all of these dependencies already but there might still be some of them at some places. So we really appreciate if you run into these problems after updating.
Cheers,
Ingo