Re: [Tracker] Running Meta tracker from console



On Mon, 2007-07-09 at 11:20 +0200, tracker-list wrote:
Hi

I am trying to use Meta tracker in a non graphical environment. The host
I'm referring to is a fileserver where all users store their files. The
System administrator must be able to run a file statistics tool on the file
server so he can detect un-wished downloads. For that task I have build a
SOAP server that exposes the statisical methods. Until now I have used the
"find" command for filesearching but it has become too slow. Therfore I
need a file indexing daemon to help me in search:

I thought about using Beagle, but it can't be run as root, therefor "Meta
Tracker" seems like the tool to use. I have done some testing on my desktop
PC (running Ubuntu like the fileserver) and it works like a dream in the
graphical environment - but if I startup in console mode the trouble
begins.

1. First I start trackerd -> $ trackerd &
2. Then I do a search -> $ tracker-search something

Following error is presented:
    tracker-search: No connection to tracker daemon
    Ensure "trackerd" is running before launch this command

Also if trackerd has been started from console and I go into the graphical
environment to do a tracker-search i get the following error:
    tracker-search: internal tracker error: Process /usr/bin/trackerd
exited with status 0

Can Meta tracker run without X?

P.S. My SOAP server will be running as a daemon itself and there is no
Graphical Environment present.

I would recommend running tracker as a non-root user along with your
SOAP server (both must be same user in order to communicate via dbus
session bus)

trackerd does not use the dbus system bus and there is no activation on
the system bus either

I dont know if you can run a root session bus or not? (it should run
along side the system bus I would have thought)

jamie





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