Pentaho Initialization Exception

June 6, 2015

HI Friends,

I am back after a long break. In-fact a long long break.

Hope you are all fine.

While starting pentaho for the first time, if you get following error on your browser sceen,

###########################

Pentaho Initialization Exception

The following errors were detected
One or more system listeners failed. These are set in the systemListeners.xml.
   org.pentaho.platform.api.engine.PentahoSystemException: PentahoSystem.ERROR_0014 – Error while trying to execute startup sequence for org.pentaho.platform.repository2.unified.BackingRepositoryLifecycleManagerSystemListener

Please see the server console for more details on each error detected.

##################################################

Just try the below solutions,

  1. The Server will not run without the system database. If your logs show you a Quartz-Error, or a Hibernate error, then your HSQL database is not running. In the download, you’ll find a “data” directory. Start the “start-hypersonic.bat” before you start the main Pentaho server.
  2. Pentaho does not run with Java 8. There seem to be some incompatible changes in the JDK and I have not been able to actually start it up correctly. You have to use JDK 1.7 to be successful. ALso make sure that your JAVA_HOME or PENTAHO_JAVA_HOME points to the correct JDK.
  3. The Pentaho bat files try to locate a Java installation automatically, and without explicitly setting these environment variables, any JDK may be picked up at random. Usually that is the last JDK that has been installed or updated. So to be safe, lock down the JDK by setting these variables (via Control Panel-> System -> Advanced System Settings -> Environment Variables)

You have to check your log files for the exact error messages.

Have a nice day.

Shell script to read files and perform diff functions

July 25, 2010

Hi,

I wanted to extract files to read pdf files, they were around 100. So i tried to write a script to do the same.

while read line ; do unrar e “$line” ; done < myfile.txt

this will extract all the files in the same directory.

If you like my blog, do check my new blog at blog.aganith.com

Internet to run out of IP addresses soon

May 21, 2010

May be in 1 and half years.

The count down begins.

Thank humans, they have already developed IP v6.

Ubuntu 9.10 bug discovered by me.

April 29, 2010

Hi,

I was working on my laptop and suddenly my laptop hanged and i couldn’t do any thing to bring it to a normal state.

I am using Ubuntu 9.10 and kernel version is 2.6.31-20-generic #58-Ubuntu SMP Fri Mar 12 05:23:09 UTC 2010 i686 GNU/Linux

I have searched the Ubuntu forums, but didn’t got a satisfied solution for this Bug.

Error message …………………

Apr 29 01:20:57 laptop pulseaudio[2424]: ratelimit.c: 130 events suppressed
Apr 29 01:25:36 laptop pulseaudio[2424]: ratelimit.c: 150 events suppressed
Apr 29 01:28:57 laptop pulseaudio[2424]: ratelimit.c: 153 events suppressed

Hope somebody helps me to figure out the problem with the pulseaudio thing.

Bye

Deleting multiple tables from mysql database

April 29, 2010

Hi,

I was working on a project, had to delete multiple tables from a database.

I had 2 options , either delete individual tables using phpmyadmin or write a procedure for the same.

Since i am lazy, i did not liked the first option and since i am not a sql admin and didn’t have the time to learn and write a procedure to delete multiple tables , i couldn’t use the second option also.

So i created a php script to do the same, it worked for me. Hope it will work for you people also.

#######################

<html>
<head>
<title>Deleting MySQL Tables</title>
</head>
<body>
<?php

$dbhost = ‘localhost’;
$dbuser = ‘dnusername’;
$dbpass = ‘password’;

$conn = mysql_connect($dbhost, $dbuser, $dbpass) or die                      (‘Error connecting to mysql’);

$dbname = ‘databasename’;

/* query all tables  and gets the tables with the matching string*/
$sql = “SHOW TABLES FROM $dbname like “somestring”;
if($result = mysql_query($sql)){
/* add table name to array */
while($row = mysql_fetch_row($result)){
$found_tables[]=$row[0];
}
}
else{
die(“Error, could not list tables. MySQL Error: ” . mysql_error());
}

foreach($found_tables as $table_name){
$sql = “DROP TABLE $dbname.$table_name”;
if($result = mysql_query($sql)){
echo “Success – table $table_name deleted.”;
}
else{
echo “Error deleting $table_name. MySQL Error: ” . mysql_error() . “”;
}
}
mysql_close($conn);

?>
</body>
</html>

##############################

If anybody knows SQL command to do the same, do tell me, it will be useful and i don;t have to write such a big php script.

Bye

Raatris khel chale :- Beautiful Lyrics

December 28, 2009

Raatris khel chale, ya gudh chandanyancha
sampel na kadhi, ha khel sawalyancha

ha chandra na swayambhu, ravi tej vahato ha
grahanaat sawalyancha abhishap bhogato ha
pritis hoi sakshi, ha dut chandanyancha

aabhas sawali ha, asato khara prakash
je satya bhasati te, asati nitant bhas
hasataat sawalila, ha dosh aandhalyancha

sampel na kadhi, ha khel sawalyancha
Raatris khel chale, ya gudh chandanyancha
sampel na kadhi, ha khel sawalyancha

Installing 32 bit Adobe Reader 9 to a 64 bit Ubuntu 9.04

November 5, 2009

Hi,

M Back again.

I wanted to install the Abode acrobat on my ubuntu 9.04. Checked the site, it had only i386 version of Acrobat in the Deb format. It is really bad on their behalf.

So tried to install the i386 version on to my 64 bit machine and it displayed many errors.

So had to use a proper option with the dpkg command to install the 32 bit version.

dpkg -i --force-architecture AdbeRdr9.2-1_i386linux_enu.deb

And it installed properly.

I do not understand one thing ,linux community wants it to be more fexible than windows, then why differentiate between 32bit and 64bit  binaries and create a problem for the users who want to install the 32 bit programs on the 64 bit machine.

They have to find a solution for this. Comman man can not use linux unless such problems are removed or handled properly.

Bye for now, I will be back again some day.

 

Enabling a Microphone on Ubuntu

September 21, 2009

i am back again after many days.

i installed ubuntu jaunty on my laptop and was tryin to configure the microphone but it failed to work.  so after 2 days of search , i finally meet with a solution.

Carried out following things to enable the microphone settings.

  1. Open the “Volume Control” panel.
  2. In the “Volume Control” panel: “Edit” → “Preferences”.
  3. In the “Volume Control Preferences” panel: tick “Microphone”, “Capture”, and “Capture 1”.
  4. Close the “Volume Control Preferences” panel.
  5. In the “Volume Control” panel, “Playback” tab: unmute the microphone.
  6. In the “Volume Control” panel, “Recording” tab: enable audio recording from capture.

finally i was able to test sucessfuly the skype account. Hope this thing will help u.

Bye for now.

Nice song from Bandh Premache

August 24, 2009

Hya asha rimzhimi jhirmir paus dhara,
tan man phulaun jati

oo hya rimzhimi jhirmir paus dhara,
tan man phulaun jati

shwaas tuzha madhumass phulacha,
rang sukhacha haati

ha dhund gaar wara, ha kowala shahara
ujalun rang aahe, swachand pritiche

Chimb bhijalele, rup sajalele
barasuni aale rang pritiche.

kon jaage raat sari, antari sukhauni
sapt rangi pakharu he , endradhanu banu aale

laat hi , waadali, mohuni gaate
hi mithi ladaki mogara hote.

padasaad bhawananche, re bandh na kunache
daahi dishat gaane , be dhund pritiche
Chimb bhijalele, rup sajalele,
barasuni aale rang pritiche.

Kya hua tera vaada – Hum Kisi Se Kam Nahi

July 21, 2009

Kya hua tera vaada wo kasam wo iraada
kya hua tera vaada wo kasam wo iraada
bhoolega dil jis din tumhe wo din zindagi ka aakhri din hoga
kya hua tera vaada wo kasam wo iraada
bhoolega dil jis din tumhe wo din zindagi ka aakhri din hoga
kya hua tera vaada

yaad hai mujhko tune kaha tha tumse nahi roothenge kabhi
dil ki tarah se haath mile hain kaise bhala chhootenge kabhi
teri baahon mein beeti har shaam bewafaa ye bhi kya yaad nahi
kya hua tera vaada wo kasam wo iraada
bhoolega dil jis din tumhe wo din zindagi ka aakhri din hoga
kya hua tera vaada wo kasam wo iraada

o kehne waale mujhko farebi kaun farebi hai ye bata
wo jisne ghum liya pyaar ki khaatir ya jisne pyaar ko bech diya
nasha daulat ka aisa bhi kya ke tujhe kuchh bhi yaad nahi
kya hua tera vaada wo kasam wo iraada
bhoolega dil jis din tumhe wo din zindagi ka aakhri din hoga
kya hua tera vaada wo kasam