|
|
[Perlfect-search] HELP: indexer.pl error
giorgos giorgos@perlfect.com
Wed, 09 Aug 2000 13:26:01 +0300
Gianni,
The other way to fix the error is to install the DB_File module from
CPAN. Perlfect Search and SDBM don't really like each other:)
With DB_File you will also get better performance and the ability to
index a much larger collection of documents.
Giorgos.
gianni@antsun.ogs.trieste.it wrote:
>
> Hi all,
>
> today I have downloaded perlfect-search 3.08, configured and installed it.
> When I run indexer.pl, I receive the following message:
> # ./indexer.pl
> Using SDBM_File...
> Loading 'no index' regular expressions:
> .
> .
> .
> Loading stopwords...Done.
> Starting crawler...
> .
> .
> .
> Crawler finished(117 files, 4233 terms)
>
> Calculating weight vectors:
> 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%
> |----|----|----|----|----|----|----|----|----|----|
> >
> Removing unused db files:
> /var/apache/cgi-bin/public/perlfect/search/data/tf...Cannot unlink
> /var/apache/cgi-bin/public/perlfect/search/data/tf: No such file or directory at
> ./indexer.pl line 87.
> /var/apache/cgi-bin/public/perlfect/search/data/df...Cannot unlink
> /var/apache/cgi-bin/public/perlfect/search/data/df: No such file or directory at
> ./indexer.pl line 94.
> Renaming newly created db files...
> File /var/apache/cgi-bin/public/perlfect/search/data/terms_tmp doesn't exist: No
> such file or directory at ./indexer.pl line 304.
> File /var/apache/cgi-bin/public/perlfect/search/data/docs_tmp doesn't exist: No
> such file or directory at ./indexer.pl line 304.
> File /var/apache/cgi-bin/public/perlfect/search/data/titles_tmp doesn't exist:
> No such file or directory at ./indexer.pl line 304.
> File /var/apache/cgi-bin/public/perlfect/search/data/desc_tmp doesn't exist: No
> such file or directory at ./indexer.pl line 304.
>
> All directoryes and subdirectoryes, where perlfect is installed,
> are setted to 755.
> The directory "DATA" contains:
> drwxr-xr-x 2 root other 512 Aug 9 09:20 .
> drwxr-xr-x 7 root other 512 Aug 9 09:19 ..
> -rwxr-xr-x 1 root other 4096 Aug 9 09:21 desc_tmp.dir
> -rwxr-xr-x 1 root other 131072 Aug 9 09:21 desc_tmp.pag
> -rwxr-xr-x 1 root other 4096 Aug 9 09:21 df.dir
> -rwxr-xr-x 1 root other 201728 Aug 9 09:21 df.pag
> -rwxr-xr-x 1 root other 4096 Aug 9 09:20 docs_tmp.dir
> -rwxr-xr-x 1 root other 4096 Aug 9 09:21 docs_tmp.pag
> -rwxr-xr-x 1 root other 4096 Aug 9 09:21 inv_index_tmp.dir
> -rwxr-xr-x 1 root other 1507328 Aug 9 09:21 inv_index_tmp.pag
> -rwxr-xr-x 1 root other 4096 Aug 9 09:21 terms_tmp.dir
> -rwxr-xr-x 1 root other 131072 Aug 9 09:21 terms_tmp.pag
> -rwxr-xr-x 1 root other 4096 Aug 9 09:21 tf.dir
> -rwxr-xr-x 1 root other 262144 Aug 9 09:21 tf.pag
> -rwxr-xr-x 1 root other 4096 Aug 9 09:21 titles_tmp.dir
> -rwxr-xr-x 1 root other 8192 Aug 9 09:21 titles_tmp.pag
>
> To this point if I make a search, I obtain the following answer:
> Software error:
>
> Cannot open /var/apache/cgi-bin/public/perlfect/search/data/inv_index: No such file or
> directory at /var/apache/cgi-bin/public/perlfect/search/search.pl line 53.
>
> PLEASE HELP ME.
>
> Thanks.
>
> Gianni Martini
> _______________________________________________
> perlfect-search mailing list
> perlfect-search@perlfect.com
>
|
|