Netflow Analyzer - java.net.SocketException: Network is unreachable

Netflow Analyzer - java.net.SocketException: Network is unreachable

 Hi,

I've been using Netflow Analyzer for a few months without any issues.

Suddenly, netflow analyzer refuses to startup.

Follows "console output on DEBUG level":


   
  1. /etc/init.d/netflowanalyzer console
    Running ManageEngine NetFlow Analyzer 7...
    wrapper | --> Wrapper Started as Console
    wrapper | Using system timer.
    wrapperp | server listening on port 32000.
    wrapper | Classpath element, wrapper.java.classpath.7, does not exist: ../lib/jboss-boot.jar
    wrapper | Classpath element, wrapper.java.classpath.11, does not exist: ../lib/jdom.jar
    wrapper | Command[0] : ../jre/bin/java
    wrapper | Command[1] : -server
    wrapper | Command[2] : -Dprogram.name=run.sh
    wrapper | Command[3] : -Djboss.server.type=com.adventnet.j2ee.deployment.system.AdventNetServerImpl
    wrapper | Command[4] : -Dorg.jboss.logging.Log4jService.catchSystemOut=false
    wrapper | Command[5] : -Dorg.jboss.logging.Log4jService.catchSystemErr=false
    wrapper | Command[6] : -Djava.util.logging.manager=com.adventnet.logging.LogManager
    wrapper | Command[7] : -Djava.util.logging.config.file=../server/default/conf/logging.xml
    wrapper | Command[8] : -Djava.util.logging.config.class=com.adventnet.logging.LoggingScanner
    wrapper | Command[9] : -Dlog.dir=../server/default
    wrapper | Command[10] : -Dtier-type=BE
    wrapper | Command[11] : -Dtier-id=BE1
    wrapper | Command[12] : -Ddb.home=../mysql
    wrapper | Command[13] : -Djboss.shutdown.forceHalt=false
    wrapper | Command[14] : -Xms64m
    wrapper | Command[15] : -Xmx128m
    wrapper | Command[16] : -Djava.library.path=../lib/native:../lib/
    wrapper | Command[17] : -classpath
    wrapper | Command[18] : ../lib/wrapper.jar:../lib/AdventNetDeploymentSystem.jar:../lib/AdventNetLogging.jar:../lib/concurrent.jar:../lib/getopt.jar:../lib/gnu-regexp.jar:../lib/jboss-boot.jar:../lib/jboss-common.jar:../lib/jboss-jmx.jar:../lib/jboss-system.jar:../lib/jdom.jar:../lib/log4j-boot.jar:../lib/run.jar:../lib/AdventNetNPrevalent.jar:../lib/:../lib/dom4j.jar:../lib/commons-logging.jar
    wrapper | Command[19] : -Dwrapper.key=V1mDvSOwc5bnG17G
    wrapper | Command[20] : -Dwrapper.port=32000
    wrapper | Command[21] : -Dwrapper.debug=TRUE
    wrapper | Command[22] : -Dwrapper.use_system_time=TRUE
    wrapper | Command[23] : -Dwrapper.version=3.1.1
    wrapper | Command[24] : -Dwrapper.native_library=wrapper
    wrapper | Command[25] : -Dwrapper.cpu.timeout=10
    wrapper | Command[26] : -Dwrapper.jvmid=1
    wrapper | Command[27] : org.tanukisoftware.wrapper.WrapperSimpleApp
    wrapper | Command[28] : org.jboss.Main
    wrapper | Launching a JVM...
    jvm 1 | WrapperManager class initialized by thread: main Using classloader: sun.misc.Launcher$AppClassLoader@198dfaf
    jvm 1 | Wrapper Manager: JVM #1
    jvm 1 | Wrapper Manager: Registering shutdown hook
    jvm 1 | Wrapper Manager: Using wrapper
    jvm 1 | Loaded native library: libwrapper.so
    jvm 1 | Calling native initialization method.
    jvm 1 | Inside native WrapperManager initialization method
    jvm 1 | Java Version : 1.5.0_17-b04 Java HotSpot(TM) Server VM
    jvm 1 | Java VM Vendor : Sun Microsystems Inc.
    jvm 1 |
    jvm 1 | Wrapper (Version 3.1.1) http://wrapper.tanukisoftware.org
    jvm 1 |
    jvm 1 | WrapperManager.start(org.tanukisoftware.wrapper.WrapperSimpleApp@12558d6, args[]) called by thread: main
    jvm 1 | Open socket to wrapper...
    jvm 1 | java.net.SocketException: Network is unreachable
    jvm 1 | Open socket to wrapper...
    jvm 1 | java.net.SocketException: Network is unreachable
    jvm 1 | Open socket to wrapper...
    jvm 1 | java.net.SocketException: Network is unreachable
    jvm 1 | Open socket to wrapper...
    jvm 1 | java.net.SocketException: Network is unreachable  

























































       

I did an "strace -f " by running the full java command manually and this is what i get:

   
  1. [pid 18783] <... futex resumed> ) = -1 ETIMEDOUT (Connection timed out)
    [pid 18783] futex(0x8fdc750, FUTEX_WAKE_PRIVATE, 1) = 0
    [pid 18783] gettimeofday({1261397563, 243317}, NULL) = 0


  2. [pid 18783] write(1, "Open socket to wrapper...", 25Open socket to wrapper...) = 25
    [pid 18783] write(1, "\n", 1
    ) = 1
    [pid 18783] socket(PF_INET6, SOCK_STREAM, IPPROTO_IP) = 5
    [pid 18783] bind(5, {sa_family=AF_INET6, sin6_port=htons(0), inet_pton(AF_INET6, "::", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, 28) = 0
    [pid 18783] getsockname(5, {sa_family=AF_INET6, sin6_port=htons(58422), inet_pton(AF_INET6, "::", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, [28]) = 0
    [pid 18783] connect(5, {sa_family=AF_INET6, sin6_port=htons(32000), inet_pton(AF_INET6, "::ffff:127.0.0.1", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, 28) = -1 ENETUNREACH (Network is unreachable)
    [pid 18783] dup2(6, 5) = 5
    [pid 18783] close(5) = 0
    [pid 18783] write(1, "java.net.SocketException: Networ"..., 48java.net.SocketException: Network is unreachable) = 48
    [pid 18783] write(1, "\n", 1
    ) = 1
    [pid 18783] gettimeofday({1261397563, 250289}, NULL) = 0
    [pid 18783] gettimeofday({1261397563, 250646}, NULL) = 0
    [pid 18783] gettimeofday({1261397563, 251026}, NULL) = 0
    [pid 18783] clock_gettime(CLOCK_REALTIME, {1261397563, 251417214}) = 0
    [pid 18783] futex(0x8fdb794, FUTEX_WAIT_PRIVATE, 139, {0, 9608786} <unfinished ...>
     

















Netflow analyzer can't connect to port "32000".


I'm running Debian Unstable and Netflow Analyzer 7.5 (build 7600).

Snmpd is running fine and so is the built-in mysql server.


Attached is "wrapper.conf".


Can i get some help  on this?


Regards,

Bruno



                New to ADSelfService Plus?