TECHZEN Zenoss User Community ARCHIVE  

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

Subject: Getting "A Zenoss error has occurred" when clicking advanced then users
Author: [Not Specified]
Posted: 2013-12-28 11:00

Dec 21, 2013 4:39 PM
Getting "A Zenoss error has occurred" when clicking advanced then users

This question has been Answered.

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 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 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:
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 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


Correct Answer by Joe Kocan on Dec 24, 2013 2:45 PM
Joe Kocan

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!

See the answer in context

Like (0)
Reply

Tags: none (add)

hydruid Rank: Green Belt
hydruid
251 posts since
Nov 5, 2012
1. Dec 22, 2013 7:16 AM (in response to Joe Kocan)
Re: Getting "A Zenoss error has occurred" when clicking advanced then users

What version of python are you running on the server

python --version

Helpful Answer
Edit
Delete
Branch
Report Abuse
Like (0)
Reply
hydruid Rank: Green Belt
hydruid
251 posts since
Nov 5, 2012
2. Dec 22, 2013 7:17 AM (in response to Joe Kocan)
Re: Getting "A Zenoss error has occurred" when clicking advanced then users

Also an old post to review http://community.zenoss.org/message/41995#41995
Helpful Answer
Edit
Delete
Branch
Report Abuse
Like (0)
Reply
Joe Kocan Newbie
Joe Kocan
5 posts since
Jun 21, 2013
3. Dec 22, 2013 11:00 AM (in response to hydruid)
Re: Getting "A Zenoss error has occurred" when clicking advanced then users

It says 2.6.6

python --version
Python 2.6.6

Helpful Answer
Edit
Delete
Branch
Report Abuse
Like (0)
Reply
hydruid Rank: Green Belt
hydruid
251 posts since
Nov 5, 2012
4. Dec 23, 2013 10:57 AM (in response to Joe Kocan)
Re: Getting "A Zenoss error has occurred" when clicking advanced then users

Did you look at that old post If you restart rabbit do you get any errors
Helpful Answer
Edit
Delete
Branch
Report Abuse
Like (0)
Reply
Joe Kocan Newbie
Joe Kocan
5 posts since
Jun 21, 2013
5. Dec 24, 2013 2:44 PM (in response to hydruid)
Re: Getting "A Zenoss error has occurred" when clicking advanced then users

Yes. the rabbit was starting correctly.
Helpful Answer
Edit
Delete
Branch
Report Abuse
Like (0)
Reply
Joe Kocan Newbie
Joe Kocan
5 posts since
Jun 21, 2013
6. Dec 24, 2013 2:44 PM (in response to hydruid)
Re: Getting "A Zenoss error has occurred" when clicking advanced then users

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

[zenoss@cl-znos-1vus01 zenoss]$ python fix-utf-events.py
Traceback (most recent call last):
File "fix-utf-events.py", line 2, in
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.

Helpful Answer
Edit
Delete
Branch
Report Abuse
Like (0)
Reply
Joe Kocan Newbie
Joe Kocan
5 posts since
Jun 21, 2013
7. Dec 24, 2013 2:45 PM (in response to Joe Kocan)
Correct AnswerRe: Getting "A Zenoss error has occurred" when clicking advanced then users

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!

Unmark as Correct
Edit
Delete
Branch
Report Abuse
Like (0)
Reply



Subject: Update
Author: [Not Specified]
Posted: 2013-12-29 14:12

Thanks for the update!

Hydruid



Subject: Error coming after zenoss login successfully somebody help me.
Author: [Not Specified]
Posted: 2015-01-29 17:51

Type:
Value: Service Unavailable

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 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 240, in __call__ interpreter() File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 266, in __call__ self.interpret(self.program) File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 338, in interpret handlers[opcode](self, args) File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 883, in do_useMacro self.interpret(macro) File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 338, in interpret handlers[opcode](self, args) File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 528, in do_optTag_tal self.do_optTag(stuff) File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 513, in do_optTag return self.no_tag(start, program) File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 508, in no_tag self.interpret(program) File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 338, in interpret handlers[opcode](self, args) File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 883, in do_useMacro self.interpret(macro) File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 338, in interpret handlers[opcode](self, args) File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 528, in do_optTag_tal self.do_optTag(stuff) File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 513, in do_optTag return self.no_tag(start, program) File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 508, in no_tag self.interpret(program) File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 338, in interpret handlers[opcode](self, args) File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 883, in do_useMacro self.interpret(macro) File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 338, in interpret handlers[opcode](self, args) File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 528, in do_optTag_tal self.do_optTag(stuff) File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 513, in do_optTag return self.no_tag(start, program) File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 508, in no_tag self.interpret(program) File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 338, in interpret handlers[opcode](self, args) File "/opt/zenoss/lib/python/zope/tal/talinterpreter.py", line 737, in do_insertStructure_tal structure = self.engine.evaluateStructure(expr) File "/opt/zenoss/lib/python/Products/PageTemplates/Expressions.py", line 218, in evaluateStructure text = super(ZopeContext, self).evaluateStructure(expr) File "/opt/zenoss/lib/python/zope/tales/tales.py", line 696, in evaluate return expression(self) File "/opt/zenoss/lib/python/zope/contentprovider/tales.py", line 80, in __call__ return provider.render() File "/opt/zenoss/Products/ZenUI3/utils/javascript.py", line 28, in render raw_js = '\n'.join(v.render() for v in self.viewlets) File "/opt/zenoss/Products/ZenUI3/utils/javascript.py", line 28, in raw_js = '\n'.join(v.render() for v in self.viewlets) File "/opt/zenoss/Products/ZenUI3/utils/javascript.py", line 40, in render return self.snippet() File "/opt/zenoss/Products/ZenUI3/browser/eventconsole/grid.py", line 221, in snippet defs = column_config(self.request, archive=archive) File "/opt/zenoss/Products/ZenUI3/browser/eventconsole/grid.py", line 176, in column_config columns = _find_column_definitions(archive) File "/opt/zenoss/Products/ZenUI3/browser/eventconsole/grid.py", line 132, in _find_column_definitions details = getFacade('zep').getUnmappedDetails() File "/opt/zenoss/Products/Zuul/facades/zepfacade.py", line 683, in getUnmappedDetails return getDetailsInfo().getUnmappedDetails() File "/opt/zenoss/Products/Zuul/facades/zepfacade.py", line 838, in getUnmappedDetails self._initDetails() File "/opt/zenoss/Products/Zuul/facades/zepfacade.py", line 796, in _initDetails response, content = self._configClient.getDetails() File "/opt/zenoss/lib/python/zenoss/protocols/services/zep.py", line 257, in getDetails return self.client.get('index_details') File "/opt/zenoss/lib/python/zenoss/protocols/services/__init__.py", line 181, in get return self._request(path, method='GET', params=params, headers=headers) File "/opt/zenoss/lib/python/zenoss/protocols/services/__init__.py", line 160, in _request response, content = self._executeRequest(request) File "/opt/zenoss/lib/python/zenoss/protocols/services/__init__.py", line 154, in _executeRequest raise ServiceResponseError(response.reason, response.status, request, response, content) ServiceResponseError: Service Unavailable



Subject: please start a new thread
Author: Andrew Kirch
Posted: 2015-02-02 10:10

please start a new thread

Andrew Kirch

akirch@gvit.com

Need Zenoss support, consulting or custom development Look no further. Email or PM me!

Ready for Distributed Topology (collectors) for Zenoss 5 Coming May 1st from GoVanguard



< Previous
google maps api