Kernel::System::Console::Command::Maint::Email::MailQueue: Error: Message sending already in progress! Skipping...
Moderator: crythias
-
- Znuny newbie
- Posts: 8
- Joined: 13 Jul 2022, 08:54
- Znuny Version: 6.0.30
- Real Name: Kelvin Tan
- Company: Provintell
Kernel::System::Console::Command::Maint::Email::MailQueue: Error: Message sending already in progress! Skipping...
Hi Guys,
I having this issue "Kernel::System::Console::Command::Maint::Email::MailQueue: Error: Message sending already in progress! Skipping...". My mail cannot be send out.
I did try to use the solution from viewtopic.php?t=41610, but it seem no working and make my application down.
I know this is the old question, but im not able to fix it.
Can anyone help me ?Appreciate it
I having this issue "Kernel::System::Console::Command::Maint::Email::MailQueue: Error: Message sending already in progress! Skipping...". My mail cannot be send out.
I did try to use the solution from viewtopic.php?t=41610, but it seem no working and make my application down.
I know this is the old question, but im not able to fix it.
Can anyone help me ?Appreciate it
-
- Moderator
- Posts: 393
- Joined: 30 Jan 2008, 02:26
- Znuny Version: All of them ^^
- Real Name: Hannes
- Company: Znuny|OTTERHUB
Re: Kernel::System::Console::Command::Maint::Email::MailQueue: Error: Message sending already in progress! Skipping...
Hi,
have you tried to call:
bin/otrs.Console.pl Maint::Email::MailQueue --force
?
You communication log should also provide some more information, why the sending stopped in the fist place.
Regards
Johannes
have you tried to call:
bin/otrs.Console.pl Maint::Email::MailQueue --force
?
You communication log should also provide some more information, why the sending stopped in the fist place.
Regards
Johannes
-
- Znuny newbie
- Posts: 8
- Joined: 13 Jul 2022, 08:54
- Znuny Version: 6.0.30
- Real Name: Kelvin Tan
- Company: Provintell
Re: Kernel::System::Console::Command::Maint::Email::MailQueue: Error: Message sending already in progress! Skipping...
Yes i did, but it will show Error: Message sending already in progress! Skipping....
I used --force --send
It keep running:
[Fri Jul 29 08:32:26 2022] otrs.Console.pl: Use of uninitialized value $partial in substr at /usr/local/share/perl/5.26.1/Net/Cmd.pm line 357.
[Fri Jul 29 08:32:26 2022] otrs.Console.pl: Use of uninitialized value $partial in substr at /usr/local/share/perl/5.26.1/Net/Cmd.pm line 357.
I used --force --send
It keep running:
[Fri Jul 29 08:32:26 2022] otrs.Console.pl: Use of uninitialized value $partial in substr at /usr/local/share/perl/5.26.1/Net/Cmd.pm line 357.
[Fri Jul 29 08:32:26 2022] otrs.Console.pl: Use of uninitialized value $partial in substr at /usr/local/share/perl/5.26.1/Net/Cmd.pm line 357.
Last edited by kelvintan on 29 Jul 2022, 10:33, edited 2 times in total.
-
- Znuny newbie
- Posts: 8
- Joined: 13 Jul 2022, 08:54
- Znuny Version: 6.0.30
- Real Name: Kelvin Tan
- Company: Provintell
Re: Kernel::System::Console::Command::Maint::Email::MailQueue: Error: Message sending already in progress! Skipping...
1 Kernel::System::Email Building message for delivery. 07/28/2022 16:27:13
2 Kernel::System::Email Queuing message for delivery. 07/28/2022 16:27:13
3 Kernel::System::MailQueue Serializing and saving message (ArticleID: , Sender: example@, Recipient: example, MessageID: ) 07/28/2022 16:27:13
4 Kernel::System::MailQueue Successfully stored message for sending. 07/28/2022 16:27:13
5 Kernel::System::Email Successfully queued message for delivery (To: 'example@', From: 'example', Subject: 'OTRS Scheduler Daemon Cron: MailQueueSend'). 07/28/2022 16:27:13
2 Kernel::System::Email Queuing message for delivery. 07/28/2022 16:27:13
3 Kernel::System::MailQueue Serializing and saving message (ArticleID: , Sender: example@, Recipient: example, MessageID: ) 07/28/2022 16:27:13
4 Kernel::System::MailQueue Successfully stored message for sending. 07/28/2022 16:27:13
5 Kernel::System::Email Successfully queued message for delivery (To: 'example@', From: 'example', Subject: 'OTRS Scheduler Daemon Cron: MailQueueSend'). 07/28/2022 16:27:13
-
- Znuny Employee
- Posts: 132
- Joined: 13 Sep 2021, 09:38
- Znuny Version: Znuny 6.3.x
- Real Name: Shawn Beasley
- Company: Znuny
Re: Kernel::System::Console::Command::Maint::Email::MailQueue: Error: Message sending already in progress! Skipping...
What does say?
Code: Select all
$ bin/otrs.Console.pl Maint::Email::MailQueue --list
-
- Moderator
- Posts: 393
- Joined: 30 Jan 2008, 02:26
- Znuny Version: All of them ^^
- Real Name: Hannes
- Company: Znuny|OTTERHUB
Re: Kernel::System::Console::Command::Maint::Email::MailQueue: Error: Message sending already in progress! Skipping...
And this happend from one day to another?
It looks more like an error with the SMTP Config / Account.
If you add: --verbose what does the output look like?
It looks more like an error with the SMTP Config / Account.
If you add: --verbose what does the output look like?
-
- Znuny expert
- Posts: 298
- Joined: 16 Apr 2016, 08:55
- Znuny Version: see in post
- Real Name: Hans
- Contact:
Re: Kernel::System::Console::Command::Maint::Email::MailQueue: Error: Message sending already in progress! Skipping...
Have you modified the TO and From (Sender and Recipient) fields in the shared logs?kelvintan wrote: ↑29 Jul 2022, 10:29 1 Kernel::System::Email Building message for delivery. 07/28/2022 16:27:13
2 Kernel::System::Email Queuing message for delivery. 07/28/2022 16:27:13
3 Kernel::System::MailQueue Serializing and saving message (ArticleID: , Sender: example@, Recipient: example, MessageID: ) 07/28/2022 16:27:13
4 Kernel::System::MailQueue Successfully stored message for sending. 07/28/2022 16:27:13
5 Kernel::System::Email Successfully queued message for delivery (To: 'example@', From: 'example', Subject: 'OTRS Scheduler Daemon Cron: MailQueueSend'). 07/28/2022 16:27:13
From and To look wrong to me.
I would recommend you to enable the DNS checking on sending e-mails.
Reduces typos in the domain part of the e-mail
Elected 2022-06 as an IT Governance Portal Expert. The portal for Znuny, OTRS and OTOBO users
-
- Znuny newbie
- Posts: 8
- Joined: 13 Jul 2022, 08:54
- Znuny Version: 6.0.30
- Real Name: Kelvin Tan
- Company: Provintell
Re: Kernel::System::Console::Command::Maint::Email::MailQueue: Error: Message sending already in progress! Skipping...
shawnbeasley wrote: ↑29 Jul 2022, 14:15 What doessay?Code: Select all
$ bin/otrs.Console.pl Maint::Email::MailQueue --list
It giving me a list of queue and said "Mail queue contains 15092 message(s)"
-
- Znuny newbie
- Posts: 8
- Joined: 13 Jul 2022, 08:54
- Znuny Version: 6.0.30
- Real Name: Kelvin Tan
- Company: Provintell
Re: Kernel::System::Console::Command::Maint::Email::MailQueue: Error: Message sending already in progress! Skipping...
Output:
Message: Object already has an open Log for this type.
Traceback (15334):
Module: Kernel::System::CommunicationLog::_LogError Line: 538
Module: Kernel::System::CommunicationLog::ObjectLogStart Line: 198
Module: Kernel::System::Email::SMTP::Check Line: 48
Module: Kernel::System::Email::SMTP::Send Line: 224
Module: Kernel::System::Email::SendExecute Line: 755
Module: Kernel::System::MailQueue::Send Line: 679
Module: Kernel::System::Console::Command::Maint::Email::MailQueue::Send Line: 204
Module: Kernel::System::Console::Command::Maint::Email::MailQueue::Run Line: 153
Module: (eval) Line: 460
Module: Kernel::System::Console::BaseCommand::Execute Line: 454
Module: Kernel::System::Console::InterfaceConsole::Run Line: 80
Module: ./otrs.Console.pl Line: 36
[Tue Aug 2 04:42:40 2022] otrs.Console.pl: Use of uninitialized value $partial in substr at /usr/local/share/perl/5.26.1/Net/Cmd.pm line 357.
[Tue Aug 2 04:42:40 2022] otrs.Console.pl: Use of uninitialized value $partial in substr at /usr/local/share/perl/5.26.1/Net/Cmd.pm line 357.
[Tue Aug 2 04:42:40 2022] otrs.Console.pl: Use of uninitialized value $partial in substr at /usr/local/share/perl/5.26.1/Net/Cmd.pm line 357.
[Tue Aug 2 04:42:40 2022] otrs.Console.pl: Use of uninitialized value $partial in substr at /usr/local/share/perl/5.26.1/Net/Cmd.pm line 357.
-
- Znuny Employee
- Posts: 132
- Joined: 13 Sep 2021, 09:38
- Znuny Version: Znuny 6.3.x
- Real Name: Shawn Beasley
- Company: Znuny
Re: Kernel::System::Console::Command::Maint::Email::MailQueue: Error: Message sending already in progress! Skipping...
That's a lot of mail.It giving me a list of queue and said "Mail queue contains 15092 message(s)"
I bet most of those messages are being sent to root@localhost because the sending is failing.
I would stop the daemon
ensure that the znuny/otrs user has no running daemon processes
Review and clean the communication log
Review and clean the mail queue of all messages from the daemon
Set up a correct mailing address for the daemon (Daemon::SchedulerTaskWorker::NotificationRecipientEmail)
Verify SMTP settings (SendmailModule::*)
Run bin/otrs.Console.pl Maint::Email::MailQueue --send --verbose
-
- Znuny newbie
- Posts: 8
- Joined: 13 Jul 2022, 08:54
- Znuny Version: 6.0.30
- Real Name: Kelvin Tan
- Company: Provintell
Re: Kernel::System::Console::Command::Maint::Email::MailQueue: Error: Message sending already in progress! Skipping...
ok, i try to clean the communication logshawnbeasley wrote: ↑02 Aug 2022, 08:41That's a lot of mail.It giving me a list of queue and said "Mail queue contains 15092 message(s)"
I bet most of those messages are being sent to root@localhost because the sending is failing.
I would stop the daemon
ensure that the znuny/otrs user has no running daemon processes
Review and clean the communication log
Review and clean the mail queue of all messages from the daemon
Set up a correct mailing address for the daemon (Daemon::SchedulerTaskWorker::NotificationRecipientEmail)
Verify SMTP settings (SendmailModule::*)
Run bin/otrs.Console.pl Maint::Email::MailQueue --send --verbose
Last edited by kelvintan on 02 Aug 2022, 09:28, edited 1 time in total.
-
- Znuny newbie
- Posts: 8
- Joined: 13 Jul 2022, 08:54
- Znuny Version: 6.0.30
- Real Name: Kelvin Tan
- Company: Provintell
Re: Kernel::System::Console::Command::Maint::Email::MailQueue: Error: Message sending already in progress! Skipping...
Im checking is there my SMTP authentication issue...