Здравствуйте, требуется помощь.
Решил создать виртуальную машину Windows2000, кое-какое оборудование проверить (не важно)
С помощью мастера дохожу до OK
Появляется ОШИБКА “Не удалось запустить ВМ.”
Device 0 (vif) could not be connected
Could not find bridge, and none was specifid
Вообще-то по умолчанию в файле “xend-config.sxp” имя_скрипта не указано:
# SuSE users note:
# On openSUSE >= 11.1 and SLES >= 11, networks should be configured using
# native platform tool - YaST. vif-bridge and qemu-ifup can be used to
# connect vifs to the YaST-managed networks.
#(network-script network-bridge)
(network-script )
Настройте сеть с помощью YAST, а затем пропишите (network-script network-bridge).
В Yaste “Сетевые настройки” пишет “Обнаружен сетевой мост модуля Xen …не следует выполнять их настройку …т.д.”
А, где следует? Или, что не так
Виртуальная машина установилась, но теперь при запуске “Менеджера вирт.машин”
выдает: Unable to open a connection to the Xen hypervisor/daemon.
Failed to connect socket to ‘/var/run/libvirt/libvirt-sock’: Нет такого файла или каталога
Traceback (most recent call last):
File “/usr/share/virt-manager/virtManager/connection.py”, line 1147, in _open_thread
self.vmm = self._try_open()
File “/usr/share/virt-manager/virtManager/connection.py”, line 1130, in _try_open
flags)
File “/usr/lib64/python2.7/site-packages/libvirt.py”, line 102, in openAuth
if ret is None:raise libvirtError(‘virConnectOpenAuth() failed’)
libvirtError: Failed to connect socket to ‘/var/run/libvirt/libvirt-sock’: Нет такого файла или каталога
UNIT LOAD ACTIVE SUB JOB DESCRIPTION
proc-sys-fs-binfmt_misc.automount loaded active waiting Arbitrary Executable File Formats File System Auto
mount Point
sys-devices-pci0…000:01:00.1-sound-card1.device loaded active plugged Juniper HDMI Audio [Radeon HD 5700 Series]
sys-devices-pci0…0-0000:05:00.0-net-eth0.device loaded active plugged RTL8111/8168B PCI Express Gigabit Ethernet control
ler
sys-devices-pci0…-0000:05:00.0-net-peth0.device loaded active plugged RTL8111/8168B PCI Express Gigabit Ethernet control
ler
sys-devices-pci0…-0:0:0:0-block-sda-sda1.device loaded active plugged ST3500418AS
sys-devices-pci0…-0:0:0:0-block-sda-sda2.device loaded active plugged ST3500418AS
sys-devices-pci0…-0:0:0:0-block-sda-sda3.device loaded active plugged ST3500418AS
sys-devices-pci0…-0:0:0:0-block-sda-sda5.device loaded active plugged ST3500418AS
sys-devices-pci0…0:0:0-0:0:0:0-block-sda.device loaded active plugged ST3500418AS
sys-devices-pci0…-1:0:0:0-block-sdb-sdb1.device loaded active plugged Hitachi_HDS721050CLA362
sys-devices-pci0…-1:0:0:0-block-sdb-sdb2.device loaded active plugged Hitachi_HDS721050CLA362
sys-devices-pci0…-1:0:0:0-block-sdb-sdb3.device loaded active plugged Hitachi_HDS721050CLA362
sys-devices-pci0…-1:0:0:0-block-sdb-sdb4.device loaded active plugged Hitachi_HDS721050CLA362
sys-devices-pci0…-1:0:0:0-block-sdb-sdb5.device loaded active plugged Hitachi_HDS721050CLA362
sys-devices-pci0…-1:0:0:0-block-sdb-sdb6.device loaded active plugged Hitachi_HDS721050CLA362
sys-devices-pci0…1:0:0-1:0:0:0-block-sdb.device loaded active plugged Hitachi_HDS721050CLA362
sys-devices-pci0…3:0:0-3:0:0:0-block-sr0.device loaded active plugged Optiarc_DVD_RW_AD-7241S
sys-devices-pci0…18:0:0:0-block-sdc-sdc1.device loaded active plugged Mem-drive_EasyII
sys-devices-pci0…:0:0-18:0:0:0-block-sdc.device loaded active plugged Mem-drive_EasyII
sys-devices-pci0…-2\x2d3:1.2-sound-card3.device loaded active plugged iLook_1321_V2
sys-devices-pci0…000:00:14.2-sound-card0.device loaded active plugged SBx00 Azalia (Intel HDA)
sys-devices-pci0…000:06:09.0-sound-card2.device loaded active plugged CA0106 Soundblaster
sys-devices-platform-serial8250-tty-ttyS1.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS1
sys-devices-platform-serial8250-tty-ttyS10.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS10
sys-devices-platform-serial8250-tty-ttyS11.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS11
sys-devices-platform-serial8250-tty-ttyS12.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS12
…
sys-devices-platform-serial8250-tty-ttyS8.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS8
sys-devices-platform-serial8250-tty-ttyS9.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS9
sys-devices-pnp0-00:08-tty-ttyS0.device loaded active plugged /sys/devices/pnp0/00:08/tty/ttyS0
sys-devices-virtual-net-eth0.device loaded active plugged /sys/devices/virtual/net/eth0
sys-devices-virtual-net-tmpbridge.device loaded active plugged /sys/devices/virtual/net/tmpbridge
sys-devices-virtual-tty-tty0.device loaded active plugged /sys/devices/virtual/tty/tty0
sys-devices-virtual-tty-tty1.device loaded active plugged /sys/devices/virtual/tty/tty1
…
sys-devices-virtual-tty-tty9.device loaded active plugged /sys/devices/virtual/tty/tty9
sys-devices-virtual-tty-xvc0.device loaded active plugged /sys/devices/virtual/tty/xvc0
sys-devices-virtual-tty-xvc0.device loaded active plugged /sys/devices/virtual/tty/xvc0
sys-module-fuse.device loaded active plugged /sys/module/fuse
-.mount loaded active mounted /
dev-mqueue.mount loaded active mounted POSIX Message Queue File System
home-valery-.gvfs.mount loaded active mounted /home/valery/.gvfs
home.mount loaded active mounted /home
media-MONTAJER.mount loaded active mounted /media/MONTAJER
media.mount loaded active mounted Media Directory
sys-fs-fuse-connections.mount loaded active mounted FUSE Control File System
sys-kernel-debug.mount loaded active mounted Debug File System
sys-kernel-security.mount loaded active mounted Security File System
var-lock.mount loaded active mounted Lock Directory
var-run.mount loaded active mounted Runtime Directory
windows-C.mount loaded active mounted /windows/C
windows-D.mount loaded active mounted /windows/D
windows-E.mount loaded active mounted /windows/E
windows-F.mount loaded active mounted /windows/F
windows-G.mount loaded active mounted /windows/G
systemd-ask-password-console.path loaded active waiting Dispatch Password Requests to Console Directory Watch
systemd-ask-password-wall.path loaded active waiting Forward Password Requests to Wall Directory Watch
acpid.service loaded active running ACPI Event Daemon
apparmor.service loaded active exited LSB: AppArmor initialization
atieventsd.service loaded active running LSB: ATI Events Daemon
auditd.service loaded active running LSB: auditd daemon providing core auditing services
avahi-daemon.service loaded active running Avahi mDNS/DNS-SD Stack
bluez-coldplug.service loaded active exited LSB: handles udev coldplug of bluetooth dongles
bootsplash-quit.service loaded active exited Terminate bootsplash
bootsplash-startup.service loaded active exited Start bootsplash
console-kit-daemon.service loaded active running Console Manager
console-kit-log-system-start.service loaded active exited Console System Startup Logging
cpufreq.service loaded active exited LSB: CPUFreq modules loader
cron.service loaded active running Command Scheduler
cups.service loaded active running LSB: CUPS printer daemon
cycle.service loaded active exited LSB: Set default boot entry if called
dbus.service loaded active running D-Bus System Message Bus
dbus.service loaded active running D-Bus System Message Bus
fbset.service loaded active exited LSB: Framebuffer setup
fglrxrebuild.service loaded failed failed LSB: Automatically rebuild the fglrx kernel module getty@tty1.service loaded active running Getty on tty1
haveged.service loaded active running Haveged Entropy Gathering Daemon
irq_balancer.service loaded active running LSB: irqbalance daemon providing irq balancing on MP-machines
localnet.service loaded active exited LSB: setup hostname and yp
mcelog.service loaded active running LSB: Machine Check Architecture/Error (MCA/MCE) implementations
microcode.ctl.service loaded active exited LSB: CPU microcode updater
network-remotefs.service loaded active exited LSB: Configure the remote-fs depending network interfaces
network.service loaded active exited LSB: Configure the localfs depending network interfaces
NetworkManager.service loaded failed failed Network Manager
nscd.service loaded active running LSB: Start Name Service Cache Daemon
purge-kernels.service loaded active exited LSB: Purge old kernels
rc-local.service loaded active exited /etc/init.d/boot.local Compatibility
remount-rootfs.service loaded active exited Remount Root FS
rpcbind.service loaded active running LSB: TI-RPC program number mapper serial-getty@xvc0.service loaded active running Serial Getty on xvc0
splash.service loaded active exited LSB: Splash screen setup
splash_early.service loaded active exited LSB: kills animation after network start
SuSEfirewall2_init.service loaded active exited LSB: SuSEfirewall2 phase 1
SuSEfirewall2_setup.service loaded active exited LSB: SuSEfirewall2 phase 2
syslog.service loaded active running System Logging Service
systemd-logind.service loaded active running Login Service
systemd-modules-load.service loaded failed failed Load Kernel Modules
systemd-readahead-collect.service loaded active exited Collect Read-Ahead Data
systemd-readahead-replay.service loaded active exited Replay Read-Ahead Data
systemd-remount-api-vfs.service loaded active exited Remount API VFS
systemd-stdout-syslog-bridge.service loaded active running STDOUT Syslog Bridge
systemd-sysctl.service loaded active exited Apply Kernel Variables
systemd-tmpfiles-setup.service loaded active exited Recreate Volatile Files and Directories
systemd-user-sessions.service loaded active exited Permit User Sessions
systemd-vconsole-setup.service loaded active exited Setup Virtual Console
udev-trigger.service loaded active exited udev Coldplug all Devices
udev.service loaded active running udev Kernel Device Manager
xdm.service loaded active running LSB: X Display Manager
xencommons.service loaded active running LSB: Start/stop xenstored and xenconsoled
xend.service loaded active running LSB: Starts and stops the Xen management daemon
xendomains.service loaded active exited LSB: Starts and stops Xen VMs
xinetd.service loaded active running LSB: Starts the xinet daemon. Be aware that xinetd doesn’t start if no service is configured to run under it. To enable xinetd services go to YaST Network Services (xinetd) section.
avahi-daemon.socket loaded active listening Avahi mDNS/DNS-SD Stack Activation Socket
dbus.socket loaded active running D-Bus System Message Bus Socket
syslog.socket loaded active running Syslog Socket
systemd-initctl.socket loaded active listening /dev/initctl Compatibility Named Pipe
systemd-shutdownd.socket loaded active listening Delayed Shutdown Socket
systemd-stdout-syslog-bridge.socket loaded active running Stdio Syslog Bridge Socket
udev-control.socket loaded active listening udev Control Socket
udev-kernel.socket loaded active running udev Kernel Socket
basic.target loaded active active Basic System
cryptsetup.target loaded active active Encrypted Volumes
getty.target loaded active active Login Prompts
graphical.target loaded active active Graphical Interface
local-fs-pre.target loaded active active Local File Systems (Pre)
local-fs.target loaded active active Local File Systems
multi-user.target loaded active active Multi-User
network.target loaded active active Network
remote-fs.target loaded active active Remote File Systems
rpcbind.target loaded active active RPC Port Mapper
sockets.target loaded active active Sockets
sound.target loaded active active Sound Card
swap.target loaded active active Swap
sysinit.target loaded active active System Initialization
syslog.target loaded active active Syslog
systemd-readahead-done.timer loaded active elapsed Stop Read-Ahead Data Collection 10s After Completed Startup
systemd-tmpfiles-clean.timer loaded active waiting Daily Cleanup of Temporary Directories
LOAD = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB = The low-level unit activation state, values depend on unit type.
JOB = Pending job for the unit.
168 units listed. Pass --all to see inactive units, too.
А где настраивать этот peth0. В /etc/sysconfig/network есть файл ifcfg-eth0, ifcfg-lo, а peth0 нет.
Как настроить этот мост, дело в том, что при махинациях с /etc/xen/xend-config.sxp пропадает выход в интернет и я вернул
настройки.
Что же так сложно для home user
Ставил как-то через VirtualBox нормально установилось, по крайне мере гостевая ось запускалась без проблем.
Нет ли где подробной инструкции “xen 4.1.2 в opensuse для чайников” ? :))
Во первых сообщения больших размеров выкладываются на специальный сервис. Читаем Announcements - Поддержка
Во вторых ничего удалять не надо было, поскольку не видно запущенного сервиса libvirtd. Что такое libvirt - libvirt — Википедия.
Покажите:
systemctl status libvirtd.service
По поводу моста - необходимо добавить сетевой мост в “/etc/sysconfig/network/”, вручную Re: [Xen-users] OpenSUSE 11.4 (2.6.39-30.1), Xen 4.0.2 - Device - Xen Source или с помощью yast:
sudo /sbin/yast2 lan->добавить->мост (тип устройства)->настраиваете адрес->устройства моста->пометить нужный интерфейс.
Спасибо большое за участие.
С прошедшим Вас праздником!
Если немного подытожить, получил вот, что:
Устанавливаю виртуализацию xen, практически, как описано
Как установить и настроить виртуализацию на основе Xen в openSUSE 11.0](http://guruadmin.ru/page/kak-ustanovit-i-nastroit-virtualizaciju-na-osnove-xen-v-opensuse-110)
Всё нормально до момента запуска установки гостевой оси (windows 2000)
При установке Windows2000 появилась ошибка
Error: Device 0 (vif) could not be connected.
Could not find bridge, and none was specified".
Для исправления этой ситуации, просто отредактировал конфигурационный файл Xend.
/etc/xen/xend-config.sxp
Раскоментировал, фактически добавил строку
(network-script network-bridge)
Пропал выход в интернет, но за-то нормально уставилась гостевая ось.
Запуск “Менеджера виртуальных машин”, Localhost (Xen)-Not Connection
Двойной клик - ошибка:
Failed to connect socket to ‘/var/run/libvirt/libvirt-sock’: Нет такого файла или каталога и т.д
Выполнил #/etc/init.d/libvirtd start
Виртуальные машины работают, однако Error:
(Графическая консоль гостя не активна)
Далее непонятно, но упала plasma и перестала работать.
Переустановил с помощью установочного DVD, в режиме обновления.
Результат гостевые машины работают, их сейчас две
Однако с сетью не разобрался, сетевой мост, вроде есть
повторюсь, Yast - “Сетевые настройки” пишет “Обнаружен сетевой мост модуля Xen …не следует выполнять их настройку …т.д.”
В закладке “обзор” имеется виртуальная сетевая карта с именем как у настоящей, где IP- адрес - надпись “не настроена”
Кнопка “редактировать” не активна.
Вручную еще не пробывал
Сейчас, к сожалению времени маловато. Как добью, отпишусь, может для кого будет полезно.
С Уважением.