hi, server1 ~ # vzmigrate -v --online VZ01 101 OPT:-v OPT:--online OPT:server1 Starting online migration of VE 101 on server1 bash: /dev/stdout: No such device or address OpenVZ is not running on the target machine Can't continue migration Bug in /usr/sbin/vzmigrate script. @@ -296,7 +296,7 @@ fi # Check if OpenVZ is running -if ! $SSH "-o BatchMode=yes" "root@$host" "/etc/init.d/vz status &> $out"; then +if ! $SSH "-o BatchMode=yes" "root@$host" "/etc/init.d/vz status" &> $out; then echo "OpenVZ is not running on the target machine" echo "Can't continue migration" exit $MIG_ERR_OVZ_NOT_RUNNING
(In reply to comment #0) > hi, > > server1 ~ # vzmigrate -v --online VZ01 101 > OPT:-v > OPT:--online > OPT:server1 > Starting online migration of VE 101 on server1 > bash: /dev/stdout: No such device or address > OpenVZ is not running on the target machine > Can't continue migration > > Bug in /usr/sbin/vzmigrate script. > > @@ -296,7 +296,7 @@ > fi > > # Check if OpenVZ is running > -if ! $SSH "-o BatchMode=yes" "root@$host" "/etc/init.d/vz status &> $out"; > then > +if ! $SSH "-o BatchMode=yes" "root@$host" "/etc/init.d/vz status" &> $out; > then > echo "OpenVZ is not running on the target machine" > echo "Can't continue migration" > exit $MIG_ERR_OVZ_NOT_RUNNING Could you please check what the following looks like on your host-system ? $ ls -l /dev/stdout /dev/fd/1 it should read something like this: lrwx------ 1 phreak users 64 Oct 13 16:36 /dev/fd/1 -> /dev/pts/5 lrwxrwxrwx 1 root root 4 Oct 10 19:32 /dev/stdout -> fd/1
Once you get back, could you please test it with vzctl-3.0.13 and reopen the bug if this is still an issue ? Thanks