I've successfully installed and have been configuring zenoss in Centos 5 with
no real issues. This morning I tried accessing any of the choices on the left
like 'locations, devices' etc. And I now get the following error:
enoss Error
An error was encountered while publishing this resource. Please use the form
below to submit details of this error to Zenoss, Inc. This information helps us
identify and fix issues with the software, though we are unable to respond
individually to all submissions.
The Zenoss community forums are very active and a good resource for solving
problems and answering questions. Zenoss also provides commercial services and
support packages.
Type: OperationalError
Value: (2005, "Unknown MySQL server host 'zenoss server' (1)")
Traceback (innermost last):
* Module ZPublisher.Publish, line 114, in publish
* Module ZPublisher.mapply, line 88, in mapply
* Module ZPublisher.Publish, line 40, in call_object
* Module Products.ZenModel.ZenModelBase, line 66, in __call__
* Module Shared.DC.Scripts.Bindings, line 311, in __call__
* Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
* Module Products.CMFCore.FSPageTemplate, line 195, in _exec
* Module Products.CMFCore.FSPageTemplate, line 134, in pt_render
* Module Products.PageTemplates.PageTemplate, line 104, in pt_render
<FSPageTemplate at /zport/deviceStatus used for
/zport/dmd/Devices/Server/devices/support.roo.com>
* Module TAL.TALInterpreter, line 206, in __call__
* Module TAL.TALInterpreter, line 250, in interpret
* Module TAL.TALInterpreter, line 711, in do_useMacro
* Module TAL.TALInterpreter, line 250, in interpret
* Module TAL.TALInterpreter, line 426, in do_optTag_tal
* Module TAL.TALInterpreter, line 411, in do_optTag
* Module TAL.TALInterpreter, line 406, in no_tag
* Module TAL.TALInterpreter, line 250, in interpret
* Module TAL.TALInterpreter, line 711, in do_useMacro
* Module TAL.TALInterpreter, line 250, in interpret
* Module TAL.TALInterpreter, line 426, in do_optTag_tal
* Module TAL.TALInterpreter, line 411, in do_optTag
* Module TAL.TALInterpreter, line 406, in no_tag
* Module TAL.TALInterpreter, line 250, in interpret
* Module TAL.TALInterpreter, line 734, in do_defineSlot
* Module TAL.TALInterpreter, line 250, in interpret
* Module TAL.TALInterpreter, line 426, in do_optTag_tal
* Module TAL.TALInterpreter, line 411, in do_optTag
* Module TAL.TALInterpreter, line 406, in no_tag
* Module TAL.TALInterpreter, line 250, in interpret
* Module TAL.TALInterpreter, line 734, in do_defineSlot
* Module TAL.TALInterpreter, line 250, in interpret
* Module TAL.TALInterpreter, line 426, in do_optTag_tal
* Module TAL.TALInterpreter, line 411, in do_optTag
* Module TAL.TALInterpreter, line 406, in no_tag
* Module TAL.TALInterpreter, line 250, in interpret
* Module TAL.TALInterpreter, line 690, in do_defineMacro
* Module TAL.TALInterpreter, line 250, in interpret
* Module TAL.TALInterpreter, line 426, in do_optTag_tal
* Module TAL.TALInterpreter, line 411, in do_optTag
* Module TAL.TALInterpreter, line 406, in no_tag
* Module TAL.TALInterpreter, line 250, in interpret
* Module TAL.TALInterpreter, line 711, in do_useMacro
* Module TAL.TALInterpreter, line 250, in interpret
* Module TAL.TALInterpreter, line 426, in do_optTag_tal
* Module TAL.TALInterpreter, line 411, in do_optTag
* Module TAL.TALInterpreter, line 406, in no_tag
* Module TAL.TALInterpreter, line 250, in interpret
* Module TAL.TALInterpreter, line 734, in do_defineSlot
* Module TAL.TALInterpreter, line 250, in interpret
* Module TAL.TALInterpreter, line 426, in do_optTag_tal
* Module TAL.TALInterpreter, line 411, in do_optTag
* Module TAL.TALInterpreter, line 406, in no_tag
* Module TAL.TALInterpreter, line 250, in interpret
* Module TAL.TALInterpreter, line 711, in do_useMacro
* Module TAL.TALInterpreter, line 250, in interpret
* Module TAL.TALInterpreter, line 426, in do_optTag_tal
* Module TAL.TALInterpreter, line 411, in do_optTag
* Module TAL.TALInterpreter, line 406, in no_tag
* Module TAL.TALInterpreter, line 250, in interpret
* Module TAL.TALInterpreter, line 477, in do_setLocal_tal
* Module Products.PageTemplates.TALES, line 221, in evaluate
URL: file:ZenWidgets/skins/zenui/rainbows.pt
Line 2, Column 0
Expression: <PythonExpr [x[2] for x in zem.getEventSummaryME(here, 0)]>
Names:
{'container': <ZentinelPortal at /zport>,
'context': <Device at /zport/dmd/Devices/Server/devices/support.roo.com>,
'default': <Products.PageTemplates.TALES.Default instance at 0xb77186cc>,
'here': <Device at /zport/dmd/Devices/Server/devices/support.roo.com>,
'loop': <Products.PageTemplates.TALES.SafeMapping object at 0x988f16c>,
'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter
instance at 0xb771e42c>,
'nothing': None,
'options': {'args': ()},
'repeat': <Products.PageTemplates.TALES.SafeMapping object at 0x988f16c>,
'request': <HTTPRequest,
URL=http://192.168.6.182:8080/zport/dmd/Devices/Server/devices/support.roo.com>,
'root': <Application at >,
'template': <FSPageTemplate at /zport/deviceStatus used for
/zport/dmd/Devices/Server/devices/support.roo.com>,
'traverse_subpath': [],
'user': admin}
* Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__
__traceback_info__: [x[2] for x in zem.getEventSummaryME(here, 0)]
* Module Python expression "[x[2] for x in zem.getEventSummaryME(here,
0)]", line 1, in <expression>
* Module Products.ZenEvents.EventManagerBase, line 568, in getEventSummaryME
* Module Products.ZenEvents.MySqlEventManager, line 84, in getEventSummary
* Module Products.ZenEvents.DbAccessBase, line 34, in connect
* Module Products.ZenEvents.DbConnectionPool, line 70, in get
* Module Products.ZenEvents.DbConnectionPool, line 103, in _createConnection
* Module MySQLdb, line 66, in Connect
* Module MySQLdb.connections, line 134, in __init__
OperationalError: (2005, "Unknown MySQL server host 'zenoss server' (1)")
I've restarted zenoss, restarted mysql, removed all .zec files with no luck.
I'm not sure what happened, as far zenoss is concerned it seems like it can no
longer connect to the mysql db. But its currently running and zenoss was
working fine till today. Nothing to my knowledge was touched for this to
happen.
Any suggestions or ideas as to what i should look for in order to fix this
problem?
thx
-------------------- m2f --------------------
Read this topic online here:
http://community.zenoss.com/forums/viewtopic.php?p=13791#13791
-------------------- m2f --------------------
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users