Good day all,
I have installed Virtualmin on a VPS, and have the following error after install:
First of all the installer does not detect the IP address of primary interface:
Device “link” does not exist.
[WARNING] Unable to determine the IP address of the primary interface.
Please enter the name of your primary network interface:
When I enter the device manually, for example, “venet0”, I get the error message:
[WARNING] Unable to determine the IP address of the primary interface.
Please enter the name of your primary network interface:
venet0:0
./slib.sh: line 450: log_debugPrimary address detected as 127.0.0.1: command not found
So the problems are:
-the detected IP is local 127.0.0.1 , not the real IP of the VPS. Virtualmin is accessible, and everything works, but I want to make sure this does not cause problems in the future.
-as you can see there is an error in ./slib.sh: line 450 that issues a “command not found”.
I tried reading the install.sh script, but I did not find the code that deals with IP detection. I saw on the forums that other users have this problem too, but I did not see a clear solution.
I am using a clean Centos 7 with all the latest updates installed.
The VPS is virtualized with OpenVZ.
The output of network devices is:
ip link show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: venet0: <BROADCAST,POINTOPOINT,NOARP,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN mode DEFAULT
link/void
[root@srv ~]# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: venet0: <BROADCAST,POINTOPOINT,NOARP,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
link/void
inet 127.0.0.1/32 scope host venet0
inet XXXXXXXXXXXXXX brd XXXXXXXXXXXXXXX scope global venet0:0
inet6 XXXXXXXXXXXXXX scope global
valid_lft forever preferred_lft forever
A suggestion would be greatly appreciated.
Thank you