Page 1 of 1
Cannot start OpenKM after server restart
PostPosted:Sun Jan 20, 2019 11:35 am
by f_behshti
Hi all,
I have installed Openkm6.3.2 community version and all things work fine for a few months. but for empty memory space in server, I delete all files in /tomcat/logs and after reboot the server I see that application does not launch! tomcat start but application not launch. What can be the cause of this problem?
Please guide me that how can I fix this issue.
Thanks
Re: Cannot start OpenKM after server restart
PostPosted:Mon Jan 21, 2019 9:10 am
by lnovoa
Hi,
You would have to go through the log file to see what happens.
Re: Cannot start OpenKM after server restart
PostPosted:Mon Jan 21, 2019 11:27 am
by f_behshti
lnovoa wrote: ↑Mon Jan 21, 2019 9:10 am
Hi,
You would have to go through the log file to see what happens.
Hi lnovoa,
thanks for your reply
All log files is empty only catalina.out file shows this message:
Code: Select alljava.lang.ClassNotFoundException: org.apache.catalina.startup.Catalina
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:235)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
java.lang.ClassNotFoundException: org.apache.catalina.startup.Catalina
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:235)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
java.lang.ClassNotFoundException: org.apache.catalina.startup.Catalina
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:235)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
java.lang.ClassNotFoundException: org.apache.catalina.startup.Catalina
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:235)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
java.lang.ClassNotFoundException: org.apache.catalina.startup.Catalina
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:235)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
java.lang.ClassNotFoundException: org.apache.catalina.startup.Catalina
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:235)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
In addition, when service tomcat start show this message :
Existing PID file found during start removing/cleaning stale PID file.
and when service tomcat stop show this message :
stopping TomcatPID file found but no matching process was found. stop aborted
Re: Cannot start OpenKM after server restart
PostPosted:Mon Jan 21, 2019 5:13 pm
by lnovoa
Try doing:
Code: Select all$ /etc/init.d/tomcat start (or stop)
Re: Cannot start OpenKM after server restart
PostPosted:Tue Jan 22, 2019 5:16 am
by f_behshti
lnovoa wrote: ↑Mon Jan 21, 2019 5:13 pm
Try doing:
Code: Select all$ /etc/init.d/tomcat start (or stop)
thanks for your reply, I execute this command but get that error (topping TomcatPID file found but no matching process was found. stop aborted) again
Re: Cannot start OpenKM after server restart
PostPosted:Tue Jan 22, 2019 7:04 pm
by lnovoa
Can you show a screenshot of the command with the message in the terminal?
I advise you to watch the video that we have in the download section :
https://www.youtube.com/watch?v=WJrkD2BdAJo
Re: Cannot start OpenKM after server restart
PostPosted:Fri Jan 25, 2019 7:52 pm
by jllort
Did you execute as root user ? or with "sudo /etc/init.d/openkm start"
I do not know if you registered the services as tomcat or openkm. In the past the installer create a service named tomcat, but in the last version of the installer, we use openkm as the service name.