Re: [Tracker] Running Meta tracker from console



Luca Ferretti skrev:
Il giorno lun, 09/07/2007 alle 11.20 +0200, tracker-list ha scritto:

<cut>

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

Tracker uses DBUS to perform inter process communications.

So, you need:
     A. a running system message bus (check using `ps aux | grep
        dbus-daemon`, you should have a process with "dbus-daemon
        --system" as command line)
     B. a running session message bus (as before, but "dbus-daemon
        --session" as command line)

The system bus should be launched by init, the session bus could be
launched in console using
        $ dbus-launch trackerd&

I didn't test it, so let us known if it works.
It didn't work

$ ps aux | grep dbus-daemon
103       4169  0.0  0.0   2180   824 ?        Ss   16:05   0:00 /usr/bin/dbus-daemon --system
jakob    11248  0.0  0.0   2844   772 pts/2    R+   16:15   0:00 grep dbus-daemon

$ dbus-launch trackerd&  (no difference)

I also tried not to change run-level on a kubuntu desktop host:
1. First I logged in normally
2. killed the trackerd process ($ sudo killall -9 trackerd)
3. Started trackerd manually ($ trackerd &)
4. Did a tracker-search (no problems)

5. Then I stoped kdm ($ sudo /etc/init.d/kdm stop)
7. killed the trackerd process ($ sudo killall -9 trackerd)
8. Started trackerd manually ($ trackerd &)
9. Did a tracker-search tracker-search: No connection to tracker daemon
   Ensure "trackerd" is running before launch this command

/Jakob




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