Welcome to Knowage Q&A, where you can ask questions and receive answers from other members of the community.
0 votes
1 view

Hello!

I followed the installation guide on the official website as well as from the Youtube. It installed successfully. Tomcat is running fine.

However, I can't seem to access the localhost/8080/knowage. HTTP Status 404 – Not Found

When I run the knowage_startup.sh, the following message appeared:

Waiting for MariaDB...
./knowage_startup.sh: 62: ./../../MariaDB/bin/mysqld_safe: not found

I will share the localhost log if needed.

Any help would be greatly appreciated! Thanks in advance!

Environment Ubuntu 20.04, MySQL 8, Tomcat 9, Knowage 8
in Installer by (310 points)

1 Answer

0 votes
Hello,

it looks like you are missing the database (MariaDB/MySQL).
How did you install Knowage? Did you use the installer or did you make a manual installation?

Best regards,
Marco
by (9.3k points)
Hi,

I think there are two separated issues.

1) the "address in use" error is probably due to the fact that the knowage_startup.sh script has been executed twice in a row, without launching knowage_shutdown.sh

2) the "mysqld_safe not found" error is probably due to the fact that the path is wrong

I suggest you to:

1) run the knowage_shutdown.sh script

2) modify the knowage_startup.sh script and change the path of mysqld_safe to "/usr/bin/mysqld_safe"

3) clear all the logs and run the knowage_startup.sh script

Bye;
Marco
Hi Marco,

This is the default script inside the knowage_startup.sh:

#"$PRGDIR"/../../MariaDB/bin/mysqld_safe --defaults-file="$PRGDIR"/../../MariaDB/bin/knowage.ini --console &

Am I supposed to change everything to: "$PRGDIR"/../usr/bin/mysqld_safe ? Do I have to install MariaDB in this case? Currently only mysql is installed.
Hi,

just to clarify, during the installation process which option did you choose?

A) "Use an embedded version of MariaDB"

B) "Use an already installed DBMS"
I chose the B option.
Hi Irfan, sorry for the late answer.

Have you got any updates on this? You can try to use the option "A" and see if it works.
If it works that way, we will proceed to investigate why the "B" option is not working.

Bye,
Marco
...