Re: [Tracker] Tracker 0.5.2 and FUSE



Howdy, ;)

Well, no, removing ~/.Tracker and rerunning trackerd doesn't help. The
problem must lie in either Tracker's or SQLite's inability to work with
FUSE file systems as the root file system for the user.

Please, if you could, try and create a temporary user with its _entire_
home directory encrypted with EncFS and run trackerd on it, so that I
can make sure it's not a local problem.

Thanks

---
Fredrik Blom

sun 2006-11-26 11:41 +0100 Eugenio Cutolo wrote:
Hi,
I'm using tracker on ecnfs dir(~/.documents not all home).. I think
it's not that
the problem but in this line:

Opening index /home/sachankara/.Tracker
        /databases/Files
        /home/sachankara/.Tracker/databases/Files index was not closed
        properly
        - attempting repair

 Try to remove all files in .Tracker and index again you home if you
have the same problem maybe there is a permission problem with encfs 




2006/11/26, Fredrik Blom <fblom kth se>:
        Hello,
        
        I recently installed Tracker 0.5.2 and noticed that it does
        not work
        with FUSE file systems ( http://fuse.sourceforge.net/ ). I've
        encrypted
        my own home directory with EncFS (a FUSE module) and the
        tracker daemon 
        will not start correctly when running on it. It does work just
        fine on
        other non-encrypted accounts.
        
        Here's the output from trackerd --enable-debug :
        
        Tracker version 0.5.2 Copyright (c) 2005-2006 by Jamie
        McCracken 
        (jamiemcc gnome org)
        
        This program is free software and comes without any warranty.
        It is licensed under version 2 of the General Public License
        which can
        be viewed at http://www.gnu.org/licenses/gpl.txt
        
        Initialising tracker...
        Setting ioprio best effort.
        setting stopword list for language code sv
        Using stemmer for language sv 
        
        Tracker configuration options :
        Debug mode enabled :                    yes
        Low memory mode :                       no
        Faster indexing :                       no
        Indexing enabled :                      yes 
        Watching enabled :                      yes
        File content indexing enabled :         yes
        Thumbnailing enabled :                  no
        Evolution email indexing enabled :      no
        Thunderbird email indexing enabled :    no 
        K-Mail indexing enabled :               no
        
        Tracker indexer parameters :
        Indexer language code :                 sv
        Minimum index word length :             3
        Maximum index word length :             30
        Stemmer enabled :                       yes
        Using Pango word breaking :             no
        
        
        Setting watch directory roots to:
        /home/sachankara
        
        Using Sqlite version 3.3.5
        Loading prepared queries...
        File loaded in  0,000000 ms
        initialising the indexer
        Opening index /home/sachankara/.Tracker/databases/Files
        /home/sachankara/.Tracker/databases/Files index was not closed
        properly
        - attempting repair
        
        --- 
        
        The tracker daemon just sits there and uses 100% of the CPU,
        but really
        doesn't do anything besides it. It would be "nice" if someone
        else could
        replicate the problem so I can make sure I'm not the only one
        with this 
        problem.
        
        The text doesn't give too much information, but to me it looks
        like
        SQLite doesn't work properly with Tracker.
        
        Here's some output from strace:
        
        ...
        write(1, "Opening index /home/sachankara/."..., 56Opening 
        index /home/sachankara/.Tracker/databases/Files
        ) = 56
        open("/home/sachankara/.Tracker/tracker.log", O_WRONLY|
        O_APPEND|O_CREAT,
        0666) = 4
        fstat64(4, {st_mode=S_IFREG|0600, st_size=1480, ...}) = 0 
        mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|
        MAP_ANONYMOUS, -1,
        0) = 0xb7fbc000
        fstat64(4, {st_mode=S_IFREG|0600, st_size=1480, ...}) = 0
        _llseek(4, 1480, [1480], SEEK_SET)      = 0
        gettimeofday({1164497904, 398641}, NULL) = 0 
        time(NULL)                              = 1164497904
        stat64("/etc/localtime", {st_mode=S_IFREG|0644,
        st_size=755, ...}) = 0
        write(4, "26 nov 2006, 00:38:24:398 - Open"..., 84) = 84
        close(4)                                = 0 
        munmap(0xb7fbc000, 4096)                = 0
        access("/home/sachankara/.Tracker/databases", F_OK) = 0
        mkdir("/home/sachankara/.Tracker/databases/Files", 0755) = -1
        EEXIST
        (File exists)
        open("/home/sachankara/.Tracker/databases/Files/depot",
        O_RDWR|O_CREAT, 
        0644) = 4
        fstat64(4, {st_mode=S_IFREG|0600, st_size=116, ...}) = 0
        lseek(4, 0, SEEK_SET)                   = 0
        read(4, "[depot]\n\f\0\0\00014\0\0\0\0\0\0\0\0\0\0t\0\0\0\0\0
        \0"..., 48)
        = 48
        mmap2(NULL, 116, PROT_READ|PROT_WRITE, MAP_SHARED, 4, 0) = -1
        ENODEV (No 
        such device)
        close(4)                                = 0
        write(1, "/home/sachankara/.Tracker/databa"...,
        92/home/sachankara/.Tracker/databases/Files index was not
        closed
        properly - attempting repair 
        ) = 92
        open("/home/sachankara/.Tracker/tracker.log", O_WRONLY|
        O_APPEND|O_CREAT,
        0666) = 4
        fstat64(4, {st_mode=S_IFREG|0600, st_size=1564, ...}) = 0
        mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|
        MAP_ANONYMOUS, -1, 
        0) = 0xb7fbb000
        fstat64(4, {st_mode=S_IFREG|0600, st_size=1564, ...}) = 0
        _llseek(4, 1564, [1564], SEEK_SET)      = 0
        gettimeofday({1164497904, 402567}, NULL) = 0
        time(NULL)                              = 1164497904 
        stat64("/etc/localtime", {st_mode=S_IFREG|0644,
        st_size=755, ...}) = 0
        write(4, "26 nov 2006, 00:38:24:402 - /hom"..., 120) = 120
        close(4)                                = 0
        munmap(0xb7fbb000, 4096)                = 0 
        lstat64("/home/sachankara/.Tracker/databases/Files/depot",
        {st_mode=S_IFREG|0600, st_size=116, ...}) = 0
        open("/home/sachankara/.Tracker/databases/Files/depot",
        O_RDONLY) = 4
        fcntl64(4, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=0,
        len=0}) = 
        0
        fstat64(4, {st_mode=S_IFREG|0600, st_size=116, ...}) = 0
        lseek(4, 0, SEEK_SET)                   = 0
        read(4, "[depot]\n\f\0\0\00014\0\0\0\0\0\0\0\0\0\0t\0\0\0\0\0
        \0"..., 48)
        = 48
        mmap2(NULL, 116, PROT_READ, MAP_SHARED, 4, 0) = 0xb7fbc000 
        munmap(0xb7fbc000, 116)                 = 0
        close(4)                                = 0
        lstat64("/home/sachankara/.Tracker/databases/Files/0001/depot",
        0xbf989d88) = -1 ENOENT (No such file or directory) 
        lstat64("/home/sachankara/.Tracker/databases/Files/0002/depot",
        0xbf989d88) = -1 ENOENT (No such file or directory)
        lstat64("/home/sachankara/.Tracker/databases/Files/0003/depot",
        0xbf989d88) = -1 ENOENT (No such file or directory) 
        lstat64("/home/sachankara/.Tracker/databases/Files/0004/depot",
        0xbf989d88) = -1 ENOENT (No such file or directory)
        lstat64("/home/sachankara/.Tracker/databases/Files/0005/depot",
        0xbf989d88) = -1 ENOENT (No such file or directory) 
        ...
        (Repeated many times here)
        ...
        lstat64("/home/sachankara/.Tracker/databases/Files/0511/depot",
        0xbf989d88) = -1 ENOENT (No such file or directory)
        lstat64("/home/sachankara/.Tracker/databases/Files/0512/depot", 
        0xbf989d88) = -1 ENOENT (No such file or directory)
        mkdir("/home/sachankara/.Tracker/databases/Files.crtmp", 0755)
        = -1
        EEXIST (File exists)
        open("/home/sachankara/.Tracker/databases/Files.crtmp/depot",
        O_RDWR| 
        O_CREAT, 0644) = 4
        fcntl64(4, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=0,
        len=0}) =
        0
        ftruncate(4, 0)                         = 0
        fstat64(4, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
        lseek(4, 0, SEEK_SET)                   = 0 
        write(4, "[depot]\n\f\0\0\00014\0\0\0\0\0\0\0\0\0\0t\0\0\0\0\0
        \0"...,
        48) = 48
        lseek(4, 48, SEEK_SET)                  = 48
        write(4, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0
        \0"..., 
        68) = 68
        lseek(4, 0, SEEK_SET)                   = 0
        read(4, "[depot]\n\f\0\0\00014\0\0\0\0\0\0\0\0\0\0t\0\0\0\0\0
        \0"..., 48)
        = 48
        mmap2(NULL, 116, PROT_READ|PROT_WRITE, MAP_SHARED, 4, 0) = -1
        ENODEV (No 
        such device)
        close(4)                                = 0
        --- SIGSEGV (Segmentation fault) @ 0 (0) ---
        sigreturn()                             = ? (mask now [])
        --- SIGSEGV (Segmentation fault) @ 0 (0) ---
        sigreturn()                             = ? (mask now [])
        --- SIGSEGV (Segmentation fault) @ 0 (0) ---
        (Never stops, this just continues forever)
        
        ---
        
        So, I hope this can give someone enough information to figure
        out what 
        the problem might be. It would be nice to get it working.
        Beagle does
        work on my encrypted directories, but that doesn't really help
        me, nor
        you. :P
        
        Thanks
        
        ---
        Fredrik Blom
        _______________________________________________ 
        tracker-list mailing list
        tracker-list gnome org
        http://mail.gnome.org/mailman/listinfo/tracker-list




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