znuny kann keine Mails verschicken, in der Log steht:
Code: Select all
OTRS-otrs.Console.pl-Maint::Email::MailQueue-29 There was an error executing Execute() in
Kernel::System::Console::Command::Maint::Email::MailQueue: Error: Message sending already in progress! Skipping...
Code: Select all
root@tickets ~ # cd /opt/otrs
root@tickets /opt/otrs # su -c "bin/otrs.Console.pl Maint::Email::MailQueue --send --verbose" -s /bin/bash otrs
Error: Message sending already in progress! Skipping...
root@tickets /opt/otrs #
Edit: da es doch etwas brenzlig ist, weil keine Tickets beim Postfix ankommen und dadurch wohl im Nirvana verschwinden, habe ich den Eingriff trotzdem mal vorgenommen:
Code: Select all
my $PIDObject = $Kernel::OM->Get('Kernel::System::PID');
my $Force = $Self->GetOption('force');
if ( !$Force ) {
my %PID = $PIDObject->PIDGet(
Name => 'MaintMailQueueSending',
);
my $ForceDeletePIDOnce = $PIDObject->PIDDelete(
Name => 'MaintMailQueueSending',
Force => 1,
);
if (%PID) {
die "Message sending already in progress! Skipping...\n";
}
}
my $Success = $PIDObject->PIDCreate(
Name => 'MaintMailQueueSending',
Force => $Force,
);
if ( !$Success ) {
die "Unable to register sending process! Skipping...\n";
}
}
return;
Code: Select all
root@tickets ~ # cd /opt/otrs
root@tickets /opt/otrs # su -c "bin/otrs.Console.pl Maint::Email::MailQueue --send --verbose" -s /bin/bash otrs
Error: Message sending already in progress! Skipping...
root@tickets /opt/otrs #