_callback: Could not bring up the `enp0s5:1002'\'' network interface: RTNETLINK answers: File exists at...

  • Hello there,


    I want to respect the new posting rules so I hope that I provided all information you need. I am not a programmer so if this is already fixed in the development branche it would be great if you could tell me.


    I wanted to upgrade from 1.3.0 to 1.3.1 but if I want to run the reconfigure part which the setup told me I always get these error (perl /var/www/imscp/engine/setup/imscp-reconfigure -d):


    2016-09-18_23h55_01.png2016-09-18_23h58_06.png


    Logs:

    Code: /var/log/imscp/NetworkInterfaces_module_network interfaces.log
    1. [Mon Sep 19 00:10:25 2016] [debug] iMSCP::Execute::execute: /sbin/ifup --force enp0s5:1002[Mon Sep 19 00:10:26 2016] [debug] iMSCP::Execute::getExitCode: Command exited with value: 1[Mon Sep 19 00:10:26 2016] [debug] iMSCP::Execute::execute: /usr/bin/dialog --ok-label Ok --no-shadow --yes-label Yes --help-label Help --no-label No --cancel-label Back --exit-label Abort --backtitle 'i-MSCP - internet Multi Server Control Panel (1.3.1)' --colors --title 'i-MSCP Reconfiguration Dialog' --msgbox '\Z1[ERROR]\ZnError while performing step:Processing Modules::NetworkInterfaces (any) tasks for: network interfaces (ID all)Error was:\Z1iMSCP::Stepper::_callback: Could not bring up the `enp0s5:1002'\'' network interface: RTNETLINK answers: File exists at /var/www/imscp/engine/setup/../PerlLib/iMSCP/Provider/NetworkInterface/Debian.pm line 96.\ZnPlease have a look at http://i-mscp.net/forum if you need help.' 60 202[Mon Sep 19 00:10:32 2016] [error] main::setupDbTasks: iMSCP::Stepper::_callback: Could not bring up the `enp0s5:1002' network interface: RTNETLINK answers: File exists at /var/www/imscp/engine/setup/../PerlLib/iMSCP/Provider/NetworkInterface/Debian.pm line 96.[Mon Sep 19 00:10:32 2016] [debug] iMSCP::Execute::execute: /usr/bin/dialog --ok-label Ok --no-shadow --yes-label Yes --help-label Help --no-label No --cancel-label Back --exit-label Abort --backtitle 'i-MSCP - internet Multi Server Control Panel (1.3.1)' --colors --title 'i-MSCP Reconfiguration Dialog' --msgbox '\Z1[ERROR]\ZnError while performing step:Processing DB tasks...Error was:\Z1main::setupDbTasks: iMSCP::Stepper::_callback: Could not bring up the `enp0s5:1002'\'' network interface: RTNETLINK answers: File exists at /var/www/imscp/engine/setup/../PerlLib/iMSCP/Provider/NetworkInterface/Debian.pm line 96.\ZnPlease have a look at http://i-mscp.net/forum if you need help.' 60 202


    /var/log/imscp/imscp-setup.log contains a lot of debug entries but no error or warning messages. Here are the last two messages - the only ones containing interface or network stuff:



    Code: /var/log/imscp/imscp-setup.log
    1. [Sun Sep 18 23:54:51 2016] [debug] iMSCP::DbTasksProcessor::_process: Processing NetworkInterfaces module tasks...[Sun Sep 18 23:54:51 2016] [debug] iMSCP::DbTasksProcessor::_process: Processing NetworkInterfaces (any) tasks for: network interfaces (ID all)


    OS:
    Ubuntu 16.04.1 LTS \n \l
    Codename: xenial


    Code
    1. DISTRIB_ID=Ubuntu
    2. DISTRIB_RELEASE=16.04
    3. DISTRIB_CODENAME=xenial
    4. DISTRIB_DESCRIPTION="Ubuntu 16.04.1 LTS"


    Reproduce:
    I can reproduce it on my environment anytime. At the moment I try to revert back to 1.3.0 because all domains and mails are currently at "tochange" state - nothing is working :-(.
    Sorry I have no idea how to provide you more details. If you need any information please feel free to tell me - I will provide them as soon as possible.

  • @UncleSam


    This is a bug which is already fixed in our development branch. See https://github.com/i-MSCP/imsc…09715c96dc1719a94cef9713e


    Try to upgrade using https://github.com/i-MSCP/imscp/archive/1.3.x.tar.gz


    Don't try to downgrade. You'll break all ;)


    I'm waiting for your feedback.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • @UncleSam


    Also please, show me your current /etc/network/interfaces file.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • @Nuxwin
    Now it produces another error:

    Code: /var/log/imscp/NetworkInterfaces_module_network interfaces.log
    1. [Mon Sep 19 00:31:53 2016] [debug] iMSCP::Execute::execute: /sbin/ifup --force enp0s5:1002[Mon Sep 19 00:31:53 2016] [debug] iMSCP::Execute::getExitCode: Command exited with value: 1[Mon Sep 19 00:31:53 2016] [debug] iMSCP::Execute::execute: /usr/bin/dialog --help-label Help --ok-label Ok --colors --yes-label Yes --exit-label Abort --no-label No --no-shadow --title 'i-MSCP Reconfiguration Dialog' --cancel-label Back --backtitle 'i-MSCP - internet Multi Server Control Panel (Git 1.3.x)' --msgbox '\Z1[ERROR]\ZnError while performing step:Processing Modules::NetworkInterfaces (any) tasks for: network interfaces (ID all)Error was:\Z1iMSCP::Stepper::_callback: Could not bring up the `enp0s5:1002'\'' network interface: Unknown interface enp0s5:1002 at /var/www/imscp/engine/setup/../PerlLib/iMSCP/Provider/NetworkInterface/Debian.pm line 96.\ZnPlease have a look at http://i-mscp.net/forum if you need help.' 67 235[Mon Sep 19 00:32:35 2016] [error] main::setupDbTasks: iMSCP::Stepper::_callback: Could not bring up the `enp0s5:1002' network interface: Unknown interface enp0s5:1002 at /var/www/imscp/engine/setup/../PerlLib/iMSCP/Provider/NetworkInterface/Debian.pm line 96.[Mon Sep 19 00:32:35 2016] [debug] iMSCP::Execute::execute: /usr/bin/dialog --help-label Help --ok-label Ok --colors --yes-label Yes --exit-label Abort --no-label No --no-shadow --title 'i-MSCP Reconfiguration Dialog' --cancel-label Back --backtitle 'i-MSCP - internet Multi Server Control Panel (Git 1.3.x)' --msgbox '\Z1[ERROR]\ZnError while performing step:Processing DB tasks...Error was:\Z1main::setupDbTasks: iMSCP::Stepper::_callback: Could not bring up the `enp0s5:1002'\'' network interface: Unknown interface enp0s5:1002 at /var/www/imscp/engine/setup/../PerlLib/iMSCP/Provider/NetworkInterface/Debian.pm line 96.\ZnPlease have a look at http://i-mscp.net/forum if you need help.' 67 235


    Something I recognized:
    - Before the upgrade I had the "enp0s5:1002" interface which was created by I-MSCP. After the 1.3.x upgrade try it removed this entry.


  • @UncleSam


    Can I access the server please?


    Also: See https://github.com/i-MSCP/imsc…d#ip-addresses-management

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • Ok the problem was located by Nuxwin:
    My instruction from my hoster how to configure ipv6 created two same nic entries (by name). After switching both to the new "manual" mode to self manage all nics and ips on the server the installation went smooth.