添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

Rsyslog service can not start after update to rsyslog-8.2106.0-8.5.2.x86_64

This document (000020705) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Linux Enterprise Server 12 SP5
SUSE Linux Enterprise Server for SAP Applica­tions 12 SP5

Situation

The rsyslog service failed after updating rsyslog directly to the latest version as shown below. # zypper in -t patch SUSE-SLE-SERVER-12-SP5-2022-2314 Refreshing service 'SUSE_Linux_Enterprise_Server_x86_64'. Loading repository data... Reading installed packages... Resolving package dependencies... The following NEW patch is going to be installed:   SUSE-SLE-SERVER-12-SP5-2022-2314 The following package is going to be upgraded:   rsyslog 1 package to upgrade. Overall download size: 746.3 KiB. Already cached: 0 B. After the operation, additional 396.9 KiB will be used. Continue? [y/n/...? shows all options] (y):  Retrieving package rsyslog-8.2106.0-8.5.2.x86_64       (1/1), 746.3 KiB (  2.3 MiB unpacked) Retrieving: rsyslog-8.2106.0-8.5.2.x86_64.rpm ....................[done] Checking for file conflicts: .....................................[done] (1/1) Installing: rsyslog-8.2106.0-8.5.2.x86_64 ..................[done] Additional rpm output: Updating /etc/sysconfig/syslog... Job for rsyslog.service failed because the control process exited with error code. See "systemctl status rsyslog.service" and "journalctl -xe" for details. The service status shows rsyslog.service in a failed state. # systemctl status rsyslog.service ● rsyslog.service - System Logging Service    Loaded: loaded (/usr/lib/systemd/system/rsyslog.service; enabled; vendor preset: disabled)    Active: failed (Result: start-limit) since Thu 2022-07-21 21:09:05 CST; 1min 13s ago      Docs: man:rsyslogd(8)            http://www.rsyslog.com/doc/   Process: 6596 ExecStart=/usr/sbin/rsyslogd -n -iNONE $RSYSLOGD_PARAMS (code=exited, status=127)   Process: 6591 ExecStartPre=/usr/sbin/rsyslog-service-prepare (code=exited, status=0/SUCCESS)  Main PID: 6596 (code=exited, status=127) Jul 21 21:09:05 12sp5 systemd[1]: rsyslog.service: Unit entered failed state. Jul 21 21:09:05 12sp5 systemd[1]: rsyslog.service: Failed with result 'exit-code'. Jul 21 21:09:05 12sp5 systemd[1]: Starting System Logging Service... Jul 21 21:09:05 12sp5 systemd[1]: rsyslog.service: Main process exited, code=exited, status=127/n/a Jul 21 21:09:05 12sp5 systemd[1]: Failed to start System Logging Service. Jul 21 21:09:05 12sp5 systemd[1]: rsyslog.service: Unit entered failed state. Jul 21 21:09:05 12sp5 systemd[1]: rsyslog.service: Failed with result 'exit-code'. Jul 21 21:09:05 12sp5 systemd[1]: rsyslog.service: Start request repeated too quickly. Jul 21 21:09:05 12sp5 systemd[1]: Failed to start System Logging Service. Jul 21 21:09:05 12sp5 systemd[1]: rsyslog.service: Failed with result 'start-limit'. The journal log shows an error. # journalctl -xe  Jul 21 21:09:05 12sp5 systemd[1]: rsyslog.service: Main process exited, code=exited, status=127 Jul 21 21:09:05 12sp5 systemd[1]: Failed to start System Logging Service. -- Subject: Unit rsyslog.service has failed When attempting to run the rsyslogd daemon, the following error is observed. # /usr/sbin/rsyslogd  /usr/sbin/rsyslogd: symbol lookup error: /usr/sbin/rsyslogd: undefined symbol: fjson_global_do_case_sensitive_comparison

Resolution

Install the latest update for libfastjson4 . # zypper install -t patch SUSE-SLE-SERVER-12-SP5-2022-2028

Cause

The latest rsyslogd depends on libfastjson4 library file.

Additional Information

This issue does not occur when the system is fully updated. The libfastjson4 patch will be updated together.

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Join Our Community
SUSE Customer Support Quick Reference Guide SUSE Technical Support Handbook Update Advisories Support FAQ

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.

Go to Customer Center