[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] Trouble creating network in a VM


  • To: "xen-users@xxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxx>
  • From: #PATHANGI JANARDHANAN JATINSHRAVAN# <JATINSHR001@xxxxxxxxxxxx>
  • Date: Tue, 4 Oct 2016 16:21:51 +0000
  • Accept-language: en-US
  • Delivery-date: Tue, 04 Oct 2016 16:23:14 +0000
  • List-id: Xen user discussion <xen-users.lists.xen.org>
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99
  • Thread-index: AQHSHltp241cu4gqKEiLtfSdFljexA==
  • Thread-topic: Trouble creating network in a VM

Hi, 
I’ve created a VM in xen with the following command: sudo xen-create-image --hostname=test --memory=512mb --vcpus=2 --lvm=vg0 --dhcp --pygrub —dist=wheezy

When I try to run "/etc/init.d/networking start" in the VM, I get an error:

/sbin/dhclient-script: line 26: /etc/resolv.conf.dhclient-new: Read-only file system

/sbin/dhclient-script: line 44: /etc/resolv.conf.dhclient-new: Read-only file system

/sbin/dhclient-script: line 49: /etc/resolv.conf.dhclient-new: Read-only file system

/sbin/dhclient-script: line 49: /etc/resolv.conf.dhclient-new: Read-only file system

chown: cannot access `/etc/resolv.conf.dhclient-new': No such file or directory

chmod: cannot access `/etc/resolv.conf.dhclient-new': No such file or directory

mv: cannot stat `/etc/resolv.conf.dhclient-new': No such file or directory

can't create /var/lib/dhcp/dhclient.eth0.leases: Read-only file system


Does this mean I have to create a tmpfs partition in RAM and symlink the /var/lib/dhcp to a directory in it?


Right now when I run ifconfig, I get no output at all.


Thanks,

Jatin

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
https://lists.xen.org/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.