issue with OTRSBusinessAvailabilityCheck

Moderator: crythias

Locked
Treuz
Znuny newbie
Posts: 10
Joined: 23 Jun 2014, 13:13
Znuny Version: 5.0.2

issue with OTRSBusinessAvailabilityCheck

Post by Treuz »

Hello,

i upgraded OTRS from version 4 to 5 some days ago.

Everything is working pretty fine but i'm having an issue with OTRSBusinessAvailabilityCheck.

The problem is that i'm receiving an "Undelivered Mail Returned to Sender" email each hour at minute 20; this email is coming with an attachement named "OTRS Scheduler Daemon Cron: OTRSBusinessAvailabilityCheck" which contains the following text:

Code: Select all

ERROR: OTRS-otrs.Console.pl-Maint::OTRSBusiness::AvailabilityCheck-72 Perl: 5.10.1 OS: linux Time: Fri Nov 20 13:20:30 2015

 Message: Can't perform POST on http://cloud.otrs.com/otrs/public.pl: 500 read timeout

 Traceback (25323): 
   Module: Kernel::System::WebUserAgent::Request Line: 209
   Module: Kernel::System::CloudService::Backend::Run::Request Line: 331
   Module: Kernel::System::OTRSBusiness::OTRSBusinessIsAvailable Line: 127
   Module: Kernel::System::Console::Command::Maint::OTRSBusiness::AvailabilityCheck::Run Line: 39
   Module: (eval) Line: 441
   Module: Kernel::System::Console::BaseCommand::Execute Line: 435
   Module: (eval) Line: 175
   Module: Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker::Cron::Run Line: 159
   Module: Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker::Run Line: 259
   Module: (eval) Line: 316
   Module: main::Start Line: 316
   Module: ./otrs.Daemon.pl Line: 138
A similar error is found on /opt/otrs/var/log/:

Code: Select all

[Fri Nov 20 13:20:30 2015][Error][Kernel::System::WebUserAgent::Request][209] Can't perform POST on http://cloud.otrs.com/otrs/public.pl: 500 read timeout
[Fri Nov 20 13:20:30 2015][Error][Kernel::System::Daemon::DaemonModules::BaseTaskWorker::_HandleError][51] There was an error executing Execute() in Kernel::System::Console::Command::Maint::OTRSBusiness::AvailabilityCheck: ERROR: OTRS-otrs.Console.pl-Maint::OTRSBusiness::AvailabilityCheck-72 Perl: 5.10.1 OS: linux Time: Fri Nov 20 13:20:30 2015

 Message: Can't perform POST on http://cloud.otrs.com/otrs/public.pl: 500 read timeout

 Traceback (25323):
   Module: Kernel::System::WebUserAgent::Request Line: 209
   Module: Kernel::System::CloudService::Backend::Run::Request Line: 331
   Module: Kernel::System::OTRSBusiness::OTRSBusinessIsAvailable Line: 127
   Module: Kernel::System::Console::Command::Maint::OTRSBusiness::AvailabilityCheck::Run Line: 39
   Module: (eval) Line: 441
   Module: Kernel::System::Console::BaseCommand::Execute Line: 435
   Module: (eval) Line: 175
   Module: Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker::Cron::Run Line: 159
   Module: Kernel::System::Daemon::DaemonModules::SchedulerTaskWorker::Run Line: 259
   Module: (eval) Line: 316
   Module: main::Start Line: 316
   Module: ./otrs.Daemon.pl Line: 138
I tried to register and de-register from OTRS Cloud Services but i'm still receiving that mail.
I also tried to disable the OTRSBusinessAvailabilityCheck from SysConfig in Web Interface but i can't do that since the option is locked:
ScreenShot199.png
Could you provide some help please?

Thanks in advance,
Treuz
You do not have the required permissions to view the files attached to this post.
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: issue with OTRSBusinessAvailabilityCheck

Post by reneeb »

If you don't need the check, then add

Code: Select all

delete $Self->{"Daemon::SchedulerCronTaskManager::Task"}->{"OTRSBusinessAvailabilityCheck"};
to your Kernel/Config.pm
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Treuz
Znuny newbie
Posts: 10
Joined: 23 Jun 2014, 13:13
Znuny Version: 5.0.2

Re: issue with OTRSBusinessAvailabilityCheck

Post by Treuz »

Thank you for your tip reneeb, i added the line to the file and now the AvailabilityCheck is de-selected in SysConfig.

Problem Solved!
Locked