LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 09-01-2005, 08:28 PM   #1
simeandrews
Member
 
Registered: May 2004
Distribution: Debian
Posts: 341
Blog Entries: 1

Rep: Reputation: 30
Beagle isn't indexing anything


I installed Beagle today, started the dameon a few hours ago (with export=BEAGLE_EXERCISE_THE_DOG=1, I might add), but it hasn't done anything. I still can't search using Best. It won't find anything.

Also, here's what I got frpm beagle-info --index-info

[testaccount@simons ~]$ beagle-info --index-info
Index information:

Name: IMLog
Count: 0

Name: Blam
Count: 0

Name: Liferea
Count: 0

Name: Mail
Count: 0

Name: Tomboy
Count: 0

Name: IndexingService
Count: 0

Name: Google
Count: -1

Name: EvolutionDataServer
Count: 0


[testaccount@simons ~]$

So, what is wrong? I installed via yum, so there aren't any missing dependencies.
 
Old 09-02-2005, 09:01 AM   #2
simeandrews
Member
 
Registered: May 2004
Distribution: Debian
Posts: 341
Blog Entries: 1

Original Poster
Rep: Reputation: 30
Anyone?
 
Old 09-04-2005, 10:36 AM   #3
lokee
Member
 
Registered: Feb 2003
Distribution: Gentoo
Posts: 381

Rep: Reputation: 30
Hmm, maybe you can try:
Code:
beagle-status
Maybe it just isn't indexing, so let's check that.
 
Old 09-12-2005, 12:13 PM   #4
Nightfrost
Member
 
Registered: Jun 2004
Location: Sweden
Distribution: ArchLinux
Posts: 201

Rep: Reputation: 30
I have the precise same problem. With the exception that it indexes some files, sometimes. That is, if I kill the daemon and restart it, it might index a few files and then stop again.

Here's a snip from beagled --fg --debug

Code:
Starting task Crawling /home/nightfrost/Documents/Adobe
DEBUG: *** What should we do with /home/nightfrost/Documents/Adobe?
DEBUG: *** Doing nothing to /home/nightfrost/Documents/Adobe
DEBUG: worker added: name=HandleConnection (23) refcount=1
DEBUG: worker removed: name=HandleConnection (23)
DEBUG: Done sending request
DEBUG: Finished task Crawling /home/nightfrost/Documents/Adobe in .01s
DEBUG: FileSystemWatcher: OnChangedEvent /home/nightfrost/Documents/Adobe
DEBUG: *** What should we do with /home/nightfrost/Documents/Adobe?
DEBUG: *** Doing nothing to /home/nightfrost/Documents/Adobe
DEBUG: Starting task File System Crawler
DEBUG: Crawl Task Scheduling /home/nightfrost/Documents/Adobe (state=Dirty)
DEBUG: Looking at Acrobat in /home/nightfrost/Documents/Adobe
DEBUG: Finished task File System Crawler in .00s
DEBUG: Starting task Crawling /home/nightfrost/Documents/Adobe
DEBUG: *** What should we do with /home/nightfrost/Documents/Adobe?
DEBUG: *** Doing nothing to /home/nightfrost/Documents/Adobe
DEBUG: worker added: name=HandleConnection (24) refcount=1
DEBUG: worker removed: name=HandleConnection (24)
DEBUG: Done sending request
DEBUG: Finished task Crawling /home/nightfrost/Documents/Adobe in .06s
And it just repeats like that...

Any ideas?
 
Old 09-19-2005, 08:24 AM   #5
nickthecook
LQ Newbie
 
Registered: Sep 2005
Posts: 4

Rep: Reputation: 0
I'm having the same symptoms - beagle won't index anything, event with BEAGLE_EXERCISE_THE_DOG=1 set.

It starts up, says that inotify isn't enabled (which it is, but it says I need a 2.6.13 kernel with inotify, and I have a 2.6.12 kernel with inotify), apparently starts some crawlers, and then generates an unhandled exception.

Here's the output from beagled --fg --debug:

$ beagled --fg --debug
INFO: Starting Beagle Daemon (version 0.1.0)
DEBUG: Command Line: /usr/lib/beagle/BeagleDaemon.exe --fg --debug
DEBUG: Starting main loop
DEBUG: Starting messaging server
DEBUG: Starting QueryDriver
DEBUG: Found index helper at /usr/lib/beagle/beagled-index-helper
inotify_init: Function not implemented
Inotify not supported! You need a 2.6.13 kernel or later with CONFIG_INOTIFY enabled.WARN: Could not initialize inotify
DEBUG: Starting FileSystemWatcher Backend
DEBUG: Found 10 types in BeagleDaemonLib, Version=1.4.3.3, Culture=neutral
DEBUG: Found 0 user-configured static queryables
DEBUG: Adding root: /home/nick
INFO: Starting Evolution mail backend
DEBUG: Loaded 0 records from /home/nick/.beagle/Indexes/FileSystemIndex/FileAttributesStore.db in 0.000s
DEBUG: Done starting FileSystemQueryable
DEBUG: Starting mail crawl
INFO: Starting Gaim log backend
DEBUG: Starting Scheduler thread
DEBUG: Daemon initialization finished after 1.04s
DEBUG: Will index mbox /home/nick/.evolution/mail/local/Sent
DEBUG: Will index mbox /home/nick/.evolution/mail/local/Inbox
DEBUG: Will index mbox /home/nick/.evolution/mail/local/Outbox
DEBUG: Mail crawl finished
INFO: Evolution mail driver worker thread done in .44s
DEBUG: Caught ResponseMessageException: Connection refused
DEBUG: Launching helper process
INFO: Gaim log backend worker thread done in .93s
DEBUG: Starting messaging server
WARN: Unable to set IO-priority for process to idle
DEBUG: Helper Size: VmRSS=9.8 MB, size=1.00, 0.0%
DEBUG: -uidlyTabXGJEu_8wOH7OPJsw
DEBUG: +uidlyTabXGJEu_8wOH7OPJsw
DEBUG: Loaded 30 filters from /usr/lib/beagle/Filters/Filters.dll
DEBUG: FileSystemWatcher watching /home/nick

Unhandled Exception: System.ArgumentNullException: null key
Parameter name: key
in [0x000c7] System.Collections.Hashtable:Find (System.Object key)
in [0x00002] (at /var/tmp/portage/mono-1.1.9/work/mono-1.1.9/mcs/class/corlib/System.Collections/Hashtable.cs:449) System.Collections.Hashtable:Contains (System.Object key)
in <0x003c9> Beagle.Util.Scheduler:Worker ()
in (wrapper delegate-invoke) System.MulticastDelegate:invoke_void ()

Anyone find a solution to this yet?
 
Old 09-19-2005, 08:34 AM   #6
vangelis
Member
 
Registered: Nov 2004
Location: Hellas
Distribution: Zenwalk 6.4
Posts: 337
Blog Entries: 4

Rep: Reputation: 30
I saw at the documentantion that the filesystem must be mounted with the option user_xattr
check that also if it isn't at the /etc/fstab add it then unount it and remound it.
Hope that this could be the solution
 
Old 09-19-2005, 08:36 AM   #7
vangelis
Member
 
Registered: Nov 2004
Location: Hellas
Distribution: Zenwalk 6.4
Posts: 337
Blog Entries: 4

Rep: Reputation: 30
Quote:
Originally posted by vangelis
then unount it and remound it.
sorry for the bad typing I meant unmount it and remount it....
 
Old 09-19-2005, 08:42 AM   #8
nickthecook
LQ Newbie
 
Registered: Sep 2005
Posts: 4

Rep: Reputation: 0
nope, I got that setup okay I think:

/dev/hda4 on /home type reiserfs (rw,noatime,user_xattr)

PS: can I just use tags to create "code" and "quote" sections in here? (my first day )
 
Old 09-19-2005, 09:16 AM   #9
nickthecook
LQ Newbie
 
Registered: Sep 2005
Posts: 4

Rep: Reputation: 0
Okay, I'm getting some indexing done now.

I passed "--allow-backend Files" to beagled, and now it's indexing! So the problem I was having must be with a particular backend. I'm going to try a few different ones now to try and pin down the one that was causing the problem.

Hope this helps someone.

nickthecook
 
Old 09-19-2005, 09:21 AM   #10
nickthecook
LQ Newbie
 
Registered: Sep 2005
Posts: 4

Rep: Reputation: 0
I found the backend that was causing me problems - it was IMLog.

Now I need to figure out why my queries aren't returning results.
 
Old 09-28-2005, 01:37 AM   #11
watsoncj
LQ Newbie
 
Registered: Sep 2005
Location: Colorado
Distribution: Mandriva LE 2005
Posts: 12

Rep: Reputation: 0
Beagle seems to play a lot better with gnome than it did with kde. Also I created a little script beagled.sh

Code:
#!/bin/bash
exec beagled
Then I ran gnome-session-properties and added the script. Now beagled starts up on gnome startup.

I also pointed firefox at the beagle extension at "file:///usr/lib/beagle/beagle.xpi" so that beagle now indexes all the web pages I visit.
 
Old 09-28-2005, 05:02 AM   #12
Nightfrost
Member
 
Registered: Jun 2004
Location: Sweden
Distribution: ArchLinux
Posts: 201

Rep: Reputation: 30
For what it's worth, I can just say that I'm no longer having problems with beagle after upgrading to version 0.1.0... just in case you guys haven't done that
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
A better Beagle dhave Slackware 18 10-21-2005 06:56 AM
Beagle Woes , only indexing Email, RSS Feeds, and Blogs :-( AntWarrior Ubuntu 1 04-28-2005 06:40 AM
Folder indexing joey52 Linux - Newbie 2 02-18-2005 03:05 AM
LibPST -> just indexing? p41elvis Linux - Software 1 10-26-2004 06:55 AM
Appache indexing NewtonIX Linux - Software 7 08-21-2004 08:46 PM


All times are GMT -5. The time now is 06:10 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration