Article ID: 6587, created on Aug 6, 2009, last review on May 6, 2014

  • Applies to:
  • Plesk 8.6 for Linux/Unix

Symptoms

Parallels Plesk Panel (PPP) 8.6 is installed in Virtuozzo container with bridged network interface with assigned IP address. PPP detects this IP address, able to create domain on it, but not able to manage or delete it. In IP addresses management of PPP, status of existing IP address is red with "!" symbol. Output of both - ipmanage command and ifconfig command - has the State "2".

 

Cause

Starting from Virtuozzo 3.0 sp1 a new VETH networking mode was implemented which Plesk 8.6 handles incorrectly. The problem does not happen in latest versions of Parallels Plesk Panel. 

Resolution

As a workaround  for the issue with Parallels Plesk Panel 8.6 please modify the script "/usr/local/psa/admin/sbin/ifmng":

Backup current script:
# mv /usr/local/psa/admin/sbin/ifmng{,.orig}


Edit this file:
# vi /usr/local/psa/admin/sbin/ifmng



Put the following lines into this file:

#!/bin/sh
if [ "$1" == "-v" -a "$2" ] && ( ip route list table local | egrep -v
'^broadcast| dev (venet0|lo) ' | grep -q " $2 " )
then
  echo -n 1
else
  exec $0.orig $@
fi
#


and set execution flag:
# chmod a+x /usr/local/psa/admin/sbin/ifmng

9fa0130c84cac4b292697ade62270a40 a914db3fdc7a53ddcfd1b2db8f5a1b9c 29d1e90fd304f01e6420fbe60f66f838 b8ef5052d936e902043e41759118114e 56797cefb1efc9130f7c48a7d1db0f0c

Email subscription for changes to this article
Save as PDF