> Hi,
> 
> now I used tusc to monitor the system-calls htdig produces. Here is the
> output (last block from opening the config-file):


> ............................................................. = 0
> access("/opt/htdig/db/db.docdb", F_OK)
> ................................................... ERR#2 ENOENT
> open("/opt/htdig/db/db.docdb", O_RDWR|O_CREAT|O_EXCL, 0664)
> .............................. = 3
> fcntl(3, F_SETFD, 1)
> ..................................................................... = 0
> read(3, 0x7fffeed0, 512)
> ................................................................. = 0
> close(3)
> .............................................................................
....
> = 0
> brk(0x4008a000)
> .......................................................................... =
> 0
> msem_init(0x40082420, MSEM_UNLOCKED)
> ..................................................... ERR#22 EINVAL
> munmap(0x40082420, 28672)
> ................................................................ ERR#22
> EINVAL
> brk(0x4008c000)
> .......................................................................... =
> 0
> ioctl(1, TCGETA, 0x7ffff000)
> ............................................................. = 0
> htdig: Unable to open/create document database '/opt/htdig/db/db.docdb'
> write(1, "h t d i g :   U n a b l e   t o ".., 72)
> ....................................... = 72
> 
> write(1, "\n", 1)
> ........................................................................ = 1
> exit(1)
> .............................................................................
.....
> WIFEXITED(1)
> 
> 
> 
> All *.db files were removed, a clean start. I can't see any special about
> this here.
> 
> Any ideas?


I take it that it created a zero-length file again and that tusc is a debugger
for HP-Unix.  The returns here show errors on the msem_init and munmap system
calls.  I suggest looking those up and trying to determine what those calls do.

Douglas

========
Douglas Kline
[EMAIL PROTECTED]




-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
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