that sounds like there is a package missing from your image. I think there was a mistake in packaging recently that has some modules missing, but that should have been fixed at this point (and I thought that was redhat)

that is or was a separate package to install

David Lang

On Wed, 1 Mar 2023, Tan Mientras via rsyslog wrote:

Date: Wed, 1 Mar 2023 12:15:25 +0100
From: Tan Mientras via rsyslog <rsyslog@lists.adiscon.com>
To: rsyslog@lists.adiscon.com
Cc: Tan Mientras <tanimient...@gmail.com>
Subject: [rsyslog] omstdout not working

Hello

As running "rsyslog/syslog_appliance_alpine:8.36.0-3.7" docker image is not
advised for production, Im trying to setup my own rsyslog docker image.

*The dockerfile is:*
FROM ubuntu:22.04
RUN apt update && apt -y install rsyslog-relp
EXPOSE 514/udp 20514
CMD rsyslogd -n

*and the compose is:*
version: '3'
services:
 rsyslog:
   #image: 'rsyslog/syslog_appliance_alpine:8.36.0-3.7'
   image: 'rsyslog:22.04'
   ports:
     - '514:514/udp'
     - '20514:20514/tcp'
   volumes:
     - ./rsyslog/rsyslog.conf:/etc/rsyslog.conf

*./rsyslog/rsyslog.conf contains*
   module(load="omstdout")
   action(type="omstdout")

*and when running it complains *
rsyslogd: could not load module 'omstdout', errors: trying to load module
/usr/lib/x86_64-linux-gnu/rsyslog/omstdout.so:
/usr/lib/x86_64-linux-gnu/rsyslog/omstdout.so: cannot open shared object
file: No such file or directory [v8.2112.0 try
https://www.rsyslog.com/e/2066 ]
rsyslogd: module name 'omstdout' is unknown [v8.2112.0 try
https://www.rsyslog.com/e/2209 ]
rsyslogd: error during parsing file /etc/rsyslog.conf, on or before line
153: errors occured in file '/etc/rsyslog.conf' around line 153 [v8.2112.0
try https://www.rsyslog.com/e/2207 ]

*Is omstdout not built on rsyslog package?*
_______________________________________________
rsyslog mailing list
https://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

_______________________________________________
rsyslog mailing list
https://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

Reply via email to