TECHZEN Zenoss User Community ARCHIVE  

Zenoss not running?

Subject: Zenoss not running?
Author: [Not Specified]
Posted: 2014-04-08 14:57

Ok I have a running host, its on Ubuntu 13.10, I used VMwares Standalone convertor and P2V'd it. The resulting VM boots up fine, I can login and everything appears ok. But the httpd or apache part of Zenoss is apparently not running and I don;t know enough about to know where to look.

I get a 404 when trying to browse to it's ip:8080

Any advice would be appreciated.



Subject: I did a sudo service zenoss
Author: [Not Specified]
Posted: 2014-04-08 15:48

I did a sudo service zenoss restart to verify the daemons were actually running.. and they all were.

Is there a config file that stores the IP address Because that did change between the P and the V.



Subject: Also I followed the
Author: [Not Specified]
Posted: 2014-04-08 16:17

Also I followed the instructions for the Rabbit stuff after changing the IP. Did not help.



Subject: Not sure why I didn't think
Author: [Not Specified]
Posted: 2014-04-09 07:51

Not sure why I didn't think of this yesterday.. but checking zenoss status I find the zenhub, zeneventd, zenactiond and zopectl are all not running.

I started attacking zenhub first, trying to manually start just it I get the following:

WARNING relstorage.adapters.mysql: UNable to connect: (2002, "Cant connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)")



Subject: You need to verify that MySQL
Author: [Not Specified]
Posted: 2014-04-09 08:21

You need to verify that MySQL is running and you can connect to it with the credentials listed in $ZENHOME/etc/globals.conf

Also restart rabbit to see if there are any errors!

Hydruid



Subject: As far as Mysql goes.. to
Author: [Not Specified]
Posted: 2014-04-09 09:56

As far as Mysql goes.. to checked to see if it was running

service mysql status
mysql stop/waiting

So i tried starting it

service mysql start
mysql start/running, process 4519

Then rechecked the status and it was back to stop/waiting. Tried a mysqladmin -u root -p status and got

error: cant connect to local mysql server through socket '/var/run/mysql/mysqld.sock' (111)



Subject: /var/log/mysql.log is empty
Author: [Not Specified]
Posted: 2014-04-09 11:02

/var/log/mysql.log is empty too... Man I dont get what happened here. I mustve broke something during the P2V conversion.. Mysql is all messed up. After peeking into the /var/log/mysql/error.log It's full of errors.

I think Ill start over with a fresh install on a new VM, try restoring the backup I took three days ago on that install.



Subject: Ok on a completely different
Author: [Not Specified]
Posted: 2014-04-09 13:32

Ok on a completely different VM, fresh install of Mint and Zenoss.. Mysql fails to start because of the same error. Relstorage.adapters.mysql

trying to find anything on that.. having no luck yet.



Subject: Not sure whats going on on
Author: [Not Specified]
Posted: 2014-04-10 07:25

Not sure whats going on on this still.. but it seems that Mysql wasnt getting installed. I manually installed Mysql 5.5, then got a different error about the zodb not existing. So I created it, making sure that zenoss user had full perms, re-ran the .sh and now the error changed to "InnoDB: ROW_FORMAT_COMPRESSED requires Innodb_file_per_table"

Im still googling on this one.



Subject: Bicarbonate:
Author: Andrew Kirch
Posted: 2014-04-10 11:30

Bicarbonate:
I _DO NOT RECOMMEND_ _EVER_ (enough emphasis) using the VMware image for production. I would suggest following the Install instructions found here: http://wiki.zenoss.org/Install_Zenoss
Note that this can absolutely be done in a VM, but it initially requires internet access to download/install.

Andrew Kirch

akirch@gvit.com

Need Zenoss support, consulting or custom development Look no further. Email or PM me!

Ready for Distributed Topology (collectors) for Zenoss 5 Coming May 1st from GoVanguard



Subject: You need to start fresh, and
Author: [Not Specified]
Posted: 2014-04-10 11:54

You need to start fresh, and monitor the script install log to see what is "blowing up".

Hydruid



Subject: I actually did wind up
Author: [Not Specified]
Posted: 2014-04-11 09:08

I actually did wind up starting over. Im about to start a new thread for it too because of an error :(

I really wanted to vmware image to work because our other site is using it successfully for almost two weeks now. But anyway yeah this thread at least can be closed.



< Previous
Transform - duplication events
  Next
Alpha 2 timezone feature
>