Код: Выделить всё
не удалось подключиться к «localhost:8000»: В соединении отказано
Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/connection.py", line 1022, in _try_open
None], flags)
File "/usr/lib64/python2.7/site-packages/libvirt.py", line 107, in openAuth
if ret is None:raise libvirtError('virConnectOpenAuth() failed')
libvirtError: не удалось подключиться к «localhost:8000»: В соединении отказано
пробовал выбрать в качестве основной версии python-2.6 (вместо 2.7), но после eselect python set 1 и запуске python-updater не собираются xen и xen-tools. При перезапуске xend вот что:
Код: Выделить всё
/etc/init.d/xend restart
xendomains | * Shutting down Xen domains from /etc/xen/auto
xendomains | * Closing screen session xen ... [ ok ]
xend |Traceback (most recent call last):
xend | File "/usr/sbin/xm", line 7, in <module>
xend | main.main(sys.argv)
xend | File "/usr/lib64/python2.7/site-packages/xen/xm/main.py", line 3620, in main
xend | _, rc = _run_cmd(cmd, cmd_name, args)
xend | File "/usr/lib64/python2.7/site-packages/xen/xm/main.py", line 3644, in _run_cmd
xend | return True, cmd(args)
xend | File "/usr/lib64/python2.7/site-packages/xen/xm/main.py", line 969, in xm_list
xend | doms = getDomains(params, state, use_long)
xend | File "/usr/lib64/python2.7/site-packages/xen/xm/main.py", line 933, in getDomains
xend | return server.xend.domains_with_state(True, state, full)
xend | File "/usr/lib64/python2.7/xmlrpclib.py", line 1224, in __call__
xend | return self.__send(self.__name, args)
xend | File "/usr/lib64/python2.7/site-packages/xen/util/xmlrpcclient.py", line 118, in __request
xend | response = xmlrpclib.ServerProxy.__request(self, methodname, params)
xend | File "/usr/lib64/python2.7/xmlrpclib.py", line 1575, in __request
xend | verbose=self.__verbose
xend | File "/usr/lib64/python2.7/site-packages/xen/util/xmlrpcclient.py", line 55, in request
xend | request_body, verbose)
xend | File "/usr/lib64/python2.7/xmlrpclib.py", line 1264, in request
xend | return self.single_request(host, handler, request_body, verbose)
xend | File "/usr/lib64/python2.7/xmlrpclib.py", line 1294, in single_request
xend | response = h.getresponse(buffering=True)
xend |AttributeError: HTTPUnix instance has no attribute 'getresponse'
xend | * Stopping all domains ...
xend |Traceback (most recent call last):
xend | File "/usr/sbin/xm", line 7, in <module>
xend | main.main(sys.argv)
xend | File "/usr/lib64/python2.7/site-packages/xen/xm/main.py", line 3620, in main
xend | _, rc = _run_cmd(cmd, cmd_name, args)
xend | File "/usr/lib64/python2.7/site-packages/xen/xm/main.py", line 3644, in _run_cmd
xend | return True, cmd(args)
xend | File "/usr/lib64/python2.7/site-packages/xen/xm/main.py", line 1381, in xm_shutdown
xend | shutdown.main(["shutdown"] + args)
xend | File "/usr/lib64/python2.7/site-packages/xen/xm/shutdown.py", line 161, in main
xend | main_all(opts, args)
xend | File "/usr/lib64/python2.7/site-packages/xen/xm/shutdown.py", line 138, in main_all
xend | doms = server.xend.domains(0)
xend | File "/usr/lib64/python2.7/xmlrpclib.py", line 1224, in __call__
xend | return self.__send(self.__name, args)
xend | File "/usr/lib64/python2.7/site-packages/xen/util/xmlrpcclient.py", line 118, in __request
xend | response = xmlrpclib.ServerProxy.__request(self, methodname, params)
xend | File "/usr/lib64/python2.7/xmlrpclib.py", line 1575, in __request
xend | verbose=self.__verbose
xend | File "/usr/lib64/python2.7/site-packages/xen/util/xmlrpcclient.py", line 55, in request
xend | request_body, verbose)
xend | File "/usr/lib64/python2.7/xmlrpclib.py", line 1264, in request
xend | return self.single_request(host, handler, request_body, verbose)
xend | File "/usr/lib64/python2.7/xmlrpclib.py", line 1294, in single_request
xend | response = h.getresponse(buffering=True)
xend |AttributeError: HTTPUnix instance has no attribute 'getresponse' [ !! ]
xend | * Stopping Xen control daemon ... [ ok ]
xend | * Starting Xen control daemon ... [ ok ]
Мало того, xen и xen-tools вообще не пересобираются, сборка вылетает с какими-то чудными ошибками
Код: Выделить всё
>>> Emerging (1 of 1) app-emulation/xen-tools-4.0.1
* xen-4.0.1.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ]
* Package: app-emulation/xen-tools-4.0.1
* Repository: gentoo
* Maintainer: xen@gentoo.org
* USE: acm amd64 api elibc_glibc hvm ioemu kernel_linux multilib screen userland_GNU
* FEATURES: preserve-libs sandbox
>>> Unpacking source...
>>> Unpacking xen-4.0.1.tar.gz to /var/tmp/portage/app-emulation/xen-tools-4.0.1/work
>>> Source unpacked in /var/tmp/portage/app-emulation/xen-tools-4.0.1/work
>>> Preparing source in /var/tmp/portage/app-emulation/xen-tools-4.0.1/work/xen-4.0.1 ...
* Applying xen-tools-3.4.0-network-bridge-broadcast.patch ... [ ok ]
* Applying xen-tools-3.3.0-nostrip.patch ... [ ok ]
* Applying xen-tools-3.3.1-sandbox-fix.patch ... [ ok ]
* Applying xen-tools-4.0.0-asneeded.patch ... [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/app-emulation/xen-tools-4.0.1/work/xen-4.0.1 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/app-emulation/xen-tools-4.0.1/work/xen-4.0.1 ...
make -j8 -C tools
make: Вход в каталог `/var/tmp/portage/app-emulation/xen-tools-4.0.1/work/xen-4.0.1/tools'
make[1]: Вход в каталог `/var/tmp/portage/app-emulation/xen-tools-4.0.1/work/xen-4.0.1/tools'
make -C check all
make[2]: Вход в каталог `/var/tmp/portage/app-emulation/xen-tools-4.0.1/work/xen-4.0.1/tools/check'
make[2]: *** ../../.config: Это каталог. Останов.
make[2]: Выход из каталога `/var/tmp/portage/app-emulation/xen-tools-4.0.1/work/xen-4.0.1/tools/check'
make[1]: *** [subdir-all-check] Ошибка 2
make[1]: Выход из каталога `/var/tmp/portage/app-emulation/xen-tools-4.0.1/work/xen-4.0.1/tools'
make: *** [subdirs-all] Ошибка 2
make: Выход из каталога `/var/tmp/portage/app-emulation/xen-tools-4.0.1/work/xen-4.0.1/tools'
emake failed
* ERROR: app-emulation/xen-tools-4.0.1 failed (compile phase):
* compile failed
*
* Call stack:
* ebuild.sh, line 56: Called src_compile
* environment, line 5122: Called die
* The specific snippet of code:
* emake -C tools ${myopt} || die "compile failed";
*
* If you need support, post the output of 'emerge --info =app-emulation/xen-tools-4.0.1',
* the complete build log and the output of 'emerge -pqv =app-emulation/xen-tools-4.0.1'.
* The complete build log is located at '/var/tmp/portage/app-emulation/xen-tools-4.0.1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/app-emulation/xen-tools-4.0.1/temp/environment'.
* S: '/var/tmp/portage/app-emulation/xen-tools-4.0.1/work/xen-4.0.1'
>>> Failed to emerge app-emulation/xen-tools-4.0.1, Log file:
>>> '/var/tmp/portage/app-emulation/xen-tools-4.0.1/temp/build.log'
* Messages for package app-emulation/xen-tools-4.0.1:
* ERROR: app-emulation/xen-tools-4.0.1 failed (compile phase):
* compile failed
*
* Call stack:
* ebuild.sh, line 56: Called src_compile
* environment, line 5122: Called die
* The specific snippet of code:
* emake -C tools ${myopt} || die "compile failed";
*
* If you need support, post the output of 'emerge --info =app-emulation/xen-tools-4.0.1',
* the complete build log and the output of 'emerge -pqv =app-emulation/xen-tools-4.0.1'.
* The complete build log is located at '/var/tmp/portage/app-emulation/xen-tools-4.0.1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/app-emulation/xen-tools-4.0.1/temp/environment'.
* S: '/var/tmp/portage/app-emulation/xen-tools-4.0.1/work/xen-4.0.1'
* IMPORTANT: 5 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.
Код: Выделить всё
ld -O1 --as-needed -r -o built_in.o apic.o bitops.o clear_page.o copy_page.o compat.o debug.o delay.o dmi_scan.o domctl.o domain.o domain_build.o e820.o extable.o flushtlb.o platform_hypercall.o i387.o i8259.o io_apic.o msi.o ioport_emulate.o irq.o microcode.o microcode_amd.o microcode_intel.o mm.o mpparse.o nmi.o numa.o pci.o physdev.o setup.o shutdown.o smp.o smpboot.o srat.o string.o sysctl.o time.o trace.o traps.o usercopy.o x86_emulate.o machine_kexec.o crash.o tboot.o hpet.o bzimage.o acpi/built_in.o cpu/built_in.o genapic/built_in.o hvm/built_in.o mm/built_in.o oprofile/built_in.o x86_64/built_in.o
make[3]: Выход из каталога `/var/tmp/portage/app-emulation/xen-4.0.1/work/xen-4.0.1/xen/arch/x86'
make[2]: Выход из каталога `/var/tmp/portage/app-emulation/xen-4.0.1/work/xen-4.0.1/xen/arch/x86'
make[1]: *** [/var/tmp/portage/app-emulation/xen-4.0.1/work/xen-4.0.1/xen/xen] Ошибка 2
make[1]: Выход из каталога `/var/tmp/portage/app-emulation/xen-4.0.1/work/xen-4.0.1/xen'
make: *** [build] Ошибка 2
make: Выход из каталога `/var/tmp/portage/app-emulation/xen-4.0.1/work/xen-4.0.1/xen'
emake failed
* ERROR: app-emulation/xen-4.0.1 failed (compile phase):
* compile failed
*
* Call stack:
* ebuild.sh, line 56: Called src_compile
* environment, line 2851: Called die
* The specific snippet of code:
* emake CC="$(tc-getCC)" LDFLAGS="$(raw-ldflags)" -C xen ${myopt} || die "compile failed"
*
* If you need support, post the output of 'emerge --info =app-emulation/xen-4.0.1',
* the complete build log and the output of 'emerge -pqv =app-emulation/xen-4.0.1'.
* The complete build log is located at '/var/tmp/portage/app-emulation/xen-4.0.1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/app-emulation/xen-4.0.1/temp/environment'.
* S: '/var/tmp/portage/app-emulation/xen-4.0.1/work/xen-4.0.1'
>>> Failed to emerge app-emulation/xen-4.0.1, Log file:
>>> '/var/tmp/portage/app-emulation/xen-4.0.1/temp/build.log'
* Messages for package app-emulation/xen-4.0.1:
* ERROR: app-emulation/xen-4.0.1 failed (compile phase):
* compile failed
*
* Call stack:
* ebuild.sh, line 56: Called src_compile
* environment, line 2851: Called die
* The specific snippet of code:
* emake CC="$(tc-getCC)" LDFLAGS="$(raw-ldflags)" -C xen ${myopt} || die "compile failed"
*
* If you need support, post the output of 'emerge --info =app-emulation/xen-4.0.1',
* the complete build log and the output of 'emerge -pqv =app-emulation/xen-4.0.1'.
* The complete build log is located at '/var/tmp/portage/app-emulation/xen-4.0.1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/app-emulation/xen-4.0.1/temp/environment'.
* S: '/var/tmp/portage/app-emulation/xen-4.0.1/work/xen-4.0.1'
* IMPORTANT: 5 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.
Что делать?