OpenVZ Forum


Home » General » Support » [migrating physical server to VE] little network problem
[migrating physical server to VE] little network problem [message #22745] Fri, 02 November 2007 14:50 Go to previous message
arghbis is currently offline  arghbis
Messages: 35
Registered: November 2007
Member
Hello everybpdy,

I'm currently trying to migrate a physical server into a VE. I've read http://wiki.openvz.org/Physical_to_VE, and everything is almost working.

The physical server runs redhat 8.0.

The only remaining problem is the network. I've set the ONBOOT option to no for each physical network interface.
I've then run the vzctl commands to add an ip to VE, as well as a nameserver.

Then, i start the VE and have an error message :
Quote:


Adding IP address(es): 192.168.2.3
/bin/cp: ambiguous argument `' for `--preserve'
Valid arguments are:
- `mode'
- `timestamps'
- `ownership'
- `links'
- `all'
Try `/bin/cp --help' for more information.
ERROR: Can't copy file /etc/sysconfig/network
Setting CPU units: 133016
Set hostname: migtest
/bin/cp: ambiguous argument `' for `--preserve'
Valid arguments are:
- `mode'
- `timestamps'
- `ownership'
- `links'
- `all'
Try `/bin/cp --help' for more information.
ERROR: Can't copy file /etc/sysconfig/network
VPS start in progress...



I enter the VE and am not able to ping any network.
To be able to ping, i have to manually add needed routes, and obviously, it does not remain once the VE is restarted.

I've checked /etc/sysconfig/network-scripts/{ifcfg-venet0,ifcfg-venet0:0, route-venet0}
and everything seems to be fine.

Any idea about this?

thanks
 
Read Message
Read Message
Read Message
Previous Topic: Performance Woes
Next Topic: Suggestion for implementing OVZ?
Goto Forum:
  


Current Time: Wed Sep 11 15:18:49 GMT 2024

Total time taken to generate the page: 0.05364 seconds