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

No connection to iMC after entering serial number and reboot

 
SOLVED
Go to solution
Hubi1968
Occasional Visitor

No connection to iMC after entering serial number and reboot

Hi,

after server-crash I installed a new server. The installation and configuration of iMC (7.3_E0506) was successful.
I have activated the license file and after restarting I can no longer connect to the iMC, neither with http nor with https. Ports are standard. Server is Win20012R2, database is 2008 (from the iMC package).
Windows Troubleshooting reports:
"The connection is not accepted by the remote device or resource."
HP iMC Server is running.

Are there any security settings / configuration files, as in the IIS? Are there any helpful log-files? 

Thx for your reply

4 REPLIES 4
jguse
HPE Pro

Re: No connection to iMC after entering serial number and reboot

Hello,

Can you check the Process tab of Deployment Monitoring Agent, are all processes running? Does the Environment tab show the DBs connected successfully?

You can check the jserver (web interface) log via iMC\client\log\imcforeground.log and check for any errors on startup or when attempting to access the web interface. Running "netstat -abo | find "8080" could also help identify if the web interface is listening on the default HTTP port.

As far as installing the license goes, that should not change anything except the license file in IMC, unless you install the license as 'Backup' (which doesn't check SN and makes IMC go into read-only mode).

Best regards,
Justin Guse

Working @ HPE
Hubi1968
Occasional Visitor

Re: No connection to iMC after entering serial number and reboot

Hi,

i reboot the machine for two times, no processes listed in the Deployment Monitoring agent. Under services, the service "HP IMC Server" was started succesfull.

In the imcforeground.log also the same two errors displayed:

2019-07-18 14:48:02 [ERROR] [pool-11-thread-1] [com.imc.common.MsgComm::sendSyncMsg] sendSyncMsg(int, char, ASN1Type, ASN1Type, int) msgCode = [2068],request = [class com.imc.asn1msg.qvfault.AsnFaultStatInfoForForegroundReq - { -- SEQUENCE --
iQueryCommand = 1
}],response = [class com.imc.asn1msg.qvfault.AsnFaultStatInfoForForegroundResp - { -- SEQUENCE --
result = 0,
devFaultInfoList = { -- SEQUENCE OF --
}
}].
java.util.concurrent.ExecutionException: com.imf.ConnectionIsNotReadyException
at com.imf.AbstractMessageFuture.get(AbstractMessageFuture.java:622)
at com.imf.AbstractMessageFuture.get(AbstractMessageFuture.java:292)
at com.imf.AbstractMessageFuture.get(AbstractMessageFuture.java:1)
at com.imc.common.MsgComm.sendSyncMsg(MsgComm.java:305)
at com.imc.fault.browser.dao.FaultBoardDaoImpl.readFaultSortBoardData(FaultBoardDaoImpl.java:162)
at com.imc.fault.browser.func.FaultBoardMgrImpl$4.run(FaultBoardMgrImpl.java:543)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: com.imf.ConnectionIsNotReadyException
at com.imf.IMFConnection.write(IMFConnection.java:530)
at com.imf.AbstractMessageFuture.done(AbstractMessageFuture.java:464)
at com.imf.MessageWriter.call(MessageWriter.java:83)
at com.imf.MessageWriter.call(MessageWriter.java:1)
at com.imf.common.ExecutionService$Execution.execute(ExecutionService.java:410)
at com.imf.common.ExecutionService$Execution.run(ExecutionService.java:388)
... 1 more
2019-07-18 14:48:02 [ERROR] [pool-11-thread-1] [com.imc.fault.browser.func.FaultBoardMgrImpl$4::run]
com.imc.common.ex.GenericApplicationException: com.imf.ConnectionIsNotReadyException[50002] Network connection failure or communication error.
at com.imc.common.ex.GenericApplicationException.newNetworkCommunicateException(GenericApplicationException.java:87)
at com.imc.common.ExceptionAdvisor.errorAdvise(ExceptionAdvisor.java:75)
at com.imc.common.MsgComm.sendSyncMsg(MsgComm.java:321)
at com.imc.fault.browser.dao.FaultBoardDaoImpl.readFaultSortBoardData(FaultBoardDaoImpl.java:162)
at com.imc.fault.browser.func.FaultBoardMgrImpl$4.run(FaultBoardMgrImpl.java:543)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: com.imf.ConnectionIsNotReadyException
at com.imf.IMFConnection.write(IMFConnection.java:530)
at com.imf.AbstractMessageFuture.done(AbstractMessageFuture.java:464)
at com.imf.MessageWriter.call(MessageWriter.java:83)
at com.imf.MessageWriter.call(MessageWriter.java:1)
at com.imf.common.ExecutionService$Execution.execute(ExecutionService.java:410)
at com.imf.common.ExecutionService$Execution.run(ExecutionService.java:388)
... 1 more

After stopping and restarting the service in the Deployment Monitoring Agent on the Monitor tab, all processes were displayed and I was able to log in again.

Do I have to do this again and again after a server restart?

jguse
HPE Pro
Solution

Re: No connection to iMC after entering serial number and reboot

Hello,

Did you check the box underneath the Start/Stop buttons to automatically start IMC services on startup? Make sure to run DMA as Administrator when you set it. Or is this already set but failing to properly start IMC after a reboot?

PS. The "IMC Server" Windows Service is used only for the DMA, it does not automatically start or stop IMC processes.

Best regards,
Justin Guse

Working @ HPE
Hubi1968
Occasional Visitor

Re: No connection to iMC after entering serial number and reboot

Hi,

I have now checked the box to start automatically. It works propertly
Thanks for your quick support.
 
Best regards
R. Hubert