We met some error on calling the lib function str2val, it does not return OK and we have found the following log:
“confd_errno”:19,“confd_errno_str”:“external error”,“confd_lasterror”:110
Can anyone help me understand the meaning of it? the external error was returned from us but the lasterr is sort of weird.
Depends on the application with a callback that return an external error. The lasterr string is set using for example confd_trans_seterr(). For details, see the confd_lib_lib(3) man page, section EXTENDED ERROR REPORTING.
It all points to an error caused by the application. The best logs are the application libconfd log at log level “CONFD_TRACE” or “CONFD_PROTO_TRACE” and the developer log at log level “trace”.
For more details, search for CONFD_TRACE and developerLogLevel in the ConfD UG.