[Xapian-discuss] Searching multiple databases with omega

Frank J Bruzzaniti frank.bruzzaniti at gmail.com
Fri Feb 20 06:07:56 GMT 2009



Olly Betts wrote:
> On Fri, Feb 20, 2009 at 01:08:30PM +1030, Frank J Bruzzaniti wrote:
>   
>> I checked all the permissions and they are identical.
>> If I try from the command line "./omega DB=scanned_documents P=test" I 
>> still get  Database `scanned_documents' couldn't be opened
>>     
>
> Unhelpfully for debugging this, the actual error doesn't get reported -
> try this patch which also reports the actual error from opening:
>
> http://oligarchy.co.uk/xapian/patches/omega-report-db-open-error.patch
>
>   
>> For scanned_documents:
>>
>> drwxr-xr-x 2 support users     4096 2009-02-20 12:57 .
>> drwxrwxrwx 6 root    root      4096 2009-02-18 18:25 ..
>>     
>
> World writable directories are really best avoided - they make compromise
> of any user account more of a problem.
>
>   
>> -rw-r--r-- 1 support users        0 2009-02-20 12:57 cd
>> -rw-r--r-- 1 support users        0 2009-02-20 12:59 flintlock
>> -rw-r--r-- 1 support users       12 2009-02-18 16:31 iamflint
>> -rw-r--r-- 1 support users        0 2009-02-20 12:57 ls
>>     
>
> Not quite sure where "cd" and "ls" came from, but they shouldn't cause
> any problems.
>
> Cheers,
>     Olly
>   

Olly,

Ah I was messing around with the permissions trying to get it to work, 
I've changed them back but am still having issues.
I tried using that patch, this is the error message I receive now:

Failed to open flint version file for reading: 
/opt/omega/data/scanned_documents/iamflint

The ls and cd were there my accident. But I don;t do anything to my 
databases cept xapian-compact scanned_documents and client_folders into 
default.

Any idea's?

Frank





More information about the Xapian-discuss mailing list