Re: running beagle on a server over nfs



> i do the following test (username crito is the client process, username
> test is the server process):
> 1) crito salsa-10-1-0-19:~$ /usr/local/bin/beagle-query power
> email://local local/Sent;uid=12
>
> this query produces only one result on the client side. on the client
> beagled gives me the following output:
> Debug: Parsed query 'power' as text_query
> Debug: Couldn't find path of file with name 'suspend' and parent
> 'c1EgaVyjq0ugflxfLXk0dw'
> Warn: Caught exception calling DoQuery on 'Files'
> Warn: System.UnauthorizedAccessException: Access to the path
> "/home/test/old/initrd/scripts/local-premount/suspend" is denied.
> in <0x000ae> System.IO.File:Exists (System.String path)
> ....
>
> 2) test salsa-10-1-0-19:~$ /usr/local/bin/beagle-query power
> ���email://local local/Sent;uid=12
> file:///home/test/debconf2-initscripts-bkg.pdf
> file:///home/test/old/init.d/halt
> file:///home/test/old/init.d/checkfs.sh
> file:///home/test/old/init.d/acpi-support
> file:///home/test/old/init.d/checkroot.sh
> ....
>
> this query produces around 50 hits on the server and the server beagled
> gives the following output:
> Debug: Parsed query 'power' as text_query
> Debug: Couldn't find path of file with name 'suspend' and parent
> 'c1EgaVyjq0ugflxfLXk0dw'

This error has cropped up before in several occassions too. Not in
some nfs setup but normal usage. I suspect some kind of bug here which
is causing even more problem in the client.

> 3) test salsa-10-1-0-19:~$ echo "power attack" >> beagle_rocks
> test salsa-10-1-0-19:~$ /usr/local/bin/beagle-query power
> ���email://local local/Sent;uid=12
> file:///home/test/beagle_rocks
> ....
>
> this query immediatly finds on the server the just created file. the
> server beagled process gives me the same output as above. but on the
> client i don't find anything.

Ok. Things are not working out as expected. Client should be able to
pick it up. Otherwise its of no use.

I think the nfs-idea needs more testing ande debugging. I will try to
find a machine with inotify from where I can export a few directories
over NFS. Might be hard to find. I will keep you updated in the
unlikely event that I get access to such machines.
Thanks for the feedback,

- dBera


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]