here are debug files. http://pastebin.com/Tn4ezbgG http://pastebin.com/6DBKEg65 what insights can I get from it. Now I compiled from source but there is nothing in /etc/init.d/. "service rsyslog restart" is also not running. I have to kill process first and then start it again by "rsyslogd". I oftenface any issue that process is already running, how can I take over this issue means restart the running process.
On Thu, Jan 29, 2015 at 5:31 PM, Muhammad Asif <[email protected]> wrote: > Thanks Sir, Now I have compiled from source and using it and facing same > "TLS handshake failed" problem. How can i debug it as you was saying. > Should I debug it by using the following command. > > rsyslogd -dn >rsyslog.stdout.log 2>rsyslog.stderr.log > > > > > > On Thu, Jan 29, 2015 at 4:11 PM, Rainer Gerhards <[email protected] > > wrote: > >> as I said, that's too old. you need a daily build. >> >> 2015-01-29 12:10 GMT+01:00 Muhammad Asif <[email protected]>: >> >> > rsyslogd 8.7.0, compiled with: >> > FEATURE_REGEXP: Yes >> > GSSAPI Kerberos 5 support: No >> > FEATURE_DEBUG (debug build, slow code): No >> > 32bit Atomic operations supported: Yes >> > 64bit Atomic operations supported: Yes >> > memory allocator: jemalloc >> > Runtime Instrumentation (slow code): No >> > uuid support: Yes >> > Number of Bits in RainerScript integers: 64 >> > >> > >> > On Thu, Jan 29, 2015 at 4:09 PM, Rainer Gerhards < >> [email protected] >> > > >> > wrote: >> > >> > > which version? >> > > >> > > 2015-01-29 12:05 GMT+01:00 Muhammad Asif <[email protected]>: >> > > >> > > > We are adding it like this >> > > > global ( >> > > > debug.gnutls = "10" >> > > > ) >> > > > but we are facing following error. >> > > > >> > > > rsyslogd: error during parsing file /etc/rsyslog.conf, on or before >> > line >> > > > 20: parameter 'debug.gnutls' not known -- typo in config file? [try >> > > > http://www.rsyslog.com/e/2207 ] >> > > > I have also installed gnutls-bin and rsyslog-gnutls >> > > > >> > > > On Thu, Jan 29, 2015 at 3:59 PM, Rainer Gerhards < >> > > [email protected] >> > > > > >> > > > wrote: >> > > > >> > > > > 2015-01-29 11:57 GMT+01:00 Muhammad Asif <[email protected]>: >> > > > > >> > > > > > Thanks. >> > > > > > I have to add it in /etc/rsyslog.conf file? >> > > > > >> > > > > >> > > > > yes >> > > > > >> > > > > >> > > > > > or I have to add it in >> > > > > > configure script and then build it from source. >> > > > > > Is there any way if I want to install rsyslog v8.6 from your >> > > > repository. >> > > > > > >> > > > > >> > > > > it's new and in no existing release. If you use Ubuntu, you can >> use a >> > > > daily >> > > > > package, else you need to build from source (or wait until Feb >> 24th >> > for >> > > > > 8.8.0). >> > > > > >> > > > > Rainer >> > > > > >> > > > > > >> > > > > > On Thu, Jan 29, 2015 at 3:49 PM, Rainer Gerhards < >> > > > > [email protected] >> > > > > > > >> > > > > > wrote: >> > > > > > >> > > > > > > sorry: >> > > > > > > >> > > > > > > global(debug.gnutls="10") >> > > > > > > >> > > > > > > 2015-01-29 11:48 GMT+01:00 Rainer Gerhards < >> > > [email protected] >> > > > >: >> > > > > > > >> > > > > > > > global(debug.gnutls="on") >> > > > > > > > >> > > > > > > > 2015-01-29 11:47 GMT+01:00 Muhammad Asif < >> [email protected] >> > >: >> > > > > > > > >> > > > > > > >> Where to enable this debug.gnutls level. >> > > > > > > >> >> > > > > > > >> On Thu, Jan 29, 2015 at 11:59 AM, Rainer Gerhards < >> > > > > > > >> [email protected]> >> > > > > > > >> wrote: >> > > > > > > >> >> > > > > > > >> > I don't know about the environment variable, but we have >> > just >> > > > > added >> > > > > > a >> > > > > > > >> > "debug.gnutls" global parameter, which you can use to set >> > the >> > > > > GnuTLS >> > > > > > > >> debug >> > > > > > > >> > level (0-none to 10-extremely verbose as of GnuTLS doc). >> If >> > > set >> > > > to >> > > > > > > >> somthing >> > > > > > > >> > greater than zero, it will forward GnuTLS debug info to >> > > > rsyslog's >> > > > > > > debug >> > > > > > > >> > log. >> > > > > > > >> > >> > > > > > > >> > I think it is already available via the daily builds as >> > > tarball >> > > > > and >> > > > > > > >> Ubuntu >> > > > > > > >> > package. >> > > > > > > >> > http://www.rsyslog.com/downloads/download-daily-build/ >> > > > > > > >> > >> > > > > > > >> > HTH >> > > > > > > >> > Rainer >> > > > > > > >> > >> > > > > > > >> > 2015-01-29 0:49 GMT+01:00 kimleanne <[email protected] >> >: >> > > > > > > >> > >> > > > > > > >> > > I'm a bit confused. Nikos mentioned that adding the >> > > > environment >> > > > > > > >> variable >> > > > > > > >> > > GNUTLS_DEBUG_LEVEL=9 would provide more output (at >> least >> > the >> > > > > > errno). >> > > > > > > >> > > >> > > > > > > >> > > >> > > > > > > >> > > On 29/01/15 12:36, David Lang wrote: >> > > > > > > >> > > > unfortunantly rsyslog doesn't have a good way to see >> the >> > > > > details >> > > > > > > of >> > > > > > > >> > > > gnutls errors. If you take a look at >> > > > > > > >> > > > https://github.com/rsyslog/rsyslog/issues/219 you >> will >> > > see >> > > > > how >> > > > > > to >> > > > > > > >> > > > enable the GnuTLS debuggin, but it currently requires >> > > > editing >> > > > > > the >> > > > > > > >> > > > source and compiling it yourself. >> > > > > > > >> > > > >> > > > > > > >> > > > David Lang >> > > > > > > >> > > > >> > > > > > > >> > > > >> > > > > > > >> > > > On Wed, 28 Jan 2015, Muhammad Asif wrote: >> > > > > > > >> > > > >> > > > > > > >> > > >> Date: Wed, 28 Jan 2015 17:27:04 +0500 >> > > > > > > >> > > >> From: Muhammad Asif <[email protected]> >> > > > > > > >> > > >> Reply-To: rsyslog-users <[email protected]> >> > > > > > > >> > > >> To: rsyslog-users <[email protected]> >> > > > > > > >> > > >> Subject: [rsyslog] TLS Handshake Failed issue >> > > > > > > >> > > >> >> > > > > > > >> > > >> Hi! >> > > > > > > >> > > >> >> > > > > > > >> > > >> I am working on Ubuntu 14.4. I have created >> > certificates >> > > > for >> > > > > > > server >> > > > > > > >> > and >> > > > > > > >> > > >> clients many times but the following error is not >> > easing >> > > my >> > > > > > life. >> > > > > > > >> > Please >> > > > > > > >> > > >> help me what problem can be. >> > > > > > > >> > > >> >> > > > > > > >> > > >> Jan 27 21:35:06 demo rsyslogd-2353: imrelp[20514]: >> > error >> > > > 'TLS >> > > > > > > >> > handshake >> > > > > > > >> > > >> failed [gnutls error -15: An unexpected TLS packet >> was >> > > > > > > received.]', >> > > > > > > >> > > >> object >> > > > > > > >> > > >> 'lstn 20514: conn to clt IP/FDQN' - input may not >> work >> > as >> > > > > > > intended >> > > > > > > >> > [try >> > > > > > > >> > > >> http://www.rsyslog.com/e/2353 ] >> > > > > > > >> > > >> >> > > > > > > >> > > >> >> > > > > > > >> > > >> >> > > > > > > >> > > >> Regards >> > > > > > > >> > > >> Asif >> > > > > > > >> > > >> _______________________________________________ >> > > > > > > >> > > >> rsyslog mailing list >> > > > > > > >> > > >> http://lists.adiscon.net/mailman/listinfo/rsyslog >> > > > > > > >> > > >> http://www.rsyslog.com/professional-services/ >> > > > > > > >> > > >> What's up with rsyslog? Follow >> > > > https://twitter.com/rgerhards >> > > > > > > >> > > >> NOTE WELL: This is a PUBLIC mailing list, posts are >> > > > ARCHIVED >> > > > > > by a >> > > > > > > >> > > >> myriad of sites beyond our control. PLEASE >> UNSUBSCRIBE >> > > and >> > > > DO >> > > > > > NOT >> > > > > > > >> > > >> POST if you DON'T LIKE THAT. >> > > > > > > >> > > >> >> > > > > > > >> > > > _______________________________________________ >> > > > > > > >> > > > rsyslog mailing list >> > > > > > > >> > > > http://lists.adiscon.net/mailman/listinfo/rsyslog >> > > > > > > >> > > > http://www.rsyslog.com/professional-services/ >> > > > > > > >> > > > What's up with rsyslog? Follow >> > > > https://twitter.com/rgerhards >> > > > > > > >> > > > NOTE WELL: This is a PUBLIC mailing list, posts are >> > > ARCHIVED >> > > > > by >> > > > > > a >> > > > > > > >> > > > myriad of sites beyond our control. PLEASE >> UNSUBSCRIBE >> > and >> > > > DO >> > > > > > NOT >> > > > > > > >> POST >> > > > > > > >> > > > if you DON'T LIKE THAT. >> > > > > > > >> > > >> > > > > > > >> > > _______________________________________________ >> > > > > > > >> > > rsyslog mailing list >> > > > > > > >> > > http://lists.adiscon.net/mailman/listinfo/rsyslog >> > > > > > > >> > > http://www.rsyslog.com/professional-services/ >> > > > > > > >> > > What's up with rsyslog? Follow >> > > https://twitter.com/rgerhards >> > > > > > > >> > > NOTE WELL: This is a PUBLIC mailing list, posts are >> > ARCHIVED >> > > > by >> > > > > a >> > > > > > > >> myriad >> > > > > > > >> > > of sites beyond our control. PLEASE UNSUBSCRIBE and DO >> NOT >> > > > POST >> > > > > if >> > > > > > > you >> > > > > > > >> > > DON'T LIKE THAT. >> > > > > > > >> > > >> > > > > > > >> > _______________________________________________ >> > > > > > > >> > rsyslog mailing list >> > > > > > > >> > http://lists.adiscon.net/mailman/listinfo/rsyslog >> > > > > > > >> > http://www.rsyslog.com/professional-services/ >> > > > > > > >> > What's up with rsyslog? Follow >> > https://twitter.com/rgerhards >> > > > > > > >> > NOTE WELL: This is a PUBLIC mailing list, posts are >> ARCHIVED >> > > by >> > > > a >> > > > > > > myriad >> > > > > > > >> > of sites beyond our control. PLEASE UNSUBSCRIBE and DO >> NOT >> > > POST >> > > > if >> > > > > > you >> > > > > > > >> > DON'T LIKE THAT. >> > > > > > > >> > >> > > > > > > >> _______________________________________________ >> > > > > > > >> rsyslog mailing list >> > > > > > > >> http://lists.adiscon.net/mailman/listinfo/rsyslog >> > > > > > > >> http://www.rsyslog.com/professional-services/ >> > > > > > > >> What's up with rsyslog? Follow >> https://twitter.com/rgerhards >> > > > > > > >> NOTE WELL: This is a PUBLIC mailing list, posts are >> ARCHIVED >> > by >> > > a >> > > > > > myriad >> > > > > > > >> of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT >> > POST >> > > if >> > > > > you >> > > > > > > >> DON'T LIKE THAT. >> > > > > > > >> >> > > > > > > > >> > > > > > > > >> > > > > > > _______________________________________________ >> > > > > > > rsyslog mailing list >> > > > > > > http://lists.adiscon.net/mailman/listinfo/rsyslog >> > > > > > > http://www.rsyslog.com/professional-services/ >> > > > > > > What's up with rsyslog? Follow https://twitter.com/rgerhards >> > > > > > > NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED >> by a >> > > > > myriad >> > > > > > > of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT >> POST >> > if >> > > > you >> > > > > > > DON'T LIKE THAT. >> > > > > > > >> > > > > > _______________________________________________ >> > > > > > rsyslog mailing list >> > > > > > http://lists.adiscon.net/mailman/listinfo/rsyslog >> > > > > > http://www.rsyslog.com/professional-services/ >> > > > > > What's up with rsyslog? Follow https://twitter.com/rgerhards >> > > > > > NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by >> a >> > > > myriad >> > > > > > of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST >> if >> > > you >> > > > > > DON'T LIKE THAT. >> > > > > > >> > > > > _______________________________________________ >> > > > > rsyslog mailing list >> > > > > http://lists.adiscon.net/mailman/listinfo/rsyslog >> > > > > http://www.rsyslog.com/professional-services/ >> > > > > What's up with rsyslog? Follow https://twitter.com/rgerhards >> > > > > NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a >> > > myriad >> > > > > of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if >> > you >> > > > > DON'T LIKE THAT. >> > > > > >> > > > _______________________________________________ >> > > > rsyslog mailing list >> > > > http://lists.adiscon.net/mailman/listinfo/rsyslog >> > > > http://www.rsyslog.com/professional-services/ >> > > > What's up with rsyslog? Follow https://twitter.com/rgerhards >> > > > NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a >> > myriad >> > > > of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if >> you >> > > > DON'T LIKE THAT. >> > > > >> > > _______________________________________________ >> > > rsyslog mailing list >> > > http://lists.adiscon.net/mailman/listinfo/rsyslog >> > > http://www.rsyslog.com/professional-services/ >> > > What's up with rsyslog? Follow https://twitter.com/rgerhards >> > > NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a >> myriad >> > > of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you >> > > DON'T LIKE THAT. >> > > >> > _______________________________________________ >> > rsyslog mailing list >> > http://lists.adiscon.net/mailman/listinfo/rsyslog >> > http://www.rsyslog.com/professional-services/ >> > What's up with rsyslog? Follow https://twitter.com/rgerhards >> > NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad >> > of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you >> > DON'T LIKE THAT. >> > >> _______________________________________________ >> rsyslog mailing list >> http://lists.adiscon.net/mailman/listinfo/rsyslog >> http://www.rsyslog.com/professional-services/ >> What's up with rsyslog? Follow https://twitter.com/rgerhards >> NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad >> of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you >> DON'T LIKE THAT. >> > > _______________________________________________ rsyslog mailing list http://lists.adiscon.net/mailman/listinfo/rsyslog http://www.rsyslog.com/professional-services/ What's up with rsyslog? Follow https://twitter.com/rgerhards NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE THAT.

