Displaying 20 results from an estimated 3000 matches similar to: "backing up a database by locking while backup program runs"
2006 Oct 19
1
Writing with xapian-tcpsrv and php
Hi,
I think, there is missing constructor function supporting remote
writing for XapianWritableDatabase class in the php bindings (0.9.7).
This code:
$db = new XapianWritableDatabase(remote_open($db_host, $db_port),
$action);
returns:
Fatal error: No matching function for overloaded
'new_XapianWritableDatabase' (...)
$db = new XapianWritableDatabase($path, $action); works fine.
2008 Apr 20
1
Exception DatabaseCorruptError under php
Hello,
I'm having a litle issue with Xapian-1.0.6 with php bindings under
php5 when trying to add a new document it throws:
Fatal error: Uncaught exception 'Exception' with message
'DatabaseCorruptError: Failed to unlink
/var/lib/xapian/trade.ar/termlist.baseA: No such file or directory'
in /usr/share/php5/xapian.php:1140
Stack trace:
#0 /usr/share/php5/xapian.php(1140):
2023 Mar 30
1
Having trouble with php8 bindings
On Thu, Mar 30, 2023 at 04:42:41AM +0100, John Handelaar wrote:
> It appears that I can't use anything in PHP8.2 if the PHP file from
> which I want to access xapian contains a namespace declaration,
> because the PHP functions themselves cannot be found.
You need to tell PHP to look in the root namespace, e.g.:
$test = new \XapianWritableDatabase('searchdb');
Another
2010 Oct 21
2
In-memory databases vs PHP Bindings
I can't quite connect the dots on this, perhaps someone can help. I'm
simply trying to create an in-memory database comprising a single document,
so that I can run a load of queries against it and see if any of them match
the new document (this is to enable users to have 'subscriptions' to saved
searches and be alerted every time a new item is published that matches
their
2009 May 08
1
openldap 5.1 crashing
Hi
One of our server opneldap seems to crash ... following is info about my
ldap.
nss_ldap-253-3
php-ldap-5.1.6-5.el5
openldap-2.4.11-1.3.el5
openldap-servers-2.4.11-1.3.el5
compat-openldap-2.4.11_2.3.27-1.3.el5
openldap-clients-2.4.11-1.3.el5
openldap-devel-2.4.11-1.3.el5
And m getting error on command slapcat
[root@ ldap]# slapcat
bdb_db_open: DB_CONFIG for suffix "o=nerv_ldap" has
2023 Mar 30
1
Having trouble with php8 bindings
Hello
It appears that I can't use anything in PHP8.2 if the PHP file from
which I want to access xapian contains a namespace declaration,
because the PHP functions themselves cannot be found.
(xapian 1.4.22, php8.2, debian bullseye. xapian.so is confirmed to be
loaded after manually compiling 1.4.22 packages for libxapian, and
compiling the bindings from original source, because it's
2010 Feb 09
2
Provision script fails with Samba4 (latest git version)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
All,
I'm trying to get samba4 to provision with the latest git version. My
provision command looks like so:
# ./setup/provision --realm=TEST.DOMAIN --domain=DOMAIN --adminpass=pass
- --server-role='domain controller' --ldap-backend-type=openldap
- --slapd-path=/usr/sbin/slapd
I get the following output from the command:
hdb_db_open:
2009 Jun 18
1
delete and update
Hi All,
I need to update or delete some documents from a Xapian database. and
I haven't been able to find anything in the API , Is there a way to do it
? What would be the easiest way to do it ?
Thanks.
2007 May 15
1
Document ID 0 is invalid... but not always...
Note: this is rather long and not very important and I don't want to
prevent the team from releasing version 1.0, so go on reading only if
you have too much free time !!! ;-)
0 is not a valid document ID, never, ever, but I just found a special
case in which xapian will create a record and return 0 for the newly
created record.
In fact, I was "hacking", trying to store metadata
2019 Aug 06
2
Samba CTDB clustering panic
Hi all,
I'm setting up a clustered environment on CentOS 7.6.1810 with
Samba 4.8.3-6.el7_6 and the corresponding ctdb package. I'm using FreeIPA
4.6.4 as my auth backend.
Currently I'm running into this bug
https://bugzilla.samba.org/show_bug.cgi?id=13465 however I would assume
that it is fixed in the latest release (dated 29July 2019). It crashed once
CTDB runs testparm to check the
2018 Jun 28
4
CTDB upgrade to SAMBA 4.8.3
Hello,
i upgraded my ctdb cluster (3 nodes) from samba 4.7.7 to 4.8.3. Followed
the steps under "policy" in this wikipage
https://wiki.samba.org/index.php/Upgrading_a_CTDB_cluster. I shutdown
all CTDB nodes and upgraded them. After the upgrade i started all nodes
and ctdb status shows:
Number of nodes:3
pnn:0 192.168.199.52 OK (THIS NODE)
pnn:1 192.168.199.53 OK
pnn:2
2003 Jul 28
10
IPSec
Hi All,
I need to configure a VPN between a FreeBSD-4.8 box and
a Linux (FreeS/WAN) box.
In the Linux side, the network administrator installed FreeS/WAN
with RSA authentication without IKE support.
Does anybody knows if is possible to make my FreeBSD box
connect a VPN with the Linux box?
If so, could point me to a documentation about how to install
IPSec with RSA authentication and how to make
2006 Jun 23
1
SIP -> PSTN calls not connecting properly
Hi,
I've got a problem with my asterisk set up which has been going on for a
while (months). I'm currently running 1.2.7.1 on a gentoo box with the
topology below:
+-----+
PSTN ---------+ * +------------- Service Provider
(wctdm400p) +-+-+-+ IAX
| |
| |
FXS --+ +-- SIP (cisco 7940)
2023 Mar 30
1
Having trouble with php8 bindings
On Thu, 30 Mar 2023 at 04:58, Olly Betts <olly at survex.com> wrote:
>
> Another option is to import the things you want with `use` and then
> you can just use `XapianWritableDatabase` without to prefix it with
> `\`. To do that add this after your `namespace literallyanynamespace;`
> line:
>
> use \XapianWritableDatabase;
Thank you very much.
This then (because
2017 Dec 08
2
xapian 1.4 performance issue
Olly Betts writes:
> On Thu, Dec 07, 2017 at 10:29:09AM +0100, Jean-Francois Dockes wrote:
> > Recoll builds snippets by partially reconstructing documents out of index
> > contents.
> >
> [...]
> >
> > The specific operation which has become slow is opening many term position
> > lists, each quite short.
>
> The difference will actually
2007 Sep 23
0
A preliminary design for an external DB for rsync
I've put some thought into adding DB support to rsync (in a future
release). This would allow it to maintain some extra information about
files and be able to lookup information rapidly. This would support
things like caching of checksum information, finding files to hard-link
with, saving file attributes separately from the files (allowing
non-root preservation of full file attributes as
2011 Dec 13
4
Keep sourcing when there is an error
Hello,
I want to know if there is any way to avoid source() stopping when there
is an error.
Here is the content of my Main.R script:
source("~/R/source/Constructor1.R") # Object1 should be constructed
ifelse(exists("Object1"), # It's an S4 object
print("Object1 exists"), # I can't avoid using 'validity'
2015 Jan 26
2
delve not found
Hi all,
Today I just cloned Xapian and Xapian-Docsprint from your GitHub repos and was working through the practical example in Python in your Getting Started with Xapian 1.2 guide. However after the index was generated, I wasn't able to inspect it with delve because the command was not found.
My system set-up is a fresh install of Debian 7.8.0 as a virtual machine under Virtual Box, and I
2008 Oct 29
1
Problem opening stub database for writing
I'm using Xapian 1.0.8 and the python bindings.
I have a flint database which I can open fine by doing the following:
db_name = '/path/to/db/db-name'
database = xapian.WritableDatabase(db_name, xapian.DB_OPEN)
However, if I have stub file at '/path/to/db/db-stub' containing the following:
flint /path/to/db/db-name
db_name = '/path/to/db/db-stub'
database =
2003 Feb 05
7
Winbind on HPUX 11, some small progress
Hi All,
Well, i've managed to enable some debugging in syslog, I had to put in
/etc/syslog.conf
;*.debug
on the syslog line.
So at least I have an error which is being returned into syslog from
winbind.
This is what I get from winbind
Feb 4 21:13:17 coastdr pam_winbind[20753]: Verify user `lonnie'
Feb 4 21:13:18 coastdr pam_winbind[20753]: user 'lonnie' granted acces
Feb 4