Mailing List Archive

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.
Re: omstdout not working [ In reply to ]
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 <tanimientras@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.
Re: omstdout not working [ In reply to ]
This is all rsyslog-* dockerized 22.04 found:

gosa-plugin-rsyslog/jammy 2.7.4+reloaded3-16build1 all
rsyslog plugin for GOsa?

puppet-module-saz-rsyslog/jammy 2.2.1-2 all
Puppet module for rsyslog

rsyslog/jammy-updates,jammy-security 8.2112.0-2ubuntu2.2 amd64
reliable system and kernel logging daemon

rsyslog-czmq/jammy-updates,jammy-security 8.2112.0-2ubuntu2.2 amd64
ZeroMQ protocol support for rsyslog via CZMQ

rsyslog-doc/jammy 8.2202.0+dfsg-1 all
documentation for rsyslog

rsyslog-elasticsearch/jammy-updates,jammy-security 8.2112.0-2ubuntu2.2 amd64
Elasticsearch output plugin for rsyslog

rsyslog-gnutls/jammy-updates,jammy-security 8.2112.0-2ubuntu2.2 amd64
TLS protocol support for rsyslog (GnuTLS)

rsyslog-gssapi/jammy-updates,jammy-security 8.2112.0-2ubuntu2.2 amd64
GSSAPI authentication and encryption support for rsyslog

rsyslog-hiredis/jammy-updates,jammy-security 8.2112.0-2ubuntu2.2 amd64
Redis output plugin for rsyslog

rsyslog-kafka/jammy-updates,jammy-security 8.2112.0-2ubuntu2.2 amd64
Apache Kafka support for rsyslog

rsyslog-kubernetes/jammy-updates,jammy-security 8.2112.0-2ubuntu2.2 amd64
Kubernetes metadata support for rsyslog

rsyslog-mongodb/jammy-updates,jammy-security 8.2112.0-2ubuntu2.2 amd64
MongoDB output plugin for rsyslog

rsyslog-mysql/jammy-updates,jammy-security 8.2112.0-2ubuntu2.2 amd64
MySQL output plugin for rsyslog

rsyslog-openssl/jammy-updates,jammy-security 8.2112.0-2ubuntu2.2 amd64
TLS protocol support for rsyslog (OpenSSL)

rsyslog-pgsql/jammy-updates,jammy-security 8.2112.0-2ubuntu2.2 amd64
PostgreSQL output plugin for rsyslog

rsyslog-relp/jammy-updates,jammy-security 8.2112.0-2ubuntu2.2 amd64
RELP protocol support for rsyslog

rsyslog-snmp/jammy-updates,jammy-security 8.2112.0-2ubuntu2.2 amd64
SNMP protocol support for rsyslog

so I guess no luck for me :S

On Wed, Mar 1, 2023 at 2:25 PM David Lang <david@lang.hm> wrote:

> I still think it's a separate package you need to install.
>
> look at your repo link and look at the files available (or do apt search
> rsyslog) and see all the different rsyslog-* packages that exist with
> different
> modules in them that aren't in the base package for some reason (usually
> because
> they would drag in other dependencies)
>
> David Lang
>
> On Wed, 1 Mar 2023, Tan Mientras wrote:
>
> > Date: Wed, 1 Mar 2023 14:21:04 +0100
> > From: Tan Mientras <tanimientras@gmail.com>
> > To: David Lang <david@lang.hm>
> > Subject: Re: [rsyslog] omstdout not working
> >
> > Actually using Ubuntu:22.04 as base image...
> >
> > root@47735f73c0e2:/# rsyslogd -v
> > rsyslogd 8.2112.0 (aka 2021.12) compiled with:
> > PLATFORM: x86_64-pc-linux-gnu
> > PLATFORM (lsb_release -d):
> > FEATURE_REGEXP: Yes
> > GSSAPI Kerberos 5 support: Yes
> > FEATURE_DEBUG (debug build, slow code): No
> > 32bit Atomic operations supported: Yes
> > 64bit Atomic operations supported: Yes
> > memory allocator: system default
> > Runtime Instrumentation (slow code): No
> > uuid support: Yes
> > systemd support: Yes
> > Config file: /etc/rsyslog.conf
> > PID file: /run/rsyslogd.pid
> > Number of Bits in RainerScript integers: 64
> >
> >
> > On Wed, Mar 1, 2023 at 2:04 PM David Lang <david@lang.hm> wrote:
> >
> >> 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 <tanimientras@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.
Re: omstdout not working [ In reply to ]
If you are sticking with using ubuntu provided packages rather than the packages
provided by the rsyslog project, you will have to reach out to them for why this
module isn't available.

or you can point at a repo provided by the rsyslog project and then we can fix
any problems you have.

David Lang

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

> Date: Wed, 1 Mar 2023 14:31:48 +0100
> From: Tan Mientras via rsyslog <rsyslog@lists.adiscon.com>
> To: rsyslog-users <rsyslog@lists.adiscon.com>
> Cc: Tan Mientras <tanimientras@gmail.com>
> Subject: Re: [rsyslog] omstdout not working
>
> This is all rsyslog-* dockerized 22.04 found:
>
> gosa-plugin-rsyslog/jammy 2.7.4+reloaded3-16build1 all
> rsyslog plugin for GOsa?
>
> puppet-module-saz-rsyslog/jammy 2.2.1-2 all
> Puppet module for rsyslog
>
> rsyslog/jammy-updates,jammy-security 8.2112.0-2ubuntu2.2 amd64
> reliable system and kernel logging daemon
>
> rsyslog-czmq/jammy-updates,jammy-security 8.2112.0-2ubuntu2.2 amd64
> ZeroMQ protocol support for rsyslog via CZMQ
>
> rsyslog-doc/jammy 8.2202.0+dfsg-1 all
> documentation for rsyslog
>
> rsyslog-elasticsearch/jammy-updates,jammy-security 8.2112.0-2ubuntu2.2 amd64
> Elasticsearch output plugin for rsyslog
>
> rsyslog-gnutls/jammy-updates,jammy-security 8.2112.0-2ubuntu2.2 amd64
> TLS protocol support for rsyslog (GnuTLS)
>
> rsyslog-gssapi/jammy-updates,jammy-security 8.2112.0-2ubuntu2.2 amd64
> GSSAPI authentication and encryption support for rsyslog
>
> rsyslog-hiredis/jammy-updates,jammy-security 8.2112.0-2ubuntu2.2 amd64
> Redis output plugin for rsyslog
>
> rsyslog-kafka/jammy-updates,jammy-security 8.2112.0-2ubuntu2.2 amd64
> Apache Kafka support for rsyslog
>
> rsyslog-kubernetes/jammy-updates,jammy-security 8.2112.0-2ubuntu2.2 amd64
> Kubernetes metadata support for rsyslog
>
> rsyslog-mongodb/jammy-updates,jammy-security 8.2112.0-2ubuntu2.2 amd64
> MongoDB output plugin for rsyslog
>
> rsyslog-mysql/jammy-updates,jammy-security 8.2112.0-2ubuntu2.2 amd64
> MySQL output plugin for rsyslog
>
> rsyslog-openssl/jammy-updates,jammy-security 8.2112.0-2ubuntu2.2 amd64
> TLS protocol support for rsyslog (OpenSSL)
>
> rsyslog-pgsql/jammy-updates,jammy-security 8.2112.0-2ubuntu2.2 amd64
> PostgreSQL output plugin for rsyslog
>
> rsyslog-relp/jammy-updates,jammy-security 8.2112.0-2ubuntu2.2 amd64
> RELP protocol support for rsyslog
>
> rsyslog-snmp/jammy-updates,jammy-security 8.2112.0-2ubuntu2.2 amd64
> SNMP protocol support for rsyslog
>
> so I guess no luck for me :S
>
> On Wed, Mar 1, 2023 at 2:25 PM David Lang <david@lang.hm> wrote:
>
>> I still think it's a separate package you need to install.
>>
>> look at your repo link and look at the files available (or do apt search
>> rsyslog) and see all the different rsyslog-* packages that exist with
>> different
>> modules in them that aren't in the base package for some reason (usually
>> because
>> they would drag in other dependencies)
>>
>> David Lang
>>
>> On Wed, 1 Mar 2023, Tan Mientras wrote:
>>
>>> Date: Wed, 1 Mar 2023 14:21:04 +0100
>>> From: Tan Mientras <tanimientras@gmail.com>
>>> To: David Lang <david@lang.hm>
>>> Subject: Re: [rsyslog] omstdout not working
>>>
>>> Actually using Ubuntu:22.04 as base image...
>>>
>>> root@47735f73c0e2:/# rsyslogd -v
>>> rsyslogd 8.2112.0 (aka 2021.12) compiled with:
>>> PLATFORM: x86_64-pc-linux-gnu
>>> PLATFORM (lsb_release -d):
>>> FEATURE_REGEXP: Yes
>>> GSSAPI Kerberos 5 support: Yes
>>> FEATURE_DEBUG (debug build, slow code): No
>>> 32bit Atomic operations supported: Yes
>>> 64bit Atomic operations supported: Yes
>>> memory allocator: system default
>>> Runtime Instrumentation (slow code): No
>>> uuid support: Yes
>>> systemd support: Yes
>>> Config file: /etc/rsyslog.conf
>>> PID file: /run/rsyslogd.pid
>>> Number of Bits in RainerScript integers: 64
>>>
>>>
>>> On Wed, Mar 1, 2023 at 2:04 PM David Lang <david@lang.hm> wrote:
>>>
>>>> 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 <tanimientras@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.
>
_______________________________________________
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.
Re: omstdout not working [ In reply to ]
On Wed, Mar 1, 2023 at 5:58 PM David Lang <david@lang.hm> wrote:

> or you can point at a repo provided by the rsyslog project and then we can
> fix
> any problems you have.
>
Didnt thought that one! Thanks a lot for the input!
_______________________________________________
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.