Unable to add IP Address: No such file or directory /sbin/ifconfig

Created:

2016-12-12 03:42:54 UTC

Modified:

2017-08-08 13:32:55 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Unable to add IP Address: No such file or directory /sbin/ifconfig

Applicable to:

  • Plesk 12.5 for Linux

Symptoms

Unable to repair an IP address in Plesk:

Error: ifmng failed: sh: /sbin/ifconfig: No such file or directory /sbin/ifconfig 'eth1:1' '203.0.113.2' netmask '255.255.255.255' up exited with non-zero status 127

Cause

Net tools package is not installed.

Resolution

Install net-tools using the following command:

  • RPM-based OSes:
    # yum install net-tools

Note: In CentOS 7 net-tools should be installed manually, because it's not a basic installation part.

  • Debian-based OSes:
    # apt-get install net-tools
Have more questions? Submit a request
Please sign in to leave a comment.