TECHZEN Zenoss User Community ARCHIVE  

ServiceResponseError: org.zenoss.zep.ZepException

Subject: ServiceResponseError: org.zenoss.zep.ZepException
Author: pasan jayarathna
Posted: 2017-10-31 04:54

Dear All,

i have recently installed zenoss core 4.2.5.
Im getting an error when i try to acknowledge an event on event tab as ServiceResponseError: org.zenoss.zep.ZepException.
Please check the attachment. Please check and let me know the issue. thanks.

------------------------------
pasan jayarathna
sri lanka telecom
------------------------------


Subject: RE: ServiceResponseError: org.zenoss.zep.ZepException
Author: Jane Curry
Posted: 2017-10-31 06:03

So is it just acknowledging that gives an error or does other stuff around events not work? 
Are you actually seeing new events?
Can you close events?
What user are you logged on to the GUI as and does that user have authority to manage events?
Are the event daemons running?  As the zenoss user in a command-line window, run "zenoss status" and check that all daemons are running.
Are your Rabbit queues there?  As the root user in a command-line window, run "rabbitmqctl -p /zenoss list_queues" and you should see something like:

rabbitmqctl -p /zenoss list_queues
Listing queues ...
celery 0
zenoss.queues.zep.signal 0
zenoss.queues.zep.modelchange 0
zenoss.queues.zep.migrated.summary 0
zenoss.queues.zep.rawevents 0
zenoss.queues.zep.heartbeats 0
eventForwarder 0
zenoss.queues.zep.zenevents 0
zen42.class.example.org.celeryd.pidbox 0
zenoss.queues.zep.migrated.archive 0
...done.
[root@zen42 jane]#

Fundamentally errors with "zep" are complaining about access to the events subsystem; the events database in mysql is zenoss_zep.

Cheers,
Jane

------------------------------
Jane Curry
Skills 1st United Kingdom
jane.curry@skills-1st.co.uk
------------------------------


Subject: RE: ServiceResponseError: org.zenoss.zep.ZepException
Author: pasan jayarathna
Posted: 2017-11-01 00:41

Dear Jane.,
So is it just acknowledging that gives an error or does other stuff around events not work?
I can comment on events but seems, new nevents does not receive and unable to delete and acknowledge the received events

Are you actually seeing new events?
NO, seems desnt receive

Can you close events?
No cant


What user are you logged on to the GUI as and does that user have authority to manage events?
Admin User

Are the event daemons running? As the zenoss user in a command-line window, run "zenoss status" and check that all daemons are running.

root@zen ~]# rabbitmqctl -p /zenoss list_queues
Listing queues ...
Error: unable to connect to node rabbit@zen: nodedown

DIAGNOSTICS
===========

nodes in question: [rabbit@zen]

hosts, their running nodes and ports:
- zen: [{rabbitmqctl5604,44781}]

current node details:
- node name: rabbitmqctl5604@zen
- home dir: /var/lib/rabbitmq
- cookie hash: Eyc7O2MDB10G0eLe61pWNw==

please help me to fix this issue.
Thnaks.

------------------------------
pasan jayarathna
sri lanka telecom
------------------------------


Subject: RE: ServiceResponseError: org.zenoss.zep.ZepException
Author: Jane Curry
Posted: 2017-11-01 05:32

Try recreating the rabbit queues - instructions in Chapter 14 of the Admin Guide, under "Host name changes". 

You certainly won't get any events processed until you fix the rabbit queues.  The data is all transient so although you may lose events that have been generated since your rabbit queues stopped, there shouldn't be any other breakage.

Cheers,
Jane

------------------------------
Jane Curry
Skills 1st United Kingdom
jane.curry@skills-1st.co.uk
------------------------------


< Previous
Python eror
  Next
Automating The daily backups.
>