On Wed, 8 Nov 2006, Maurizio wrote:

> using standard rpms on RHEL4 give this error when executing htdig:
> 
> # htdig -vvv -i -c /tmp/test.conf
> htdig: Unable to open/create document database '/tmp/db.docdb'
> 
> # ls -l /tmp/db.docdb
> -rw-r--r--  1 test test         0 Nov  8 11:47 db.docdb
> 
> I have the proper permissions to read/write under /tmp
> The /tmp dir has a lot of unused space
> 
> I think the problem may be related to the version of Berkeley DB used, 
> i.e. version 4.2.52. Can htdig manage db4 or db2, only?

I am not 100% certain, but I don't think it matters. The db2 stuff is
integrated into the htdig 3.1.6 package. Unless the packager of the RPMs
modified the code to rely on an external db2 library, then the version
of Berkeley DB installed on the RHEL machine is not an issue.

I believe Debian did in fact modify their ht://Dig 3.1.6 package so that 
it uses their own libdb2, which would explain why you see that 
dependency with ldd. I am not aware of anything similar being done with 
RHEL RPMs.

Have you tried simply deleting the db.docdb file and rerunning htdig? 
The fact that it has a zero size would seem to imply a problem with the 
file. That alone might be enough to trigger the error message that you 
are seeing.

Jim

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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

Reply via email to