Folgaizer – Tech blog by G. Folga

Error running tomcat on RHCS

September 23, 2009 · Leave a Comment

Starting tomcat as a resource of Red Hat Cluster Suite you get

==> /var/log/tomcat5/catalina.out <==

sudo: sorry, you must have a tty to run sudo

Solution:
Comment out the following line on /etc/sudores (using visudo)
#Defaults    requiretty
Then activate the service with:
clusvcadm -e <tomcat-service>
Additional notes:
Error message in syslog:
Sep 23 16:00:06 nodo2 clurgmgrd[3127]: <notice> status on tomcat-5 “tomcat5-res” returned 1 (generic error)
==> /var/log/tomcat5/catalina.out <==
sudo: sorry, you must have a tty to run sudo

Categories: linux

0 responses so far ↓

  • There are no comments yet...Kick things off by filling out the form below.

Leave a Comment