Hello,
I'm using the latest vmware image (updated to 2.1.2). It worked fine until the
last reboot. After that I get the following error:
Code:
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 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/NAS/HSG/devices/jhlotti.hiport.loc>
* 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 501, in do_insertText_tal
* Module Products.PageTemplates.TALES, line 227, in evaluateText
* Module Products.PageTemplates.TALES, line 221, in evaluate
URL: file:ZenModel/skins/zenmodel/deviceStatus.pt
Line 33, Column 20
Expression: standard:'here/availability'
Names:
{'container': <ZentinelPortal at /zport>,
'context': <Device at
/zport/dmd/Devices/NAS/HSG/devices/jhlotti.hiport.loc>,
'default': <Products.PageTemplates.TALES.Default instance at 0xb775a5cc>,
'here': <Device at
/zport/dmd/Devices/NAS/HSG/devices/jhlotti.hiport.loc>,
'loop': <Products.PageTemplates.TALES.SafeMapping object at 0xb246bac>,
'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter
instance at 0xb775f62c>,
'nothing': None,
'options': {'args': ()},
'repeat': <Products.PageTemplates.TALES.SafeMapping object at 0xb246bac>,
'request': <HTTPRequest,
URL=http://192.168.99.11:8080/zport/dmd/Devices/NAS/HSG/devices/jhlotti.hiport.loc>,
'root': <Application at >,
'template': <FSPageTemplate at /zport/deviceStatus used for
/zport/dmd/Devices/NAS/HSG/devices/jhlotti.hiport.loc>,
'traverse_subpath': [],
'user': admin}
* Module Products.PageTemplates.Expressions, line 185, in __call__
* Module Products.PageTemplates.Expressions, line 180, in _eval
* Module Products.PageTemplates.Expressions, line 85, in render
* Module Products.ZenModel.Device, line 460, in availability
* Module Products.ZenEvents.Availability, line 184, in query
* Module Products.ZenEvents.Availability, line 136, in run
* Module Products.ZenEvents.DbAccessBase, line 34, in connect
* Module Products.ZenEvents.DbConnectionPool, line 63, in get
OperationalError: (2002, "Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock' (111)")
Mysql is running but when I connect and give a show databases query I get the
following:
Code:
show databases;
ERROR 2006 (HY000): MySQL server has gone away
No connection. Trying to reconnect...
ERROR 2002 (HY000): Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock' (2)
ERROR:
Can't connect to the server
the /etc/init.d/mysqld status shows the server is running
the .sock file doesn't exist and restarting the server doesn't recreate it.
the dashboard shows the latest problems and the zenoss issues portlet shows
almost all the zenoss modules.
any idead on what's going on ?
thanks
giuliano
-------------------- m2f --------------------
Read this topic online here:
http://community.zenoss.com/forums/viewtopic.php?p=16946#16946
-------------------- m2f --------------------
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users