[Xapian-discuss] Searching multiple databases with omega

Frank J Bruzzaniti frank.bruzzaniti at gmail.com
Fri Feb 20 02:38:30 GMT 2009


Olly Betts wrote:
> On Wed, Feb 18, 2009 at 12:54:38PM +1030, Frank J Bruzzaniti wrote:
>   
>> both databases are in the same folder and have the same permissions.
>> If I check scanned_documents with delve if lists the correct amount of 
>> documents.
>>     
>
> Do they have the same owner and group as well as the same permissions?
> Do the files inside the database directory have matching permissions,
> owner, and group for the two databases?
>
> Does it work if you run omega from the command line instead of via CGI?
>
> Cheers,
>     Olly
>   

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

But "./omega DB=default P=test" works

These are the permissions:

drwxr-xr-x 2 support users 4096 2009-02-20 12:48 client_folders
drwxr-xr-x 2 support users 4096 2009-02-18 18:20 default
drwxr-xr-x 2 support users 4096 2009-02-20 12:59 default.tmp
drwxr-xr-x 2 support users 4096 2009-02-20 12:57 scanned_documents

For default:

drwxr-xr-x 2 support users       4096 2009-02-18 18:20 .
drwxrwxrwx 6 root    root        4096 2009-02-18 18:25 ..
-rw-r--r-- 1 support users         12 2009-02-18 18:20 iamflint
-rw-r--r-- 1 support users         13 2009-02-18 18:19 position.baseA
-rw-r--r-- 1 support users      16573 2009-02-18 18:20 position.baseB
-rw-r--r-- 1 support users 1084751872 2009-02-18 18:20 position.DB
-rw-r--r-- 1 support users         13 2009-02-18 18:14 postlist.baseA
-rw-r--r-- 1 support users      22736 2009-02-18 18:18 postlist.baseB
-rw-r--r-- 1 support users 1488625664 2009-02-18 18:18 postlist.DB
-rw-r--r-- 1 support users         13 2009-02-18 18:18 record.baseA
-rw-r--r-- 1 support users        187 2009-02-18 18:18 record.baseB
-rw-r--r-- 1 support users   11026432 2009-02-18 18:18 record.DB
-rw-r--r-- 1 support users         13 2009-02-18 18:18 termlist.baseA
-rw-r--r-- 1 support users       9890 2009-02-18 18:19 termlist.baseB
-rw-r--r-- 1 support users  646864896 2009-02-18 18:19 termlist.DB
-rw-r--r-- 1 support users         13 2009-02-18 18:20 value.baseA
-rw-r--r-- 1 support users         34 2009-02-18 18:20 value.baseB
-rw-r--r-- 1 support users    1130496 2009-02-18 18:20 value.DB


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 ..
-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
-rw-r--r-- 1 support users      561 2009-02-20 12:06 position.baseA
-rw-r--r-- 1 support users      562 2009-02-20 11:55 position.baseB
-rw-r--r-- 1 support users 35594240 2009-02-20 12:06 position.DB
-rw-r--r-- 1 support users      799 2009-02-20 12:06 postlist.baseA
-rw-r--r-- 1 support users      799 2009-02-20 11:55 postlist.baseB
-rw-r--r-- 1 support users 51191808 2009-02-20 12:06 postlist.DB
-rw-r--r-- 1 support users       27 2009-02-20 12:06 record.baseA
-rw-r--r-- 1 support users       27 2009-02-20 11:55 record.baseB
-rw-r--r-- 1 support users   851968 2009-02-20 12:06 record.DB
-rw-r--r-- 1 support users      155 2009-02-20 12:06 termlist.baseA
-rw-r--r-- 1 support users      155 2009-02-20 11:55 termlist.baseB
-rw-r--r-- 1 support users  9003008 2009-02-20 12:06 termlist.DB
-rw-r--r-- 1 support users       16 2009-02-20 12:06 value.baseA
-rw-r--r-- 1 support users       16 2009-02-20 11:55 value.baseB
-rw-r--r-- 1 support users   106496 2009-02-20 12:06 value.DB





More information about the Xapian-discuss mailing list