Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Hue 2.6 restart is failing.

avatar
Contributor

I installed hue 2.6 .

[root@ctr-e134-1499953498516-253920-01-000007 hue]# rpm -qa|grep -i hue hue-beeswax-2.6.1.2.6.3.0-227.x86_64 hue-oozie-2.6.1.2.6.3.0-227.x86_64 hue-pig-2.6.1.2.6.3.0-227.x86_64 hue-2.6.1.2.6.3.0-227.x86_64 hue-hcatalog-2.6.1.2.6.3.0-227.x86_64 hue-common-2.6.1.2.6.3.0-227.x86_64 hue-server-2.6.1.2.6.3.0-227.x86_64

Here is my hue.ini

[root@ctr-e134-1499953498516-253920-01-000007 hue]# find / -name hue.ini /tmp/hue.ini /etc/hue/conf.empty/hue.ini

hue-ini.txt

I tried to restart hue

[root@ctr-e134-1499953498516-253920-01-000007 hue]# service hue restart Shutting down hue: [FAILED] Starting hue: [ OK ] [root@ctr-e134-1499953498516-253920-01-000007 hue]# service hue start Starting hue: [ OK ] [root@ctr-e134-1499953498516-253920-01-000007 hue]# service hue restart Shutting down hue: [ OK ] Starting hue: [ OK ] [root@ctr-e134-1499953498516-253920-01-000007 hue]# service hue status supervisor is stopped

The UI is Unreachable.

hence I checked the logs.

in the error .log

[26/Oct/2017 09:20:46 +0000] supervisor   ERROR    Process /usr/lib/hue/build/env/bin/hue runcpserver exited abnormally. Restarting it.
[26/Oct/2017 09:20:47 +0000] supervisor   ERROR    Process /usr/lib/hue/build/env/bin/hue runcpserver exited abnormally. Restarting it.
[26/Oct/2017 09:20:49 +0000] supervisor   ERROR    Process /usr/lib/hue/build/env/bin/hue runcpserver exited abnormally. Restarting it.
[26/Oct/2017 09:20:50 +0000] supervisor   ERROR    Process /usr/lib/hue/build/env/bin/hue runcpserver has restarted more than 3 times in the last 4 seconds
[26/Oct/2017 09:20:50 +0000] supervisor   ERROR    Exception in supervisor main loop
Traceback (most recent call last):
  File "/usr/lib/hue/desktop/core/src/desktop/supervisor.py", line 414, in main
    wait_loop(sups, options)
  File "/usr/lib/hue/desktop/core/src/desktop/supervisor.py", line 431, in wait_loop
    shutdown(sups)        # shutdown() exits the process
  File "/usr/lib/hue/desktop/core/src/desktop/supervisor.py", line 218, in shutdown
    sys.exit(1)
SystemExit: 1
[26/Oct/2017 09:21:00 +0000] supervisor   ERROR    Process /usr/lib/hue/build/env/bin/hue runcpserver exited abnormally. Restarting it.
[26/Oct/2017 09:21:02 +0000] supervisor   ERROR    Process /usr/lib/hue/build/env/bin/hue runcpserver exited abnormally. Restarting it.
[26/Oct/2017 09:21:03 +0000] supervisor   ERROR    Process /usr/lib/hue/build/env/bin/hue runcpserver exited abnormally. Restarting it.
[26/Oct/2017 09:21:05 +0000] supervisor   ERROR    Process /usr/lib/hue/build/env/bin/hue runcpserver has restarted more than 3 times in the last 4 seconds
[26/Oct/2017 09:21:05 +0000] supervisor   ERROR    Exception in supervisor main loop
Traceback (most recent call last):
  File "/usr/lib/hue/desktop/core/src/desktop/supervisor.py", line 414, in main
    wait_loop(sups, options)
  File "/usr/lib/hue/desktop/core/src/desktop/supervisor.py", line 431, in wait_loop
    shutdown(sups)        # shutdown() exits the process
  File "/usr/lib/hue/desktop/core/src/desktop/supervisor.py", line 218, in shutdown
    sys.exit(1)
SystemExit: 1
[26/Oct/2017 09:41:48 +0000] supervisor   ERROR    Process /usr/lib/hue/build/env/bin/hue runcpserver exited abnormally. Restarting it.
[26/Oct/2017 09:41:50 +0000] supervisor   ERROR    Process /usr/lib/hue/build/env/bin/hue runcpserver exited abnormally. Restarting it.
[26/Oct/2017 09:41:51 +0000] supervisor   ERROR    Process /usr/lib/hue/build/env/bin/hue runcpserver exited abnormally. Restarting it.
[26/Oct/2017 09:41:53 +0000] supervisor   ERROR    Process /usr/lib/hue/build/env/bin/hue runcpserver has restarted more than 3 times in the last 4 seconds
[26/Oct/2017 09:41:53 +0000] supervisor   ERROR    Exception in supervisor main loop
Traceback (most recent call last):
  File "/usr/lib/hue/desktop/core/src/desktop/supervisor.py", line 414, in main
    wait_loop(sups, options)
  File "/usr/lib/hue/desktop/core/src/desktop/supervisor.py", line 431, in wait_loop
    shutdown(sups)        # shutdown() exits the process
  File "/usr/lib/hue/desktop/core/src/desktop/supervisor.py", line 218, in shutdown
    sys.exit(1)
SystemExit: 1
[26/Oct/2017 11:17:22 +0000] supervisor   ERROR    Process /usr/lib/hue/build/env/bin/hue runcpserver exited abnormally. Restarting it.
[26/Oct/2017 11:17:24 +0000] supervisor   ERROR    Process /usr/lib/hue/build/env/bin/hue runcpserver exited abnormally. Restarting it.
[26/Oct/2017 11:17:26 +0000] supervisor   ERROR    Process /usr/lib/hue/build/env/bin/hue runcpserver exited abnormally. Restarting it.
[26/Oct/2017 11:17:27 +0000] supervisor   ERROR    Process /usr/lib/hue/build/env/bin/hue runcpserver has restarted more than 3 times in the last 5 seconds
[26/Oct/2017 11:17:28 +0000] supervisor   ERROR    Exception in supervisor main loop
Traceback (most recent call last):
  File "/usr/lib/hue/desktop/core/src/desktop/supervisor.py", line 414, in main
    wait_loop(sups, options)
  File "/usr/lib/hue/desktop/core/src/desktop/supervisor.py", line 431, in wait_loop
    shutdown(sups)        # shutdown() exits the process
  File "/usr/lib/hue/desktop/core/src/desktop/supervisor.py", line 218, in shutdown
    sys.exit(1)
SystemExit: 1
[26/Oct/2017 11:17:34 +0000] supervisor   ERROR    Process /usr/lib/hue/build/env/bin/hue runcpserver exited abnormally. Restarting it.
[26/Oct/2017 11:17:36 +0000] supervisor   ERROR    Process /usr/lib/hue/build/env/bin/hue runcpserver exited abnormally. Restarting it.
[26/Oct/2017 11:17:37 +0000] supervisor   ERROR    Process /usr/lib/hue/build/env/bin/hue runcpserver exited abnormally. Restarting it.
[26/Oct/2017 11:17:39 +0000] supervisor   ERROR    Process /usr/lib/hue/build/env/bin/hue runcpserver has restarted more than 3 times in the last 4 seconds
[26/Oct/2017 11:17:39 +0000] supervisor   ERROR    Exception in supervisor main loop
Traceback (most recent call last):
  File "/usr/lib/hue/desktop/core/src/desktop/supervisor.py", line 414, in main
    wait_loop(sups, options)
  File "/usr/lib/hue/desktop/core/src/desktop/supervisor.py", line 431, in wait_loop
    shutdown(sups)        # shutdown() exits the process
  File "/usr/lib/hue/desktop/core/src/desktop/supervisor.py", line 218, in shutdown
    sys.exit(1)
SystemExit: 1
[26/Oct/2017 11:29:36 +0000] supervisor   ERROR    Process /usr/lib/hue/build/env/bin/hue runcpserver exited abnormally. Restarting it.
[26/Oct/2017 11:29:38 +0000] supervisor   ERROR    Process /usr/lib/hue/build/env/bin/hue runcpserver exited abnormally. Restarting it.
[26/Oct/2017 11:29:39 +0000] supervisor   ERROR    Process /usr/lib/hue/build/env/bin/hue runcpserver exited abnormally. Restarting it.
[26/Oct/2017 11:29:41 +0000] supervisor   ERROR    Process /usr/lib/hue/build/env/bin/hue runcpserver has restarted more than 3 times in the last 4 seconds
[26/Oct/2017 11:29:41 +0000] supervisor   ERROR    Exception in supervisor main loop
Traceback (most recent call last):
  File "/usr/lib/hue/desktop/core/src/desktop/supervisor.py", line 414, in main
    wait_loop(sups, options)
  File "/usr/lib/hue/desktop/core/src/desktop/supervisor.py", line 431, in wait_loop
    shutdown(sups)        # shutdown() exits the process
  File "/usr/lib/hue/desktop/core/src/desktop/supervisor.py", line 218, in shutdown
    sys.exit(1)
SystemExit: 1

Any help is appreciated

1 ACCEPTED SOLUTION

avatar
Contributor

You can try restarting the hue supervisor process:

cd /usr/lib/hue && source ./build/env/bin/activate
/usr/lib/hue/build/env/bin/hue runcpserver &

View solution in original post

1 REPLY 1

avatar
Contributor

You can try restarting the hue supervisor process:

cd /usr/lib/hue && source ./build/env/bin/activate
/usr/lib/hue/build/env/bin/hue runcpserver &