Azure / azure-linux-extensions

Linux Virtual Machine Extensions for Azure
Apache License 2.0
308 stars 255 forks source link

rsyslog unable to load omazuremds #1609

Open QuiverNAY opened 2 years ago

QuiverNAY commented 2 years ago

I can see constant CPU load of the vm for about 30-50% image_2022-10-14_134229155. 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?

johan-chassaing commented 2 years ago

Hello, I have the same problem with an ubuntu 20.04 could not load module 'omazuremds', errors: trying to load module /usr/lib/x86_64-linux-gnu/rsyslog/omazuremds.so: module name 'omazuremds' is unknown [v8.2001.0 try https://www.rsyslog.com/e/2209

if you have some news about this bug, please keep me informed.