Error Restarting Tomcat

279 views
Skip to first unread message

Raphael Agboola

unread,
May 11, 2021, 5:52:43 PM5/11/21
to dspac...@googlegroups.com
Hello Professionals,
Please can you help me with this error on my server. Anytime I issue this command
sudo service tomcat start && sudo service tomcat stop && sudo service tomcat restart && sudo /etc/init.d/postgresql restart && sudo /etc/init.d/tomcat restart
I get this error
SEVERE: Could not contact [localhost:8005] (base port [8005] and offset [0]). To                                mcat may not be running.
May 12, 2021 2:25:52 AM org.apache.catalina.startup.Catalina stopServer
SEVERE: Error stopping Catalina
Can someone help me out. Thanks

gonza...@gmail.com

unread,
May 12, 2021, 7:29:59 PM5/12/21
to DSpace Technical Support
Hi,

as a first step, you should just run

$ sudo service tomcat restart  

Wait for the prompt to get back (Tomcat restart could take some seconds), and then run

$ sudo /etc/init.d/postgresql restart

Running those simple commands is enough for tomcat and postgres to restart.
Reply all
Reply to author
Forward
0 new messages