[SOLVED] Error after fetchmail 3.1.0.b2

Moderator: crythias

Locked
ludders
Znuny newbie
Posts: 12
Joined: 13 Sep 2010, 18:55
Znuny Version: 3.0

[SOLVED] Error after fetchmail 3.1.0.b2

Post by ludders »

Hi,

I've just installed the latest beta on Centos 5.6
I'm at the early stage of set up and everything is working fine, except for the following error when I manually invoke fetchmail from the admin menu:
Error Message: Module Kernel/Modules/Env.pm not found!
Please contact your administrator.

Error Details
Backend ERROR: OTRS-CGI-01 Perl: 5.8.8 OS: linux Time: Fri Dec 9 11:00:43 2011 Message: Module Kernel/Modules/Env.pm not found! Traceback (18335): Module: Kernel::System::Web::InterfaceAgent::Run (v1.62) Line: 191 Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler (unknown version) Line: 46 Module: (eval) (v1.90) Line: 204 Module: ModPerl::RegistryCooker::run (v1.90) Line: 204 Module: ModPerl::RegistryCooker::default_handler (v1.90) Line: 170 Module: ModPerl::Registry::handler (v1.99) Line: 31
Fetchmail successfully gets new mail and it appears in the OTRS queues.
/var/log/messages shows the following:
Dec 9 09:45:31 bureau2 OTRS-CGI-01[18335]: [Notice][Kernel::System::MailAccount::POP3::Fetch] POP3: Fetched 1 email(s) from helpdesk@blabla.co.uk/pop3.bla.net.
Dec 9 09:45:31 bureau2 OTRS-CGI-01[18332]: [Error][Kernel::System::Web::InterfaceAgent::Run][Line:191]: Module Kernel/Modules/Env.pm not found!
I have looked in /opt/otrs/Kernel/Modules and there is no file called Env.pm
I also get the error message if there is no mail to pick up.

Is there a file missing with this release? or have I set something else up wrong?
Any help greatly appreciated.

Thanks

Andy
Last edited by ludders on 21 Dec 2011, 10:59, edited 1 time in total.
OTRS 3.3.6 on Centos 6.4 and mySQL 5.1
Marwain
Znuny newbie
Posts: 16
Joined: 13 Nov 2011, 21:08
Znuny Version: 3.0

Re: Error after fetchmail 3.1.0.b2

Post by Marwain »

Seems like beta issue. Env.pm is perl module for environmental variables. In CentOS it can be found under the following path:

Code: Select all

/usr/share/perl5/Env.pm
OTRS 3.0.11, Centos 6.0 x64, MySQL/MSSQL
ludders
Znuny newbie
Posts: 12
Joined: 13 Sep 2010, 18:55
Znuny Version: 3.0

Re: Error after fetchmail 3.1.0.b2

Post by ludders »

Thanks for the reply.

I have a copy in /usr/lib/perl5/5.8.8/Env.pm
This is the same as on another Centos 5.2 install where otrs 3.0.11 is actually working in this area.

I should add that I have added the CustomerUser & CustomerCompany to the Kernel/Config.pm
I removed this but it made no difference.
OTRS 3.3.6 on Centos 6.4 and mySQL 5.1
Jazz
Znuny newbie
Posts: 28
Joined: 18 Apr 2008, 11:47

Re: Error after fetchmail 3.1.0.b2

Post by Jazz »

I have the same issue under SLES 11. I copied the file Env.pm to Kernel/Modules/.

When I trigger fetchmail manually I receive this error:

Code: Select all

Error Message: Module Kernel::Modules::Env not registered in Kernel/Config.pm!

Does anybody know what to do?

Live: OTRS 2.4.12, SLES 10, Apache 2.2 + MySQL 5.0
Test: OTRS 3.1.0beta3, SLES 11, Apache 2.2 + MySQL 5.0
ludders
Znuny newbie
Posts: 12
Joined: 13 Sep 2010, 18:55
Znuny Version: 3.0

Re: Error after fetchmail 3.1.0.b2

Post by ludders »

Jazz,

I get the same error if I copy the Env.pm as you did.
I notice that your signature says OTRS 2.4.12, do I assume that's your production version and you are getting this error with the 3.1.0.beta2?

Andy
OTRS 3.3.6 on Centos 6.4 and mySQL 5.1
Jazz
Znuny newbie
Posts: 28
Joined: 18 Apr 2008, 11:47

Re: Error after fetchmail 3.1.0.b2

Post by Jazz »

ludders wrote:I get the same error if I copy the Env.pm as you did.
I notice that your signature says OTRS 2.4.12, do I assume that's your production version and you are getting this error with the 3.1.0.beta2?

Hi Andy,

yes, 2.4.12 is the production version. I´m testing with 3.1.0beta2 where the error happens.


One more hint:
This installation which throws this error messasge is a complete clean and new installation.
Before this new installation I had a version which I updated from beta1 to beta2. On this update installation the error wasn´t thrown.

Live: OTRS 2.4.12, SLES 10, Apache 2.2 + MySQL 5.0
Test: OTRS 3.1.0beta3, SLES 11, Apache 2.2 + MySQL 5.0
ludders
Znuny newbie
Posts: 12
Joined: 13 Sep 2010, 18:55
Znuny Version: 3.0

[SOLVED] Re: Error after fetchmail 3.1.0.b2

Post by ludders »

Latest 3.1.0.beta3 resolves this issue.
OTRS 3.3.6 on Centos 6.4 and mySQL 5.1
Jazz
Znuny newbie
Posts: 28
Joined: 18 Apr 2008, 11:47

Re: [SOLVED] Re: Error after fetchmail 3.1.0.b2

Post by Jazz »

ludders wrote:Latest 3.1.0.beta3 resolves this issue.

I can confirm this!

Live: OTRS 2.4.12, SLES 10, Apache 2.2 + MySQL 5.0
Test: OTRS 3.1.0beta3, SLES 11, Apache 2.2 + MySQL 5.0
Locked