Perlfect Solutions
 

AW: [Perlfect-search] HELP: indexer.pl error

Mitterer Alex mitterer.alexander@steinbacher.at
Wed, 9 Aug 2000 10:14:53 +0200
I had the same error. Just rename the files as follows:

desc_tmp.dir to desc.dir .......

always remove _tmp than it will work!

brg
alex mitterer

> -----Urspr�ngliche Nachricht-----
> Von: perlfect-search-admin@perlfect.com
> [mailto:perlfect-search-admin@perlfect.com]Im Auftrag von
> gianni@antsun.ogs.trieste.it
> Gesendet: Mittwoch, 09. August 2000 13:09
> An: perlfect-search@perlfect.com
> Betreff: [Perlfect-search] HELP: indexer.pl error
>
>
> 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
> 
>