Displaying 4 results from an estimated 4 matches for "pr_geterror".
2018 Jun 19
2
upsmon Can not initialize SSL context (letsencrypt) #563
those mails list are from last century but i give it a try !
created : https://github.com/networkupstools/nut/issues/563
Hello all,
Trying to run an EATON 850pro via USB on a Debian Stretch Stable.
I have letsencrypt certificate installed and working.
When trying to manage the EATON device, i got:
upsmon Can not initialize SSL context
When 850pro is connected via USB, i can:
lsusb
Bus 009
2018 Jun 25
0
upsmon Can not initialize SSL context (letsencrypt) #563
....
It's only a comment, but, this message comes from NUT program netssl.c
status = NSS_NoDB_Init(NULL);
if (status != SECSuccess) {
upslogx(LOG_ERR, "Can not initialize SSL context");
nss_error("upscli_init / NSS_[NoDB]_Init");
return;
}
which does not call PR_GetError to retrieve the error code when NSS_NoDB_Init
fails. To find out more, you could add the PR_GetError call, complete the error
message, recompile, re-install and try again.
Roger
2018 Jun 27
2
upsmon Can not initialize SSL context (letsencrypt) #563
...etssl.c
status = NSS_NoDB_Init(NULL);
if (status != SECSuccess) {
upslogx(LOG_ERR, "Can not initialize SSL context");
nss_error("upscli_init / NSS_[NoDB]_Init");
return;
}
which does not call PR_GetError to retrieve the error code when NSS_NoDB_Init
fails. To find out more, you could add the PR_GetError call, complete the error
message, recompile, re-install and try again.
Roger
_______________________________________________
Nut-upsuser mailing list
Nut-upsuser at alioth-lists.debian.net
https:...
2015 Feb 13
1
Error installing Nut 2.7.2 on RedHat 6.6
...ifier is reported only once
upsclient.c:195: error: for each function it appears in.)
upsclient.c:195: error: expected ';' before 'length'
upsclient.c:196: error: 'length' undeclared (first use in this function)
upsclient.c:197: warning: implicit declaration of function 'PR_GetError'
upsclient.c: At top level:
upsclient.c:203: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'AuthCertificate'
upsclient.c:217: error: expected '=', ',', ';', 'asm' or '__attribute__'
before &...