According to Jay Staton:
> I am extremely new to using htdig, and I'm trying to update the index 
> of one of our client's sites and I get the "DB2 problem...: missing or 
> empty key value specified" error message. I have read everything 
> previously posted about this topic and it seems that no one has been 
> able to give a clear answer to resolving it.

This is almost always due to there being no indexable documents, or no
indexable texts in the documents that htdig is given.  The tricky part
is figuring out why htdig is unable to parse and index anything.

> I have tried running 
> rundig -vvv -s and there is nothing in it that tells me where the 
> problem is. The results are below:
...
> 1:1:http://www.[domain].com/
> New server: www. [domain].com, 80
...
> Read a total of 18951 bytes
>   size = 18951
> pick: www. [domain].com, # servers = 1
> htdig: Run complete
> htdig: 1 server seen:
> htdig:     www. [domain].com:80 1 document
> htmerge: Sorting...
> DB2 problem...: missing or empty key value specified
> 
> htmerge: Total word count: 0
> 0/http://www. [domain].com/
> 
> htmerge: Total documents: 1
> htmerge: Total size of documents (in K): 18
> Preamble text:
> =======================================
> 
> If anyone could please help me, or at least tell me what the above 
> means, I would be forever grateful. This problem is driving me insane!

Well, the above tells me that htdig was able to successfully read in a
18951 byte file for the http://www.[domain].com/ URL.  However, it doesn't
report any "href" entries, so apparently htdig couldn't find any HTML
links in this file.  Also, the "Total word count: 0" message suggests
htdig couldn't find any words in the file either.

You may get more clues by using more verbosity, e.g. -vvvvvv, but if
that doesn't help, you may need to post the contents of the document
so that someone can look at it and figure out what's causing htdig to
skip over everything.  Given your edits of the htdig output to conceal
the domain, though, I would guess that this is something you don't want
everyone to see.

Also have a look at the FAQ on the htdig.org web site.  htdig doesn't
index JavaScript content or links, only HTML (FAQ 5.18).  You should
also check to make sure the document doesn't have a meta robots tag that
prevents indexing (FAQ 4.15 & 4.22).  You'd need at least -vvvv to have
htdig report such tags.

-- 
Gilles R. Detillieux              E-mail: <[EMAIL PROTECTED]>
Spinal Cord Research Centre       WWW:    http://www.scrc.umanitoba.ca/
Dept. Physiology, U. of Manitoba  Winnipeg, MB  R3E 3J7  (Canada)


-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm 
Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a 
subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html

Reply via email to