On Mon, Jun 25, 2001 at 09:35:34AM +0000, Vittorio wrote: > I regularly receive the following message I can't make head or tail of. > > What's htdig for and htmerg? > > Could someone tell what should I do? > > Ciao > > Vittorio > > Anacron [25/06/01 09:16 +0000]: > > /etc/cron.daily/htdig: > > htmerge: Unable to open word list file '/var/spool/htdig/db.wordlist.work' > > >
Hello Vittorio, I'm not real familiar with htdig, but it says it's a Intranet indexing and search system. You can see the description by using the command 'dpkg -p htdig'. Or 'apt-cache show htdig' if you don't have it installed. If you have htdig installed and want to know what htmerge does then type in 'man htmerge'. I believe that htdig will create a database that indexes either your entire linux system, or maybe it just does directories that it been configured to index, such as where all your web pages are stored. I suppose it also creates a web page that you can pull up in your web browser enter in what you want to search on and then hit enter(or click a search button with your mouse) to perform the search. But I'm not sure about that. Like I said I'm not that familiar with it. I have installed it but haven't actually used it, yet. But I do know that I got the same message as you posted, until one day I decided to let a daemon run that I also do not make use of at this time, but have installed, which is the http daemon, or apache(I did 'update-rc.d -f apache remove after it was installed). That day, my hard drive started going off. I thought, 'Oh, it's running an updatedb." But it kept going, and going, and going. So I realized something more was going on and had a look. Htdig was running. It obviously needed apache to be up and running to create the '/var/spool/htdig/db.wordlist.work' database that's in your(and was in my) cron job message. If you want to use htdig and let it make the database, you'll need plenty of room on your /var partition. I have a 20 GB hard drive, about 12 GB's of that is used, and it used 480 MB of space for it's database files on my var partition. Like I said, I don't know exactly what it indexed, so if I'd had a bunch of web pages in the directory where there are normally stored for apache to serve up, it may have even needed to make make a bigger database than the 480 MB's. From the description of htdig it seems that it can index several systems. So, if you have htdig installed I think it can be set up to index other machines that are networked to your machine. It'd probably make a real big database then! To wrap this up, if you want the database to be created, install and run apache(or another http daemon other than apache might work also) at least on the day that cron kicks off the htdig job. Or, as I saw another reply suggest, purge the htdig package with 'dpkg --purge htdig'. Or, if you want to leave the htdig package installed, but don't want to see the cron job message "htmerge: Unable to open word list file '/var/spool/htdig/db.wordlist.work'", then move the cron job file into a temporary holding directory with something like the following... cd /etc mkdir temp_removed_cron.daily cd cron.daily mv htdig ../temp_removed_cron.daily Or maybe edit the /etc/cron.daily/htdig file so that it doesn't run by making every line a comment. Hope that helped Vittorio, Jimmy Richards --- Debian gives me a Woody --- > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
bin09YfmjifAy.bin
Description: PGP Key 0x0062D7A7.
pgpdyB57eWaZm.pgp
Description: PGP signature