I just had this same problem.  From what I can tell I changed the hostname 
yesterday, and restarted zenoss.  It looks like zenactions did not restart, the 
zenactions.log file was just sitting like this:


2007-01-17 14:57:43 INFO zen.ZenActions: stopping

and I stopped getting mail. I killled zenactions by hand, and started it again 
(as zenoss).  Then I got all my backlogged mail.



----- Original Message ----
From: Cohen Yaniv <[EMAIL PROTECTED]>
To: General discussion of using zenoss system <[email protected]>
Sent: Thursday, January 18, 2007 10:24:47 AM
Subject: RE: RE: [zenoss-users] zenaction Daemon

Juergen Thanks ! 

Dupe:)

Any how ... 
Here is what I get when running ./zenacsess run -v10

+++++++++++++++++++++++++++++++++++++++++++++++++++++
DEBUG:zen.ZenActions:loading action rules for:yanivomc
DEBUG:zen.ZenActions:action:test for:yanivomc loaded
DEBUG:zen.ZenActions:loading action rules for:joey
DEBUG:zen.Events:EventClassInst=Start
DEBUG:zen.Events:update status set clearid = '0add774134db1392dfffffff'
where de
vice='zenoss.netcraft.co.il' and component='zenactions' and eventKey='' and
(eve                                           ntClass='/App/Stop' or
eventClass='/App/Start'): --> 0
DEBUG:zen.Events:insert into history set
firstTime=1169158572.649,severity=0,com
ponent='zenactions',summary='zenactions
started',dedupid='zenoss.netcraft.co.il|
zenactions|/App/Start||0|zenactions
started',manager='zenoss.netcraft.co.il',eve
ntKey='',device='zenoss.netcraft.co.il',eventClass='/App/Start',lastTime=116
9158                                           572.649,message='zenactions
started',deletedTime=null,evid='0add774134db1392dfff
ffff': --> 1
DEBUG:zen.Events:DELETE FROM status WHERE clearid IS NOT NULL: --> 0
DEBUG:zen.Schedule:Maintenance window stopping now for test
Traceback (most recent call last):
  File "/opt/zenoss/Products/ZenEvents/zenactions.py", line 370, in ?
    za.run()
  File "/opt/zenoss/Products/ZenEvents/zenactions.py", line 275, in run
    self.schedule.run()
  File "/opt/zenoss/Products/ZenEvents/Schedule.py", line 69, in run
    self.runEvents()
  File "/opt/zenoss/Products/ZenEvents/Schedule.py", line 112, in runEvents
    work = self.makeWorkList(now, self.workList)
  File "/opt/zenoss/Products/ZenEvents/Schedule.py", line 81, in
makeWorkList
    mw.getId(), mw.productionState().getId())
AttributeError: productionState
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
I cant see any error that cause the daemon to shutdown each time I start
him..




Cohen Yaniv > System Administrator 
 
[EMAIL PROTECTED] 
                                  28 Brauch Hirch Bnei Barak , 51202 Israel 
m: +972-54-8195010> p: +972-3-5786660 > f: +972-3-786665 
 
 
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Sent: Thursday, January 18, 2007 4:58 PM
To: General discussion of using zenoss system
Subject: Re: RE: [zenoss-users] zenaction Daemon
Importance: High

hi!

you should run it with user "zenoss" (su - zenoss).

juergen

-------- Original-Nachricht --------
Datum: Thu, 18 Jan 2007 16:30:10 +0200
Von: Cohen Yaniv <[EMAIL PROTECTED]>
An: \'General discussion of using zenoss system\' <[email protected]>
Betreff: RE: [zenoss-users] zenaction Daemon

> When im running it, i get the following error...
> 
>  
> 
> [EMAIL PROTECTED] bin]# ./zenactions run -v10
> 
> ./zenactions: line 3: /bin/zenfunctions: No such file or directory
> 
> ./zenactions: line 11: generic: command not found
> 
>  
> 
>  
> 
>  
> 
>  
> 
> 
>  <http://www.netcraft.co.il/> Cohen Yaniv > System Administrator 
> 
>  
> [EMAIL PROTECTED] 
> 
>                                   28 Brauch Hirch Bnei Barak , 51202
> Israel 
> 
> m: +972-54-8195010> p: +972-3-5786660 > f: +972-3-786665 
> 
>  
> 
>  
> 
>   _____  
> 
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Ian McCracken
> Sent: Thursday, January 18, 2007 4:05 PM
> To: General discussion of using zenoss system
> Subject: Re: [zenoss-users] zenaction Daemon
> 
>  
> 
> zenactions is in the bin directory in your ZENHOME (I'm guessing
> /opt/zenoss/bin). 
> 
> Cohen Yaniv wrote: 
> 
> Should I run it from /opt/bin/ ???
> 
>  
> 
>  
> 
> 
>  <http://www.netcraft.co.il/> Cohen Yaniv > System Administrator 
> 
>  
> [EMAIL PROTECTED] 
> 
>                                   28 Brauch Hirch Bnei Barak , 51202
> Israel 
> 
> m: +972-54-8195010> p: +972-3-5786660 > f: +972-3-786665 
> 
>  
> 
>  
> 
>   _____  
> 
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Ian McCracken
> Sent: Thursday, January 18, 2007 3:48 PM
> To: General discussion of using zenoss system
> Subject: Re: [zenoss-users] zenaction Daemon
> 
>  
> 
> Cohen,
> 
> Check zenactions.log to see if there's any helpful information. You could
> also try starting up the daemon in the foreground in debug mode:
> 
> zenactions run -v10
> 
> That should tell you what's causing the daemon to shut down.
> 
> Ian
> 
> Cohen Yaniv wrote: 
> 
> Hey, 
> 
> I have one quite short question, 
> 
> Some how after I change my host name on my linux server 
> 
> The zenaction daemon is not able to start/restart , each time im starting
> it
> 
> 
> It's going up and a few sec after it going down again..
> 
>  
> 
> Thanks.
> 
>  
> 
> Zenossss rUleE!!!!
> 
>  
> 
> 
>  <http://www.netcraft.co.il/> Cohen Yaniv > System Administrator 
> 
>  
> [EMAIL PROTECTED] 
> 
>                                   28 Brauch Hirch Bnei Barak , 51202
> Israel 
> 
> m: +972-54-8195010> p: +972-3-5786660 > f: +972-3-786665 
> 
>  
> 
>  
> 
>  
>  
>  
> 
> 
> 
> 
> 
>   _____  
> 
> 
> 
>  
>  
>  
> _______________________________________________
> zenoss-users mailing list
> [email protected]
> http://lists.zenoss.org/mailman/listinfo/zenoss-users
> 
>  
> 
>  
> 
> 
> 
> 
> 
>   _____  
> 
> 
> 
>  
> _______________________________________________
> zenoss-users mailing list
> [email protected]
> http://lists.zenoss.org/mailman/listinfo/zenoss-users
> 
>  
> 

-- 
                             
------------------------------------
wenn du mit KÖNNEN nicht beeindrucken kannst, verwirre
mit SCHWACHSINN! 


"Feel free" - 10 GB Mailbox, 100 FreeSMS/Monat ...
Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users


_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users







 
____________________________________________________________________________________
Need a quick answer? Get one in minutes from people who know.
Ask your question on www.Answers.yahoo.com
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to