title: To check status of Tomcat server in Linux
body: <p>I need to know whether Tomcat 7.0.2.3 is on or not.</p>
  
  <p>I got an error page that shows this message:</p>
  
  <pre><code>HTTP Status 404 - /cas/login
  
  type Status report
  
   message /cas/login
  
  description The requested resource (/cas/login) is not available.
   Apache Tomcat/7.0.23
  </code></pre>
  
  <p>I need to check the status and start the service of Tomcat in Linux. I have tried:</p>
  
  <pre><code>#/bin/startup.sh
  #rctomcat7 start
  </code></pre>
  
  <p>But all these are not working.</p>