• Not able to start server after successful installation

  • Problems with installing OpenKM? No problemo, the solution is closer than you think.
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.
 #45977  by ashutoshrathi
 
After installing from the OKMInstaller.jar, The last step is to start tomcat but getting error:
Job for tomcat.service failed because the control process exited with error code.
See "systemctl status tomcat.service" and "journalctl -xe" for details.


after doing journalctl -xe, I get :

Unit tomcat.service has begun starting up.
May 28 10:02:49 ashutoshrathi systemd[21715]: tomcat.service: Failed at step EXEC spawning /opt/tomcat/bin/startup.sh: No such file or director
-- Subject: Process /opt/tomcat/bin/startup.sh could not be executed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- The process /opt/tomcat/bin/startup.sh could not be executed and failed.
--
-- The error number returned by this process is 2.
May 28 10:02:49 ashutoshrathi systemd[1]: tomcat.service: Control process exited, code=exited status=203
May 28 10:02:49 ashutoshrathi systemd[1]: Failed to start Apache Tomcat Web Application Container.
-- Subject: Unit tomcat.service has failed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- Unit tomcat.service has failed.




Thanks in advance
 #45989  by jllort
 
Did you have a previous tomcat installed in your computer ? Consider removing it before installing OpenKM. I think in community edition the installer still is creating a servivice script named tomcat at /etc/init.d. If you have previously installed tomcat from repositories then you already have an script with same name, might be here is the issue.

In future we have planned rename tomcat service to openkm service to do not get this kind of issues. Anyway is not a good idea have several tomcats sharing the same computer.

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.