Author Topic: Installing queuemetrics on Centos - error?  (Read 2015 times)

awolo

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
    • View Profile
Installing queuemetrics on Centos - error?
« on: June 13, 2011, 17:32:45 »
Error TCP connecting to: 127.0.0.1:5038 timeout: 2000ms -- Inner Exception -- Exception: java.net.ConnectException Error: Connection refusedStack trace: java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) at java.net.Socket.connect(Socket.java:529) at it.loway.app.queuemetrics.asterisk.manager.DataSources.AstManagerThroughSocket.openSocket(AstManagerThroughSocket.java:118) at it.loway.app.queuemetrics.asterisk.manager.DataSources.AstManagerThroughSocket.openDataSource(AstManagerThroughSocket.java:53) at it.loway.app.queuemetrics.asterisk.manager.AstManager.connectFromUri(AstManager.java:73) at it.loway.app.queuemetrics.configurazione.configurationwizard.AgentInfoAMI.ReadAgents(AgentInfoAMI.java:78) at it.loway.app.queuemetrics.configurazione.configurationwizard.AgentInfoAMI.ReadInfo(AgentInfoAMI.java:41) at it.loway.app.queuemetrics.configurazione.configurationwizard.SourceInfo.InitReader(SourceInfo.java:125) at it.loway.app.queuemetrics.configurazione.configurationwizard.ConfWizardHandler.ValidateSource(ConfWizardHandler.java:386) at it.loway.app.queuemetrics.configurazione.configurationwizard.ConfWizardHandler.HandleWizardStep(ConfWizardHandler.java:188) at it.loway.app.queuemetrics.configurazione.configurationwizard.ConfWizardHandler.doRun(ConfWizardHandler.java:138) at it.loway.tpf.transaction.servlets.LowayTransactionController.runVerb(LowayTransactionController.java:262) at it.loway.tpf.transaction.servlets.LowayTransactionController.serveRequest(LowayTransactionController.java:552) at it.loway.tpf.transaction.servlets.LowayTransactionController.serveRequestWrapper(LowayTransactionController.java:373) at it.loway.tpf.transaction.servlets.LowayTransactionController.doPost(LowayTransactionController.java:224) at javax.servlet.http.HttpServlet.service(HttpServlet.java:709) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683) at java.lang.Thread.run(Thread.java:662) -- End Inner Exception --

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: Installing queuemetrics on Centos - error?
« Reply #1 on: June 17, 2011, 12:21:40 »
Try again after tuning off iptables:

Quote
/etc/init.d/iptables stop
/etc/init.d/ip6tables stop

I imagine there is an active Asterisk on the same box.