title: supervisor crashes hue /etc/init.d/hue status
body: <p>I am using CLoudera Quickstart VM in VMWare, the trial single node version.
  So far Hue has been working great but now on Firefox if i go on Hue it says Unable to connect
  EDIT:
  supervisor keeps stopping, if i do</p>
  
  <pre><code>sudo /etc/init.d/hue status
  </code></pre>
  
  <p>returns supervisor is stopped</p>
  
  <pre><code>sudo /etc/init.d/hue start
  </code></pre>
  
  <p>it is running but in few seconds</p>
  
  <pre><code>sudo /etc/init.d/hue status
  </code></pre>
  
  <p>returns that supervisor is stopped again. 
  Why? i checked the logs in /var/log/hue/supervisor.log </p>
  
  <p>and it goes </p>
  
  <pre><code>[14/Jan/2015 23:55:07 ] supervisor   WARNING  Supervisor shutting down!
  [14/Jan/2015 23:55:07 ] supervisor   WARNING  Waiting for children to exit for 5 seconds...
  [15/Jan/2015 00:02:19 ] supervisor   INFO     Starting process /usr/lib/hue/build/env/bin/hue runcpserver
  [15/Jan/2015 00:02:19 ] supervisor   INFO     Starting process /usr/lib/hue/build/env/bin/hue kt_renewer
  [15/Jan/2015 00:02:20 ] supervisor   INFO     Started proceses (pid 3070) /usr/lib/hue/build/env/bin/hue runcpserver
  [15/Jan/2015 00:02:20 ] supervisor   INFO     Started proceses (pid 3071) /usr/lib/hue/build/env/bin/hue kt_renewer
  [15/Jan/2015 00:02:22 ] supervisor   WARNING  Exit code for /usr/lib/hue/build/env/bin/hue runcpserver: 1
  [15/Jan/2015 00:02:22 ] supervisor   ERROR    Process /usr/lib/hue/build/env/bin/hue runcpserver exited abnormally. Restarting it.
  [15/Jan/2015 00:02:22 ] supervisor   INFO     Starting process /usr/lib/hue/build/env/bin/hue runcpserver
  [15/Jan/2015 00:02:22 ] supervisor   INFO     Started proceses (pid 3090) /usr/lib/hue/build/env/bin/hue runcpserver
  [15/Jan/2015 00:02:22 ] supervisor   WARNING  Exit code for /usr/lib/hue/build/env/bin/hue kt_renewer: 1
  [15/Jan/2015 00:02:22 ] supervisor   ERROR    Process /usr/lib/hue/build/env/bin/hue kt_renewer exited abnormally. Restarting it.
  [15/Jan/2015 00:02:22 ] supervisor   INFO     Starting process /usr/lib/hue/build/env/bin/hue kt_renewer
  [15/Jan/2015 00:02:22 ] supervisor   INFO     Started proceses (pid 3091) /usr/lib/hue/build/env/bin/hue kt_renewer
  [15/Jan/2015 00:02:24 ] supervisor   WARNING  Exit code for /usr/lib/hue/build/env/bin/hue kt_renewer: 1
  [15/Jan/2015 00:02:24 ] supervisor   ERROR    Process /usr/lib/hue/build/env/bin/hue kt_renewer exited abnormally. Restarting it.
  [15/Jan/2015 00:02:24 ] supervisor   INFO     Starting process /usr/lib/hue/build/env/bin/hue kt_renewer
  [15/Jan/2015 00:02:24 ] supervisor   INFO     Started proceses (pid 3106) /usr/lib/hue/build/env/bin/hue kt_renewer
  [15/Jan/2015 00:02:24 ] supervisor   WARNING  Exit code for /usr/lib/hue/build/env/bin/hue runcpserver: 1
  [15/Jan/2015 00:02:24 ] supervisor   ERROR    Process /usr/lib/hue/build/env/bin/hue runcpserver exited abnormally. Restarting it.
  [15/Jan/2015 00:02:24 ] supervisor   INFO     Starting process /usr/lib/hue/build/env/bin/hue runcpserver
  [15/Jan/2015 00:02:24 ] supervisor   INFO     Started proceses (pid 3107) /usr/lib/hue/build/env/bin/hue runcpserver
  [15/Jan/2015 00:02:26 ] supervisor   WARNING  Exit code for /usr/lib/hue/build/env/bin/hue kt_renewer: 1
  [15/Jan/2015 00:02:26 ] supervisor   ERROR    Process /usr/lib/hue/build/env/bin/hue kt_renewer exited abnormally. Restarting it.
  [15/Jan/2015 00:02:26 ] supervisor   INFO     Starting process /usr/lib/hue/build/env/bin/hue kt_renewer
  [15/Jan/2015 00:02:26 ] supervisor   INFO     Started proceses (pid 3124) /usr/lib/hue/build/env/bin/hue kt_renewer
  [15/Jan/2015 00:02:26 ] supervisor   WARNING  Exit code for /usr/lib/hue/build/env/bin/hue runcpserver: 1
  [15/Jan/2015 00:02:26 ] supervisor   ERROR    Process /usr/lib/hue/build/env/bin/hue runcpserver exited abnormally. Restarting it.
  [15/Jan/2015 00:02:26 ] supervisor   INFO     Starting process /usr/lib/hue/build/env/bin/hue runcpserver
  [15/Jan/2015 00:02:26 ] supervisor   INFO     Started proceses (pid 3125) /usr/lib/hue/build/env/bin/hue runcpserver
  [15/Jan/2015 00:02:28 ] supervisor   WARNING  Exit code for /usr/lib/hue/build/env/bin/hue kt_renewer: 1
  [15/Jan/2015 00:02:28 ] supervisor   ERROR    Process /usr/lib/hue/build/env/bin/hue kt_renewer has restarted more than 3 times in the last 6 seconds
  [15/Jan/2015 00:02:28 ] supervisor   WARNING  Exit code for /usr/lib/hue/build/env/bin/hue runcpserver: 1
  [15/Jan/2015 00:02:28 ] supervisor   ERROR    Process /usr/lib/hue/build/env/bin/hue runcpserver has restarted more than 3 times in the last 6 seconds
  [15/Jan/2015 00:02:29 ] supervisor   WARNING  Supervisor shutting down!
  [15/Jan/2015 00:02:29 ] supervisor   WARNING  Waiting for children to exit for 5 seconds...
  [15/Jan/2015 00:02:29 ] supervisor   ERROR    Exception in supervisor main loop
  Traceback (most recent call last):
    File "/usr/lib/hue/desktop/core/src/desktop/supervisor.py", line 386, in main
      wait_loop(sups, options)
    File "/usr/lib/hue/desktop/core/src/desktop/supervisor.py", line 403, in wait_loop
      shutdown(sups)        # shutdown() exits the process
    File "/usr/lib/hue/desktop/core/src/desktop/supervisor.py", line 215, in shutdown
      sys.exit(1)
  SystemExit: 1
  [15/Jan/2015 00:02:29 ] supervisor   WARNING  Supervisor shutting down!
  </code></pre>
  
  <p>what is happening?</p>
  
  <p>OLD QUESTION:
      Firefox can't establish a connection to the server at quickstart.cloudera:8888.</p>
  
  <p>Any idea why?</p>
  
  <p>I upgraded to java 1.7 because of cassandra, can it be the reason? If so, how to fix this?</p>
  
  <p>so i checked if the port was blocked but if I do <code># netstat -tulpn</code> inside the VM
  [blabla]
  therefore it should not be taken right? (since it is not in the rightmost column)</p>