Gotcha... well I got a little further.  Now I'm getting this when patching
 
patching file Products/ZenEvents/EventManagerBase.py
HUNK #1 FAILED at 506
HUNK #2 FAILED at 551
HUNK #3 FAILED at 572
3 out of 3 hunks FAILED -- saving rejects to file Products/ZenEvents/EventManagerBase.py.rej
 
Any ideas?
 
Erick

 
On 10/2/06, Eric Newton <[EMAIL PROTECTED]> wrote:
Hi Erick,

Sorry about that ... move the patch file to /tmp:

   $ mv patch /tmp
   $ conary update patch
   $ patch -p0 </tmp/patch

You need to install the program named "patch" and then use it to apply
the patch.

The problem is that conary can take a name, or it can take a file.  By
coincidence, there's now a file called "patch" in the current directory.

-Eric

Erick Baum wrote:
> I keep getting an error that it's not a valid conary changeset when i
> try to
> run 'conary update patch'.  The file formatting has not been altered,
> looks
> just like in your message.  Did I miss something?
>
> Erick
>
>
>
> On 10/2/06, Eric Newton <[EMAIL PROTECTED]> wrote:
>>
>> Erick, AB:
>>
>> There was an embarrassing leak of database connections.  This has been
>> fixed.  Since I know you are trying to work with the appliance, I've
>> attached a patch you can apply.  Copy the attached file to the appliance
>> and do this:
>>
>>    # conary update patch
>>    # su - zenoss
>>    $ cd $ZENHOME
>>    $ patch -p0 < patch
>>
>> Thanks!
>>
>> -Eric
>>
>> Erick Baum wrote:
>> > This must be a problem with the VMWare build then.  I installed it on
>> > another server with the same results... runs okay for a little while
>> then
>> > all those services fail.
>> >
>> > Erick
>> >
>> >
>> > On 10/1/06, Ade <[EMAIL PROTECTED] > wrote:
>> >>
>> >> On 01/10/06, Erick Baum <[EMAIL PROTECTED]> wrote:
>> >> > I just installed the latest VMware appliance and after a short
>> while,
>> >> the
>> >> > following components fail, zenagios, zentrap, zenstatus,
>> >> zenprocess, and
>> >> > zenxevent.  Everything works fine for a little while, the graphs
>> are
>> >> > graphing and everything seems fine.  Then I see all these heartbeat
>> >> failure
>> >> > events and the graphing stops.  Any idea where to go to try and
>> figure
>> >> this
>> >> > out?
>> >> >
>> >> > Erick
>> >>
>> >> Just to say that Im getting this as well - the SNMP stuff wont run
>> for
>> >> more than 1 hour.
>> >> _______________________________________________
>> >> 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
>>
>>
>>
>> --- Products/ZenEvents/EventManagerBase.py.orig 2006-10-02 12:07:
>> 35.000000000 +0000
>> +++ Products/ZenEvents/EventManagerBase.py      2006-10-02 12:07:
>> 39.000000000 +0000
>> @@ -506,6 +506,7 @@
>>                 statusCache.reverse()
>>                 if limit:
>>                     statusCache = statusCache[:limit]
>> +               db.close()
>>             except:
>>                 log.exception(select)
>>                 raise
>> @@ -550,10 +551,12 @@
>>             sel += "where DATE_ADD(lastTime, INTERVAL timeout SECOND) <=
>> NOW();"
>>
>>         statusCache = self.checkCache(sel)
>> +        cleanup = lambda : None
>>         if not statusCache:
>>             statusCache = []
>>             if db is None:
>>                 db = self.connect()
>> +               cleanup = db.close
>>             curs = db.cursor()
>>             curs.execute(sel)
>>             res = list( curs.fetchall())
>> @@ -569,6 +572,7 @@
>>                 statusCache.append([alink, comp, dtime])
>>             if limit:
>>                 statusCache = statusCache[:limit]
>> +           cleanup()
>>         return statusCache
>>
>>
>>
>>
>> _______________________________________________
>> 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

_______________________________________________
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

Reply via email to