According to Mark Maxey: > I'm currently trying to execute htsearch from the > command line and push the results into a variable for > processing. > > this is the perl code i'm using to grab the data > > my $search_results = > `/home/mmaxey/www/cgi-bin/htsearch -v -v -v -c > /etc/map.conf > >\?config=map\&restrict=\&exclude=\&method=or\&format=builtin-long\&sort=score\&words=africa`; > > this gives me the following 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 > Did you run htmerge? > > the database files are world readable. > > here is what the config file looks like; > > database_dir: /home/mmaxey/www/data ...
If you're running this perl script from your web server, htsearch may not be using the config file you think it is. See http://www.htdig.org/FAQ.html#q5.30 If that's not the source of the problem, then try running the perl script from the command line, in which case htsearch should actually report the name of the database file it's trying to open. Have a look and make sure that file is there and is readable. -- 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: Dice - The leading online job board for high-tech professionals. Search and apply for tech jobs today! http://seeker.dice.com/seeker.epl?rel_code=31 _______________________________________________ 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

