According to Neil Carter:
> Thanks for the feedback!  It turns out that we had the start_url set
> wrong.  Since we were running this on the actual webserver, instead
> of giving it the proper url we changed it to 'http://hostname/' and
> everything worked fine after that.
> 
> However.....
> 
> We are using htdig to search through a directory of pdf files that
> reside on the webserver and are served as part of the website.
> We've downloaded and installed the Adobe acroread for AIX v506 and
> configured the htdig.conf to point to that application for pdf file
> parsing.  That seems to be working fine.  The one issue we seem to
> have is that many of the pdf files that should be scanned, have an
> entry in the db.docdb that reads "ERROR: Cannot find installation
> directory." instead of digging through the document.  It appears that
> the majority of the files are being scanned.
> 
> I've searched through the htdig.org website and found nothing that
> sounds like this.
> 
> Any ideas?

The error message above does not appear in any programs in the ht://Dig
suite, including the contributed external parser/converter scripts.
It also doesn't occur in xpdf 0.92, but I didn't have a chance to look
for it in other versions.  All I can suggest is you find out which PDF
files cause this error, and try running pdftotext and pdfinfo on them
directly to confirm whether this is the source of the error.  That it
doesn't occur consistently is rather odd - you'd think if the utility
worked for one PDF, it shouldn't have a problem finding its installation
directory for other PDFs.  Maybe it only needs it for certain operations,
required by some PDFs.  Which version of xpdf are you running.  Can you
confirm it as the source of the error?

(Please keep the followup on the list.)

> >>> Gilles Detillieux <[EMAIL PROTECTED]> 09.10.2002 4:59:06 PM >>>
> According to Neil Carter:
> > We're trying to configure and use ht://Dig 3.1.6 on AIX 4.3.3.
> > 
> > Everything so far as extraction and building/compiling seemed to go well.
> > 
> > We've edited the htdig.conf file and think we have initial settings made.
> > 
> > When we run ./rundig, we get errors back saying it can't open the wordlist and/or 
>docdb files.  Here is an example.....
> > 
> > " DB2 problem...: /usr/local/htdig/db/db.docdb: Error 0
> > DB2 problem...: /usr/local/htdig/db/db.docdb: file size not a multiple of the 
>pagesize
> > htdig: Unable to open/create document database '/usr/local/htdig/db/db.docdb'
> > 
> > htmerge: Unable to create temporary word file '/usr/local/htdig/db/db.wordlist.new'
> > 
> > DB2 problem...: /usr/local/htdig/db/db.docdb: Error 0
> > DB2 problem...: /usr/local/htdig/db/db.docdb: file size not a multiple of the 
>pagesize "
> > 
> > I've looked through the web site, I'm not finding anything relating to ./rundig 
>problems.
> > 
> > Must I be the root user to run these programs?
> 
> That depends.  Were you root when you installed them?  What about the
> permissions on /usr/local/htdig/db/?  Can you create files in there
> without root privileges?  Do you have adequate free space on that disk
> volume?  Do you have disk quotas which might limit how much stuff you
> can put on that volume using your unprivileged account?
> 
> It should be possible to run any of these programs without being root, but
> only if you have write access to the directory specified by database_dir
> in your config file (or at compile time if you don't define database_dir
> explicitly).
> 
> -- 
> 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)
> 


-- 
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: AMD - Your access to the experts
on Hammer Technology! Open Source & Linux Developers, register now
for the AMD Developer Symposium. Code: EX8664
http://www.developwithamd.com/developerlab
_______________________________________________
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

Reply via email to