Azure / Azure/azure-linux-extensions

rsyslog unable to load omazuremds

Open
#1,609 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
333
Forks
278
Avg merge
2d 9h
Merged PRs (30d)
4

Description

I can see constant CPU load of the vm for about 30-50% ![image_2022-10-14_134229155](https://user-images.githubusercontent.com/4656542/195750012-14828a31-74c3-4e99-80f4-8da1325e3e61.png).
I can see continuously repeated journalctl messages in connection with attempts to restart rsyslog and OMI services.
Operating System: Ubuntu 18.04.6 LTS
Kernel: Linux 5.4.0-1091-azure
Architecture: x86-64
omi is already the newest version (1.6.9.1).
rsyslog is already the newest version (8.32.0-1ubuntu4.2).

Here are the logs:

> Oct 14 11:56:39 VM-VMHOST systemd[1]: Starting System Logging Service...
> Oct 14 11:56:39 VM-VMHOST rsyslogd[26816]: could not load module '/usr/lib/x86_64-linux-gnu/rsyslog/omazuremds.so', dlopen: /usr/lib/x86_64-linux-gnu/rsyslog/omazuremds.so: undefined symbol: dbgprintf [v8.32.0 try http://www.rsyslog.com/e/2066 ]
> Oct 14 11:56:39 VM-VMHOST systemd[1]: Started System Logging Service.
> Oct 14 11:56:39 VM-VMHOST rsyslogd[26816]: module name 'omazuremds' is unknown [v8.32.0 try http://www.rsyslog.com/e/2209 ]
> Oct 14 11:56:39 VM-VMHOST rsyslogd[26816]: error during parsing file /etc/rsyslog.d/10-omazurelinuxmds.conf, on or before line 26: errors occured in file '/etc/rsyslog.d/10-omazurelinuxmds.conf' around line 26 [v8.32.0 try http://www.rsyslog.com/e/2207 ]
> Oct 14 11:56:39 VM-VMHOST rsyslogd[26816]: module name 'omazuremds' is unknown [v8.32.0 try http://www.rsyslog.com/e/2209 ]
> Oct 14 11:56:39 VM-VMHOST rsyslogd[26816]: error during parsing file /etc/rsyslog.d/10-omazurelinuxmds.conf, on or before line 45: errors occured in file '/etc/rsyslog.d/10-omazurelinuxmds.conf' around line 45 [v8.32.0 try http://www.rsyslog.com/e/2207 ]
> Oct 14 11:56:39 VM-VMHOST rsyslogd[26816]: imuxsock: Acquired UNIX socket '/run/systemd/journal/syslog' (fd 3) from systemd. [v8.32.0]
> Oct 14 11:56:39 VM-VMHOST rsyslogd[26816]: rsyslogd's groupid changed to 108
> Oct 14 11:56:39 VM-VMHOST rsyslogd[26816]: rsyslogd's userid changed to 104
> Oct 14 11:56:39 VM-VMHOST rsyslogd[26816]: [origin software="rsyslogd" swVersion="8.32.0" x-pid="26816" x-info="http://www.rsyslog.com"] start
> Oct 14 11:56:40 VM-VMHOST systemd[1]: Stopping OMI CIM Server...
> Oct 14 11:56:40 VM-VMHOST omiserver[27086]: /opt/omi/bin/omiserver: stopped server
> Oct 14 11:56:40 VM-VMHOST systemd[1]: Stopped OMI CIM Server.
> Oct 14 11:56:40 VM-VMHOST systemd[1]: Starting OMI CIM Server...
> Oct 14 11:56:40 VM-VMHOST systemd[1]: omid.service: Can't open PID file /var/opt/omi/run/omiserver.pid (yet?) after start: No such file or directory
> Oct 14 11:56:40 VM-VMHOST systemd[1]: Started OMI CIM Server.
> Oct 14 11:56:40 VM-VMHOST systemd[1]: mdsd-lde.service: Service hold-off time over, scheduling restart.
> Oct 14 11:56:40 VM-VMHOST systemd[1]: mdsd-lde.service: Scheduled restart job, restart counter is at 57210.
> Oct 14 11:56:40 VM-VMHOST systemd[1]: Stopped Azure Linux Diagnostic Extension.
> Oct 14 11:56:40 VM-VMHOST systemd[1]: Started Azure Linux Diagnostic Extension.
> Oct 14 11:56:41 VM-VMHOST systemd[1]: Configuration file /lib/systemd/system/nagios.service is marked executable. Please remove executable permission bits. Proceeding anyway.
> Oct 14 11:56:41 VM-VMHOST systemd[1]: Stopping System Logging Service...

Could you help me with this omazuremds issue?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.