Ok so I just upgraded from 6.0.16 to 6.0.30 today.
After some hickups with extra perl modules needed due to Znuny4OTRS the upgrade completed without errors.
However after checking the log I get this message for each inbound mail;
Dec 29 16:55:19 vslc7otrs01 OTRS-CGI-10[1853]: [Error][Kernel::System::Main::Require][Line:76]: Need module!
Is there any way to check what is on line 76 and what the system requires ?
I already performed a "bin/otrs.Console.pl Maint::Config::Rebuild --cleanup" that completed without issue but the error message is still there.
I have only 1 installed repo;
Znuny4OTRS-Repo
With one add-on enabled;
Znuny4OTRS-MarkTicketSeenUnseen
Oh and fetching mails is not an issue, it seems to work fine like before.
Not even sure this error in the log is related to the upgrade.
But I would like to keep the log clean, so fix this issue.
Error in /var/log/messages with each mail fetch
Moderator: crythias
-
- Znuny newbie
- Posts: 24
- Joined: 10 Oct 2017, 13:45
- Znuny Version: 6.0.30
- Real Name: NB
- Company: montova
Error in /var/log/messages with each mail fetch
Last edited by S1lv3rW1z4rd on 29 Dec 2020, 18:06, edited 1 time in total.
Running OTRS 6 Community Edition (6.0.30) on CentOS 7.9/MYSQL/Apache2
-
- Administrator
- Posts: 3963
- Joined: 18 Dec 2007, 12:23
- Znuny Version: Znuny and Znuny LTS
- Real Name: Roy Kaldung
- Company: Znuny
- Contact:
Re: Error in /var/log/messages with each mail fetch
Hi,
- Roy
There are no extra Perl modules required by Znuny4OTRS-Repo. Pretty sure you talk about Moo and similar. They are new dependencies of OTRS.S1lv3rW1z4rd wrote: ↑29 Dec 2020, 18:02 Ok so I just upgraded from 6.0.16 to 6.0.30 today.
After some hickups with extra perl modules needed due to Znuny4OTRS the upgrade completed without errors.
The OTRS-CGI indicates it's a problem when processing a request within the webserver. Please check if your Apache error_log contains a stack trace of the errror.S1lv3rW1z4rd wrote: ↑29 Dec 2020, 18:02 However after checking the log I get this message for each inbound mail;
Dec 29 16:55:19 vslc7otrs01 OTRS-CGI-10[1853]: [Error][Kernel::System::Main::Require][Line:76]: Need module!
Is there any way to check what is on line 76 and what the system requires ?
I already performed a "bin/otrs.Console.pl Maint::Config::Rebuild --cleanup" that completed without issue but the error message is still there.
- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
-
- Znuny newbie
- Posts: 24
- Joined: 10 Oct 2017, 13:45
- Znuny Version: 6.0.30
- Real Name: NB
- Company: montova
Re: Error in /var/log/messages with each mail fetch
I had to install both Moo & namespace::clean indeed.
Here is the error from the apache log;
ERROR: OTRS-CGI-10 Perl: 5.16.3 OS: linux Time: Tue Dec 29 16:55:39 2020
Message: Need module!
RemoteAddress: 172.xx.x.xxx (I masked)
RequestURI: /otrs/index.pl
Traceback (1853):
Module: Kernel::System::Main::Require Line: 76
Module: Kernel::System::EventHandler::EventHandler Line: 216
Module: Kernel::System::Ticket::TicketQueueSet Line: 1820
Module: Kernel::Modules::AgentTicketMove::Run Line: 1046
Module: Kernel::System::Web::InterfaceAgent::Run Line: 1135
Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler Line: 38
Module: (eval) (v1.99) Line: 207
Module: ModPerl::RegistryCooker::run (v1.99) Line: 207
Module: ModPerl::RegistryCooker::default_handler (v1.99) Line: 173
Module: ModPerl::Registry::handler (v1.99) Line: 32
Here is the error from the apache log;
ERROR: OTRS-CGI-10 Perl: 5.16.3 OS: linux Time: Tue Dec 29 16:55:39 2020
Message: Need module!
RemoteAddress: 172.xx.x.xxx (I masked)
RequestURI: /otrs/index.pl
Traceback (1853):
Module: Kernel::System::Main::Require Line: 76
Module: Kernel::System::EventHandler::EventHandler Line: 216
Module: Kernel::System::Ticket::TicketQueueSet Line: 1820
Module: Kernel::Modules::AgentTicketMove::Run Line: 1046
Module: Kernel::System::Web::InterfaceAgent::Run Line: 1135
Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler Line: 38
Module: (eval) (v1.99) Line: 207
Module: ModPerl::RegistryCooker::run (v1.99) Line: 207
Module: ModPerl::RegistryCooker::default_handler (v1.99) Line: 173
Module: ModPerl::Registry::handler (v1.99) Line: 32
Running OTRS 6 Community Edition (6.0.30) on CentOS 7.9/MYSQL/Apache2
-
- Administrator
- Posts: 3963
- Joined: 18 Dec 2007, 12:23
- Znuny Version: Znuny and Znuny LTS
- Real Name: Roy Kaldung
- Company: Znuny
- Contact:
Re: Error in /var/log/messages with each mail fetch
Hi,
Check your System Configuration for changed event modules / event handler. At least one of them could have an empty Module setting.
The easiest way to check is by exporting your System Configuration and use a text editor to find the entry/entries.
If you find one check the settings and maybe reset it. And keep a copy of your current setting.
- Roy
Check your System Configuration for changed event modules / event handler. At least one of them could have an empty Module setting.
The easiest way to check is by exporting your System Configuration and use a text editor to find the entry/entries.
If you find one check the settings and maybe reset it. And keep a copy of your current setting.
- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
-
- Znuny newbie
- Posts: 24
- Joined: 10 Oct 2017, 13:45
- Znuny Version: 6.0.30
- Real Name: NB
- Company: montova
Re: Error in /var/log/messages with each mail fetch
Could this be my issue ?
Is it safe to remove that line ?
Is it safe to remove that line ?
You do not have the required permissions to view the files attached to this post.
Running OTRS 6 Community Edition (6.0.30) on CentOS 7.9/MYSQL/Apache2
-
- Administrator
- Posts: 3963
- Joined: 18 Dec 2007, 12:23
- Znuny Version: Znuny and Znuny LTS
- Real Name: Roy Kaldung
- Company: Znuny
- Contact:
Re: Error in /var/log/messages with each mail fetch
Hi,S1lv3rW1z4rd wrote: ↑30 Dec 2020, 12:58 Could this be my issue ?
Is it safe to remove that line ?
2020-12-30 11_56_53-Window.png
Your stack trace indicates another issue, not related to this cronjob. It should be an empty Module setting.
- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?