![]() |
![]() |
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
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 |
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
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 |