problem with instalation

Problems with installing OpenKM? No problemo, the solution is closer than you think.
Forum rules
Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
Post Reply
Lamya
Fresh Boarder
Fresh Boarder
Posts: 1
Joined: Mon May 28, 2018 10:02 pm

problem with instalation

Post by Lamya »

hello
I try to in install OKMInstaller.jar on windows 10 64 bit but I have to get the login page but I cant http://localhost:8080/openKM
HTTP Status 404 – Not Found

Type Status Report

Message /openKM

Description The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.
can you help me?

lnovoa
Expert Boarder
Expert Boarder
Posts: 119
Joined: Tue Mar 27, 2018 8:00 am

Re: problem with instalation

Post by lnovoa »

Hi!,
first of all, you are not writing the context well, it would be http://localhost:8080/OpenKM
If this does not solve your problem ... check that the server is up and send us the log files: catalina.out and openkm.log

Lessy
Fresh Boarder
Fresh Boarder
Posts: 5
Joined: Tue Jun 23, 2020 11:08 am

Re: problem with instalation

Post by Lessy »

after installing openkm of ubuntu 14.04 server i am also getting the same error.

can anyone please help!

**HTTP Status 404 - /OpenKM**

**type Status report**

**message /OpenKM**

**description The requested resource is not available.**

**Apache Tomcat/7.0.52 (Ubuntu)**
catalina.out logs.docx
(19.65 KiB) Downloaded 15 times

jllort
Moderator
Moderator
Posts: 11151
Joined: Fri Dec 21, 2007 11:23 am
Location: Sineu - ( Illes Balears ) - Spain
Contact:

Re: problem with instalation

Post by jllort »

First of all, you are installing in a very older and non supported Ubuntu release. Ubuntu version 14.04 is a prehistoric version and you should start thinking change to one of the latest 20.04 LTS ( always Long Term Support releases ) https://ubuntu.com/download/server/than ... ture=amd64

Second, this is an strange tomcat version for OpenKM "Apache Tomcat/7.0.52", did you really watched the installation video we have in download section ? because I suspect you have gone in a wrong way. Take a look at the videos available in https://www.openkm.com/en/download.html ( https://www.youtube.com/watch?v=WJrkD2B ... e=emb_logo ). I suggest following the steps described in the video, the wizard will do almost work for you. This URL will describe what actions are needed https://docs.openkm.com/kcenter/view/ok ... ebian.html ( almos are done by wizard, but someones like database installation must be done by hand )

Lessy
Fresh Boarder
Fresh Boarder
Posts: 5
Joined: Tue Jun 23, 2020 11:08 am

Re: problem with instalation

Post by Lessy »

i reinstalled openkm on ubuntu 18.04 and followed the steps on this video https://www.youtube.com/watch?v=WJrkD2BdAJo ,i have done everything correctly but i am getting the error when i am starting the application **tail -f /home/openkm/tomcat/log/catalina.log**

do i create the catalina.log file?
and what code should i put in the file?

thanks
@jllort

jllort
Moderator
Moderator
Posts: 11151
Joined: Fri Dec 21, 2007 11:23 am
Location: Sineu - ( Illes Balears ) - Spain
Contact:

Re: problem with instalation

Post by jllort »

The file must created automatically. The application should be installed under user openkm and registeres with a service name named openkm. I suggest login with user openkm and execute go into $TOMCAT_HOME/bin folder and execute ./catalina.sh run ( will starting the application from command line, please do not close the terminal or press CTRL+C because you will stop the application ). Share the terminal output in a txt file here.

Lessy
Fresh Boarder
Fresh Boarder
Posts: 5
Joined: Tue Jun 23, 2020 11:08 am

Re: problem with instalation

Post by Lessy »

thanks...i have ran that command, here is the output:
Attachments
output for catalina.sh.docx
output
(62.58 KiB) Downloaded 7 times

jllort
Moderator
Moderator
Posts: 11151
Joined: Fri Dec 21, 2007 11:23 am
Location: Sineu - ( Illes Balears ) - Spain
Contact:

Re: problem with instalation

Post by jllort »

You must execute ( you forget runt at the end ):

Code: Select all

./catalina.sh run

Lessy
Fresh Boarder
Fresh Boarder
Posts: 5
Joined: Tue Jun 23, 2020 11:08 am

Re: problem with instalation

Post by Lessy »

oh sorry, now l have executed including "run". here is the output
Attachments
catalina.docx
output for ./catalina.sh run
(24 KiB) Downloaded 7 times

jllort
Moderator
Moderator
Posts: 11151
Joined: Fri Dec 21, 2007 11:23 am
Location: Sineu - ( Illes Balears ) - Spain
Contact:

Re: problem with instalation

Post by jllort »

Application seems started correctly. You should not stop the command line with CTRL+C when executing catalina.sh run otherwise the application is stopped.

If you have not stopped the terminal with CTRL+C then , stop, remove all the files into logs folder and share the logs folder compressed as a zip.

Lessy
Fresh Boarder
Fresh Boarder
Posts: 5
Joined: Tue Jun 23, 2020 11:08 am

Re: problem with instalation

Post by Lessy »

so does it mean I will be able to run the openkm from my server now?

here is the zip file:
Attachments
logs.zip
logs
(42.1 KiB) Downloaded 3 times

jllort
Moderator
Moderator
Posts: 11151
Joined: Fri Dec 21, 2007 11:23 am
Location: Sineu - ( Illes Balears ) - Spain
Contact:

Re: problem with instalation

Post by jllort »

I think you might have some issue with grans, in the catalina.log is shown

Code: Select all

java.io.FileNotFoundException: /home/becsa/tomcat-8.5.34/logs/host-manager.2020-07-20.log (Permission denied)
When you starting the application from command line with root users, the temporary files security changes in favour of root user.
Did you created openkm user, because you installed application into /home/becsa and should use /home/openkm ( here you have two options, create openkm user and move tomcat folder into /home/openkm and update the script /etc/init.d/openkm or change the script for working with becsa without changin the openkm location ).

Finally should change the grants from the home ( /home/becsa or /home/openkm ) you should execute
chown openkm:openkm tomcat-8.5.34 or chown becsa:becsa tomcat-8.5.34 ( if you do not decide to move the location ).

Post Reply