Ad Widget

Collapse

zabbix server service shutdowns after starting.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • limbooface
    Member
    • Jun 2016
    • 77

    #1

    zabbix server service shutdowns after starting.

    when I turn on my zabbix-server service its just shutdown cannot start it up again.

    below is debug info i get from browser
    ******************* Script profiler ******************** Total time: 0.142332 Total SQL time: 0.042166 SQL count: 42 (selects: 25 | executes: 17) Peak memory usage: 10.5M Memory limit: 128M 1. drule.get [CControllerDashboardView.php:53]
    Parameters:
    Array ( [output] => Array ( ) [filter] => Array ( [status] => 0 ) [limit] => 1 )
    Result:
    Array ( [0] => Array ( [druleid] => 2 ) )
    2. graph.get [blocks.inc.php:57]
    Parameters:
    Array ( [output] => Array ( [0] => graphid [1] => name ) [selectHosts] => Array ( [0] => hostid [1] => name ) [expandName] => 1 [graphids] => Array ( [2190] => 2190 [2193] => 2193 [2688] => 2688 [3406] => 3406 ) [preservekeys] => 1 )
    Result:
    Array ( [2190] => Array ( [graphid] => 2190 [name] => Arnold License [hosts] => Array ( [0] => Array ( [hostid] => 10195 [name] => server.unionvfx.local ) ) ) [2193] => Array ( [graphid] => 2193 [name] => Golaemcrowd License [hosts] => Array ( [0] => Array ( [hostid] => 10195 [name] => server.unionvfx.local ) ) ) [2688] => Array ( [graphid] => 2688 [name] => Maya License Usage [hosts] => Array ( [0] => Array ( [hostid] => 10195 [name] => server.unionvfx.local ) ) ) [3406] => Array ( [graphid] => 3406 [name] => Nuke Licenses [hosts] => Array ( [0] => Array ( [hostid] => 10253 [name] => license ) ) ) )
    3. map.get [blocks.inc.php:151]
    Parameters:
    Array ( [output] => Array ( [0] => sysmapid [1] => name ) [sysmapids] => Array ( [2] => 2 ) )
    Result:
    Array ( [0] => Array ( [sysmapid] => 2 [name] => Unionvfx Network ) )
    4. screen.get [blocks.inc.php:207]
    Parameters:
    Array ( [output] => Array ( [0] => screenid [1] => name ) [screenids] => Array ( [23] => 23 [24] => 24 [25] => 25 [26] => 26 [27] => 27 [28] => 28 [29] => 29 [30] => 30 [32] => 32 [33] => 33 ) [preservekeys] => 1 )
    Result:
    Array ( [23] => Array ( [screenid] => 23 [name] => Memory Usage for Workstations ) [24] => Array ( [screenid] => 24 [name] => Memory Usage for Rendernodes ) [25] => Array ( [screenid] => 25 [name] => Cpu Usage for Rendernodes ) [26] => Array ( [screenid] => 26 [name] => LAN and WAN Network Activity ) [27] => Array ( [screenid] => 27 [name] => Workstation Resource Usage ) [28] => Array ( [screenid] => 28 [name] => Rendernode Resource Usage ) [29] => Array ( [screenid] => 29 [name] => Playback_Union Point to Point Connection ) [30] => Array ( [screenid] => 30 [name] => Union Licenses ) [32] => Array ( [screenid] => 32 [name] => NTP Stats ) [33] => Array ( [screenid] => 33 [name] => Memory Usage for 64 Gig Workstations ) )
    5. graph.get [CMenuPopupHelper.php:57]
    Parameters:
    Array ( [output] => Array ( [0] => graphid [1] => name ) [selectHosts] => Array ( [0] => hostid [1] => name ) [expandName] => 1 [graphids] => Array ( [0] => 2190 [1] => 2193 [2] => 2688 [3] => 3406 ) [preservekeys] => 1 )
    Result:
    Array ( [2190] => Array ( [graphid] => 2190 [name] => Arnold License [hosts] => Array ( [0] => Array ( [hostid] => 10195 [name] => server.unionvfx.local ) ) ) [2193] => Array ( [graphid] => 2193 [name] => Golaemcrowd License [hosts] => Array ( [0] => Array ( [hostid] => 10195 [name] => server.unionvfx.local ) ) ) [2688] => Array ( [graphid] => 2688 [name] => Maya License Usage [hosts] => Array ( [0] => Array ( [hostid] => 10195 [name] => server.unionvfx.local ) ) ) [3406] => Array ( [graphid] => 3406 [name] => Nuke Licenses [hosts] => Array ( [0] => Array ( [hostid] => 10253 [name] => license ) ) ) )
    6. screen.get [CMenuPopupHelper.php:164]
    Parameters:
    Array ( [output] => Array ( [0] => screenid [1] => name ) [screenids] => Array ( [23] => 23 [24] => 24 [25] => 25 [26] => 26 [27] => 27 [28] => 28 [29] => 29 [30] => 30 [32] => 32 [33] => 33 ) [preservekeys] => 1 )
    Result:
    Array ( [23] => Array ( [screenid] => 23 [name] => Memory Usage for Workstations ) [24] => Array ( [screenid] => 24 [name] => Memory Usage for Rendernodes ) [25] => Array ( [screenid] => 25 [name] => Cpu Usage for Rendernodes ) [26] => Array ( [screenid] => 26 [name] => LAN and WAN Network Activity ) [27] => Array ( [screenid] => 27 [name] => Workstation Resource Usage ) [28] => Array ( [screenid] => 28 [name] => Rendernode Resource Usage ) [29] => Array ( [screenid] => 29 [name] => Playback_Union Point to Point Connection ) [30] => Array ( [screenid] => 30 [name] => Union Licenses ) [32] => Array ( [screenid] => 32 [name] => NTP Stats ) [33] => Array ( [screenid] => 33 [name] => Memory Usage for 64 Gig Workstations ) )
    7. map.get [CMenuPopupHelper.php:125]
    Parameters:
    Array ( [output] => Array ( [0] => sysmapid [1] => name ) [sysmapids] => Array ( [0] => 2 ) )
    Result:
    Array ( [0] => Array ( [sysmapid] => 2 [name] => Unionvfx Network ) )

    SQL (0.000127): SET NAMES utf8
    zabbix.php:21 → require_once() → ZBase->run() → ZBase->initDB() → DBconnect() → DBexecute() in include/db.inc.php:59

    SQL (0.000519): SHOW TABLES LIKE 'dbversion'
    zabbix.php:21 → require_once() → ZBase->run() → ZBase->initDB() → DBconnect() → DbBackend->checkDbVersion() → MysqlDbBackend->checkDbVersionTable() → DBselect() in include/classes/db/MysqlDbBackend.php:32

    SQL (7.5E-5): SELECT dv.mandatory,dv.optional FROM dbversion dv
    zabbix.php:21 → require_once() → ZBase->run() → ZBase->initDB() → DBconnect() → DbBackend->checkDbVersion() → DBselect() in include/classes/db/DbBackend.php:46

    SQL (4.5E-5): SELECT NULL FROM config c
    zabbix.php:21 → require_once() → ZBase->run() → ZBase->initDB() → DBconnect() → DbBackend->checkConfig() → DBselect() in include/classes/db/DbBackend.php:62

    SQL (6.7E-5): BEGIN
    zabbix.php:21 → require_once() → ZBase->run() → ZBase->authenticateUser() → CWebUser::checkAuthentication() → CFrontendApiWrapper->checkAuthentication() → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → DBstart() → DBexecute() in include/db.inc.php:246

    SQL (0.000327): SELECT u.userid,u.autologout,s.lastaccess FROM sessions s,users u WHERE s.sessionid='472312ee8bc16aab3e951c8a4a616d35' AND s.status=0 AND s.userid=u.userid AND (s.lastaccess+u.autologout>1526657123 OR u.autologout=0)
    zabbix.php:21 → require_once() → ZBase->run() → ZBase->authenticateUser() → CWebUser::checkAuthentication() → CFrontendApiWrapper->checkAuthentication() → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → call_user_func_array() → CUser->checkAuthentication() → DBselect() in include/classes/api/services/CUser.php:1197

    SQL (7.4E-5): SELECT MAX(g.gui_access) AS gui_access FROM usrgrp g,users_groups ug WHERE ug.userid='1' AND g.usrgrpid=ug.usrgrpid
    zabbix.php:21 → require_once() → ZBase->run() → ZBase->authenticateUser() → CWebUser::checkAuthentication() → CFrontendApiWrapper->checkAuthentication() → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → call_user_func_array() → CUser->checkAuthentication() → DBselect() in include/classes/api/services/CUser.php:1230

    SQL (8.2E-5): SELECT u.userid,u.alias,u.name,u.surname,u.url,u.autologi n,u.autologout,u.lang,u.refresh,u.type, u.theme,u.attempt_failed,u.attempt_ip,u.attempt_cl ock,u.rows_per_page FROM users u WHERE u.userid='1'
    zabbix.php:21 → require_once() → ZBase->run() → ZBase->authenticateUser() → CWebUser::checkAuthentication() → CFrontendApiWrapper->checkAuthentication() → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → call_user_func_array() → CUser->checkAuthentication() → CUser->_getUserData() → DBselect() in include/classes/api/services/CUser.php:1254

    SQL (6.9E-5): SELECT ug.userid FROM usrgrp g,users_groups ug WHERE ug.userid='1' AND g.usrgrpid=ug.usrgrpid AND g.debug_mode=1
    zabbix.php:21 → require_once() → ZBase->run() → ZBase->authenticateUser() → CWebUser::checkAuthentication() → CFrontendApiWrapper->checkAuthentication() → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → call_user_func_array() → CUser->checkAuthentication() → CUser->_getUserData() → DBselect() in include/classes/api/services/CUser.php:1262

    SQL (6.4E-5): COMMIT
    zabbix.php:21 → require_once() → ZBase->run() → ZBase->authenticateUser() → CWebUser::checkAuthentication() → CFrontendApiWrapper->checkAuthentication() → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → DBend() → DBcommit() → DBexecute() in include/db.inc.php:307

    SQL (7.1E-5): BEGIN
    zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CController->run() → CControllerDashboardView->doAction() → CFrontendApiWrapper->get() → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → DBstart() → DBexecute() in include/db.inc.php:246

    SQL (0.000173): SELECT dr.druleid FROM drules dr WHERE dr.status='0' LIMIT 1 OFFSET 0
    zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CController->run() → CControllerDashboardView->doAction() → CFrontendApiWrapper->get() → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → call_user_func_array() → CDRule->get() → DBselect() in include/classes/api/services/CDRule.php:140

    SQL (6.3E-5): COMMIT
    zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CController->run() → CControllerDashboardView->doAction() → CFrontendApiWrapper->get() → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → DBend() → DBcommit() → DBexecute() in include/db.inc.php:307

    SQL (0.000876): SELECT p.* FROM profiles p WHERE p.userid=1 ORDER BY p.userid,p.profileid
    zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CController->run() → CControllerDashboardView->doAction() → CProfile::get() → CProfile::init() → DBselect() in include/classes/user/CProfile.php:42

    SQL (0.000373): SELECT p.value_id,p.source FROM profiles p WHERE p.userid=1 AND p.idx='web.favorite.graphids' ORDER BY p.profileid
    zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CController->run() → CControllerDashboardView->doAction() → getFavouriteGraphs() → getFavouriteGraphsData() → CFavorite::get() → DBselect() in include/classes/user/CFavorite.php:56

    SQL (6.4E-5): BEGIN
    zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CController->run() → CControllerDashboardView->doAction() → getFavouriteGraphs() → getFavouriteGraphsData() → CFrontendApiWrapper->get() → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → DBstart() → DBexecute() in include/db.inc.php:246

    SQL (0.000244): SELECT g.graphid,g.name FROM graphs g WHERE g.graphid IN ('2190','2193','2688','3406') AND g.flags IN ('0','4')
    zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CController->run() → CControllerDashboardView->doAction() → getFavouriteGraphs() → getFavouriteGraphsData() → CFrontendApiWrapper->get() → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → call_user_func_array() → CGraph->get() → DBselect() in include/classes/api/services/CGraph.php:296

    SQL (0.000191): SELECT i.hostid,gi.graphid,h.host FROM graphs_items gi,items i,hosts h WHERE gi.itemid=i.itemid AND i.hostid=h.hostid AND 1=0 ORDER BY gi.sortorder
    zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CController->run() → CControllerDashboardView->doAction() → getFavouriteGraphs() → getFavouriteGraphsData() → CFrontendApiWrapper->get() → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → call_user_func_array() → CGraph->get() → CMacrosResolverHelper::resolveGraphNameByIds() → DBselect() in include/classes/macros/CMacrosResolverHelper.php:445

    SQL (0.013374): SELECT gi.graphid,i.hostid FROM graphs_items gi,items i WHERE gi.graphid IN ('2190','2193','2688','3406') AND gi.itemid=i.itemid
    zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CController->run() → CControllerDashboardView->doAction() → getFavouriteGraphs() → getFavouriteGraphsData() → CFrontendApiWrapper->get() → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → call_user_func_array() → CGraph->get() → CGraph->addRelatedObjects() → CGraphGeneral->addRelatedObjects() → DBselect() in include/classes/api/services/CGraphGeneral.php:358

    SQL (0.000231): SELECT h.hostid,h.name FROM hosts h WHERE h.flags IN (0,4) AND h.hostid IN ('10195','10253') AND h.status IN (0,1,3)
    zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CController->run() → CControllerDashboardView->doAction() → getFavouriteGraphs() → getFavouriteGraphsData() → CFrontendApiWrapper->get() → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → call_user_func_array() → CGraph->get() → CGraph->addRelatedObjects() → CGraphGeneral->addRelatedObjects() → CHost->get() → DBselect() in include/classes/api/services/CHost.php:434

    SQL (6.7E-5): COMMIT
    zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CController->run() → CControllerDashboardView->doAction() → getFavouriteGraphs() → getFavouriteGraphsData() → CFrontendApiWrapper->get() → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → DBend() → DBcommit() → DBexecute() in include/db.inc.php:307

    SQL (0.00029): SELECT p.value_id,p.source FROM profiles p WHERE p.userid=1 AND p.idx='web.favorite.sysmapids' ORDER BY p.profileid
    zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CController->run() → CControllerDashboardView->doAction() → getFavouriteMaps() → getFavouriteMapsData() → CFavorite::get() → DBselect() in include/classes/user/CFavorite.php:56

    SQL (6.5E-5): BEGIN
    zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CController->run() → CControllerDashboardView->doAction() → getFavouriteMaps() → getFavouriteMapsData() → CFrontendApiWrapper->get() → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → DBstart() → DBexecute() in include/db.inc.php:246

    SQL (0.023011): SELECT s.sysmapid,s.name FROM sysmaps s WHERE s.sysmapid='2'
    zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CController->run() → CControllerDashboardView->doAction() → getFavouriteMaps() → getFavouriteMapsData() → CFrontendApiWrapper->get() → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → call_user_func_array() → CMap->get() → DBselect() in include/classes/api/services/CMap.php:175

    SQL (4.1E-5): COMMIT
    zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CController->run() → CControllerDashboardView->doAction() → getFavouriteMaps() → getFavouriteMapsData() → CFrontendApiWrapper->get() → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → DBend() → DBcommit() → DBexecute() in include/db.inc.php:307

    SQL (0.000332): SELECT p.value_id,p.source FROM profiles p WHERE p.userid=1 AND p.idx='web.favorite.screenids' ORDER BY p.profileid
    zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CController->run() → CControllerDashboardView->doAction() → getFavouriteScreens() → getFavouriteScreensData() → CFavorite::get() → DBselect() in include/classes/user/CFavorite.php:56

    SQL (6.2E-5): BEGIN
    zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CController->run() → CControllerDashboardView->doAction() → getFavouriteScreens() → getFavouriteScreensData() → CFrontendApiWrapper->get() → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → DBstart() → DBexecute() in include/db.inc.php:246

    SQL (0.000268): SELECT s.screenid,s.name FROM screens s WHERE s.templateid IS NULL AND (s.screenid BETWEEN '23' AND '30' OR s.screenid IN ('32','33'))
    zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CController->run() → CControllerDashboardView->doAction() → getFavouriteScreens() → getFavouriteScreensData() → CFrontendApiWrapper->get() → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → call_user_func_array() → CScreen->get() → DBselect() in include/classes/api/services/CScreen.php:167

    SQL (6.7E-5): COMMIT
    zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CController->run() → CControllerDashboardView->doAction() → getFavouriteScreens() → getFavouriteScreensData() → CFrontendApiWrapper->get() → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → DBend() → DBcommit() → DBexecute() in include/db.inc.php:307

    SQL (6.4E-5): BEGIN
    zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CView->getOutput() → include() → call_user_func() → CMenuPopupHelper::getFavouriteGraphs() → CFrontendApiWrapper->get() → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → DBstart() → DBexecute() in include/db.inc.php:246

    SQL (7.5E-5): SELECT g.graphid,g.name FROM graphs g WHERE g.graphid IN ('2190','2193','2688','3406') AND g.flags IN ('0','4')
    zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CView->getOutput() → include() → call_user_func() → CMenuPopupHelper::getFavouriteGraphs() → CFrontendApiWrapper->get() → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → call_user_func_array() → CGraph->get() → DBselect() in include/classes/api/services/CGraph.php:296

    SQL (5.2E-5): SELECT i.hostid,gi.graphid,h.host FROM graphs_items gi,items i,hosts h WHERE gi.itemid=i.itemid AND i.hostid=h.hostid AND 1=0 ORDER BY gi.sortorder
    zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CView->getOutput() → include() → call_user_func() → CMenuPopupHelper::getFavouriteGraphs() → CFrontendApiWrapper->get() → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → call_user_func_array() → CGraph->get() → CMacrosResolverHelper::resolveGraphNameByIds() → DBselect() in include/classes/macros/CMacrosResolverHelper.php:445

    SQL (5.3E-5): SELECT gi.graphid,i.hostid FROM graphs_items gi,items i WHERE gi.graphid IN ('2190','2193','2688','3406') AND gi.itemid=i.itemid
    zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CView->getOutput() → include() → call_user_func() → CMenuPopupHelper::getFavouriteGraphs() → CFrontendApiWrapper->get() → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → call_user_func_array() → CGraph->get() → CGraph->addRelatedObjects() → CGraphGeneral->addRelatedObjects() → DBselect() in include/classes/api/services/CGraphGeneral.php:358

    SQL (6.6E-5): SELECT h.hostid,h.name FROM hosts h WHERE h.flags IN (0,4) AND h.hostid IN ('10195','10253') AND h.status IN (0,1,3)
    zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CView->getOutput() → include() → call_user_func() → CMenuPopupHelper::getFavouriteGraphs() → CFrontendApiWrapper->get() → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → call_user_func_array() → CGraph->get() → CGraph->addRelatedObjects() → CGraphGeneral->addRelatedObjects() → CHost->get() → DBselect() in include/classes/api/services/CHost.php:434

    SQL (4.6E-5): COMMIT
    zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CView->getOutput() → include() → call_user_func() → CMenuPopupHelper::getFavouriteGraphs() → CFrontendApiWrapper->get() → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → DBend() → DBcommit() → DBexecute() in include/db.inc.php:307

    SQL (6.3E-5): BEGIN
    zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CView->getOutput() → include() → call_user_func() → CMenuPopupHelper::getFavouriteScreens() → CFrontendApiWrapper->get() → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → DBstart() → DBexecute() in include/db.inc.php:246

    SQL (7.5E-5): SELECT s.screenid,s.name FROM screens s WHERE s.templateid IS NULL AND (s.screenid BETWEEN '23' AND '30' OR s.screenid IN ('32','33'))
    zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CView->getOutput() → include() → call_user_func() → CMenuPopupHelper::getFavouriteScreens() → CFrontendApiWrapper->get() → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → call_user_func_array() → CScreen->get() → DBselect() in include/classes/api/services/CScreen.php:167

    SQL (6.1E-5): COMMIT
    zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CView->getOutput() → include() → call_user_func() → CMenuPopupHelper::getFavouriteScreens() → CFrontendApiWrapper->get() → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → DBend() → DBcommit() → DBexecute() in include/db.inc.php:307

    SQL (6.2E-5): BEGIN
    zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CView->getOutput() → include() → call_user_func() → CMenuPopupHelper::getFavouriteMaps() → CFrontendApiWrapper->get() → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → DBstart() → DBexecute() in include/db.inc.php:246

    SQL (7.1E-5): SELECT s.sysmapid,s.name FROM sysmaps s WHERE s.sysmapid='2'
    zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CView->getOutput() → include() → call_user_func() → CMenuPopupHelper::getFavouriteMaps() → CFrontendApiWrapper->get() → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → call_user_func_array() → CMap->get() → DBselect() in include/classes/api/services/CMap.php:175

    SQL (6.0E-5): COMMIT
    zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CView->getOutput() → include() → call_user_func() → CMenuPopupHelper::getFavouriteMaps() → CFrontendApiWrapper->get() → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → DBend() → DBcommit() → DBexecute() in include/db.inc.php:307

    SQL (0.000106): SELECT c.* FROM config c
    zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CView->getOutput() → include() → local_generateHeader() → CView->getOutput() → include() → select_config() → DBselect() in include/profiles.inc.php:33
  • limbooface
    Member
    • Jun 2016
    • 77

    #2
    Also how do I increase the number of connections to the mysql database?

    Comment

    • kloczek
      Senior Member
      • Jun 2006
      • 1771

      #3
      Why you are quoting browser debug data if your zabbix server is shutting down?
      http://uk.linkedin.com/pub/tomasz-k%...zko/6/940/430/
      https://kloczek.wordpress.com/
      zapish - Zabbix API SHell binding https://github.com/kloczek/zapish
      My zabbix templates https://github.com/kloczek/zabbix-templates

      Comment

      • limbooface
        Member
        • Jun 2016
        • 77

        #4
        Because the zabbix server logs do not show much when the service stops. I Have increased the log level as well.

        54443:20180518:181021.618 syncing history data done
        54443:20180518:181021.618 syncing trends data...
        54443:20180518:181023.239 syncing trends data done
        54443:20180518:181023.239 Zabbix Server stopped. Zabbix 3.0.3 (revision 60173).

        The debug info screen appeared when the service stopped, hoping it may help debug my issue.

        Comment

        • kloczek
          Senior Member
          • Jun 2006
          • 1771

          #5
          zabbix server logs does not show much of what?
          Why you are increasing debug level?
          Why do do you want to increase number of connection do DB backend?
          Zabbix server processes uses only one such connection per processes (some does not need even one connection).
          Really it is not possible to figure out what happens with you zabbix and/or with what exactly you have an issue.
          http://uk.linkedin.com/pub/tomasz-k%...zko/6/940/430/
          https://kloczek.wordpress.com/
          zapish - Zabbix API SHell binding https://github.com/kloczek/zapish
          My zabbix templates https://github.com/kloczek/zabbix-templates

          Comment

          • limbooface
            Member
            • Jun 2016
            • 77

            #6
            So if you look at the top of this thread I did say "when I turn on my zabbix-server service its just shutdown cannot start it up again".

            I start the service, service zabbix-server start and after few seconds the service stops automatically in the logs is shows


            52106:20180627:131201.942 syncing history data...
            52106:20180627:131203.068 syncing history data done
            52106:20180627:131203.068 syncing trends data...
            52106:20180627:131204.368 syncing trends data done
            52106:20180627:131204.368 Zabbix Server stopped. Zabbix 3.0.3 (revision 60173).

            In my web interface for my zabbix gui is shows "Zabbix server is not running: the information displayed may not be current" how do i debug and fix this issue?

            Comment

            • kernbug
              Senior Member
              • Feb 2013
              • 330

              #7
              Originally posted by limbooface
              So if you look at the top of this thread I did say "when I turn on my zabbix-server service its just shutdown cannot start it up again".

              I start the service, service zabbix-server start and after few seconds the service stops automatically in the logs is shows


              52106:20180627:131201.942 syncing history data...
              52106:20180627:131203.068 syncing history data done
              52106:20180627:131203.068 syncing trends data...
              52106:20180627:131204.368 syncing trends data done
              52106:20180627:131204.368 Zabbix Server stopped. Zabbix 3.0.3 (revision 60173).

              In my web interface for my zabbix gui is shows "Zabbix server is not running: the information displayed may not be current" how do i debug and fix this issue?
              Hi

              Please, run this
              Code:
              sudo tail -n 50 /var/log/zabbix/zabbix_server.log;
              ##and
              dmesg|tail -n 50
              and post output here. Also it will be helpful to know about your OS:
              Code:
              cat /etc/os-release
              Last edited by kernbug; 27-06-2018, 14:25.

              Comment

              Working...