Hilfe zu Znuny Problemen aller Art
rbroda
Znuny expert
Posts: 152 Joined: 03 Jun 2013, 14:40
Znuny Version: 6.0.33
Real Name: Robert
Company: Gebr. Steimel GmbH
Post
by rbroda » 08 Dec 2014, 14:04
Hallo zusammen,
nach dem Update auf die Version 4.0.2 kriege ich den Apache-Dienst nicht mehr gestartet.
Folgende Fehlermeldung steht im Log:
Code: Select all
[Mon Dec 08 12:58:20 2014] [error] Can't locate Archive/Zip.pm in @INC (@INC contains: /usr/Custom /usr/Kernel/cpan-lib /usr /opt/otrs/Custom /opt/otrs/Kernel/cpan-lib /opt/otrs/ /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl . /etc/apache2) at /opt/otrs/Kernel/cpan-lib/Excel/Writer/XLSX/Workbook.pm line 25.\nBEGIN failed--compilation aborted at /opt/otrs/Kernel/cpan-lib/Excel/Writer/XLSX/Workbook.pm line 25.\nCompilation failed in require at /opt/otrs/Kernel/cpan-lib/Excel/Writer/XLSX.pm line 18.\nBEGIN failed--compilation aborted at /opt/otrs/Kernel/cpan-lib/Excel/Writer/XLSX.pm line 18.\nCompilation failed in require at /opt/otrs//Kernel/System/CSV.pm line 16.\nBEGIN failed--compilation aborted at /opt/otrs//Kernel/System/CSV.pm line 16.\nCompilation failed in require at /opt/otrs//Kernel/Modules/AgentTicketSearch.pm line 15.\nBEGIN failed--compilation aborted at /opt/otrs//Kernel/Modules/AgentTicketSearch.pm line 15.\nCompilation failed in require at /opt/otrs/scripts/apache2-perl-startup.pl line 140.\nBEGIN failed--compilation aborted at /opt/otrs/scripts/apache2-perl-startup.pl line 140.\nCompilation failed in require at (eval 2) line 1.\n
[Mon Dec 08 12:58:20 2014] [error] Can't load Perl file: /opt/otrs/scripts/apache2-perl-startup.pl for server 127.0.1.1:0, exiting...
Berechtigungen habe ich gesetzt...
Last edited by
rbroda on 11 Nov 2015, 11:31, edited 1 time in total.
jojo
Znuny guru
Posts: 15020 Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:
Post
by jojo » 08 Dec 2014, 14:06
Dir fehlt mindestens 1 Perl Module (Archive::Zip). Am besten führst Du bin/otrs.CheckModules.pl mal aus und installierst alle benötigten Module nach
"Production":
OTRS ™ 8,
OTRS ™ 7,
STORM powered by
OTRS
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! ::
Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
rbroda
Znuny expert
Posts: 152 Joined: 03 Jun 2013, 14:40
Znuny Version: 6.0.33
Real Name: Robert
Company: Gebr. Steimel GmbH
Post
by rbroda » 08 Dec 2014, 14:16
Ok, nachinstalliert und apache lässt sich starten. Kirege aber die Seite mit einerm 500 Internal Server Error auf...
Code: Select all
[Mon Dec 08 13:13:10 2014] [error] Can't locate object method "Output" via package "Kernel::Output::HTML::Layout" at /opt/otrs//Kernel/Output/HTML/Layout.pm line 1301.\n
ERROR: OTRS-CGI-10 Perl: 5.14.2 OS: linux Time: Mon Dec 8 13:13:21 2014
Message: Can't locate Template.pm in @INC (@INC contains: /usr/sbin/../../Custom /usr/sbin/../../Kernel/cpan-lib /usr/sbin/../.. /usr/Custom /usr/Kernel/cpan-lib /usr /opt/otrs/Custom /opt/otrs/Kernel/cpan-lib /opt/otrs/ /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl . /etc/apache2) at /opt/otrs//Kernel/Output/HTML/LayoutTemplate.pm line 16.
BEGIN failed--compilation aborted at /opt/otrs//Kernel/Output/HTML/LayoutTemplate.pm line 16.
RemoteAddress: 127.0.0.1
RequestURI: /otrs/index.pl?Action=AdminPackageManager&OTRSAgentInterface=0uDUshXxUCv272YcHD1w08IPfyilW2J4
Traceback (4089):
Module: Kernel::System::Main::RequireBaseClass Line: 164
Module: Kernel::Output::HTML::Layout::new Line: 406
Module: Kernel::System::ObjectManager::_ObjectBuild Line: 222
Module: Kernel::System::ObjectManager::Get Line: 176
Module: Kernel::System::Web::InterfaceAgent::Run Line: 774
Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler Line: 41
Module: (eval) (v1.99) Line: 204
Module: ModPerl::RegistryCooker::run (v1.99) Line: 204
Module: ModPerl::RegistryCooker::default_handler (v1.99) Line: 170
Module: ModPerl::Registry::handler (v1.99) Line: 31
[Mon Dec 8 13:13:21 2014] -e: Use of uninitialized value in concatenation (.) or string at /opt/otrs//Kernel/Output/HTML/Layout.pm line 1181.
[Mon Dec 08 13:13:21 2014] [error] Can't locate object method "Output" via package "Kernel::Output::HTML::Layout" at /opt/otrs//Kernel/Output/HTML/Layout.pm line 1301.\n
[Mon Dec 08 13:13:22 2014] [error] [client 127.0.0.1] File does not exist: /var/www/favicon.ico
[Mon Dec 08 13:13:22 2014] [error] [client 127.0.0.1] File does not exist: /var/www/favicon.ico
jojo
Znuny guru
Posts: 15020 Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:
Post
by jojo » 08 Dec 2014, 14:18
Message: Can't locate Template.pm d.h. Du hast das CheckModules script nicht ausgeführt.
Siehe auch step 5 in der UPGRADING Anleitung:
http://otrs.github.io/doc/manual/admin/ ... ading.html
"Production":
OTRS ™ 8,
OTRS ™ 7,
STORM powered by
OTRS
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! ::
Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
rbroda
Znuny expert
Posts: 152 Joined: 03 Jun 2013, 14:40
Znuny Version: 6.0.33
Real Name: Robert
Company: Gebr. Steimel GmbH
Post
by rbroda » 08 Dec 2014, 14:47
Super! Soweit zu laufen gebracht. Update erfolgreich. Vielen Dank!
Eine Fehlermeldung in OTRS habe ich noch...sagt mir aber jetzt leider nicht..
Code: Select all
Module Kernel/System/Stats/Static/FAQAccess.pm not in @INC (/usr/sbin/../../Custom /usr/sbin/../../Kernel/cpan-lib /usr/sbin/../.. /usr/Custom /usr/Kernel/cpan-lib /usr /opt/otrs/Custom /opt/otrs/Kernel/cpan-lib /opt/otrs/ /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl . /etc/apache2)
rbroda
Znuny expert
Posts: 152 Joined: 03 Jun 2013, 14:40
Znuny Version: 6.0.33
Real Name: Robert
Company: Gebr. Steimel GmbH
Post
by rbroda » 08 Dec 2014, 14:54
Ok. War das FAQ-Paket...Wie gehe ich am besten vor das neue Paket zu installieren, ohne das meine FAQs verschinden. Gibt es ein Workaround?
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:
Post
by reneeb » 08 Dec 2014, 15:10
Ein Upgrade machen. Entweder über die Weboberfläche oder in der Konsole
Code: Select all
perl /opt/otrs/bin/otrs.PackageManager.pl -a upgrade -p /path/to/new/FAQ-x.x.x.opm
rbroda
Znuny expert
Posts: 152 Joined: 03 Jun 2013, 14:40
Znuny Version: 6.0.33
Real Name: Robert
Company: Gebr. Steimel GmbH
Post
by rbroda » 08 Dec 2014, 15:21
Nagut...werde ich nochmal ausprobieren müssen.
Vielen Dank. Update hat super funktioniert.