[Opendnssec-user] ods-signerd: adapter failed (Unable to open file)
Berry A.W. van Halderen
berry at nlnetlabs.nl
Fri Jun 1 08:11:42 UTC 2018
On 06/01/2018 05:04 AM, Randy Bush wrote:
> is it looking for system (math etc) libraries in /usr/local?
>
> 82235 ods-signerd NAMI "/usr/local/lib/libz.so.6"
> 82235 ods-signerd RET access -1 errno 2 No such file or directory
> 82235 ods-signerd CALL openat(AT_FDCWD,0x8006732a9,0x100000<O_RDONLY|O_CLOEXEC>)
> 82235 ods-signerd NAMI "/var/run/ld-elf.so.hints"
> 82235 ods-signerd RET openat 3
....
> 82235 ods-signerd GIO fd 3 read 121 bytes
> "/lib:/usr/lib:/usr/local/lib:/usr/lib/compat:/usr/local/lib/mysql:/usr\
> /local/lib/perl5/5.26/mach/CORE:/usr/local/lib/pth\0"
....
> 82235 ods-signerd NAMI "/usr/local/lib/libm.so.5"
> 82235 ods-signerd RET access -1 errno 2 No such file or directory
> 82235 ods-signerd CALL access(0x80067e800,0<F_OK>)
Apart from the PKCS#11 library, explicitly mentioned in the conf.xml,
the signer does not load the shared libraries themselves. I think
this is just the operating system (or rather ld.so) hunting for
the shared libraries like libm. It is normal that it will get a lot
of No such file or directory in there, before it finds the right one.
If any of them would fail, any wouldn't even try to start. You
can use the program ldd to which which shared library is actually
used (if not dynamically loaded).
\Berry
More information about the Opendnssec-user
mailing list