Archived community.zenoss.org | full text search
Skip navigation
1876 Views 4 Replies Latest reply: Sep 16, 2013 6:21 AM by Emocke RSS
James Smith Rank: White Belt 84 posts since
Jan 28, 2013
Currently Being Moderated

May 20, 2013 10:44 PM

can't start the zenhub

Hi everyone, I have make set up the zenoss 4.2.3 on the suse 11. Almost I can start all the daemons but the zenhub. I have found some problems about the ipv6. The error is following:

 

zenoss@A0304003:/usr/local/zenoss/log> zenhub run -v10

 

2013-05-20 15:50:23,659 DEBUG zen.Plugins: Loading collector plugins from: /usr/local/zenoss/Products/DataCollector/plugins

Traceback (most recent call last):

  File "/usr/local/zenoss/Products/ZenHub/zenhub.py", line 985, in <module>

    z = ZenHub()

  File "/usr/local/zenoss/Products/ZenHub/zenhub.py", line 412, in __init__

    interface = '::' if ipv6_available() else ''

  File "/usr/local/zenoss/Products/ZenUtils/Utils.py", line 1812, in ipv6_available

    socket.socket(socket.AF_INET6).close()

  File "/usr/local/zenoss/lib/python2.7/socket.py", line 187, in __init__

    _sock = _realsocket(family, type, proto)

TypeError: an integer is required

 

 

I have tried to close the ipv6, but the problem is still exist. My question is how can I resolve the problem.

Thank you in advance!

 

------

James

  • Ron Barak Rank: White Belt 10 posts since
    Mar 7, 2013
    Currently Being Moderated
    1. Jun 12, 2013 3:40 AM (in response to James Smith)
    Re: can't start the zenhub

    Hi James,

     

    I also had problems with zenhub not running, and it turns out my problem was rabbitmqctl (which does Zenoss event queueing) related.
    Running the following commands (as root) brought zenhub back from the dead:

     

    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

     

    Bye,

    Ron.

  • Emocke Rank: White Belt 50 posts since
    Jun 9, 2010
    Currently Being Moderated
    2. Sep 11, 2013 1:46 PM (in response to Ron Barak)
    Re: can't start the zenhub

    Hi Ron

     

    Seems my issue is linked to something else.

    Tried all your commands and Zenhub still does not want to work

    [root@ZenossMain ~]# service zenoss status

    Daemon: zeneventserver program running; pid=25159

    Daemon: zopectl program running; pid=25244

    Daemon: zenrrdcached program running; pid=25249

    Daemon: zenhub not running

    Daemon: zenjobs program running; pid=25351

    Daemon: zeneventd program running; pid=25386

    Daemon: zenping program running; pid=25450

    Daemon: zensyslog program running; pid=25510

    Daemon: zenstatus program running; pid=25539

    Daemon: zenactiond program running; pid=25570

    Daemon: zentrap program running; pid=25606

    Daemon: zenmodeler program running; pid=25640

    Daemon: zenperfsnmp program running; pid=25671

    Daemon: zencommand program running; pid=25702

  • jcurry ZenossMaster 1,021 posts since
    Apr 15, 2008
    Currently Being Moderated
    3. Sep 11, 2013 1:52 PM (in response to Emocke)
    Re: can't start the zenhub

    If this is a 4.2.3 install or later then you may be in the "good passwords" issue. Check my append here about resetting rabbit - message/71139#71139 .

    Cheers,

    Jane

  • Emocke Rank: White Belt 50 posts since
    Jun 9, 2010
    Currently Being Moderated
    4. Sep 16, 2013 6:21 AM (in response to jcurry)
    Re: can't start the zenhub

    Hi

     

    Since i could not get it right i decided on starting from scratch.

    I will reload this on another server to check if my case was related to the "good Passwords" issue.

     

    Thank in advance.

    Erick

More Like This

  • Retrieving data ...

Legend

  • Correct Answers - 4 points
  • Helpful Answers - 2 points