Discussion:
Getting "A Zenoss error has occurred" when clicking advanced then users
Joe Kocan
2013-12-21 21:39:41 UTC
Permalink
Joe Kocan [http://community.zenoss.org/people/jkocan] created the discussion

"Getting "A Zenoss error has occurred" when clicking advanced then users"

To view the discussion, visit: http://community.zenoss.org/message/75549#75549

--------------------------------------------------------------
Hello All,

I have been strugling with a Zenoss install that was a clone off of another working system. I did a bunch of searches on how to change the IP address and the host name. Including http://community.zenoss.org/message/75205#75205 http://community.zenoss.org/message/75205 I beleive I did everything right and Zenoss seems to work properly, I ran "rabbitmqctl -p /zenoss list_queues" and the results looked like they were suppsed to. I even ran zenoss_analyser https://github.com/dpetzel/zenoss_analyzer https://github.com/dpetzel/zenoss_analyzer and it said all services were OK. However, whenever I try to get to my users list, it gives me the following error:

I am positively sumped and any help/advice at all would be appreciated.

Type: <type 'exceptions.UnicodeDecodeError'>
Value: 'utf8' codec can't decode byte 0xf9 in position 0: invalid start byte
Traceback (most recent call last):
  File "/opt/zenoss/lib/python/ZPublisher/Publish.py", line 126, in publish
    request, bind=1)
  File "/opt/zenoss/lib/python/ZPublisher/mapply.py", line 77, in mapply
    if debug is not None: return debug(object,args,context)
  File "/opt/zenoss/lib/python/ZPublisher/Publish.py", line 46, in call_object
    result=apply(object,args) # Type s<cr> to step into published object.
  File "/opt/zenoss/lib/python/Products/Five/browser/metaconfigure.py", line 476, in __call__
    return self.index(*args, **kw)
  File "/opt/zenoss/lib/python/Products/Five/browser/pagetemplatefile.py", line 125, in __call__
    return self.im_func(im_self, *args, **kw)
  File "/opt/zenoss/Products/ZenWidgets/FileGzipper.py", line 82, in __call__
    return original(self, __instance, *args, **keywords)
  File "/opt/zenoss/lib/python/Products/Five/browser/pagetemplatefile.py", line 59, in __call__
    sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
  File "/opt/zenoss/lib/python/zope/pagetemplate/pagetemplate.py", line 132, in pt_render
    strictinsert=0, sourceAnnotations=sourceAnnotations
  File "/opt/zenoss/lib/python/zope/pagetemplate/pagetemplate.py", line 241, in __call__
    return output.getvalue()
  File "/opt/zenoss/lib/python/zope/pagetemplate/pagetemplate.py", line 47, in getvalue
    return u''.join(self)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xf9 in position 0: invalid start byte


--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/75549#75549]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
hydruid
2013-12-22 12:16:11 UTC
Permalink
hydruid [http://community.zenoss.org/people/hydruid] created the discussion

"Re: Getting "A Zenoss error has occurred" when clicking advanced then users"

To view the discussion, visit: http://community.zenoss.org/message/75550#75550

--------------------------------------------------------------
What version of python are you running on the server?

1. python --version
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/75550#75550]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Joe Kocan
2013-12-22 16:00:52 UTC
Permalink
Joe Kocan [http://community.zenoss.org/people/jkocan] created the discussion

"Re: Getting "A Zenoss error has occurred" when clicking advanced then users"

To view the discussion, visit: http://community.zenoss.org/message/75553#75553

--------------------------------------------------------------
It says 2.6.6

python --version
Python 2.6.6

--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/75553#75553]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
hydruid
2013-12-23 15:58:08 UTC
Permalink
hydruid [http://community.zenoss.org/people/hydruid] created the discussion

"Re: Getting "A Zenoss error has occurred" when clicking advanced then users"

To view the discussion, visit: http://community.zenoss.org/message/75556#75556

--------------------------------------------------------------
Did you look at that old post? If you restart rabbit do you get any errors?
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/75556#75556]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Joe Kocan
2013-12-24 19:44:10 UTC
Permalink
Joe Kocan [http://community.zenoss.org/people/jkocan] created the discussion

"Re: Getting "A Zenoss error has occurred" when clicking advanced then users"

To view the discussion, visit: http://community.zenoss.org/message/75584#75584

--------------------------------------------------------------
Yes. the rabbit was starting correctly.
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/75584#75584]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
hydruid
2013-12-22 12:17:22 UTC
Permalink
hydruid [http://community.zenoss.org/people/hydruid] created the discussion

"Re: Getting "A Zenoss error has occurred" when clicking advanced then users"

To view the discussion, visit: http://community.zenoss.org/message/75551#75551

--------------------------------------------------------------
Also an old post to review http://community.zenoss.org/message/41995#41995#41995 http://community.zenoss.org/message/41995#41995
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/75551#75551]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Joe Kocan
2013-12-24 19:44:47 UTC
Permalink
Joe Kocan [http://community.zenoss.org/people/jkocan] created the discussion

"Re: Getting "A Zenoss error has occurred" when clicking advanced then users"

To view the discussion, visit: http://community.zenoss.org/message/75585#75585

--------------------------------------------------------------
Tried the fix-utf-events.py script, but couldn't get it to run:

[***@cl-znos-1vus01 zenoss]$ python fix-utf-events.py
Traceback (most recent call last):
  File "fix-utf-events.py", line 2, in <module>
    from Products.ZenUtils.json import json, unjson
ImportError: No module named ZenUtils.json

Also tried reindexing with:
zendmd
reindex()
And looked for json.py to edit the line,
return simplejson.dumps(value, encoding='iso-8859-1')
but that file didn't exist.

--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/75585#75585]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Joe Kocan
2013-12-24 19:45:25 UTC
Permalink
Joe Kocan [http://community.zenoss.org/people/jkocan] created the discussion

"Re: Getting "A Zenoss error has occurred" when clicking advanced then users"

To view the discussion, visit: http://community.zenoss.org/message/75587#75587

--------------------------------------------------------------
I did remove the Active Directory plugin from the zope management at zport/manage and then I was able to see the users again. I probably should have mentioned that I was using that Active Directory connecto too. I saw some groups in there with funny names so I deleted them.
I resetup the Active Directory plugin and now I can see my users again. I guess it had nothing to do with my renaming the server... Sorry for the wild goose chase guys and thanks for your help!

--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/75587#75587]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Andrew Kirch
2013-12-28 17:01:10 UTC
Permalink
Andrew Kirch [http://community.zenoss.org/people/akirch] created the discussion

"Re: Getting "A Zenoss error has occurred" when clicking advanced then users"

To view the discussion, visit: http://community.zenoss.org/message/75615#75615

--------------------------------------------------------------
Hi,

PLEASE DO NOT TRY TO REPLY HERE, IN FACT YOU PROBABLY CANT, TO FIND OUT WHY, KEEP READING!!!

I'm Andrew Kirch, the Community Manager here at Zenoss.  We've migrated the Community Forums to our new Drupal based forums.  I've copied your thread to the new forums http://www.zenoss.org/forum/71 HERE.  If you have an account on the community wiki, that login already works, if not, head over, and follow the links to create it.  If you have questions, problems using the site, or feedback, or if you're a Nigerian prince with 5000000USD you want to send me, please use our feedback form at the upper left of the new site.

Cheers!

Andrew
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/75615#75615]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Loading...