On Friday, December 1, 2023 at 10:17:29 AM UTC-8 jochen@gmail.com wrote:
Hi Nick,
good point! As of the debug log, it seems to issue the start command,
although the dog says that puppet would use the restart command if
hasrestart is set to true
I will have to wait for the problem to reoccu
Hi Nick,
good point! As of the debug log, it seems to issue the start command, although
the dog says that puppet would use the restart command if hasrestart is set to
true
I will have to wait for the problem to reoccur to finally test this. Thanks a
lot
> Am 01.12.2023 um 19:10 schrieb Nick B
Hi Jochen,
When amavis is in the broken state, does `service amavis start` fix it or
is it just `service amavis restart` that fixes it? If 'restart' works, but
'start' doesn't, I wonder if Puppet is running the start command instead of
restart. Running the puppet agent in debug mode should show yo
now I have a declaration that kicks in when the problem occurs:
service { 'amavis':
hasrestart => true,
provider => 'systemd',
restart => '/usr/sbin/service amavis restart',
status => '/usr/bin/systemctl is-active --quiet amavis && [
"$(/usr/bin/systemctl show -p S
> Am 27.11.2023 um 17:54 schrieb 'Kenyon Ralph' via Puppet Users
> :
>
> The service restarts manually fine with service amavis restart
>
> The question is not why it died but how to get it running again using Puppet.
>
> Puppet simply runs systemctl start amavis if you have ensure => runnin
On Sunday, November 26, 2023 at 4:13:37 AM UTC-8 jochen@gmail.com wrote:
Am 25.11.2023 um 22:16 schrieb 'Kenyon Ralph' via Puppet Users <
puppet...@googlegroups.com>:
This is a problem with amavis, not puppet. You'll need to do systemctl
status amavis, journalctl --pager-end --unit amavis
> Am 25.11.2023 um 22:16 schrieb 'Kenyon Ralph' via Puppet Users
> :
>
>
> This is a problem with amavis, not puppet. You'll need to do systemctl status
> amavis, journalctl --pager-end --unit amavis, and look at amavis's own logs
> to see why the service is dying or not starting.
The servi
Hi,
I manage a Debian Mailserver running postfix, amavis and others. I have
service statements in place that should keep the server running.
>From time to time, the service resource does not correctly restart the
amavis service.
if I do service amavis status, the output should be
Active: a