Hello Tony, htdig,
Thanks for the email..
I did a /usr/bin/rundig -vvv and saved the output.
Its here http://quatsch.no-ip.com/temp/rundig.txt (its 9MB)
I think everything has worked? It makes the database files.
I have edited my /usr/bin/rundig...
#!/bin/sh
#
# rundig
#
# $Id: rundig,v 1.7.2.1 2001/06/07 19:33:56 grdetil Exp $
#
# This is a sample script to create a search database for ht://Dig.
#
# default DBDIR=/var/lib/htdig
DBDIR=`grep ^database_dir /etc/htdig/htdig.conf | awk '{ print $2 }'`
COMMONDIR=/etc/htdig
BINDIR=/usr/bin
# To help debug problems, try running rundig -vvv
# This will add lots of debugging output to all of the programs
stats= opts= alt= init=
while [ "$#" -gt 0 ]
do
case "$1" in
-a) alt="$1" ;;
-s) stats="$1" ;;
-i) initial="$1" ;;
-c) shift
conffile="$1"
opts="$opts -c $conffile"
;;
*) opts="$opts $1" ;; # e.g. -v
esac
shift
done
#
# Set the TMPDIR variable if you want htmerge to put files in a location
# other than the default. This is important if you do not have enough
# disk space for the big sort that htmerge runs. Also, be aware that
# on some systems, /tmp is a memory mapped filesystem that takes away
# from virtual memory.
#
TMPDIR=${TMPDIR:-$DBDIR}
export TMPDIR
$BINDIR/htdig $inital $opts $stats $alt
LC_COLLATE=C $BINDIR/htmerge $opts $stats $alt
case "$alt" in
-a)
( cd $DBDIR && test -f db.docdb.work &&
for f in *.work
do
mv -f $f `basename $f .work`
done ) ;;
esac
# If you're low on disk space and you don't mind completely reindexing
# every time you run this script, you can always
# rm $DBDIR/db.wordlist
# OR
# If you'd rather run update digs all the time with the minimal databases
# Keep only the following files (and don't call htdig with -i):
# db.docdb, db.docdb.work, db.docs.index, db.wordlist.work, db.words.db
$BINDIR/htnotify $opts
# If you want to use the soundex and (or) metaphone fuzzy matchings,
# Uncomment the following line
# $BINDIR/htfuzzy $opts soundex metaphone
#
# Create the endings and synonym databases if they don't exist
# or if they're older than the files they're generated from.
# These databases are semi-static, so even if pages change,
# these databases will not need to be rebuilt.
#
if [ "`ls -t $COMMONDIR/english.0 $COMMONDIR/word2root.db 2>/dev/null |
sed 1q`"
= \
"$COMMONDIR/english.0" ]
then
$BINDIR/htfuzzy $opts endings
fi
if [ "`ls -t $COMMONDIR/synonyms $COMMONDIR/synonyms.db 2>/dev/null |
sed 1q`" =
\
"$COMMONDIR/synonyms" ]
then
$BINDIR/htfuzzy $opts synonyms
fi
Many Thanks,
Steven Carr.
On 27/01/2008 22:19, Tony Crockford wrote:
>
> On 27 Jan 2008, at 21:14, Steven Carr wrote:
>
>> Hello htdig,
>> I cant get any search results from htsearch, please can you help.
>>
>>
>>
>> Im not sure what to try next, Any help would be greatly appreciated.
>> Many Thanks,
>
>
> have you tried a more verbose rundig?
>
> it will tell you what it finds (or not)
>
> e.g rundig -vv
>
>
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
ht://Dig general mailing list: <[email protected]>
ht://Dig FAQ: http://htdig.sourceforge.net/FAQ.html
List information (subscribe/unsubscribe, etc.)
https://lists.sourceforge.net/lists/listinfo/htdig-general