Page 1 of 1

problem with instalation

PostPosted:Mon May 28, 2018 10:08 pm
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?

Re: problem with instalation

PostPosted:Tue May 29, 2018 11:10 am
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

Re: problem with instalation

PostPosted:Tue Jun 30, 2020 1:40 pm
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)**
(19.65 KiB) Downloaded 216 times

Re: problem with instalation

PostPosted:Sat Jul 04, 2020 8:03 am
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 )

Re: problem with instalation

PostPosted:Mon Jul 06, 2020 12:57 pm
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

Re: problem with instalation

PostPosted:Wed Jul 08, 2020 6:46 pm
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.

Re: problem with instalation

PostPosted:Wed Jul 15, 2020 4:13 pm
by Lessy
thanks...i have ran that command, here is the output:

Re: problem with instalation

PostPosted:Thu Jul 16, 2020 11:53 am
by jllort
You must execute ( you forget runt at the end ):
Code: Select all
./catalina.sh run

Re: problem with instalation

PostPosted:Mon Jul 20, 2020 9:15 am
by Lessy
oh sorry, now l have executed including "run". here is the output

Re: problem with instalation

PostPosted:Fri Jul 24, 2020 5:11 pm
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.

Re: problem with instalation

PostPosted:Wed Jul 29, 2020 1:20 pm
by Lessy
so does it mean I will be able to run the openkm from my server now?

here is the zip file:

Re: problem with instalation

PostPosted:Sun Aug 02, 2020 7:51 am
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 ).