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
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