How to install pentaho community edition Server on ubuntu 18.04? - pentaho

I have followed the steps in http://wiki.joanillo.org/images/1/11/Community_user_guide.pdf but I am unable to run the server

That document refers to version 3.x of Pentaho. Current version is 8.2. The doc is out of date by several years.
There’s no folder biserver-ce anymore, it’s now called pentaho-server. The script’s name is still the same.
You will need a JDK installed (1.8 or above, and if you install Pentaho 8.2 you should use openJDK)

i hope you have started the server, if not run this file using terminal /pentaho-server/start-pentaho.sh ....
please provide the log it will be in the path pentahoserver->tomcat->logs->catalina.out

Related

How to start GraphDB database in command line?

I have installed a GraphDB server free version on a linux server and I am trying to start the database now by command line, but the way to start the installed database described in the official document is by clicking the application icon. (see: https://graphdb.ontotext.com/documentation/free/quick-start-guide.html), which is clearly not a valid measure for me. So the question is what command line I should use, or what I can do to start the installed GraphDB database.
Thank you very much in advance!

How to specify Java Home/JDK in Oracle SQL Developer?

With reference to the above-mentioned title, the path has been given at the time of opening SQL Developer for the first time. Now I need to change the path.
Can anyone help me or guide me to do this?
It depends on on your operating system.
Windows:
User, AppData, Roaming Profiles, sqldeveloper, VERSION, product.conf
Note for the Version value: if you're on version 4.0, you'll see 1.0 as the top level directory. After that you should see things like 17.3 or 18.2.
Linux & OS X
$home/.sqldeveloper, product.conf
Open file, update your Java Home.
Make sure you're pointing to an Oracle Java JDK - we don't support OpenJDK today.
Latest version of SQL Developer expects a Java 8 JDK.
Version 19.2 or higher will also work with 11 or Oracle JDK 12.
In the same folder, Roaming, delete all older SQL Developer folders. When you upgrade SQL Developer version, Java will first look in these folders.
In my case, I browse the java path as
C:\Program Files\Java\jdk-11.0.8
It worked for me, please try it out if you need

How to check Pentaho kettle version from the command line?

I know I can check the Pentaho version by opening the spoon.sh in vi mode, but the Pentaho that is installed in production environment doesn't have that information in it. Probably some employee before me has edited it.
So is there any other way that I can know the version of the Pentaho that is being used on the server?
Go to the command line and type this command to see the version of kettle. Now your production server may a Linux box or a Windows box. Depending on the type of the platform, use the command below:
Linux:
./kitchen.sh -version
Windows:
Kitchen.bat -version
To check the version of the bi-server, just go to the Pentaho User Console (PUC). Help --> About.
I was able to find out the version by logging into the Pentaho User Console. Then go to Help and click on About. There i can see the version number being used. This gives the version number for the Pentaho Bi Server.
For the Development tool. I have checked the logs for errors and got the version number there.

"Main Not Found" starting Apache Geronimo

I am attempting to start Apache Geronimo using the command:
./bin/geronimo run
When I do this, it spins for a minute, issues the message "Main not found" and exits.
This article suggests that it is a system resource issue:
http://apache-geronimo.328035.n3.nabble.com/jira-Created-GERONIMO-5551-Failing-to-start-the-server-with-the-error-quot-Main-not-found-quot-td1324013.html
I have tried it on both an Amazon EC2 box (running Linux), and an Azure A1 box (running Windows Server), and I have tried the "Full Profile Release" and "Web Profile Release" of Geronimo, all with no change.
I'm at a complete loss as to what I could try. I am led to believe that the EC2 box, at the very least, should have the muscle to run Geronimo.
Any suggestions would be welcome.
Version 3 of Apache Geronimo is designed to run on JRE 1.7 instead of JRE 1.8. As stated in the other answers, the issue was caused by Geronimo being run on JRE 1.7 instead of 1.8.
You are not limited to JRE 1.7 and earlier in order to run Geronimo though. Therefore, all you have to do is to rename or copy the property jre-1.7 in the file etc/config.properties in your installation to jre-1.8. Afterwards, you should be able to run Geronimo without an error.
This has a huge benefit, since now you will be able to run programs on Geronimo that use Java 8 features.
It turns out that the issue is that I had the wrong version of the JDK installed. I had installed the most recent version (8), but Geronimo apparently won't work with that. When I instead installed version 6, everything worked fine.
I was getting the same error with Java 8. I tried the latest version of Java SE 7 and that resolved the problem. So I wouldn't use Java 6, since it is and has been out of support for awhile now (read: security issue).

How to install pgAgent service on windows

I am new in postgreSQL database , I recently found that postgreSQL support SQL Job by pgAgent. I am using windows XP operating system.
I searched lots about pgAgent on Google and trying to configure pgAgent on machine.
Download pgAgent package in which I found pgagent.sql file after executing this file JOB(0) icon is appear on my pgAdmin III object panel. like following image.
But I am facing problem to register pgAgent service. As per postgres sql documentation following is next steps to register services but I am fail to do this. or don't know how to configure pgAgent service.
Following step from postgre sql documentaion :
The service may be quite simply installed from the command line as follows:
"C:\Program Files\pgAdmin III\pgAgent" INSTALL pgAgent -u postgres -p secret hostaddr=127.0.0.1 dbname=pgadmin user=postgres
but I tried lot to do this, please help in how to register pgAgent service with Windows XP.
reference link of postgre sql : http://www.pgadmin.org/docs/1.6/pgagent-install.html
Please help in this , Thanks in Advance !
PgAgent is probably not installed
The pgAgent download page says:
pgAgent is a job scheduler for PostgreSQL which may be managed using
pgAdmin. Prior to pgAdmin v1.9, pgAgent shipped as part of pgAdmin.
From pgAdmin v1.9 onwards, pgAgent is shipped as a separate
application.
And then it provides a download link to http://www.postgresql.org/ftp/pgadmin3/release/pgagent/
But the problem is there's only source code there. There are also SQL files in the tarball but they're useless without pgagent.exe.
How to install it
Apparently the correct way to install a pre-compiled pgAgent is with the Stack Builder installer that also happens to be the primary installation method on Windows for the PostgreSQL server itself. That's what is suggested on the official download page:
http://www.postgresql.org/download/windows/
If you have already installed PostgreSQL for Windows with this method, the installer is available under the name Application Stack Builder in the PostgreSQL 9.2 folder in Windows Start Menu.
StackBuilder will normally recognize your installed PostgreSQL version(s), and suggest to install among various programs pgAgent in the Add-ons, tools and utilities category.
Once you check pgAgent and continue with the installation, it will download it and launch its setup. The setup phase includes runnning the necessary SQL statements and installing the PostgreSQL scheduling Agent - pgAgent windows service. If this step is successful, there is nothing else to do, the functionality will be available in pgAdmin for creating jobs.
What's misleading in the docs
The latest pgAdmin docs at http://www.pgadmin.org/docs/1.16/pgagent-install.html has a Service installation on Windows chapter that says:
The service may be quite simply installed from the command line as
follows (adjusting the path as required):
"C:\Program Files\pgAdmin III\pgAgent" INSTALL pgAgent -u postgres -p
secret hostaddr=127.0.0.1 dbname=postgres user=postgres
However in the majority of cases this is not going to be of help because either:
pgAgent install is done by pgAgent setup as launched by StackBuilder and this step is not necessary.
or you have got pgAdmin alone and pgagent.exe will not be installed so this step is not possible.
pgAdmin will be successfully installed after downloading the compressed file from
https://www.pgadmin.org/download/pgagent-source-code/
there inside, you will find the file "sql\pgagent.sql"
Toss the content of this file into the Query Tool and run it. That will install pgAgent. Refresh your database connection to see the result. The tab pgAgent Jobs should have been created at the root level for your connection.
There is no need of using the INSTALL command from your command line.
I faced the same problem. I was able to get pgagent working by downloading and executing the stand-alone installation file pgagent-3.4.0-4-windows.exe from here: http://sbp.enterprisedb.com/getfile.jsp?fileid=11842