Logstash with email output plugin "no such file to load -- net/smtp"


I recently upgraded RHEL 9 from logstash-8.8.2-1.x86_64 to logstash-8.10.1-1.x86_64 and now logstash fails to start.

We are using the email output plugin and see this error in the logs:

[2023-09-20T13:48:49,401][FATAL][org.logstash.Logstash    ] Logstash stopped processing because of an error: (LoadError) no such file to load -- net/smtp
org.jruby.exceptions.LoadError: (LoadError) no such file to load -- net/smtp

Undoing the yum upgrade restores functionality.

I don't see any additional packages available, but I'll also need to test the older version and confirm things were still working (perhaps failing to start is an improvement).

Any advice would be appreciated. Thanks,

I don't have any advice, but you are not the only person seeing this.

1 Like

Thanks for referencing that; the subject said snmp but it looks like it was a typo

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.