View Full Version : install issues on linux

01-15-2006, 03:03 PM

I donloaded the demo application on linux. Here are my findings.

1) Looks like some of the files in the zip come from windows editors. Make sure to use : unzip -a to compensate for it.

2) all of the shell script do not have execute permissions. The easiest i found was to do : find -name "*.sh" -exec chmod +x {} ';'

3) i am still getting errors after trying jdk 1.4.2_09 and 1.4.2_10 with class errors attached here

Post edited by: dameerjoog, at: 01/15/2006 19:05

01-15-2006, 03:07 PM
having problems loading the class errors file http://forums.pentaho.org/archived_att/files/classerrors.txt

01-17-2006, 12:10 PM

I've tried to recreate your problem but can't seem to make it break. It seems that from your stack trace that Shark is having troubles starting up. Are you using the "start-pentaho.sh" to start the platform?

Can you verify that the Hypersonic DB is starting correctly? It should start 4 instances-- Sample Data, Quartz, Shark, and Hibernate. If the Shark is not starting it might give this error.

Incidentally, we've also identified the problem with the permissions not being set correctly. We're trying to resolve it now.

Let me know if this helped.


01-17-2006, 12:32 PM
Could you also tell me what version of linux your using and if you installed from the rpm or the zip?

01-17-2006, 04:52 PM
This is ubuntu hoary on a laptop

uname -a
Linux zombi-w000 2.6.10-6-386 #1 Thu Dec 22 10:54:06 UTC 2005 i686 GNU/Linux

the log file i attached states that :
[Server@13c5982]: Database [index=0, id=0, db=file:sampledata/sampledata, alias=sampledata] opened s ucessfully in 1494 ms.
[Server@13c5982]: Database [index=1, id=1, db=file:shark/shark, alias=shark] opened sucessfully in 2 77 ms.
[Server@13c5982]: Database [index=2, id=2, db=file:hibernate/hibernate, alias=hibernate] opened suce ssfully in 181 ms.
[Server@13c5982]: Database [index=3, id=3, db=file:quartz/quartz, alias=quartz] opened sucessfully i n 79 ms.
So it looks like those things started normally to me :-(

also doing ps -ef after doing ./start-pentaho.sh gives :

19656 19628 0 19:43 pts/1 00:00:00 /bin/sh ./start-pentaho.sh
zombi 19657 19656 0 19:43 pts/1 00:00:00 /bin/sh ./start_hypersonic.sh
zombi 19658 19656 0 19:43 pts/1 00:00:00 /bin/sh ./run.sh
zombi 19662 19657 4 19:43 pts/1 00:00:01 java -cp lib/hsqldb.jar org.hsqldb.Server -database.0 sampledata/sampledata -zombi 19665 19658 62 19:43 pts/1 00:00:14 /opt/java/j2sdk1.4.2_10/bin/java -server -Xms128m -X

01-17-2006, 05:55 PM
Based on my research into the ClassFormatException, it seems that it's thrown when something mangles the class files. According to various resources, this happens when a class gets uploaded/saved as a text file (and therefore gets hosed). Did you install using the RPM?

Also, it's possible that a strange version of Java is being run. Can you try typing java -version to see what version is being picked up by the OS?

The bottom line is that this exception is "Raised by the loader when it encounters a corrupt class file."

Take care,


01-17-2006, 07:54 PM
No i used the zip file as i explained in the previous post. I did "unzip -a " .. more on that later

in the logs the jvm version is reported as
19:43:06,891 INFO [ServerInfo] Java version: 1.4.2_10,Sun Microsystems Inc.
19:43:06,892 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.4.2_10-b03 ,Sun Microsystems Inc.
19:43:06,892 INFO [ServerInfo] OS-System: Linux 2.6.10-6-386,i386

java -version gives
java version "1.4.2_10"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_10-b03)
Java HotSpot(TM) Client VM (build 1.4.2_10-b03, mixed mode)

My suspition is that maybe (just maybe) the unzip command thinks that a class is a text file and starts screwing with it due to the -a flag. This could be wird. I will try to not use the -a flag when unzipping and see how it goes.

Anyway thanks you for your help !