Does someone know how to get rid of these errors?
[Sat Apr 9 14:03:03 2016][Error][Kernel::System::Stats::StatsCleanUp][2666] Module Kernel/System/Stats/Dynamic/ITSMConfigItem.pm not in @INC (/opt/otrs/Custom /opt/otrs/Kernel/cpan-lib /opt/otrs /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .
[Tue Apr 12 15:23:46 2016][Error][Kernel::System::Web::InterfaceCustomer::Run][223] Module Kernel/Modules/CustomerZoom.pm not in @INC (/usr/Custom /usr/Kernel/cpan-lib /usr /opt/otrs/Custom /opt/otrs/Kernel/cpan-lib /opt/otrs/ /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd)
Google didn't help and I can't find on my own where @INC is defined.
Thanks
-Norman
Module [...] not in @INC
Moderator: crythias
-
- Znuny newbie
- Posts: 23
- Joined: 19 Oct 2015, 13:33
- Znuny Version: 4.0.11
- Real Name: Norman
- Company: pharma solutions international GmbH
Module [...] not in @INC
OTRS 4.0.16 on Oracle Linux 7.2 64bit with MySQL
-
- Znuny newbie
- Posts: 23
- Joined: 19 Oct 2015, 13:33
- Znuny Version: 4.0.11
- Real Name: Norman
- Company: pharma solutions international GmbH
Re: Module [...] not in @INC
More research led to this thread, which helped me solve the second problem (Module Kernel/Modules/CustomerZoom.pm not in @INC). That file was simply missing.
viewtopic.php?t=22248
But I still could not find a solution for Module Kernel/System/Stats/Dynamic/ITSMConfigItem.pm not in @INC. That file IS there, why is it not found?
viewtopic.php?t=22248
But I still could not find a solution for Module Kernel/System/Stats/Dynamic/ITSMConfigItem.pm not in @INC. That file IS there, why is it not found?
OTRS 4.0.16 on Oracle Linux 7.2 64bit with MySQL
-
- Znuny guru
- Posts: 2210
- Joined: 13 Mar 2014, 09:16
- Znuny Version: 6.0.14
- Real Name: Rolf Straub
Re: Module [...] not in @INC
To clarify, the @INC is for perl what the PATH variable is for windows. All registered modules should be found in this path.
So, the reasons for it not beeing found are usually:
- File not there
- Package has a different name (open it up and check the first lines)
- File is not registered (happens from time to time on upgrades)
You pretty much ruled out 1) and 2) (unless you edited it), so let's check for registration:
Navigate to SysConfig -> Framework -> Core::Stats and reset the entry " Stats::DynamicObjectRegistration###ITSMConfigItem" if possible.
So, the reasons for it not beeing found are usually:
- File not there
- Package has a different name (open it up and check the first lines)
- File is not registered (happens from time to time on upgrades)
You pretty much ruled out 1) and 2) (unless you edited it), so let's check for registration:
Navigate to SysConfig -> Framework -> Core::Stats and reset the entry " Stats::DynamicObjectRegistration###ITSMConfigItem" if possible.
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
-
- 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: Module [...] not in @INC
Check Permissions, too.
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
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
-
- Znuny newbie
- Posts: 23
- Joined: 19 Oct 2015, 13:33
- Znuny Version: 4.0.11
- Real Name: Norman
- Company: pharma solutions international GmbH
Re: Module [...] not in @INC
Thanks for the hint. I guess with "reset" you mean switch the sysconfig item off and back on again. I did just that and will monitor the log if the error persists.
Thanks again
Thanks again
OTRS 4.0.16 on Oracle Linux 7.2 64bit with MySQL