How to resolve this issue Can't locate Time @INC ?

English! place to talk about development, programming and coding
Post Reply
williamrobert1983
Znuny newbie
Posts: 94
Joined: 24 Oct 2013, 11:24
Znuny Version: 3.1.1
Real Name: William
Company: Xchanging

How to resolve this issue Can't locate Time @INC ?

Post by williamrobert1983 »

Hi,

I am getting below error in system logs OTRS.

Can't locate Time/Seconds.pm in @INC (@INC contains: /opt/rh/httpd24/root/usr/Custom /opt/rh/httpd24/root/usr/Kernel/cpan-lib /opt/rh/httpd24/root/usr /opt/otrs/Custom /opt/otrs/Kernel/cpan-lib /opt/otrs/ /opt/rh/perl516/root/usr/local/lib64/perl5 /opt/rh/perl516/root/usr/local/share/perl5 /opt/rh/perl516/root/usr/lib64/perl5/vendor_perl /opt/rh/perl516/root/usr/share/perl5/vendor_perl /opt/rh/perl516/root/usr/lib64/perl5 /opt/rh/perl516/root/usr/share/perl5 . /opt/rh/httpd24/root/etc/httpd) at /opt/rh/perl516/root/usr/share/perl5/Time/Piece.pm line 7.


William
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: How to resolve this issue Can't locate Time @INC ?

Post by reneeb »

Which OS? Which Perl version? Can you install Time::Piece manually?
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
Rooobaaat
Znuny wizard
Posts: 432
Joined: 11 Sep 2014, 16:28
Znuny Version: OTRS 5.0.x

Re: How to resolve this issue Can't locate Time @INC ?

Post by Rooobaaat »

as reneeb says
Install Time::Piece. It seems to be not installed on your system.
My english is better than your german :P

"Produktiv": OTRS: 5.0.x, OTRS::ITSM 5.0.x
"Testing": OTRS 6 git
OS: Debian 8.0 (Jessie)
Apache2.4.10/MySQL 5.5.41
pink
Znuny newbie
Posts: 1
Joined: 18 Nov 2014, 10:30
Znuny Version: 20011
Real Name: mani mani
Company: pasban

Re: How to resolve this issue Can't locate Time @INC ?

Post by pink »

One more thing, the reloaded HTML is oddly formatted. For example, there is a lot of white space that was not there in the original. Is there anything I can do to retain the original formatting?
Pass your 200-101 on first attempt using Testking.net and other resources. We offer bentley success in real exam with up to date www.sterling.edu prepared by United States Naval Academy
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: How to resolve this issue Can't locate Time @INC ?

Post by reneeb »

You shouldn't hijack old threads that are about different subjects. You should open you own Thread.

Back to your problem: Did you find any messages in the logs (OTRS and webserver)? Are the additional whitespaces only in the HTML source or in the rendered HTML (normal view)? Did you check with the browsers' developer tools if there are any errors? Which version of OTRS? Which browser? Which OS?
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
Post Reply