TECHZEN Zenoss User Community ARCHIVE  

Zenhub hates me! (Solved)

Subject: Zenhub hates me! (Solved)
Author: [Not Specified]
Posted: 2014-02-19 09:55

Hello, all!

The company I work for will not allow anyone to install VM's onto their centralized hosts, and will not create a VM that isn't a corporate approved SLES 11 distro of Linux. So, I'm kinda stuck doing a Zenoss install from SVN. I've made sure all dependencies are met in a VM they created for me and was successfully able to build Zenoss 4.2.4 from the appropriate tagged location in Zenoss' svn repository. I ran into one small issue with the mkzenossinstance.sh script where it tried to sudo chmod and sudo chown the handful of files, which I was able to do successfully outside of the script.

On to my problem: all zenoss services start successfully with the exception of zenhub. After googling and finding the basic 3 solutions to try, I've done the following:

  1. Ensured that the .bashrc is set correctly for the zenoss user, and confirmed that the values ARE correct and exist in the user's environment
  2. Reset the rabbitmq vhost and permissions for the zenoss user and confirmed that other daemons are successfully connecting to rabbitmq
  3. Ensured that the appropriate Innodb settings are active in mysql, databases are successfully created, and the zenoss user has access to them

Yet, zenhub fails to start with almost no logging output. ALL zenoss configuration files are at their installed defaults except the zenhub.conf file, where I've only uncommented the loglevel value and changed it to "10". I have run "zenhub run -v10" and get the same error that I've seen others post:

zenoss@cdlhrbzenoss:~> zenhub run -v10
2014-02-19 10:28:17,339 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 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 also tried enabling and disabling IPv6 on the host, with the same results.

Can anyone point me to where I may need to look next I'm pretty much stuck dead in the water at this point, so ANY suggestions on what I should try next would be greatly appreciated!

Cheers!



Subject: ok, please disregard that
Author: [Not Specified]
Posted: 2014-02-19 13:30

ok, please disregard that previous post. I'm not sure what I did differently, but I basically just blew everything away, re-checked out the source, cleaned and reset rabbitmq, dropped the mysql databases, and re-ran the install.sh script, and it worked this time.



Subject: I have experienced the same
Author: [Not Specified]
Posted: 2014-02-20 10:12

I have experienced the same issue building from SVN/SRPM for Ubuntu. I think it's a bug with MySQL, however running 'mkzenossinstance.sh' twice seems to make it work :)

Look at the below script, lines 80-85:
https://github.com/hydruid/zenoss/blob/master/core-autodeploy/4.2.4/buil...

Hydruid



Subject: Great to know. I'll try that
Author: [Not Specified]
Posted: 2014-02-20 13:05

Great to know. I'll try that next time if I need to set up another instance.

Cheers!



< Previous
Download for CentOS 6 missing?
  Next
SNMP monitoring off for hostname
>