TECHZEN Zenoss User Community ARCHIVE  

Error when a login to the admin portal

Subject: Error when a login to the admin portal
Author: Stig Wangdell
Posted: 2017-09-21 05:39

​​Zenoss Core 4.2.5

when i login to  the admin portal a getting a error and i cant access nothing .

Type: <class 'zenoss.protocols.services.ServiceResponseError'> 
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<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 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 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 <genexpr>
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 692, in getUnmappedDetails
return getDetailsInfo().getUnmappedDetails()
File "/opt/zenoss/Products/Zuul/facades/zepfacade.py", line 862, in getUnmappedDetails
self._initDetails()
File "/opt/zenoss/Products/Zuul/facades/zepfacade.py", line 820, in _initDetails
response, content = self._configClient.getDetails()
File "/opt/zenoss/lib/python/zenoss/protocols/services/zep.py", line 261, 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: RE: Error when a login to the admin portal
Author: Jane Curry
Posted: 2017-09-25 06:46

Looks like something isn't running properly. Run:

 zenoss status

and check that everything is running.

Cheers,
Jane

------------------------------
Jane Curry
Skills 1st United Kingdom
jane.curry@skills-1st.co.uk
------------------------------


Subject: RE: Error when a login to the admin portal
Author: Stig Wangdell
Posted: 2017-10-07 00:41

 



All services seem to be up. What has happened is that there has been power outage so the zenoss server was turned off in the wrong way.

Perhaps simplest is to export all devices and changes and restore to a new machine.

Or do you have any suggestions.?


Daemon: zeneventserver program running; pid=2545
Daemon: zopectl program running; pid=2654
Daemon: zenrrdcached program running; pid=2659
Daemon: zenhub program running; pid=2714
Daemon: zenjobs program running; pid=2761
Daemon: zeneventd program running; pid=2801
Daemon: zenping program running; pid=2880
Daemon: zensyslog program running; pid=3506
Daemon: zenstatus program running; pid=3003
Daemon: zenactiond program running; pid=3035
Daemon: zentrap program running; pid=3540
Daemon: zenmodeler program running; pid=3132
Daemon: zenperfsnmp program running; pid=3163
Daemon: zencommand program running; pid=3198
Daemon: zenprocess program running; pid=3233
Daemon: zredis program running; pid=3236
Daemon: zenpython program running; pid=3272
Daemon: zenjmx program running; pid=3311
[root@zenoss ~]#


Subject: RE: Error when a login to the admin portal
Author: Jane Curry
Posted: 2017-10-08 06:37

You may have the issue where your event indexes got broken, especially if Zenoss stopped unexpectedly.  Have a look at this thread for how to fix the indexes -  Zenoss Core URL login .
Cheers,
Jane

------------------------------
Jane Curry
Skills 1st United Kingdom
jane.curry@skills-1st.co.uk
------------------------------


< Previous
ZENPACK FOR JUNIPER QFX(JUNOS)
  Next
Zenoss Core URL login
>