There seems to be something wrong with the actual error message. The debug
log shows this as a cause:

4682.996819547:b7502b70: source file nsd_gtls.c requested reference for
module 'lmnsd_ptcp', reference count now 1
4682.998211411:b7502b70: GTLS CA file: '/etc/rsyslog/loggly_full.crt'
4682.998255141:b7502b70: unexpected GnuTLS error -64 in nsd_gtls.c:578: Error
while reading file.
4682.998276984:b7502b70: Called LogError, msg: could not load module
'/usr/lib/rsyslog/lmnsd_gtls.so', rsyslog error -2078

Unfortunately, GnuTLS isn't very specific in its error messages either. The
-64 GnuTLS error means that there is some file format error for the
certificate. But there is no way (I know) to obtain specifics about what is
wrong... :(

Rainer

> -----Original Message-----
> From: [email protected] [mailto:rsyslog-
> [email protected]] On Behalf Of Michael Halligan
> Sent: Saturday, April 30, 2011 12:20 AM
> To: [email protected]
> Subject: [rsyslog] Rsyslog-gnutls + ubuntu fails for peer-checking tls
> connections with Called LogError, msg: could not load module
> '/usr/lib/rsyslog/lmnsd_gtls.so'
> 
> Greetings!
> 
> I'm trying to setup rsyslog to log to Loggly with peer certificate
> checking
> as desribed in http://wiki.loggly.com/rsysloginstallation. I'm running
> into
> a problem which doesn't appear to be a configuration problem, but from
> googling, appears to be fairly common.
> 
> I've been able to reproduce this on physical hardware running Ubuntu
> 10.04.2
> (32-bit, rsyslog-4.2.0-2 and rsyslog-gnutls packages installed), and on
> two
> different AMIs, both with the rsyslog-gnutls-5.6.3 packages, (one AMI
> is
> ubuntu 10.04.1 LTS) with the other AMI is Ubuntu 10.10. The error I see
> generated is rsyslogd-2068: could not load module
> '/usr/lib/rsyslog/lmnsd_gtls.so', rsyslog error -2078. The file exists,
> this
> isn't a filesystem issue.
> 
> My debug log is at http://halligan.org/logfile.
> 
> Michael
> _______________________________________________
> rsyslog mailing list
> http://lists.adiscon.net/mailman/listinfo/rsyslog
> http://www.rsyslog.com
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com

Reply via email to