rsyslog error 2142

Variable not found.

A required variable was not found. This is currently used to flag two conditions:

either an RainerScript scripting engine variable was not found,

or a property name (e.g. when used inside a template) was not found.

One reason for this error may be a forgotten filter.

For example, if the config file contains only

:ommysql:…(more params)

This obviously is meant as an action that shall be executed in all cases. However, in rsyslog an action must be preceded by the filter telling the engine when to execute the action. Thus, rsyslog interprets the first column as a property-based filter, and with such a filter, “ommysql” would be the message property name on which the filter operates. Obviously, there exist no “ommysql” message property, and so error 2142 is generated by the configuration parser.

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

rsyslog error 2124

Non-fatal config error

There was at least one non-fatal configuration error. A non-fatal config error is an error that disables some functionality but does not prevent an rsyslogd startup. This is a subsequent error, the original error cause should have been given in an error message prior to the 2124 error.

Scroll to top