"We recently saw this from a customer who had installed some Zope cgi support."

That was me! :) In my case I had added the ZCGI (cgi support) Product to Zope and when I ran certain functions through it it killed several zenoos functions. The problem was that the ZCGI script was flushing the environment variables at runtime (including ZENHOME) in order make sure they were not being shared, not sure why it would do that but the fix was to reset the Zenoss standard environment variables immediately after the flush!

Good Luck!
--Greg

Carlos SXnchez wrote:
Hi!

I dont undestand, what I must do for to correct this error?


From: Eric Newton <[EMAIL PROTECTED]>
Reply-To: General discussion of using zenoss system <[email protected]>
To: General discussion of using zenoss system <[email protected]>
Subject: Re: [zenoss-users] adding device
Date: Wed, 06 Dec 2006 16:53:25 -0500

Wow, this is strange. ZENHOME is set by all the scripts that support zenoss.

We recently saw this from a customer who had installed some Zope cgi support. I think that may have done things to the environment of Zope.

-Eric

Carlos Sánchez wrote:
Hi!

When I create a device and i click on the button add device i have an error:

Traceback (most recent call last): File "/usr/local/zenoss/Products/ZenModel/ZDeviceLoader.py", line 102, in loadDevice statusMonitors, perfMonitor, discoverProto) File "/usr/local/zenoss/Products/ZenModel/Device.py", line 127, in manage_createDevice statusMonitors, performanceMonitor) File "/usr/local/zenoss/Products/ZenModel/Device.py", line 775, in manage_editDevice self.setPerformanceMonitor(performanceMonitor) File "/usr/local/zenoss/Products/ZenModel/Device.py", line 964, in setPerformanceMonitor obj = self.getDmdRoot("Monitors").getPerformanceMonitor( File "/usr/local/zenoss/Products/ZenModel/MonitorClass.py", line 90, in getPerformanceMonitor from Products.ZenModel.PerformanceConf \ File "/usr/local/zenoss/Products/ZenModel/PerformanceConf.py", line 41, in ? PERF_ROOT = os.path.join(os.environ['ZENHOME'], "perf") File "/usr/lib/python2.4/UserDict.py", line 17, in __getitem__ def __getitem__(self, key): return self.data[key] KeyError: 'ZENHOME'

anybody know why?

thanks

_________________________________________________________________
Visit MSN Holiday Challenge for your chance to win up to $50,000 in Holiday cash! http://www.msnholidaychallenge.com/default.aspx?ocid=tagline&locale=en-us

_______________________________________________
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

_________________________________________________________________
Talk now to your Hotmail contacts with Windows Live Messenger. http://clk.atdmt.com/MSN/go/msnnkwme0020000001msn/direct/01/?href=http://get.live.com/messenger/overview

_______________________________________________
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