ThinkingRock Forum

To go back to http://www.trgtd.com.au
It is currently Thu May 23, 2013 6:04 pm

All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Sun Dec 28, 2008 1:18 am 
Offline

Joined: Thu Jun 28, 2007 4:27 pm
Posts: 3
I just finished installing TR 2.0.1 on Ubuntu EEE 8.04, and ran into a couple of problems that someone else may have. I thought I would share my experience just in case.

After unzipping TR under my /tmp folder, I tested it and it ran very well. I have the following Java packages installed:

* sun-java5-jdk
* sun-java6-jdk

I then did the following:

* I moved the tr-2.0.1 folder to /opt
* I added "/opt/tr-2.0.1/bin" to my path
* Ran the 'chown -R tpurl:tpurl /opt/tr-2.0.1" command so I would own everything under that directory.

I then tried to run tr.sh, and the following problems occurred:

* The tr.sh process would peg my CPU for about a minute
* The amount of RAM used would steadily increase over this period until it reached 100%.
* At this time, I would get "unable to fork" errors.
* I would also get errors telling me that I ran out of RAM.

I would then see a Netbeans splash screen, and then some version of Netbeans would start. After closing this window, another one would open. This happened until I would kill the tr.sh pid.

I think the problem had something to do with my $PATH variable. To fix everything, I did the following:

* rm -rf /home/tpurl/.thinkingrock
* sudo rm -rf /opt/tr-2.0.1
* (untar the tr tar file under /tmp)
* sudo cp -r /tmp/tr-2.0.1 /opt/
* sudo chown -R tpurl:tpurl /opt/tr-2.0.1
* I then removed any reference to Thinking Rock from my $PATH variable.
* Log out and log back in.

After all of that, I then created a file called ~/scripts/tr.sh with the following contents:
Code:
#!/bin/bash

cd /opt/tr-2.0.1/bin
./tr.sh


I can now run this script from anywhere, including a shortcut, and it just works.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group