rsyslog error 2087

A provided value is invalid for the curret mode.

This problem can happen when the network stream layer is configured. The configuration settings depend on the lower-level driver (e.g. plain tcp, GnuTLS) being used as well as the mode it is set to. For example, certificate-related config commands issued to the plain tcp driver (ptcp) are rejected. Similarly, some authentication settings can not be made when the GnuTLS dirver (gtls) is in anonymous mode.

The cause often is an invalid sequence of config statements inside rsyslog.conf. Remember that order of statements is vitally important. For example, one needs to set the driver first, before driver-specific commands can be issued.

This is a stub entry: If you have questions please post a comment or visit the github issue tracker.

rsyslog error 2085

No TLS certificate available where one was expected.

An operation required a TLS certificate, but none was provided/configured.

Make sure you check the sequence of configuration statements. It may be the case that the certificate is provided BELOW the point where it is required.

This is a stub entry: If you have questions please post a comment or visit the github issue tracker.

rsyslog error 2084

Generic TLS certificate error

There is some issue with a TLS certificate being used, but the underlaying library did not return a more precise error code. It may be useful to enable debug logging. In any case, it should be ensured that the certificate has been generated in the proper sequence as shown in the (long) TLS guide inside the doc set.

This is a stub entry: If you have questions please post a comment or visit the github issue tracker.

rsyslog error 2081

Invalid (network stream) driver mode

A driver mode was set that the current network stream driver does not support. For example, a TLS-encryption mode may have been set for the plain tcp (non-TLS) stream driver.

Note that ordering of statements is important: if e.g. you select TLS driver mode on line 1, but select the TLS driver on line 2, that will fail. If you swap lines one and two (thus specifying the driver before the mode), the sequence will work.

This is a stub entry: If you have questions please post a comment or visit the github issue tracker.

rsyslog error 2080

Max nbr of listeners reached, can not create more.

This error code usually happens with imtcp. This plugin has a maximum number of listeners (server ports) that can be used. That limit is set at build time. If you experience this problem, there are two solutions: if you run under linux and do not need TLS, you can use imptcp instead, which is faster and does not have this limitation. If you need to stick with imtcp, you need to do a custom build and increase the max number of listeners #define.

This is a stub entry: If you have questions please post a comment or visit the github issue tracker.

rsyslog error 2079

Maximum number of sessions reached.

The maximum number of sessions has been reached. This can happen, for example, with imtcp, but also with other modules that have a session limit. Usually, there should be some specific information in the error message that points you to the component experiencing the problem. Check its documentation for how to increase the maximum number of sessions.

This is a stub entry: If you have questions please post a comment or visit the github issue tracker.

rsyslog error 2078

Error adding (TLS) certificate

This message occurs with TLS netstream driver. For TLS, certificates (.pem files) are needed to provide security credentials. This error is issued if there is a problem with these files. The message contains a more precise error description. That error text is taken directly from the underlying TLS library.

A common cause is that the file can not be found or accessed (permissions!). In that case, a rsyslogd-2040 error will follow.

This is a stub entry: If you have questions please post a comment or visit the github issue tracker.

Scroll to top