rsyslog error 2207

(Fatal) error parsing config file.

Something is syntactically wrong with the mentioned config file, so that further interpretation is impossible. The error most often actually is on the quoted line, or at least very close in front of it. A syntax error can be caused by invalid spelling of RainerScript commands, e.g. “stopp” instead of the correct “stop”.

Sample Data:
rsyslogd: version 7.1.11, config validation run (level 3), master config /etc/rsyslog.conf
rsyslogd: error during parsing file /etc/rsyslog.conf, on or before line 51: syntax error [try http://www.rsyslog.com/e/2207 ]
rsyslogd: CONFIG ERROR: could not interpret master config file ‘/etc/rsyslog.conf’. [try http://www.rsyslog.com/e/2207 ]
rsyslogd: run failed with error -2207 (see rsyslog.h or try http://www.rsyslog.com/e/2207 to learn what that number means)

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

rsyslog error 2207

3 thoughts on “rsyslog error 2207

  1. Messages:

    Dec 7 06:25:02 rsyslogd: error during parsing file /etc/rsyslog.conf, on or before line 84: parameter \’socket\’ required but not specified – fix config [v8.32.0 try http://www.rsyslog.com/e/2207 ]

    Dec 7 06:25:02 rsyslogd: imuxsock: required parameter are missing [v8.32.0 try http://www.rsyslog.com/e/2211 ]

    Dec 7 06:25:02 rsyslogd: imuxsock: Acquired UNIX socket \’/run/systemd/journal/syslog\’ (fd 3) from systemd. [v8.32.0]

    The parameter \’socket\’ is documented as NOT being mandatory at https://www.rsyslog.com/doc/v8-stable/configuration/modules/imuxsock.html#socket.

  2. Hi guys,

    i have this problem with my rsyslog, can you help me ?

    rsyslogd: error during parsing file /etc/rsyslog.d/remote.conf, on or before line 15: parameter \’addmetadata\’ not known — typo in config file? [v8.1905.0 try https://www.rsyslog.com/e/2207 ]
    rsyslogd: error during parsing file /etc/rsyslog.d/remote.conf, on or before line 15: parameter \’freshStartTail\’ not known — typo in config file? [v8.1905.0 try https://www.rsyslog.com/e/2207 ]
    rsyslogd: error during parsing file /etc/rsyslog.d/remote.conf, on or before line 15: parameter \’severity\’ not known — typo in config file? [v8.1905.0 try https://www.rsyslog.com/e/2207 ]
    rsyslogd: error during parsing file /etc/rsyslog.d/remote.conf, on or before line 15: parameter \’ruleset\’ not known — typo in config file? [v8.1905.0 try https://www.rsyslog.com/e/2207 ]
    rsyslogd: error during parsing file /etc/rsyslog.d/remote.conf, on or before line 15: parameter \’tag\’ not known — typo in config file? [v8.1905.0 try https://www.rsyslog.com/e/2207 ]
    rsyslogd: error during parsing file /etc/rsyslog.d/remote.conf, on or before line 15: parameter \’file\’ not known — typo in config file? [v8.1905.0 try https://www.rsyslog.com/e/2207 ]
    rsyslogd: module name \’omrelp\’ is unknown [v8.1905.0 try https://www.rsyslog.com/e/2209 ]
    rsyslogd: error during parsing file /etc/rsyslog.d/remote.conf, on or before line 42: errors occured in file \’/etc/rsyslog.d/remote.conf\’ around line 42 [v8.1905.0 try https://www.rsyslog.com/e/2207 ]
    rsyslogd: module name \’omrelp\’ is unknown [v8.1905.0 try https://www.rsyslog.com/e/2209 ]
    rsyslogd: error during parsing file /etc/rsyslog.d/remote.conf, on or before line 66: errors occured in file \’/etc/rsyslog.d/remote.conf\’ around line 66 [v8.1905.0 try https://www.rsyslog.com/e/2207 ]
    rsyslogd: $WorkDirectory: /etc/rsyslog.d/workdir can not be accessed, probably does not exist – directive ignored [v8.1905.0 try https://www.rsyslog.com/e/2181 ]

    1. You need to share the /etc/rsyslog.d/remote.conf.
      The error are before the line 15.
      I don\’t know what for an error it is because i never had this error but if you share the file we can check better the problem

Leave a Reply

Your email address will not be published. Required fields are marked *

Scroll to top