Displaying 20 results from an estimated 66 matches for "do_open".
Did you mean:
ndo_open
2012 Jun 27
0
Trouble connecting to XenServer HyperVisor with Java bindings
...395+0000: 26051: debug : virConnectOpenAuth:1455 :
name=xenapi://root at 192.168.1.6?no_verify=1, auth=0x8beed7c0, flags=0
2012-06-26 19:48:52.643+0000: 26051: debug : virConnectGetConfigFile:1008 :
Loading config file '/etc/libvirt/libvirt.conf'
2012-06-26 19:48:52.647+0000: 26051: debug : do_open:1182 : name "xenapi://
root at 192.168.1.6?no_verify=1" to URI components:
scheme xenapi
server 192.168.1.6
user root
port 0
path (null)
2012-06-26 19:48:52.647+0000: 26051: debug : do_open:1226 : trying driver 0
(Test) ...
2012-06-26 19:48:52.647+0000: 26051: debug : do_open:1...
2012 Feb 09
1
virsh migrate results in error: Timed out during operation: cannot acquire state change lock
...:07.911: debug : virRegisterSecretDriver:857 : registering remote
as secret driver 1
13:52:07.911: debug : virRegisterNWFilterDriver:888 : registering remote
as network filter driver 1
13:52:07.911: debug : virConnectOpenAuth:1498 : name=(null),
auth=0x7f3c96c6c7a0, flags=0
13:52:07.911: debug : do_open:1206 : no name, allowing driver auto-select
13:52:07.911: debug : do_open:1243 : trying driver 0 (Test) ...
13:52:07.911: debug : do_open:1249 : driver 0 Test returned DECLINED
13:52:07.911: debug : do_open:1243 : trying driver 1 (Xen) ...
13:52:07.911: debug : do_open:1249 : driver 1 Xen returned...
2010 Dec 31
1
livemigrate problems
...akePollFDs:364 : Prepare n=7 w=8, f=13 e=1
17:07:54.827: debug : virEventMakePollFDs:364 : Prepare n=8 w=9, f=14 e=1
17:07:54.827: debug : virEventCalculateTimeout:312 : Calculate expiry of 2 timers
17:07:54.827: debug : virEventCalculateTimeout:342 : Timeout at 0 due in -1 ms
17:07:54.827: debug : do_open:973 : name "qemu:///system" to URI components:
scheme qemu
opaque (null)
authority (null)
server (null)
user (null)
port 0
path /system
17:07:54.827: debug : virEventRunOnce:564 : Poll on 9 handles 0xe603de0 timeout -1
17:07:54.827: debug : do_open:983 : trying driver 0 (Te...
2010 Feb 09
1
error: unable to connect to libvirtd at 'a.b.c.d': Connection refused
....
?
Any thoughts?
?
Below the error with some debug output from libvirt.
root > virsh -c esx://a.b.c.d/system
?......................
17:06:16.065: debug : virConnectOpenAuth:1337 : name=esx://10.59.56.109/system, auth=0xb80ac638, flags=0
17:06:16.065: debug : do_open:1106 : name "esx://10.59.56.109/system" to URI components:
? scheme esx
? opaque (null)
? authority (null)
? server 10.59.56.109
? user (null)
? port 0
? path /system
?
17:06:16.065: debug : do_open:1116 : trying driver 0 (Test) ...
17:06:16.066: de...
2010 Nov 14
2
java binding and virtualbox-ose
...r 2
11:37:18.336: debug : virRegisterDeviceMonitor:768 : registering
remote as device driver 1
11:37:18.336: debug : virRegisterSecretDriver:799 : registering remote
as secret driver 1
11:37:18.336: debug : virConnectOpenAuth:1337 : name=vbox:///session,
auth=0x231638, flags=0
11:37:18.336: debug : do_open:1106 : name "vbox:///session" to URI components:
scheme vbox
opaque (null)
authority (null)
server (null)
user (null)
port 0
path /session
11:37:18.336: debug : do_open:1116 : trying driver 0 (Test) ...
11:37:18.336: debug : do_open:1122 : driver 0 Test returned DECLINED
11...
2013 Feb 07
0
Failed to to connect socket to '/var/run/libvirt/libvirt-sock': Connection refused
...to '/var/run/libvirt/libvirt-sock': Connection refused
Exactly it could work with libvirt-0.10.1. Below are the debug messages with both versions.
# cat virsh.log
-------------------------
1). libvirt-1.0.1
-------------------------
<cut>
2013-01-10 06:12:12.107+0000: 2340: debug : do_open:1145 : name "qemu:///system" to URI components:
scheme qemu
server (null)
user (null)
port 0
path /system
2013-01-10 06:12:12.107+0000: 2340: debug : do_open:1191 : trying driver 0 (Test) ...
2013-01-10 06:12:12.107+0000: 2340: debug : do_open:1197 : driver 0 Test returned DECL...
2010 Sep 17
3
access VMX config on esxi with virsh
Hi,
Is virsh able to access the VMX config of a virtual machine running on a
esxi host?
I would like to take backups of my virtual machine configs and the
doku section
"Converting from VMware VMX config to domain XML config"
(http://libvirt.org/drvesx.html) comes close to this - but does not tell how
to get access to the vmx file. I would prefer a solution where ssh access to
the
2009 Jun 19
0
Re: [libvirt] domain.info() sometimes returns state zero for running machines
...rnal.c: xenHypervisorInit (Using new hypervisor call: 30002
>> )
>> DEBUG: xen_internal.c: xenHypervisorInit (Using hypervisor call v2, sys
>> ver6 dom ver5
>> )
>> DEBUG: libvirt.c: virConnectOpenAuth (name=(null), auth=0xb7f49b60, flags=0)
>> DEBUG: libvirt.c: do_open (Probed xen:///)
>> DEBUG: libvirt.c: do_open (Probed qemu:///system)
>> DEBUG: libvirt.c: do_open (Using xen:/// as default URI, 2 hypervisor found)
>> DEBUG: libvirt.c: do_open (name "xen:///" to URI components:
>> scheme xen
>> opaque (null)
>> au...
2013 Sep 18
0
libvirt report error "error: End of file while reading data: Input/output error" when start domain
...rObjectNew:199 : OBJECT_NEW: obj=0x2aad62a1f40
classname=virConnectCloseCallbackData
debug : virConnectGetConfigFile:998 : Loading config file
'/etc/libvirt/libvirt.conf'
debug : virConfReadFile:745 : filename=/etc/libvirt/libvirt.conf
debug : virFileClose:90 : Closed fd 7
debug : do_open:1173 : no name, allowing driver auto-select
debug : do_open:1215 : trying driver 0 (Test) ...
debug : do_open:1222 : driver 0 Test returned DECLINED
debug : do_open:1215 : trying driver 1 (ESX) ...
debug : do_open:1222 : driver 1 ESX returned DECLINED
debug : do_open:1215 : trying driver...
2012 Mar 09
1
run virsh as non-root user
...rEventRegisterImpl:177 : addHandle=0x3848a41a90 updateHandle=0x3848a40bb0 removeHandle=0x3848a40a70 addTimeout=0x3848a418f0 updateTimeout=0x3848a40cf0 removeTimeout=0x3848a40970
21:48:08.342: 5830: debug : virConnectOpenAuth:1282 : name=(null), auth=0x3848dc5bc0, flags=0
21:48:08.342: 5830: debug : do_open:1019 : no name, allowing driver auto-select
21:48:08.342: 5830: debug : do_open:1056 : trying driver 0 (Test) ...
21:48:08.342: 5830: debug : do_open:1062 : driver 0 Test returned DECLINED
21:48:08.342: 5830: debug : do_open:1056 : trying driver 1 (ESX) ...
21:48:08.342: 5830: debug : do_open:1062...
2003 Jul 07
1
Some C help patching sender.c (from:plain source -> encrypted destination: rsync + gpg)
...asking help with: I am _not_ a C hacker at all, my
strenghts are Perl -- if anywhere at all. So I would appreciate your
advise before I shoot myself in the foot.
Thanks for your patience.
I have studied the sources and gotten down to sender.c (cvs 1.17), in
particular the line where it calls do_open() and I am intending to
create do_popen as an alternative to do_open() (in syscall.c).
I have seen Kyle's approach of handling the forking directly, and I know
I cannot handle that level of complexity. Using something like popen (I
am using
<http://www.gnu.org/manual/glibc-2.2.3/html_ch...
2003 Mar 04
1
2.5.6 needs following fix on WinNTs
Hi,
Here is the problem (syscall.c, function do_open) on NT, Win2K, WinXP,
with stripped "/" for UNC path convention, detected in release 2.5.5,
2.5.6:
int do_open(char *pathname, int flags, mode_t mode)
{
if (flags != O_RDONLY) {
if (dry_run) return -1;
CHECK_RO
}
#ifdef O_BINARY
/* for Windows */
flags |= O_BINARY;
#endif...
2003 May 14
1
Bug with Large Files on AIX
...& defined(HAVE_FCHMOD) && !defined(_AIX)
{
int fd = mkstemp(template);
if (fd == -1) return -1;
***************
*** 164,170 ****
--- 164,174 ----
}
#else
if (!mktemp(template)) return -1;
+ #if defined(O_LARGEFILE)
+ return do_open(template, O_RDWR|O_EXCL|O_CREAT|O_LARGEFILE, perms);
+ #else
return do_open(template, O_RDWR|O_EXCL|O_CREAT, perms);
+ #endif
#endif
}
Regards,
Martin Schaller
2013 Aug 12
2
[Bug 10081] New: Multiple rsync instances conflict
...gmail.com
QAContact: rsync-qa at samba.org
When running multiple instances of rsync with "--backup" option on same file
(for example in case of intersecting include-files), few of them can exit with
exitcode "23".
It happens due to nonatomicity of robust_unlink()&do_open() operation in
copy_file(). While one of instances is proceeding between robust_unlink() and
do_open(), another instance can run do_open(). So the first instance will fail
on do_open() due to flag "O_EXCL".
I suggest to remove the flag "O_EXCL" if copy_file() is called from
mak...
2001 Nov 13
2
direct write patch
...+ if (fd1 != -1) close(fd1);
+ continue;
+ }
}
/* we initially set the perms without the
@@ -428,7 +438,7 @@
the lchown. Thanks to snabb@epipe.fi for pointing
this out. We also set it initially without group
access because of a similar race condition. */
- fd2 = do_open(fnametmp,O_WRONLY|O_CREAT|O_EXCL,
+ fd2 = do_open(fnametmp,write_flags,
file->mode & INITACCESSPERMS);
/* in most cases parent directories will already exist
@@ -436,7 +446,7 @@
transferred, but that may not be the case with -R */
if (fd2 == -1 && relative_pa...
2002 Feb 07
1
Latest version of the batch mode cleanup patch
...if (fdb_open) {
/* Set up file extension */
- strcat(rsync_flist_file, batch_file_ext);
+ strlcpy(filename, batch_prefix, sizeof(filename));
+ strlcat(filename, rsync_flist_file, sizeof(filename));
- /* Open batch flist file for writing; create it if it doesn't exist */
- fdb =
- do_open(rsync_flist_file, O_WRONLY | O_CREAT | O_TRUNC,
+ /*
+ * Open batch flist file for writing;
+ * create it if it doesn't exist
+ */
+ fdb = do_open(filename, O_WRONLY | O_CREAT | O_TRUNC,
S_IREAD | S_IWRITE);
if (fdb == -1) {
rprintf(FERROR, "Batch file %s open error:...
2011 Dec 28
1
login via Samba 4 LDAP
...te/CN=Configuration,DC=hh3,DC=site
# refldap://hh3.site/DC=DomainDnsZones,DC=hh3,DC=site
# refldap://hh3.site/DC=ForestDnsZones,DC=hh3,DC=site
But when I try to login from an openSUSE box:
su steve4
su: user steve4 does not exist
and the logs give:
Dec 28 20:20:04 hh3 worker_nscd: nss-ldap: do_open: do_start_tls
failed:stat=-1
Dec 28 20:20:04 hh3 worker_nscd: nss-ldap: do_open: do_start_tls
failed:stat=-1
Dec 28 20:20:04 hh3 worker_nscd: nss_ldap: could not search LDAP server
- Server is unavailable
I have tried with and without tls using the ca.pem and cert.pem
provisioned in /usr/local...
2013 Jul 14
0
OSX: trying to use libvirt 1.1.0 with VirtualBox 4.2
...-14 20:18:52.005+0000: 18446744073709551615: debug :
virEventPollCalculateTimeout:361 : Timeout at 0 due in -1 ms
2013-07-14 20:18:52.005+0000: 18446744073709551615: debug :
virEventPollRunOnce:629 : EVENT_POLL_RUN: nhandles=1 timeout=-1
2013-07-14 20:18:52.006+0000: 18446744073709551615: debug : do_open:1158
: name "vbox:///session" to URI components:
scheme vbox
server (null)
user (null)
port 0
path /session
2013-07-14 20:18:52.006+0000: 18446744073709551615: debug : do_open:1204
: trying driver 0 (Test) ...
2013-07-14 20:18:52.006+0000: 18446744073709551615: debug : d...
2005 Jan 05
1
rsync filename heuristics
...15.000000000 +1000
> @@ -0,0 +1,117 @@
> +#include "rsync.h"
> +
> +extern char *compare_dest;
> +extern int verbose;
> +
> +/* Alternate methods for opening files, if local doesn't exist */
> +/* Sanity check that we are about to open regular file */
> +int do_open_regular(char *fname)
> +{
> + STRUCT_STAT st;
> +
> + if (do_stat(fname, &st) == 0 && S_ISREG(st.st_mode))
> + return do_open(fname, O_RDONLY, 0);
> +
> + return -1;
> +}
> +
> +static void split_names(char *fname, char **dirname, char **basename)
> +{...
2016 Mar 03
0
control virtualbox from virsh
...t;list —all" returns an error.
virsh -c vbox+tcp://172.30.5.51/session list --all
error: Failed to list domains
error: invalid connection pointer in virGetDomain
Based on the debug logs, it appears the vbox driver is properly used
2016-03-03 22:27:44.415+0000: 18446744073709551615: debug : do_open:1003 : name "vbox:///session" to URI components:
scheme vbox
server <null>
user <null>
port -1
path /session
(…)
2016-03-03 22:27:44.416+0000: 18446744073709551615: debug : do_open:1050 : trying driver 4 (VBOX) ...
2016-03-03 22:27:44.416+0000: 18446744073709551615:...