Page 1 of 1

tomcat not listening on port 8080 once started and no catalina.log file

PostPosted:Wed Jan 19, 2022 1:25 pm
by orange-county
Hi,

I've followed the installation instructions listed here: https://docs.openkm.com/kcenter/view/ok ... ebian.html

When I try the final step of starting tomcat, the tomcat service starts but when I check network status, it is not listening on port 8080. I'm a bit stuck and I'm not sure how to proceed.

I am installing on Ubuntu 20.04, tomcat version 8.5.34 downloaded from Sourceforge.

Also worth noting that this file does not exist on my system:

$TOMCAT_HOME/log/catalina.log

Happy to provide more info if needed.

Thanks,

Re: tomcat not listening on port 8080 once started and no catalina.log file

PostPosted:Wed Jan 19, 2022 1:50 pm
by orange-county
Sorry! Solved this myself. I ran the $TOMCAT_HOME/bin/startup.sh script manually and that revealed the error was in creating the catalina.log file, just needed to run it with sudo and that has fixed it :)

Re: tomcat not listening on port 8080 once started and no catalina.log file

PostPosted:Sat Jan 22, 2022 10:23 am
by jllort
Might be better change the owner to the user openkm and start as a regular service ( service by default is configured to run the application with the openkm user -> should exist in your OS )
orange-county wrote: Wed Jan 19, 2022 1:50 pm Sorry! Solved this myself. I ran the $TOMCAT_HOME/bin/startup.sh script manually and that revealed the error was in creating the catalina.log file, just needed to run it with sudo and that has fixed it :)

Re: tomcat not listening on port 8080 once started and no catalina.log file

PostPosted:Mon Jun 27, 2022 5:03 am
by vf20fena
same problem it says:

openkm@ubuntu:~/tomcat-8.5.34/logs$ sudo tail -f /home/openkm/tomcat-8.5.34/logs/catalina.log
tail: cannot open '/home/openkm/tomcat-8.5.34/logs/catalina.log' for reading: No such file or directory
tail: no files remaining
:?

Re: tomcat not listening on port 8080 once started and no catalina.log file

PostPosted:Tue Jun 28, 2022 7:53 am
by jllort
ensure the tomcat and all files into have the right security
sudo chown openkm:openkm -Rf tomcat-8.5.69