[htdig] Re: help for htdig and hp-ux 10.20-version


Subject: [htdig] Re: help for htdig and hp-ux 10.20-version
From: Geoff Hutchison (ghutchis@wso.williams.edu)
Date: Thu Aug 03 2000 - 12:34:29 PDT


I'll say it again. Please don't send requests to help to me personally.
Since others likely have the same (or similar) problem, it is good to make
sure your message is archived.

On Thu, 3 Aug 2000, SLRV wrote:

> Hello,
> sorry, my english is bad,
> but i hope, you can help me although.
>
> I need a Search-Tool for our Intranet. My System is HP-UX 10.20.
> That's just why, i have downloaded: htdig-3.1.2-hpux10.tar.gz.
>
> kdo->E55hpd:/opt/www/htdig/bin> ./htdig -s -t -l
> htdig: Run complete
> htdig: 1 server seen:
> htdig: slrv:80 0 documents

The htdig program cannot reach your server as you have entered it. I would
check to see that you can actually reach this server name as entered
before running htdig (i.e. can you reach it with lynx or something similar
from this machine?). Otherwise, run htdig -vvvv and take a look at some of
the HTTP headers sent--it's possible the server is rejecting access.
 
> with Result:
> -rw-rw-r-- 1 root sys 2048 Aug 3 15:42 db.docdb
> -rw-rw-r-- 1 root sys 0 Aug 3 15:42 db.docs
>
> My Apache-www-document-root = http://slrv/
>
> The following kdo from a unix-shell with result:
> kdo->E55hpd:/opt/apache/lib/cgi-bin> ./htsearch
> ##########################
> Enter value for words: 123
> DB2 problem...: /opt/www/htdig/common/synonyms.db: No such file or directory
> DB2 problem...: /opt/www/htdig/common/word2root.db: No such file or
> directory
> Content-type: text/html
>
> <html><head><title>htsearch error</title></head>
> <body bgcolor="#ffffff">
> <h1>ht://Dig error</h1>
> <p>htsearch detected an error. Please report this to the
> webmaster of this site. The error message is:</p>
> <pre>
> Unable to read word database file '/opt/apache/lib/htdocs/htdig_db/db.words
> .db'
> Did you run htmerge?
> </pre>
> </body></html>
> ##############
> This files are not existent in '/opt/www/htdig/common':
> synonyms.db
> word2root.db

You must run htfuzzy synonyms and htfuzzy endings to create these
databases or change the search_algorithm attribute in the configuration
file. Further, you do not have the word database because you did not run
htmerge.

My suggestion is to use the rundig script that comes with the
installation (as mentioned in the INSTALL.html file). It will run htfuzzy
as necessary and will run htmerge after a successful htdig run. You need
to run htmerge after htdig to generate the word database.

--
-Geoff Hutchison
Williams Students Online
http://wso.williams.edu/

-------- > But only the following entrys i have changed in htdig.conf(standard): > database_dir: /opt/apache/lib/htdocs/htdig_db > start_url: http://slrv > > My problem: No entrys in db.docs and go from web-client with error: > ############## > ht://Dig error > htsearch detected an error. Please report this to the webmaster of this > site. The error message is: > > Unable to read word database file > '/opt/apache/lib/htdocs/htdig_db/db.words.db' > Did you run htmerge? > #################### > > Please help me > > Regards > > ___________ > Andreas Metz___________________ > slrv.dresden@t-online.de > >

------------------------------------ To unsubscribe from the htdig mailing list, send a message to htdig-unsubscribe@htdig.org You will receive a message to confirm this.



This archive was generated by hypermail 2b28 : Thu Aug 03 2000 - 02:33:29 PDT