Problem Description
Past few days I have had an issue with this, and I cannot figure it out myself. If anyone can help that’s be great. I have tried service spamassassin start and just get:
Failed to start spamassassin.service: Unit spamassassin.service not found.
So I reinstalled it but I get the same thing.
Any Error Messages
Started sympl-monit.service - Sympl service monitor.
INFO Runner: spamd: /usr/lib/ruby/vendor_ruby/dbus/bus.rb:340:in `block in send_sync_or_async': No such file or directory; caused by 3 sender=:1.0 -> dest=:1.208208 serial=34228568 reply_serial=32 path=; interface=; member= error_name=org.freedesktop.DBus.Error.FileNotFound (DBus::Error)
INFO Runner: spamd: from /usr/lib/ruby/vendor_ruby/dbus/bus.rb:514:in `process'
INFO Runner: spamd: from /usr/lib/ruby/vendor_ruby/dbus/bus.rb:456:in `send_sync'
INFO Runner: spamd: from /usr/lib/ruby/vendor_ruby/dbus/bus.rb:339:in `send_sync_or_async'
INFO Runner: spamd: from /usr/lib/ruby/vendor_ruby/dbus/proxy_object_interface.rb:63:in `block (2 levels) in define_method_from_descriptor'
INFO Runner: spamd: from /usr/lib/ruby/vendor_ruby/dbus/proxy_object.rb:108:in `call'
INFO Runner: spamd: from /usr/lib/ruby/vendor_ruby/dbus/proxy_object.rb:108:in `block (3 levels) in define_shortcut_methods'
INFO Runner: spamd: from /usr/lib/ruby/vendor_ruby/dbus/systemd/mixin.rb:35:in `method_missing'
INFO Runner: spamd: from /usr/lib/ruby/vendor_ruby/symbiosis/monitor/service/systemd.rb:117:in `unit_file_state'
INFO Runner: spamd: from /usr/lib/ruby/vendor_ruby/symbiosis/monitor/service/systemd.rb:67:in `enabled?'
INFO Runner: spamd: from /usr/lib/ruby/vendor_ruby/symbiosis/monitor/check.rb:94:in `service_enabled?'
INFO Runner: spamd: from /usr/lib/ruby/vendor_ruby/symbiosis/monitor/check.rb:98:in `ensure_service_enabled'
INFO Runner: spamd: from /usr/lib/ruby/vendor_ruby/symbiosis/monitor/check.rb:175:in `do_check'
INFO Runner: spamd: from /etc/sympl/monit.d/spamd:29:in `<main>'
INFO Runner: spamd: /usr/lib/ruby/vendor_ruby/dbus/bus.rb:340:in `block in send_sync_or_async': No such file or directory (DBus::Error)
INFO Runner: spamd: from /usr/lib/ruby/vendor_ruby/dbus/bus.rb:514:in `process'
INFO Runner: spamd: from /usr/lib/ruby/vendor_ruby/dbus/bus.rb:456:in `send_sync'
INFO Runner: spamd: from /usr/lib/ruby/vendor_ruby/dbus/bus.rb:339:in `send_sync_or_async'
INFO Runner: spamd: from /usr/lib/ruby/vendor_ruby/dbus/proxy_object_interface.rb:63:in `block (2 levels) in define_method_from_descriptor'
INFO Runner: spamd: from /usr/lib/ruby/vendor_ruby/dbus/proxy_object.rb:108:in `call'
INFO Runner: spamd: from /usr/lib/ruby/vendor_ruby/dbus/proxy_object.rb:108:in `block (3 levels) in define_shortcut_methods'
INFO Runner: spamd: from /usr/lib/ruby/vendor_ruby/dbus/systemd/mixin.rb:35:in `method_missing'
INFO Runner: spamd: from /usr/lib/ruby/vendor_ruby/symbiosis/monitor/service/systemd.rb:117:in `unit_file_state'
INFO Runner: spamd: from /usr/lib/ruby/vendor_ruby/symbiosis/monitor/service/systemd.rb:67:in `enabled?'
INFO Runner: spamd: from /usr/lib/ruby/vendor_ruby/symbiosis/monitor/check.rb:94:in `service_enabled?'
INFO Runner: spamd: from /usr/lib/ruby/vendor_ruby/symbiosis/monitor/check.rb:98:in `ensure_service_enabled'
INFO Runner: spamd: from /usr/lib/ruby/vendor_ruby/symbiosis/monitor/check.rb:175:in `do_check'
INFO Runner: spamd: from /etc/sympl/monit.d/spamd:29:in `<main>'
INFO Runner: spamd: Checking service is enabled
WARN Runner: spamd: FAILED: exit 1
INFO Runner: RESULT: 9/10 passed.
sympl-monit.service: Main process exited, code=exited, status=1/FAILURE
sympl-monit.service: Failed with result 'exit-code'.
sympl-monit.service: Triggering OnFailure= dependencies.
sympl-monit.service: Consumed 10.554s CPU time.
Environment
- Sympl Version [9.0/10.0]: 12
- Sympl Testing Version? [Yes/No] No
- Debian Version [Buster/Stretch]: Bookworm
- Hardware Type? [Dedicated/Virtual/Pi] Dedicated
- Hosted On? [name of hosting co] Bytemark.