title: The controller is not available at localhost JBOSS.7.1.1.FINAL
body: <p>When i run the jboss-cli.sh, 
  I get this message.</p>
  
  <pre><code>[root bin]# sh jboss-cli.sh 
  You are disconnected at the moment. Type 'connect' to connect to the server or 'help' for the list of supported commands.
  [disconnected /] connect localhost
  The controller is not available at localhost:9999
  [disconnected /] connect
  The controller is not available at localhost:9999
  [disconnected /] connect localhost:9999  
  The controller is not available at localhost:9999
  [disconnected /] 
  </code></pre>
  
  <p>Also i have another installation of jboss5 GA. I hope that is not interfering.
  Although that is totally shut down for now.</p>
  
  <p>Native management interface is :9999 in standalone.sh</p>
  
  <p>Please throw light on this  issue.</p>
  
  #
  
  <pre><code>                                     EDITED 
  </code></pre>
  
  #
  
  <p>When i stop my service with "service jboss stop"
  i get this message </p>
  
  <pre><code>[root@ bin]# *** JBossAS process (7302) received KILL signal ***
  grep: /var/run/jboss-as/jboss-as-standalone.pid: No such file or directory
  </code></pre>
  
  <p>I Dont know how to check whether server is listening on the port 9999 or not.</p>
  
  <p>Few more details</p>
  
  <pre><code>[root bin]# netstat -anp |grep 9999
  tcp        0      0 127.0.0.1:9999              0.0.0.0:*                   LISTEN      7931/java
  
  [root bin]# netstat -anp |grep 8080
  tcp        0      0 0.0.0.0:8080                0.0.0.0:*                   LISTEN      7931/java 
  </code></pre>
  
  <p>JBoss processs id and the server id acquiring these ports is same. </p>