Is MySQL running on the Zenoss computer?
--
James Pulver
Information Technology Area Supervisor
LEPP Computer Group
Cornell University



techsys wrote:
Some one installed zenoss community version for us.it has been working well not 
untill we recently had a power problem installed zenoss for a week now recently we 
had a power failure when we switched on evrything and started all the services,now 
zenoss is not showing any information about devices or any device saying its lost 
connection to the server.when u check the status of zenoss its showing that zenhub 
& zenactions are not starting.

below is the error detail

 Type: OperationalError
Value: (2002, "Can't connect to local MySQL server through socket 
'/var/lib/mysql/mysql.sock' (111)")

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 64, 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/deviceOrganizerStatus used for 
/zport/dmd/Devices>
    * 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 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 46, Column 0
      Expression: <PythonExpr zem.getEventSummaryME(here, 0)>
      Names:

      {'container': <ZentinelPortal at /zport>,
       'context': <DeviceClass at /zport/dmd/Devices>,
       'default': <Products.PageTemplates.TALES.Default instance at 0xb76c7acc>,
       'here': <DeviceClass at /zport/dmd/Devices>,
       'loop': <Products.PageTemplates.TALES.SafeMapping object at 0xb089dac>,
       'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter 
instance at 0xb76ccb2c>,
       'nothing': None,
       'options': {'args': ()},
       'repeat': <Products.PageTemplates.TALES.SafeMapping object at 0xb089dac>,
       'request': <HTTPRequest, 
URL=http://noc.malawi.net:8080/zport/dmd/Devices>,
       'root': <Application at >,
       'template': <FSPageTemplate at /zport/deviceOrganizerStatus used for 
/zport/dmd/Devices>,
       'traverse_subpath': [],
       'user': admin}

    * Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__
      __traceback_info__: zem.getEventSummaryME(here, 0)
    * Module Python expression "zem.getEventSummaryME(here, 0)", line 1, in 
<expression>
    * Module Products.ZenEvents.EventManagerBase, line 576, in getEventSummaryME
    * Module Products.ZenEvents.MySqlEventManager, line 86, in getEventSummary
    * Module Products.ZenEvents.DbAccessBase, line 33, in connect
    * Module Products.ZenEvents.DbConnectionPool, line 73, in get
    * Module Products.ZenEvents.DbConnectionPool, line 97, in _createConnection
    * Module MySQLdb, line 66, in Connect
    * Module MySQLdb.connections, line 134, in __init__

OperationalError: (2002, "Can't connect to local MySQL server through socket 
'/var/lib/mysql/mysql.sock' (111)")




-------------------- m2f --------------------

Read this topic online here:
http://community.zenoss.com/forums/viewtopic.php?p=23885#23885

-------------------- m2f --------------------



_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to