Displaying 20 results from an estimated 200 matches similar to: "libvirt Java to connect at the XEN"
2012 Oct 02
1
Connection using Java
Hi,
I am using java to connect to the xen, but my class is throwing a
exception. Does anyone know what is happening?
public class TestConnection {
public static void main(String[] args) {
Connect conn = null;
try {
conn = new Connect("xen+ssh://root at 192.XXX.XXX.XX/", true);
libvir: RPC error : End of file while reading data: nc: invalid option --
2013 Dec 05
1
Using Java bindings to event callback
Hi
My test environment :
CentOS 6.3 6.4
Ubuntu 13.10
For CentOS 6.4
libvirt-java-0.4.9-1.el6.noarch
libvirt-python-0.10.2-29.el6.x86_64
libvirt-client-0.10.2-29.el6.x86_64
libvirt-0.10.2-29.el6.x86_64
I am try to use java bindings to event callback.
int register = conn.domainEventRegisterAny(null, 0, cb);
But always get the following error message:
libvirt: Remote Driver error : adding cb
2011 Jun 03
0
Unable to migrate a vm
Hi!
I've attached my code
The error I got was:
run:
Domain:hda2 id 11 running hvm
libvir: Domain error : operation virDomainMigrate forbidden for read only
access
exception FOUR caught:org.libvirt.LibvirtException: operation
virDomainMigrate forbidden for read only access
level:VIR_ERR_ERROR
code:VIR_ERR_OPERATION_DENIED
domain:VIR_FROM_DOM
hasConn:false
hasDom:false
hasNet:false
2012 Apr 09
0
virsh works but libvirt-java throws a 'No route to host'
I'm able to connect to my xenserver using virsh like so and I see the VMs.
[jdrews at flynx ~]$ virsh -c xenapi://root at 192.168.1.23?no_verify=1 list
Enter root's password for 192.168.1.23:
Id Name State
----------------------------------------------------
Struct did not contain expected field memory_overhead.
Struct did not contain expected field
2011 Aug 19
3
Fedora and CentOS no longer on speaking terms
I have just upgraded my server from CentOS 5 to CentOS 6 and am having
connectivity problems. My laptop runs Fedora 14, and I have been in the habit
of mounting data partitions on my server by fstab entries. Since the update
I've not been able to do that. On watching the messages during a reboot I saw
a statement that the connection was denied by the server (where are those
messages
2016 Jan 21
0
Failed to start polkit.service: Connection timed out
This is related to another earlier post regarding "realm discover"
I want to set the timezone to Melbourne/Australia which failed with:
[root at sssd-testing ~]# timedatectl set-timezone Australia/Melbourne
Error getting authority: Error initializing authority: Error calling
StartServiceByName for org.freedesktop.PolicyKit1: Timeout was reached
(g-io-error-quark, 24)
Failed to set time
2016 Apr 03
0
Centos7: Mount problem (Unit mnt-bk\x2dbenvet\x2d01.mount is bound to inactive unit dev-disk-by\x2dlabel-bk\x2dbenvet\x2d01.device. Stopping, too.
Il giorno sab, 02/04/2016 alle 18.04 -0600, Frank Cox ha scritto:
> On Sun, 03 Apr 2016 01:58:42 +0200
> Dario Lesca wrote:
>
> >
> > Please, someone can help me to resolve this systemd issue?
> systemctl reset-failed
Thanks Frank, but I have try this command, none is changed:
> [root at s-virt ~]#?
> [root at s-virt ~]#?
> [root at s-virt ~]# journalctl -f
2016 May 18
1
Centos 7.2: Mount one by one (not simultaneously!) two usb disk with same label
For backup, I have 2 usb disk with same label (LABEL=bove-bk) mounted
periodically one by one (not simultaneously!) in the same folder
/mnt/bove-bk/
> [root at s-virt ~]# grep bove-bk /etc/fstab
> LABEL="bove-bk"?/mnt/bove-bk?xfs?defaults,nofail 0 0
With Centos 5/6 this?has never given problems, now with c7 when I
unmount and unplug the first disk and I plug and mount the second
2016 Jan 04
2
libvirtd and polkit: internal error: No Unix Process ID
Hi all,
I want to use libvirtd and polkit to create simple access restricitions for
incoming TLS connections.
libvirtd.conf:
> ...
> auth_tls = "sasl"
> access_drivers = [ "polkit" ]
> ...
>
tls_no_verify_certificate = 1
SASL and TLS in combination is already working without any faults. After
activating access_drivers, the setup breaks, cause the access is
2017 Mar 10
1
polkit helper timeout and defunct pkla-check-authorization processes on CentOS 7.3
Hi everyone,
We seem to be having issues on multiple CentOS 7.3 machines. The problem
seems to revolve around polkitd. At some random time, polkitd seems to stop
responding on my systems. Along with this, there might be hundreds of
defunct pkla-check-authorization processes. If I reboot, then things are
fine for a while.
I don't see any activity in the unabridged journal to suggest anything
2020 Apr 21
2
Dovecot 2.3.10 fails to start due to missing dependency
Greetings,
I installed Dovecot 2.3.10 on my Centos 7.7.1908 server, however it
fails startup. This is a fresh/default install, meaning all the configs
are default, downloaded from the dovecot.repo.
Here is my PasteBin: https://pastebin.com/376UQFLs
### Error Log, copied from Journalctl print out ###
Apr 20 21:10:01 server101 systemd[1]: Started Session 955 of user root.
Apr 20 21:10:01
2015 Dec 30
4
NFS problem after 7.2
I just updated my fileserver to version 7.2 and got some NFS problems
after that. In /etc/exports I have the following line
/path hostname(ro,insecure)
Now that host can no longer mount that share. I get
mount.nfs: access denied by server while mounting x
Also when I do restart of the NFS server I get following in the logs
Dec 30 21:59:33 files systemd[1]: Starting NFS server and services...
2020 Apr 21
0
Dovecot 2.3.10 fails to start due to missing dependency
Can you show
journalctl -xe
and
systemctl status dovecot-init
and
/var/log/messages
Aki
> On 21/04/2020 06:02 Jacob Shea <jacob at a1elitesolutions.com> wrote:
>
>
> Greetings,
> I installed Dovecot 2.3.10 on my Centos 7.7.1908 server, however it fails startup. This is a fresh/default install, meaning all the configs are default, downloaded from the dovecot.repo.
2005 Oct 10
1
SEM with dichotomous indicators
Hello,
I'd like to know if there is a way to fit a Structural equation model with
dichotomous indicators (ex: problem with a phone solved/ or not) having
effects on a ordinal variable.
How I do that using R?
Do you have an example with the code in R that you can send to me?
Thanks a lot!
Renata Estrella
UFRJ, Brasil, Rio de Janeiro
Renata Leite Estrella
Assistente de
2020 Jul 01
0
help whith linux client on domain
Hello we have Samba Version 4.3.11, we are trying to logon linux desktop
clients on domain, we easy can join the client on the domain with net rpc
join -S 10.11.37.3 -U xxxxx it is satisfactory. We don't have kinit server.
Later we install libpam-winbind, winbind ,libnss-winbind and samba on the
client side.
Edit nsswitch.conf -->
passwd: compat winbind
2020 Apr 21
0
Dovecot 2.3.10 fails to start due to missing dependency
Process: 20384 ExecStart=/bin/sh -c if [ ! -f /etc/pki/dovecot/certs/dovecot.pem ]; then SSLDIR=/etc/pki/dovecot/ OPENSSLCONFIG=/etc/pki/dovecot/dovecot-openssl.cnf /usr/libexec/dovecot/mkcert.sh >/dev/null 2>&1; fi (code=exited, status=2)
It seems to fail because it fails to generate a cert.
Can you try running mkcert.sh by hand as root?
env SSLDIR=/etc/pki/dovecot/
2020 Apr 21
2
Dovecot 2.3.10 fails to start due to missing dependency
-- Message 3 - Second Response --
Aki,
I pasted all you requested to Pastebin.com
https://pastebin.com/fVLD495y
Thank you for your assistance,
- Jacob
-- Message 2 - Initial Response --
On 4/21/20 2:43 AM, Aki Tuomi wrote:
> Can you show
>
> journalctl -xe
>
> and
>
> systemctl status dovecot-init
>
> and
>
> /var/log/messages
>
> Aki
-- Message 1 -
2018 Nov 28
0
Gnome_shell out of memory
Hi All,
I have a CentOS 7.5 box running. Its crashing after some time with NO
memory.
I have 4G in the box, and 4G swap.
Nov 28 07:43:20 mediacontroller01 kernel: gnome-shell cpuset=/
mems_allowed=0
Nov 28 07:43:20 mediacontroller01 kernel: CPU: 2 PID: 1419 Comm:
gnome-shell Tainted: G OE ------------
3.10.0-862.3.3.el7.x86_64 #1
Nov 28 07:43:20 mediacontroller01 kernel: 763965
2016 Jun 23
0
sssd.conf file missing
OK, lets dig further.
Does your sssd.conf have [sssd] section?
Something like
[sssd]
debug_level = 4
config_file_version = 2
domains = your-domain-name-here
If it's not there, add it and modify the [your-domain-name-here] section so it'll look like this:
[domain/your-domain-name-here]
23.06.2016, 15:51, "Kaplan, Andrew H." <ahkaplan at partners.org>:
> Hello ?
2016 Jun 23
1
sssd.conf file missing
Hello --
We are running CentOS 7.2 on a virtual machine, and we are trying to set up LDAP authentication. The ldap packages that are currently installed on the system are the following:
python-sss 1.13.0-40.el7_2.4
python-sssdconfig 1.13.0-40.el7_2.4
sssd 1.13.0-40.el7_2.4
sssd-ad 1.13.0-40.el7_2.4
sssd-client 1.13.0-40.el7_2.4
sssd-common 1.13.0-40.el7_2.4
sssd-common-pac 1.13.0-40.el7_2.4