Hi,
now I used tusc to monitor the system-calls htdig produces. Here is the
output (last block from opening the config-file):
open("/usr/lib/nls/loc/hpux32/locales.1/C", O_RDONLY, 0)
................................. ERR#2 ENOENT
brk(0x40026000)
.......................................................................... =
0
brk(0x40027000)
.......................................................................... =
0
brk(0x4002a000)
.......................................................................... =
0
brk(0x4002b000)
.......................................................................... =
0
access("/opt/htdig/conf/htdig.conf", R_OK)
............................................... = 0
open("/opt/htdig/conf/htdig.conf", O_RDONLY, 0666)
....................................... = 3
brk(0x4002c000)
.......................................................................... =
0
brk(0x4002e000)
.......................................................................... =
0
ioctl(3, TCGETA, 0x7fff2b60)
............................................................. ERR#25 ENOTTY
read(3, "# \n# E x a m p l e c o n f ".., 8192)
...................................... = 8192
brk(0x40031000)
.......................................................................... =
0
brk(0x40038000)
.......................................................................... =
0
brk(0x4003a000)
.......................................................................... =
0
brk(0x40047000)
.......................................................................... =
0
brk(0x40048000)
.......................................................................... =
0
read(3, "\n# m o d e : t e x t \n# ".., 8192)
...................................... = 239
read(3, 0x4002b0b8, 8192)
................................................................ = 0
read(3, 0x4002b0b8, 8192)
................................................................ = 0
close(3)
.................................................................................
= 0
brk(0x4004c000)
.......................................................................... =
0
brk(0x40051000)
.......................................................................... =
0
brk(0x40056000)
.......................................................................... =
0
brk(0x40061000)
.......................................................................... =
0
brk(0x4006c000)
.......................................................................... =
0
brk(0x40078000)
.......................................................................... =
0
brk(0x4007b000)
.......................................................................... =
0
brk(0x4007e000)
.......................................................................... =
0
brk(0x40080000)
.......................................................................... =
0
brk(0x40081000)
.......................................................................... =
0
brk(0x40083000)
.......................................................................... =
0
stat("/var/tmp", 0x7fffe860)
............................................................. = 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?
Kind regards
Markus
--
"Sie haben neue Mails!" - Die GMX Toolbar informiert Sie beim Surfen!
Jetzt aktivieren unter http://www.gmx.net/info
-------------------------------------------------------
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