TECHZEN Zenoss User Community ARCHIVE  

Zeneventserver keeps stopping and devices say they are down

Subject: Zeneventserver keeps stopping and devices say they are down
Author: [Not Specified]
Posted: 2014-04-17 08:00

All our devices are constantly showing that they are down and it is the /event/ping part. We can ping all the devices from the command section and in the terminal.

Could you please let us know what we can do to make this work

We also get the following error when we add new devices:

Type:

We know it is coming from the zeneventserver that keeps turning itself off is this meant to happen and if it is not meant to how can we correct it

Thanks!



Subject: Please clarify, are you
Author: [Not Specified]
Posted: 2014-04-17 09:43

Please clarify, are you claiming that the zeneventserver daemon keeps stopping Is that the only daemon that is doing that check with 'zenoss status'

Try starting that daemon in debugging mode, 'zeneventserver run -v10' and look for anything that could be wrong.

This old post might be helpful: http://community.zenoss.org/message/73750

If you haven't already, stop zenoss, stop mysql, stop rabbit, start rabbit, start mysql, start zenoss!

Hydruid



Subject: Hmmm
Author: [Not Specified]
Posted: 2014-04-17 13:55

Maybe it's contagious, I just noticed that my zeneventserver daemon is having issues too!

Hydruid



Subject: To resolve my issue I stopped
Author: [Not Specified]
Posted: 2014-04-17 16:03

To resolve my issue I stopped Zenoss, ran zenchkrels (nothing returned), stopped rabbit, stopped mysql, and then rebooted

Hydruid



Subject: No luck
Author: [Not Specified]
Posted: 2014-04-22 08:38

I get the following error when i ran the zeneventserver run -v10 command:

ERROR org.springframework.web.context.ContextLoader - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'eventSummaryDao' defined in class path resource [zep-config-daos.xml]: Cannot resolve reference to bean 'statisticsService' while setting bean property 'statisticsService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'statisticsService' defined in class path resource [zep-config.xml]: Cannot resolve reference to bean 'eventSummaryIndexDao' while setting bean property 'eventSummaryIndexDao'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'eventSummaryIndexDao' defined in class path resource [zep-config-daos.xml]: Cannot resolve reference to bean 'luceneSummaryIndexWriter' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'luceneSummaryIndexWriter' defined in class path resource [zep-config-daos.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.apache.lucene.index.IndexWriter]: Constructor threw exception; nested exception is org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out: NativeFSLock@/opt/zenoss/var/zeneventserver/index/summary/write.lock

Have no idea how to fix this error.

When I ran the zenchkrels command i got:
INFO:zen.CheckRelations:Checking relations...

and thats where it ended. Restarted the whole server etc and zeneventserver is still down.

My devices are still showing they are down as well the error is /Status/Ping - Does that have anything to do with the zeneventserver being down the whole time

Thanks for your help!



Subject: Well the 'zeneventserver'
Author: [Not Specified]
Posted: 2014-04-22 14:10

Well the 'zeneventserver' daemon should definitely be running.

Check your rabbit config and make sure that you have the correct version of Java installed!

Hydruid



Subject: Try this
Author: [Not Specified]
Posted: 2014-04-22 14:27

The one and only awesome rmatte (in #zenoss on IRC) recommended that you try this as the zenoss user:

rmatte: zeneventserver stop && cd $ZENHOME/var/zeneventserver/index && rm -rf summary && rm -rf archive && zeneventserver start

Also what are your server specs

Hydruid



< Previous
Transform - Duplicating the event but not transforming
  Next
Advice for searching the logstash
>