Page 1 of 1

Start of openKM 6.3 fails on Lubuntu 14.04 LTS

PostPosted:Wed Nov 05, 2014 4:19 pm
by AndyMu
Hi all,

I just tried to find something about my topic in the forum, but I was not successful.

I'm using Lubuntu 14.04 LTS with LXDE as the GPU of the onboard graphic card is not able to handle the new frontend features of Ubuntu.
I've tried to install openKM with the installer package for Linux, but after doing "chmod +x" on the package and starting it with "./..." nothing happens. No comment, no error.. nothing. Tried it also with sudo with the same result.

Ok, I decided to do it the manual way.
Installed Java JDK:
sudo apt-get install oracle-java7-installer
Result of java - version:
java -version
java version "1.7.0_72"
Java(TM) SE Runtime Environment (build 1.7.0_72-b14)
Java HotSpot(TM) 64-Bit Server VM (build 24.72-b04, mixed mode)
Would say by now everything looks fine.
I've exctracted the content of the *.zip file for Linux with SUDO to /opt/, result was:
sudo /opt/tomcat/bin/catalina.sh start
Using CATALINA_BASE: /opt/tomcat
Using CATALINA_HOME: /opt/tomcat
Using CATALINA_TMPDIR: /opt/tomcat/temp
Using JRE_HOME: /usr
Using CLASSPATH: /opt/tomcat/bin/bootstrap.jar:/opt/tomcat/bin/tomcat-juli.jar
Using CATALINA_PID: /opt/tomcat/catalina.pid
Tomcat started.
My CPU monitor alarms me that the CPU is the whole time now at 100%... not good :(

Trying to access http://localhost:8080/openKM does not work, no loginpage appears.

After stopping the service with "sudo /opt/tomcat/bin/catalina.sh stop" I get the following error message:
Using CATALINA_BASE: /opt/tomcat
Using CATALINA_HOME: /opt/tomcat
Using CATALINA_TMPDIR: /opt/tomcat/temp
Using JRE_HOME: /usr
Using CLASSPATH: /opt/tomcat/bin/bootstrap.jar:/opt/tomcat/bin/tomcat-juli.jar
Using CATALINA_PID: /opt/tomcat/catalina.pid
2014-11-05 16:28:40,649 [main] ERROR org.apache.catalina.startup.Catalina- Could not contact localhost:8005. Tomcat may not be running.
2014-11-05 16:28:40,653 [main] ERROR org.apache.catalina.startup.Catalina- Catalina.stop:
java.net.ConnectException: Verbindungsaufbau abgelehnt
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:579)
at java.net.Socket.connect(Socket.java:528)
at java.net.Socket.<init>(Socket.java:425)
at java.net.Socket.<init>(Socket.java:208)
at org.apache.catalina.startup.Catalina.stopServer(Catalina.java:498)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.catalina.startup.Bootstrap.stopServer(Bootstrap.java:370)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:457)
The stop command failed. Attempting to signal the process to stop through OS signal.
Tomcat stopped.
After stopping the catalina the CPU goes down to the normal level.

What can I do now?

Thanks for your help!

Re: Start of openKM 6.3 fails on Lubuntu 14.04 LTS

PostPosted:Thu Nov 06, 2014 8:31 am
by AndyMu
Hmm... I just found an information that the URL http://localhost:8080/OpenKM is case sensitive, .../openKM would not work.
I will follow the instructions on http://wiki.openkm.com/index.php/Test_O ... stallation and see if it will work with that.
On this page there are some other hints like the server log, I will post it when the case sensitive topic is not the solution.

Re: Start of openKM 6.3 fails on Lubuntu 14.04 LTS

PostPosted:Thu Nov 06, 2014 6:53 pm
by AndyMu
It is running :)
I've followed the description in http://wiki.openkm.com/index.php/Config ... vice_linux and created the openkm account, extracted the content of the ZIP archive to the home folder of the openkm user.
Just the entry for TOMCAT_HOME must be different as it was only "tomcat", but now it looks like it is working.

Have to configure now to start automatically, and somewhere I saw that german language is available.

Re: Start of openKM 6.3 fails on Lubuntu 14.04 LTS

PostPosted:Sat Nov 08, 2014 11:13 am
by jllort
We're happy you got it. I suggest if you get problem another day, you execute "catalina.sh run". This will execute the application in terminal and if there's any problem you'll discover it.

Re: Start of openKM 6.3 fails on Lubuntu 14.04 LTS

PostPosted:Sat Dec 20, 2014 3:26 am
by zarni
AndyMu wrote:It is running :)
I've followed the description in http://wiki.openkm.com/index.php/Config ... vice_linux and created the openkm account, extracted the content of the ZIP archive to the home folder of the openkm user.
Just the entry for TOMCAT_HOME must be different as it was only "tomcat", but now it looks like it is working.

Have to configure now to start automatically, and somewhere I saw that german language is available.
Dear AndyMu,

please let me know how you do it.
I follow the method as you, but in vain.