Quantcast
Viewing all articles
Browse latest Browse all 783

Re: Can't keep zenhub running

Hi Shane

 

Sorry to bug you about the same type of issue.

I have now tried everything you supplied and still my Zenbub is not runnning.

I might have made a mistake with just copying and pasting the below as im not sure what the bashrc is

  1. /etc/init.d/zenoss stop                                       # stop zenoss
  2. cat << EOF >> .bashrc                                     # add ENV's
    export ZENHOME="/opt/zenoss"
    export PATH="${ZENHOME}/bin:${PATH}"
    export PYTHONPATH="/opt/zenoss/lib/python"
    export LD_LIBRARY_PATH="/opt/zenoss/lib"
    EOF
  3. /etc/init.d/zenoss start

 

 

To give some background:

I had 4.2.3 and had a Gui error which most people(Forums) thought its linked to my JAVA being updated.After a Reboot my server was stuck on starting the JEXEC services.

Since i could not find any issue with the JAVA installed, and also not able to disable JEXEC, i decided to take a backup via SSH Command and then re-install.

My new install was 4.2.4

I had some issues linking Zenoss with ZENUP and decided to go without it.

The server booted up. I did not check all the services but assumed all working.

I then restored my backup. After all my devices was back i started receiving AttributeError: getPrimaryPath

I decided to look at the services and found ZENHUB not running.

 

So currently i have tried what you said. Checked my Rabbit and still no luck.

 

Do you think i Need to re-install and to use an earlier backup.

 

root@ZenossMain zenoss]# zenoss status

Daemon: zeneventserver program running; pid=32186

Daemon: zopectl program running; pid=32441

Daemon: zenrrdcached program running; pid=32446

Daemon: zenhub not running

 

 

service zenoss status

rabbitmqctl list_queues -p /zenoss

rabbitmqctl add_user zenoss zenoss

rabbitmqctl add_vhost /zenoss

rabbitmqctl set_permissions -p /zenoss zenoss '.*' '.*' '.*'

service zenoss restart

service rabbitmq-server status

service zenoss status

 



Viewing all articles
Browse latest Browse all 783

Trending Articles