IMC
cancel
Showing results for 
Search instead for 
Did you mean: 

IMC inventory service not starting

 
DavidKra
Occasional Visitor

IMC inventory service not starting

 Hello,

We are facing a problem concerning the imcinventorydm.exe service. When we start the service using the Intelligent Deployment Monitoring agent, it quits after a few seconds displaying following message: "Unknown error occurred in starting the process".

The logfile (C:\Program Files\iMC\server\conf\log\imcinventorydm.2017-07-10.txt) is showing the following:

2017-07-10 12:13:10.944 [INFO (0)] [THREAD(9712)] [qvdm::QvGetLogFileSize] get file size from qvdm.conf: 50
2017-07-10 12:13:10.945 [DEBUG (0)] [THREAD(9712)] [qvdm::getDBInfoFromAddrXml] strComponentID is: iMC-NETASSET
2017-07-10 12:13:10.953 [DEBUG (0)] [THREAD(9712)] [qvdm::getDBInfoFromAddrXmlInnerProcess] Find the component: iMC-NETASSET.
2017-07-10 12:13:10.953 [DEBUG (0)] [THREAD(9712)] [qvdm::getDBInfoFromAddrXmlInnerProcess] get DB information successfully for iMC-NETASSET: strDBType is: SQLServer, strDBName is: invent_db, strDBServerName is: 127.0.0.1@invent_db, strDBUserName is: imc_inventory, strDBPwd is: ***.
2017-07-10 12:13:10.954 [DEBUG (0)] [THREAD(9712)] [CQvDBConnMgr::init] ServerName=127.0.0.1@invent_db, DBName=invent_db, User=imc_inventory, Password=***, DBPort=0, DBType=SQLServer
2017-07-10 12:13:11.037 [DEBUG (0)] [THREAD(9712)] [qvdm::getDBInfoFromAddrXml] strComponentID is: iMC-PLAT
2017-07-10 12:13:11.046 [DEBUG (0)] [THREAD(9712)] [qvdm::getDBInfoFromAddrXmlInnerProcess] Find the component: iMC-PLAT.
2017-07-10 12:13:11.046 [DEBUG (0)] [THREAD(9712)] [qvdm::getDBInfoFromAddrXmlInnerProcess] get DB information successfully for iMC-PLAT: strDBType is: SQLServer, strDBName is: config_db, strDBServerName is: 127.0.0.1@config_db, strDBUserName is: imc_config, strDBPwd is: ***.
2017-07-10 12:13:11.046 [DEBUG (0)] [THREAD(9712)] [CQvDBConnMgr::init] ServerName=127.0.0.1@config_db, DBName=config_db, User=imc_config, Password=***, DBPort=0, DBType=SQLServer
2017-07-10 12:13:11.084 [INFO (0)] [THREAD(9712)] [CQvApplication::start]  call globalInit().
2017-07-10 12:13:11.084 [INFO (0)] [THREAD(9712)] [CQvApplication::globalInit] CImfAppMgr::instance() begin.
2017-07-10 12:13:11.086 [INFO (0)] [THREAD(9712)] [CQvApplication::globalInit] initAppMgr begin.
2017-07-10 12:13:11.128 [INFO (0)] [THREAD(9712)] [CQvApplication::globalInit] QvGetResPath begin.
2017-07-10 12:13:11.128 [INFO (0)] [THREAD(9712)] [CQvApplication::globalInit] initResMgr begin.
2017-07-10 12:13:11.129 [INFO (0)] [THREAD(9712)] [CQvApplication::globalInit]  CQvSnmpEnv::poInstance.
2017-07-10 12:13:11.129 [DEBUG (0)] [THREAD(9712)] [CQvSnmpEnv::getRandNumber] snmp udp-socket,60054
2017-07-10 12:13:11.129 [DEBUG (0)] [THREAD(9712)] [CQvSnmpEnv::getRandNumber] snmp udp-socket,60719
2017-07-10 12:13:11.129 [DEBUG (0)] [THREAD(9712)] [CQvSnmpEnv::getRandNumber] snmp udp-socket,59830
2017-07-10 12:13:11.129 [DEBUG (0)] [THREAD(9712)] [CQvSnmpEnv::getRandNumber] snmp udp-socket,57670
2017-07-10 12:13:11.129 [DEBUG (0)] [THREAD(9712)] [CQvSnmpEnv::getRandNumber] snmp udp-socket,61369
2017-07-10 12:13:11.129 [DEBUG (0)] [THREAD(9712)] [CQvSnmpEnv::getRandNumber] snmp udp-socket,59540
2017-07-10 12:13:11.129 [DEBUG (0)] [THREAD(9712)] [CQvSnmpEnv::getRandNumber] snmp udp-socket,56229
2017-07-10 12:13:11.129 [DEBUG (0)] [THREAD(9712)] [CQvSnmpEnv::getRandNumber] snmp udp-socket,57320
2017-07-10 12:13:11.130 [INFO (0)] [THREAD(9712)] [CQvApplication::globalInit]  CSysGlobalVar::instance().
2017-07-10 12:13:11.133 [INFO (0)] [THREAD(9712)] [CQvApplication::globalInit]  CQvSysTaskMgr::addTaskMgr.
2017-07-10 12:13:11.134 [INFO (0)] [THREAD(9712)] [qvdm::setLogLevelFromDB]set log level to :2
2017-07-10 12:13:11.134 [INFO (0)] [THREAD(9712)] [qvdm::setLogLevelFromDB] success, ProcID is 56, log level is 2
2017-07-10 12:13:11.134 [INFO (0)] [THREAD(9712)] [CQvApplication::globalInit]  finished.
2017-07-10 12:13:11.134 [INFO (0)] [THREAD(9712)] [CQvApplication::start]  call init().
2017-07-10 12:13:11.164 [INFO (0)] [THREAD(9712)] [CInventoryDBOper::insertDevInfoFromNetResDm] No data, and SQL is: select dev.dev_id,dev.dev_ip,symbol.symbol_name from tbl_dev dev,tbl_symbol symbol where dev.dev_id = symbol.phy_id and symbol.root_symbol_id = 1 and dev.dev_type_id != 60001 and  ( dev.dev_id IN ( 523, 524, 525 )  ) 
2017-07-10 12:13:11.995 [WARNING (0)] [THREAD(9712)] [CQvDBReaderADP::~CQvDBReaderADP] Cancel current SQL when data have not be fetched out.
2017-07-10 12:13:11.995 [ERROR (2002)] [THREAD(9712)] [CInventoryDBOper::getAllDevInventInfo] Throw exception.
2017-07-10 12:13:11.995 [ERROR (0)] [THREAD(9712)] [CDevInventoryInfoMgr::init] CInventoryDBOper::getAllDevInventInfo() error.
2017-07-10 12:13:11.995 [ERROR (0)] [THREAD(9712)] [QvInventoryApp::init] Class CDevInventoryInfoMgr init failed.

I checked with procmon, but i don't see strange behaviour. process starts, then does some sql queries, and then quits. 

When I execute the query that is present in the logfile, it returns no results indeed. Removing the device ids (523,524,525 - those are icmp only devices) does not resolve the problem.

Does anyone have a clue where to look next?

 

 

 

2 REPLIES
ibias
Regular Advisor

Re: IMC inventory service not starting

Hi,

please install the latest available imc V7.3(E0506) and try again to start the deployment agent with all imc processes. Some times a restart of the complete server could also solve the problem. I the inventory process the only one which didn't start?

DavidKra
Occasional Visitor

Re: IMC inventory service not starting

Hi,

thanks for your reply. I just updated the server to iMC_PLAT_7.3_E0506_Ent_Win . unfortunately the inventory service still does not start. the imcinventorydm logfile contains the exact same messages. This is indeed the only service that does not start.