Problem mit Apache

Hilfe zu Znuny Problemen aller Art
Locked
Kimoni
Znuny newbie
Posts: 5
Joined: 23 Feb 2012, 00:43
Znuny Version: OTRS311

Problem mit Apache

Post by Kimoni »

Hallo,

ich versuche gerade OTRS 3.1.1 auf einem W2K3 Server zu installieren. Auf diesem ist bereits der IIS 6.0 installiert und läuft natürlich auf Port 80.
Zum installieren nehme ich die Installationsroutine und ändere danach den Port des Apache auf 8080.

hier jetzt die Error log des Apache:

Code: Select all

[Wed Feb 22 23:15:30 2012] [error] Can't locate JSON/XS.pm in @INC (@INC contains: D:/OTRS/Apache/Custom D:/OTRS/Apache/Kernel/cpan-lib D:/OTRS/Apache D:/OTRS/OTRS/Custom D:/OTRS/OTRS/Kernel/cpan-lib D:/OTRS/OTRS/ D:/OTRS/StrawberryPerl/perl/site/lib D:/OTRS/StrawberryPerl/perl/vendor/lib D:/OTRS/StrawberryPerl/perl/lib .) at (eval 72) line 2.\nBEGIN failed--compilation aborted at (eval 72) line 2.\n at D:/OTRS/OTRS//Kernel/System/JSON.pm line 17\nCompilation failed in require at D:/OTRS/OTRS//Kernel/System/JSON.pm line 17.\nBEGIN failed--compilation aborted at D:/OTRS/OTRS//Kernel/System/JSON.pm line 17.\nCompilation failed in require at D:/OTRS/OTRS//Kernel/Output/HTML/Layout.pm line 19.\nBEGIN failed--compilation aborted at D:/OTRS/OTRS//Kernel/Output/HTML/Layout.pm line 19.\nCompilation failed in require at D:/OTRS/OTRS//Kernel/System/Web/InterfaceAgent.pm line 32.\nBEGIN failed--compilation aborted at D:/OTRS/OTRS//Kernel/System/Web/InterfaceAgent.pm line 32.\nCompilation failed in require at D:/OTRS/OTRS/scripts/apache2-perl-startup.pl line 68.\nBEGIN failed--compilation aborted at D:/OTRS/OTRS/scripts/apache2-perl-startup.pl line 68.\nCompilation failed in require at (eval 7) line 1.\n
[Wed Feb 22 23:15:30 2012] [error] Can't load Perl file: D:/OTRS/OTRS/scripts/apache2-perl-startup.pl for server meinserver.de:0, exiting...
Ich muss dazu sagen: auf einem anderen System würde es GENAU so gehen... nur halt hier nicht ...
Vielen Dank für die Hilfe!
Wolfgangf
Znuny ninja
Posts: 1029
Joined: 13 Apr 2009, 12:26
Znuny Version: 6.0.13
Real Name: Wolfgang Fürtbauer
Company: PBS Logitek GmbH
Location: Pinsdorf

Re: Problem mit Apache

Post by Wolfgangf »

und hast Du schon probiert das fehlende Perl Module JSON::XS zu installieren?
z.B: über CPAN, ...
Produktiv:
OTRS 6.0.13/ ITSM 6.0.13
OS: SUSE Linux (SLES 12, Leap), MySql 5.5.x, 5.6.x
Windows 2012 AD Integration (agents and customers), Nagios integration (incidents, CMDB), Survey, TimeAccounting
Kimoni
Znuny newbie
Posts: 5
Joined: 23 Feb 2012, 00:43
Znuny Version: OTRS311

Re: Problem mit Apache

Post by Kimoni »

Ich gehe jetzt mal davon aus, dass es alles vorhanden ist da ich das strawberry perl aus dem otrs-installer habe und es wie gesagt auf anderen Maschinen so läuft.

edit:
über >cpan JSON:

Code: Select all

D:\OTRS\StrawberryPerl>cpan JSON
CPAN: CPAN::SQLite loaded ok (v0.199)
Database was generated on Thu, 23 Feb 2012 08:26:29 GMT
Running install for module 'JSON'
Running make for M/MA/MAKAMAKA/JSON-2.53.tar.gz
CPAN: Digest::SHA loaded ok (v5.50)
CPAN: Compress::Zlib loaded ok (v2.033)
Checksum for D:\OTRS\StrawberryPerl\cpan\sources\authors\id\M\MA\MAKAMAKA\JSON-2
.53.tar.gz ok
CPAN: Archive::Tar loaded ok (v1.76)
CPAN: File::Temp loaded ok (v0.22)
CPAN: Module::CoreList loaded ok (v2.44)

  CPAN.pm: Going to build M/MA/MAKAMAKA/JSON-2.53.tar.gz

We try to look up lib/JSON.pm, but in vain. B module can't install?
Set the environmental variable 'PERL_DL_NONLAZY' with 0.
And see to ExtUtils::MM_Unix.
perl says : Can't locate JSON/XS.pm in @INC (@INC contains: ./lib D:/OTRS/Strawb
erryPerl/perl/site/lib D:/OTRS/StrawberryPerl/perl/vendor/lib D:/OTRS/Strawberry
Perl/perl/lib .) at (eval 20) line 2.
BEGIN failed--compilation aborted at (eval 20) line 2.
 at (eval 16) line 2
Compilation failed in require at (eval 16) line 2.
We do not make Makefile by requiring Perl version 7.0.
Perl v7.0.0 required--this is only v5.12.3, stopped at Makefile.PL line 19.
Warning: No success on command[D:\OTRS\StrawberryPerl\perl\bin\perl.exe Makefile
.PL]
CPAN: YAML loaded ok (v0.72)
  MAKAMAKA/JSON-2.53.tar.gz
  D:\OTRS\StrawberryPerl\perl\bin\perl.exe Makefile.PL -- NOT OK
Running make test
  Make had some problems, won't test
Running make install
  Make had some problems, won't install
Locked