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

Can't run iMC

horiz0n
Occasional Advisor

Can't run iMC

Hi,

I just installed RedHat and iMC, now I am trying to run it, but unfortunately getting error: Deploying failed.

 

log says:

2015-11-04 13:39:35 [INFO ] [Thread-2] [com.h3c.imc.deploy.dma.a::run(885)] Agent start connect to server
2015-11-04 13:39:35 [INFO ] [ActiveMQ Task-1] [com.h3c.imc.deploy.dma.c::transportResumed(899)] Agent transport resumed
2015-11-04 13:39:35 [INFO ] [ActiveMQ Task-1] [com.h3c.imc.deploy.dma.AgentMessageHandler::a(1053)] Agent-Server connect state changed: Connected
2015-11-04 13:39:35 [INFO ] [ActiveMQ Task-1] [org.apache.activemq.transport.failover.FailoverTransport::doReconnect(1040)] Successfully connected to tcp://localhost:61626
2015-11-04 13:39:35 [INFO ] [Thread-2] [com.h3c.imc.deploy.dma.a::run(921)] Agent connection started
2015-11-04 13:39:35 [INFO ] [Thread-2] [com.h3c.imc.deploy.dma.AgentMessageHandler::a(1053)] Agent-Server connect state changed: Connected
2015-11-04 13:39:35 [INFO ] [Thread-2] [com.h3c.imc.deploy.dma.a::run(944)] Create Agent MQ connection completed
2015-11-04 13:39:35 [INFO ] [main] [com.h3c.imc.deploy.dma.DBManConfiguration::setAgentMessageHandler(296)] this server is Master:true
2015-11-04 13:39:35 [INFO ] [Thread-13] [com.h3c.imc.deploy.dma.IPConfigFileManager::a(168)] Start loading server-addr.xml configuration file
2015-11-04 13:39:35 [WARN ] [Thread-13] [com.h3c.imc.deploy.dma.IPConfigFileManager::a(173)] Config file is not exist - /opt/iMC/common/conf/server-addr.xml
2015-11-04 13:39:35 [INFO ] [AWT-EventQueue-0] [com.h3c.imc.deploy.dma.ComponentDeployInfo::isComponentsConformable(606)] Components conformable check failed: no component deployed
2015-11-04 13:39:35 [INFO ] [main] [com.h3c.imc.deploy.dma.DeployManager::a(735)] Component deploy state changed
2015-11-04 13:39:35 [INFO ] [ActiveMQ Session Task-1] [com.h3c.imc.deploy.dma.AgentMessageHandler::a(1078)] Receive master state change message: Connected
2015-11-04 13:39:35 [INFO ] [AWT-EventQueue-0] [com.h3c.imc.deploy.dma.ComponentDeployInfo::isComponentsConformable(606)] Components conformable check failed: no component deployed
2015-11-04 13:39:35 [INFO ] [AWT-EventQueue-0] [com.h3c.imc.deploy.dma.ComponentDeployInfo::isComponentsConformable(606)] Components conformable check failed: no component deployed
2015-11-04 13:39:35 [INFO ] [AWT-EventQueue-0] [com.h3c.imc.deploy.dma.ComponentDeployInfo::isComponentsConformable(606)] Components conformable check failed: no component deployed
2015-11-04 14:44:09 [INFO ] [Thread-2] [com.h3c.imc.deploy.dma.a::run(885)] Agent start connect to server
2015-11-04 14:44:09 [INFO ] [ActiveMQ Task-1] [com.h3c.imc.deploy.dma.c::transportResumed(899)] Agent transport resumed
2015-11-04 14:44:09 [INFO ] [ActiveMQ Task-1] [com.h3c.imc.deploy.dma.AgentMessageHandler::a(1053)] Agent-Server connect state changed: Connected
2015-11-04 14:44:09 [INFO ] [ActiveMQ Task-1] [org.apache.activemq.transport.failover.FailoverTransport::doReconnect(1040)] Successfully connected to tcp://localhost:61626
2015-11-04 14:44:09 [INFO ] [Thread-2] [com.h3c.imc.deploy.dma.a::run(921)] Agent connection started
2015-11-04 14:44:09 [INFO ] [Thread-2] [com.h3c.imc.deploy.dma.AgentMessageHandler::a(1053)] Agent-Server connect state changed: Connected
2015-11-04 14:44:09 [INFO ] [Thread-2] [com.h3c.imc.deploy.dma.a::run(944)] Create Agent MQ connection completed
2015-11-04 14:44:10 [INFO ] [main] [com.h3c.imc.deploy.dma.DBManConfiguration::setAgentMessageHandler(296)] this server is Master:true
2015-11-04 14:44:10 [INFO ] [Thread-13] [com.h3c.imc.deploy.dma.IPConfigFileManager::a(168)] Start loading server-addr.xml configuration file
2015-11-04 14:44:10 [WARN ] [Thread-13] [com.h3c.imc.deploy.dma.IPConfigFileManager::a(173)] Config file is not exist - /opt/iMC/common/conf/server-addr.xml
2015-11-04 14:44:10 [INFO ] [AWT-EventQueue-0] [com.h3c.imc.deploy.dma.ComponentDeployInfo::isComponentsConformable(606)] Components conformable check failed: no component deployed
2015-11-04 14:44:10 [INFO ] [main] [com.h3c.imc.deploy.dma.DeployManager::a(735)] Component deploy state changed
2015-11-04 14:44:10 [INFO ] [ActiveMQ Session Task-1] [com.h3c.imc.deploy.dma.AgentMessageHandler::a(1078)] Receive master state change message: Connected
2015-11-04 14:44:10 [INFO ] [AWT-EventQueue-0] [com.h3c.imc.deploy.dma.ComponentDeployInfo::isComponentsConformable(606)] Components conformable check failed: no component deployed
2015-11-04 14:44:10 [INFO ] [AWT-EventQueue-0] [com.h3c.imc.deploy.dma.ComponentDeployInfo::isComponentsConformable(606)] Components conformable check failed: no component deployed
2015-11-04 14:44:10 [INFO ] [AWT-EventQueue-0] [com.h3c.imc.deploy.dma.ComponentDeployInfo::isComponentsConformable(606)] Components conformable check failed: no component deployed
2015-11-04 14:44:25 [INFO ] [main] [com.h3c.imc.deploy.dma.wizard.DeployWizard$WizardData::a(434)] Deploy component "iMC-PLAT" for the first time: true
2015-11-04 14:44:25 [INFO ] [main] [com.h3c.imc.deploy.dma.wizard.WelcomePanelDescriptor::aboutToDisplayPanel(95)] data.isNeedSelectDatabase() is : true
2015-11-04 14:44:25 [INFO ] [main] [com.h3c.imc.deploy.dma.wizard.WelcomePanelDescriptor::aboutToDisplayPanel(96)] data.isNeedInputWebServerPort() is : true
2015-11-04 14:44:25 [INFO ] [main] [com.h3c.imc.deploy.dma.wizard.WelcomePanelDescriptor::aboutToDisplayPanel(97)] data.isNeedShowCustomPanels() is : false
2015-11-04 14:44:28 [INFO ] [AWT-EventQueue-0] [com.h3c.imc.deploy.dma.ComponentDeployInfo::isComponentsConformable(506)] Components conformable check failed: invalid state - deploying
2015-11-04 14:44:28 [INFO ] [Thread-18] [com.h3c.imc.deploy.dma.wizard.DeployingPanelDescriptor$c::run(269)] Start deploy component: iMC-PLAT [iMC PLAT 7.1 (E0303)]
2015-11-04 14:44:28 [INFO ] [Thread-18] [com.h3c.imc.deploy.dma.wizard.DeployingPanelDescriptor$c::run(281)] Replacement Variables: {${COUNTRY}=US, ${DATABASE_ADDRESS}=127.0.0.1, ${DATABASE_ADMIN_PASSWORD_ESCAPE}={PROTECTED}, ${DATABASE_ADMIN_PASSWORD}={PROTECTED}, ${DATABASE_ADMIN_USERNAME}=root, ${DATABASE_PORT}=3306, ${DATABASE_TYPE}=MySQL, ${DEPLOY_IP}=127.0.0.1, ${HTTPS_PORT}=8443, ${HTTP_PORT}=8080, ${INSTALL_DESTINATION_DIR}=/opt/iMC, ${LANGUAGE_U}=C, ${LANGUAGE}=en, ${LOCAL_IP_0}=10.172.2.6, ${LOCAL_IP_1}=fe80:0:0:0:f279:59ff:fe71:547%2, ${LOCAL_IP_COUNT}=2, ${MASTER_IP}=localhost, ${SERVER_TYPE}=Master, ${iMC-PLAT['DEPLOY_IP']}=127.0.0.1}
2015-11-04 14:44:28 [INFO ] [Thread-18] [com.h3c.imc.deploy.dma.wizard.DeployingPanelDescriptor$c::run(341)] Executing com.h3c.imc.deploy.tasks.UnzipFileTask(Unzipping file - server_linux.zip...)...
2015-11-04 14:44:29 [INFO ] [Thread-18] [com.h3c.imc.deploy.dma.wizard.DeployingPanelDescriptor$c::run(341)] Executing com.h3c.imc.deploy.tasks.UnzipFileTask(Unzipping file - l2topo_server_linux.zip...)...
2015-11-04 14:44:30 [INFO ] [Thread-18] [com.h3c.imc.deploy.dma.wizard.DeployingPanelDescriptor$c::run(341)] Executing com.h3c.imc.deploy.tasks.UnzipFileTask(Unzipping file - client.zip...)...
2015-11-04 14:44:33 [INFO ] [Thread-18] [com.h3c.imc.deploy.dma.wizard.DeployingPanelDescriptor$c::run(341)] Executing com.h3c.imc.deploy.tasks.UnzipFileTask(Unzipping file - client_netconf.zip...)...
2015-11-04 14:44:33 [INFO ] [Thread-18] [com.h3c.imc.deploy.dma.wizard.DeployingPanelDescriptor$c::run(341)] Executing com.h3c.imc.deploy.tasks.UnzipFileTask(Unzipping file - client_topoplat.zip...)...
2015-11-04 14:44:33 [INFO ] [Thread-18] [com.h3c.imc.deploy.dma.wizard.DeployingPanelDescriptor$c::run(341)] Executing com.h3c.imc.deploy.tasks.UnzipFileTask(Unzipping file - client_usertopo.zip...)...
2015-11-04 14:44:33 [INFO ] [Thread-18] [com.h3c.imc.deploy.dma.wizard.DeployingPanelDescriptor$c::run(341)] Executing com.h3c.imc.deploy.tasks.UnzipFileTask(Unzipping file - client_webdm_mibbrowser.zip...)...
2015-11-04 14:44:34 [INFO ] [Thread-18] [com.h3c.imc.deploy.dma.wizard.DeployingPanelDescriptor$c::run(341)] Executing com.h3c.imc.deploy.tasks.UnzipFileTask(Unzipping file - client_gencfg.zip...)...
2015-11-04 14:44:34 [INFO ] [Thread-18] [com.h3c.imc.deploy.dma.wizard.DeployingPanelDescriptor$c::run(341)] Executing com.h3c.imc.deploy.tasks.UnzipFileTask(Unzipping file - imcdm_topopanel_sdk_daily.zip...)...
2015-11-04 14:44:34 [INFO ] [Thread-18] [com.h3c.imc.deploy.dma.wizard.DeployingPanelDescriptor$c::run(341)] Executing com.h3c.imc.deploy.tasks.UnzipFileTask(Unzipping file - 3rd_license_plat.zip...)...
2015-11-04 14:44:34 [INFO ] [Thread-18] [com.h3c.imc.deploy.dma.wizard.DeployingPanelDescriptor$c::run(341)] Executing com.h3c.imc.deploy.tasks.UnzipFileTask(Unzipping file - client_iccconf.zip...)...
2015-11-04 14:44:34 [INFO ] [Thread-18] [com.h3c.imc.deploy.dma.wizard.DeployingPanelDescriptor$c::run(341)] Executing com.h3c.imc.deploy.tasks.UnzipFileTask(Unzipping file - client_imcbigscreen.zip...)...
2015-11-04 14:44:34 [INFO ] [Thread-18] [com.h3c.imc.deploy.dma.wizard.DeployingPanelDescriptor$c::run(341)] Executing com.h3c.imc.deploy.tasks.UnzipFileTask(Unzipping file - imc_datacenter.zip...)...
2015-11-04 14:44:34 [INFO ] [Thread-18] [com.h3c.imc.deploy.dma.IPConfigFileManager::a(168)] Start loading server-addr.xml configuration file
2015-11-04 14:44:34 [WARN ] [Thread-18] [com.h3c.imc.deploy.dma.IPConfigFileManager::a(173)] Config file is not exist - /opt/iMC/common/conf/server-addr.xml
2015-11-04 14:44:34 [INFO ] [Thread-18] [com.h3c.imc.deploy.dma.wizard.DeployingPanelDescriptor$c::run(341)] Executing com.h3c.imc.deploy.tasks.BuildDatabaseTask(Building database - server/script_mysql.hz...)...
2015-11-04 14:44:35 [ERROR] [SwingWorker-pool-1-thread-6] [com.h3c.imc.deploy.tasks.BuildDatabaseTask$a::a(918)] Execute database script error! return value: 1. For details, see log file: /etc/iMC-Reserved/log/dbresult_201511041444340.log
2015-11-04 14:44:35 [ERROR] [Thread-18] [com.h3c.imc.deploy.dma.wizard.DeployingPanelDescriptor$c::run(346)] Task execute failed
2015-11-04 14:44:35 [INFO ] [Thread-18] [com.h3c.imc.deploy.dma.IPConfigFileManager::a(168)] Start loading server-addr.xml configuration file
2015-11-04 14:44:35 [WARN ] [Thread-18] [com.h3c.imc.deploy.dma.IPConfigFileManager::a(173)] Config file is not exist - /opt/iMC/common/conf/server-addr.xml
2015-11-04 14:44:35 [INFO ] [Thread-18] [com.h3c.imc.deploy.dma.IPConfigFileManager::saveAllConfigs(353)] Save server address config OK
2015-11-04 14:44:35 [INFO ] [AWT-EventQueue-0] [com.h3c.imc.deploy.dma.ComponentDeployInfo::isComponentsConformable(606)] Components conformable check failed: no component deployed
2015-11-04 14:44:39 [WARN ] [main] [com.h3c.imc.deploy.DMALauncher::a(536)] Deploy component iMC-PLAT failed, return: ERROR, batch deploy interrupted.
2015-11-04 14:44:39 [ERROR] [Thread-18] [com.h3c.imc.deploy.dma.wizard.DeployingPanelDescriptor$c::run(432)] Open taskLogFile error
java.io.IOException: Failed to show URI:file:/etc/iMC-Reserved/log/dbresult_201511041444340.log
        at sun.awt.X11.XDesktopPeer.launch(XDesktopPeer.java:75)
        at sun.awt.X11.XDesktopPeer.open(XDesktopPeer.java:43)
        at java.awt.Desktop.open(Desktop.java:254)
        at com.h3c.imc.deploy.dma.wizard.DeployingPanelDescriptor$c.run(DeployingPanelDescriptor.java:430)
2015-11-04 14:44:41 [INFO ] [main] [com.h3c.imc.deploy.dma.DeployManager::a(735)] Component deploy state changed

file /opt/iMC/common/conf/server-addr.xml exists:

 

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<server-addr>
  <component address="127.0.0.1" id="iMC-PLAT">
    <db-config address="127.0.0.1" dbname="config_db" password="xxx" type="MySQL" username="imc_config"/>
  </component>
</server-addr>

How can I fix it?

6 REPLIES
LindsayHill
Honored Contributor

Re: Can't run iMC

Looks like something related to the DB. What does this file contain?

/etc/iMC-Reserved/log/dbresult_201511041444340.log
LindsayHill
Honored Contributor

Re: Can't run iMC

Oh and just to add to this, my guess is that your DB is not setup properly. Are you running MySQL on the same system? You need to make sure that root@localhost has a password set. If you don't, IMC tries to login with a password, and fails (even though logging in without a password would work).

horiz0n
Occasional Advisor

Re: Can't run iMC

Hi,

MySQL has root password configured, however dbresult log says:

# cat /etc/iMC-Reserved/log/dbresult_201511041444340.log
Begin to install imcnetresdm database and data...
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Begin to create config_db database...
ERROR 1396 (HY000) at line 5: Operation DROP USER failed for 'imc_config'@'%'
End to create config_db database.
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -
Begin to create config_db table...
ERROR 1548 (HY000) at line 25: Cannot load from mysql.proc. The table is probably corrupted
The install of imcnetresdm finished unsuccessfully, please contact your local IMC support centre.

 

LindsayHill
Honored Contributor

Re: Can't run iMC

That's a new error message to me. Shouldn't get that if you're doing a new setup on a vanilla system. Probably worth doing what it says, and contacting support.

If you get stuck, I've got some Ansible playbooks for installing IMC on CentOS 6.x that work.

msaitadmin
Occasional Visitor

Re: Can't run iMC

I've deployed the VA version of IMC 7.1

I appears to have installed ok, except it isn't seeing the VM network card, and says the service couldn't start.

Any ideas?

LindsayHill
Honored Contributor

Re: Can't run iMC

I haven't used the virtual appliance, but the docs indicate you'll need to run a script post-install, to set up the MAC to whatever your VM has been auto-allocated. You may need to run that script twice if the NIC hasn't reset itself.