rsyslog service failed to start - exited with code 127

Solution Verified - Updated -

Issue

  • rsyslog service failed to start, below error is observed from journal log.
Oct 18 03:19:55 host0 systemd[1]: rsyslog.service: Main process exited, code=exited, status=127/n/a
Oct 18 03:19:55 host0 systemd[1]: rsyslog.service: Failed with result 'exit-code'.
Oct 18 03:19:55 host0 systemd[1]: rsyslog.service: Service RestartSec=100ms expired, scheduling restart.
Oct 18 03:19:55 host0 systemd[1]: rsyslog.service: Scheduled restart job, restart counter is at 1.
Oct 18 03:19:55 host0 systemd[1]: rsyslog.service: Main process exited, code=exited, status=127/n/a
Oct 18 03:19:55 host0 systemd[1]: rsyslog.service: Failed with result 'exit-code'.
Oct 18 03:19:56 host0 systemd[1]: rsyslog.service: Service RestartSec=100ms expired, scheduling restart.
Oct 18 03:19:56 host0 systemd[1]: rsyslog.service: Scheduled restart job, restart counter is at 2.
Oct 18 03:19:56 host0 systemd[1]: rsyslog.service: Main process exited, code=exited, status=127/n/a
Oct 18 03:19:56 host0 systemd[1]: rsyslog.service: Failed with result 'exit-code'.
[...]

Environment

  • Red Hat Enterprise Linux (RHEL)
  • rsyslog

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content