OpenVZ Forum


Home » General » Support » ifup-aliases : No such file or directory
ifup-aliases : No such file or directory [message #38769] Mon, 25 January 2010 16:53 Go to previous message
dvazart is currently offline  dvazart
Messages: 37
Registered: October 2008
Location: France
Member
Hi !

I'm trying to change the IP address for a CT made with vzdump.

This is what I got :

vzctl set 101 --ipdel all --save

...
Adding IP address(es): 
bash: line 575: ./ifup-aliases: No such file or directory
Saved parameters for VE 101

vzlist

      VEID      NPROC STATUS  IP_ADDR         HOSTNAME                        
       101         26 running -               xxxx.xxxxxxx.com


Then, i do :

vzctl set 101 --ipadd 193.37.145.79 --save

Adding IP address(es): 193.37.145.79
bash: line 575: ./ifup-aliases: No such file or directory
Saved parameters for VE 101

vzlist

      VEID      NPROC STATUS  IP_ADDR         HOSTNAME                        
       101         26 running 193.37.145.79   xxxxx.xxxxxxxx.com


Inside the CT, the IP address seems to be changed in the /etc/hosts (for example), but if i do a ifconfig the CT has the old IP address :

cat /etc/hosts

...
# Auto-generated hostname. Please do not remove this comment.
193.37.145.79 xxx.xxxxx.com xxxx

ifconfig

...
venet0:0  Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
          inet addr:193.37.145.27  P-t-P:193.37.145.27  Bcast:0.0.0.0  Mask:255.255.255.255
          UP BROADCAST POINTOPOINT RUNNING NOARP  MTU:1500  Metric:1


I'm using Debian Lenny 64 :
2.6.18-20-ovz-amd64


Thanks for your help !


----------- Daniel Vazart ------------
"Knowledge is power, Sharing is human"
------- http://www.vazart.net --------
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Windows XP Delayed Write Failed
Next Topic: Network Problem
Goto Forum:
  


Current Time: Sun Apr 28 04:10:51 GMT 2024

Total time taken to generate the page: 0.03081 seconds