ncsvc[p24678.t24678] rmon.error Failed to add route: dest …



  • Dear Madam/Sir,

    I am trying to connect, from Linux, to a VPN network using the JAVA client but it fails. The log messages gives some hint on what is happening but not enough.
    It looks like  the previously tun adapter cannot be used. Which kernel module(s) do I need to compile in? Attached is the kernel config. and the log file with IP’s replaced.

    
    20130801074435.305961 ncsvc[p24678.t24678] adapter.info opened tun adapter 0000000B (adapter.cpp:419)
    ...
    20130801074435.352098 ncsvc[p24678.t24678] rmon.error Failed to add route: dest YYY.YYY.YYY.YYY mask 255.255.255.255, gw YYY.YYY.YYY.YYY dev (null). Error 101, fd = 6 (routemon.cpp:974)
    

    Thank you in advance for your answer,
    Octavian

    ncsvc.txt
    kernel_config.txt



  • Found the reason it failed. It is quite ridiculous.

    The tool is searching for route/ifconfig in /sbin/ directory instead of /bin.
    To fix the problem just do the following:

    
    cd /sbin
    ln -s /bin/route 
    ln -s /bin/ifconfig 
    
    

    Solution was found at: http://forums.gentoo.org/viewtopic-t-944616-start-0.html


 

45
Online

38.4k
Users

12.7k
Topics

44.5k
Posts