LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > AryaLinux
User Name
Password
AryaLinux This forum is for the discussion of AryaLinux.

Notices


Reply
  Search this Thread
Old 07-07-2016, 08:03 AM   #16
RAS-OS
Member
 
Registered: Jun 2016
Posts: 63

Original Poster
Rep: Reputation: Disabled

In file included from libvirt-override.c:25:0:
libvirt-override.c: In function ‘libvirt_virConnectDomainEventRegisterAny’:
build/libvirt.h:266:49: error: ‘VIR_DOMAIN_EVENT_ID_MIGRATION_ITERATION’ undeclared (first use in this function)
#define VIR_DOMAIN_EVENT_ID_MIGRATION_ITERATION VIR_DOMAIN_EVENT_ID_MIGRATION_I
^
libvirt-override.c:7053:10: note: in expansion of macro ‘VIR_DOMAIN_EVENT_ID_MIGRATION_ITERATION’
case VIR_DOMAIN_EVENT_ID_MIGRATION_ITERATION:
^
build/libvirt.h:266:49: note: each undeclared identifier is reported only once for each function it appears in
#define VIR_DOMAIN_EVENT_ID_MIGRATION_ITERATION VIR_DOMAIN_EVENT_ID_MIGRATION_I
^
libvirt-override.c:7053:10: note: in expansion of macro ‘VIR_DOMAIN_EVENT_ID_MIGRATION_ITERATION’
case VIR_DOMAIN_EVENT_ID_MIGRATION_ITERATION:
^
build/libvirt.h:263:43: error: ‘VIR_DOMAIN_EVENT_ID_JOB_COMPLETED’ undeclared (first use in this function)
#define VIR_DOMAIN_EVENT_ID_JOB_COMPLETED VIR_DOMAIN_EVENT_ID_JOB_COMPLETED
^
libvirt-override.c:7058:10: note: in expansion of macro ‘VIR_DOMAIN_EVENT_ID_JOB_COMPLETED’
case VIR_DOMAIN_EVENT_ID_JOB_COMPLETED:
^
build/libvirt.h:257:51: error: ‘VIR_DOMAIN_EVENT_ID_DEVICE_REMOVAL_FAILED’ undeclared (first use in this function)
#define VIR_DOMAIN_EVENT_ID_DEVICE_REMOVAL_FAILED VIR_DOMAIN_EVENT_ID_DEVICE_RE
^
libvirt-override.c:7063:10: note: in expansion of macro ‘VIR_DOMAIN_EVENT_ID_DEVICE_REMOVAL_FAILED’
case VIR_DOMAIN_EVENT_ID_DEVICE_REMOVAL_FAILED:
^
error: command 'gcc' failed with exit status 1
Error occured in execution of /var/cache/alps/scripts/libvirt-python.sh
Aborting
 
Old 07-07-2016, 09:52 AM   #17
chandrakant
AryaLinux Maintainer
 
Registered: Aug 2014
Posts: 195

Rep: Reputation: Disabled
I am trying the commands on a fresh build of AryaLinux and its working without errors. So I guess it might be because of something that you could have installed before.

Can you tell me what have you installed to get qemu working?

And before you reply could you please try doing a forceinstall like:

alps forceinstall qemu virt-manager
 
Old 07-07-2016, 04:39 PM   #18
RAS-OS
Member
 
Registered: Jun 2016
Posts: 63

Original Poster
Rep: Reputation: Disabled
make[1]: Entering directory '/var/cache/alps/sources/sudo-1.8.16/lib/util'
/bin/sh ../../mkinstalldirs /usr/lib/sudo
case "" in \
*-no-install*) ;; \
*) if [ X"yes" = X"yes" ]; then \
INSTALL_BACKUP='~' /bin/sh ../../libtool --tag=disable-static --quiet --mode=install /bin/sh ../../install-sh -c -o 0 -g 0 libsudo_util.la /usr/lib/sudo; \
fi;; \
esac
touch: cannot touch '/usr/lib/sudo/libsudo_util.so.0.0.0': Permission denied
chown: changing ownership of '/usr/lib/sudo/libsudo_util.so.0.0.0': Operation not permitted
make[1]: *** [install] Error 1
Makefile:211: recipe for target 'install' failed
make[1]: Leaving directory '/var/cache/alps/sources/sudo-1.8.16/lib/util'
make: *** [install] Error 2
Makefile:133: recipe for target 'install' failed
/var/cache/alps/scripts/sudo.sh: line 43: /etc/pam.d/sudo: Permission denied
Error occured in execution of /var/cache/alps/scripts/sudo.sh
Aborting


I did not do anything special in installing qemu
 
Old 07-07-2016, 08:50 PM   #19
chandrakant
AryaLinux Maintainer
 
Registered: Aug 2014
Posts: 195

Rep: Reputation: Disabled
You have to use the following command to install sudo:

su -c "alps install sudo"

Its mentioned in the documentation.

What was the result of the command alps forceinstall qemu virt-manager?
Can you run the following command and mail me (aryalinux11 at gmail dot com) the log file. I would look into it. As of now, I do not see a problem in the build script because they are working fine. It might be due to some residual file from a previous installation of virt-manager.

alps forceinstall qemu virt-manager &> ~/build.log
 
Old 07-07-2016, 09:15 PM   #20
chandrakant
AryaLinux Maintainer
 
Registered: Aug 2014
Posts: 195

Rep: Reputation: Disabled
Fixed the issue with alps clean. Please run the following before continuing...

sudo alps selfupdate
 
Old 07-08-2016, 03:07 AM   #21
RAS-OS
Member
 
Registered: Jun 2016
Posts: 63

Original Poster
Rep: Reputation: Disabled
It might have been that the problem is from previous virt-manager installation. Why should I install sudo again trough force install if it is already installed It tries to do this only when forceinstall

This was the result from alps forceinstall virt-manager without qemu as it already installed

Last edited by RAS-OS; 07-08-2016 at 03:08 AM.
 
Old 07-08-2016, 08:24 AM   #22
chandrakant
AryaLinux Maintainer
 
Registered: Aug 2014
Posts: 195

Rep: Reputation: Disabled
Ok. I saw the line in the log that showed sudo's script failing so I thought you might be trying to install sudo. This should not have actually happened, I mean sudo's script would not have executed at all because its entry would have been present in /etc/alps/installed-list. Did you follow the instructions in the website while installing the desktop environment. One of the first things that is installed is sudo and the reason its re-instalo led despite having been installed with the base system is because we are reinstalling shadow which also got installed alongwith the base system and that is done so that it is built alongwith cracklib.

Anyways, getting back to virt-manager, libvirt and qemu, you need to uninstall them by downloading the tarballs for them, extracting and in the extracted directory run the following commands:

./configure --prefix=/usr
sudo make uninstall

For virt-manager, you need to run the following from source directory:

sudo python setup.py uninstall

Please use the same tarball versions that you used for installation to uninstall as well.

To ./configure pass those parameters that you passed while installing. This you need to do for both libvirt-1.1.0 and libvirt-1.3.0.
Uninstall qemu also in a similar fashion and once you are done, go ahead and do:

alps clean
alps install qemu virt-manager.
 
Old 07-08-2016, 08:51 AM   #23
RAS-OS
Member
 
Registered: Jun 2016
Posts: 63

Original Poster
Rep: Reputation: Disabled
I have uninstalled libvirt 110 and libvirt 130 and reinstalled libvirt 200. In the meantime I have installed qemu again and it works so I go with alps install virt-manager and this is what I got after installing all and come to virt

running gtk-update-icon-cache
gtk-update-icon-cache -q -t /usr/share/icons/hicolor
compiling gsettings schemas
glib-compile-schemas /usr/share/glib-2.0/schemas
warning: Schema 'org.gnome.crypto.cache' has path '/desktop/gnome/crypto/cache/'. Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.
warning: Schema 'org.gnome.crypto.pgp' has path '/desktop/gnome/crypto/pgp/'. Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.
warning: Schema 'org.gnome.system.locale' has path '/system/locale/'. Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.
warning: Schema 'org.gnome.system.proxy' has path '/system/proxy/'. Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.
warning: Schema 'org.gnome.system.proxy.http' has path '/system/proxy/http/'. Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.
warning: Schema 'org.gnome.system.proxy.https' has path '/system/proxy/https/'. Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.
warning: Schema 'org.gnome.system.proxy.ftp' has path '/system/proxy/ftp/'. Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.
warning: Schema 'org.gnome.system.proxy.socks' has path '/system/proxy/socks/'. Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.
running install_egg_info
Failed to execute operation: File exists
Error occured in execution of /var/cache/alps/scripts/virt-manager.sh
Aborting
 
Old 07-08-2016, 09:00 AM   #24
RAS-OS
Member
 
Registered: Jun 2016
Posts: 63

Original Poster
Rep: Reputation: Disabled
I have no idea what I done but now virtual manager works but it goes

Unable to connect to libvirt.

Verify that the 'libvirtd' daemon is running.

details
Unable to connect to libvirt.

Verify that the 'libvirtd' daemon is running.

Libvirt URI is: qemu:///system

Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/connection.py", line 904, in _do_open
self._backend.open(self._do_creds_password)
File "/usr/share/virt-manager/virtinst/connection.py", line 148, in open
open_flags)
File "/usr/lib/python2.7/site-packages/libvirt.py", line 105, in openAuth
if ret is None:raise libvirtError('virConnectOpenAuth() failed')
libvirtError: Failed to connect socket to '/usr/local/var/run/libvirt/libvirt-sock': No such file or directory
 
Old 07-08-2016, 09:16 AM   #25
chandrakant
AryaLinux Maintainer
 
Registered: Aug 2014
Posts: 195

Rep: Reputation: Disabled
Try this:

sudo systemctl start libvirtd
sudo systemctl enable libvirtd
 
Old 07-08-2016, 09:32 AM   #26
RAS-OS
Member
 
Registered: Jun 2016
Posts: 63

Original Poster
Rep: Reputation: Disabled
Too late now I have restarted the OS and can not login it says librvrt-guests.sh[857]: /usr/local/libexec/libvrt.sh: line29 :/usr/local/bin/gettext.sh: No such file or directory

and it wont login
 
Old 07-08-2016, 09:40 AM   #27
chandrakant
AryaLinux Maintainer
 
Registered: Aug 2014
Posts: 195

Rep: Reputation: Disabled
Can you do Ctrl+Alt+f2 to get to virtual console and then disable libvirtd and libvirt-guests by doing:

systemctl disable libvirtd
systemctl stop libvirtd

systemctl disable libvirt-guests
systemctl stop libvirt-guests

and then restart.

Libvirt is still installed in /usr/local and that is where its trying to find gettext.sh and hence the failure. In case you get to the desktop please uninstall libvirt as I have mentioned above and reinstall using alps. If you install from source there is no problem unless install paths get mixed up. I am not sure which systemd unit might be causing this problem but most probably its libvirtd or libvirt-guests. See if disabling them works and then after uninstallation, install it using alps.
 
Old 07-08-2016, 12:43 PM   #28
RAS-OS
Member
 
Registered: Jun 2016
Posts: 63

Original Poster
Rep: Reputation: Disabled
No it does not work . I was able to uninstall libvirt 200 from enteral.sh as well as to install libvirt with alps but even so nothing.Than I enabled libvirt again. Still nothing. It just come to hang after the splash. It seems I have screw up the system.
 
Old 07-09-2016, 03:39 AM   #29
RAS-OS
Member
 
Registered: Jun 2016
Posts: 63

Original Poster
Rep: Reputation: Disabled
I have reinstalled virt-manager from alps (it cannot be uninstalled with setup.py uninstall it says there is no such command) and have installed getext so now I get this:

libvirt-guest.sh: touch: cannot touch /usr/local/var/lock/subsys/libvrt-guests -No such file or directory

Is there libvirt-guest to install

Last edited by RAS-OS; 07-09-2016 at 05:32 AM.
 
Old 07-09-2016, 05:37 AM   #30
RAS-OS
Member
 
Registered: Jun 2016
Posts: 63

Original Poster
Rep: Reputation: Disabled
I have created the file and folder but this not helped. I have also uninstalled libvirt and disabled it again. NOthig. I was thinking ti uninstall qemu but this was not possible due to non existing alps uninstall. ALso virt manager can not be uninstalled as there is no setup.py uninstall. SO what should I do compile the new OS. I'm not sure that I will do this again. Is there a way to reset to system default without deleting files?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
UEFI problem, GRUB2 problem, blank screen problem, :( JackDinn Linux - Newbie 22 05-26-2015 01:57 PM
Do I have a path problem, an Apache2 problem or a Javascript problem or any other pro rblampain Linux - Networking 0 12-29-2010 03:50 AM
Sound Card problem(every time i install linux i have diffirent hardware problem) jacka1l Linux - Newbie 7 08-11-2005 06:10 AM
Lan configuration problem - NFS boot problem - RX&TX packets errors 242VDM242 Linux - Networking 4 11-25-2004 01:35 PM
perl problem? apache problem? cgi problem? WorldBuilder Linux - Software 1 09-17-2003 07:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > AryaLinux

All times are GMT -5. The time now is 02:06 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration