OTRS 338 HelpDesk with Apache on Win 8.1
No extensions installed yet.
1. Package Manager: Browse for "GeneralCatalog-3.3.8.opm", press "Install Package"
2. Message: Internal Server Error, The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, webmaster@somenet.com and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log
3. Apache error Log:
[Wed Aug 27 13:18:22 2014] [error] [client 127.0.0.1] Premature end of script headers: index.pl, referer: http://localhost/otrs/index.pl?Action=A ... ageManager
[Wed Aug 27 13:18:22 2014] [error] [client 127.0.0.1] [Wed Aug 27 13:18:22 2014] index.pl: CGI.pm open of tmpfile /GeneralCatalog-3.3.8.opm failed: No such file or directory, referer: http://localhost/otrs/index.pl?Action=A ... ageManager
File is in C:\eng\tmp Don't know where else to put it?
Regards
make
Package Manager 3.3.8: Unable to install packages
Moderator: crythias
-
- 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: Package Manager 3.3.8: Unable to install packages
When a file is uploaded, a temporary file is created first. And OTRS (more precisely CGI.pm) cannot create that temporary file...
On which OS do you run OTRS? Can you check the environment variables for the webserver user?
The temporary directory is selected using the following algorithm:
1. if $CGITempFile::TMPDIRECTORY is already set, use that
2. if the environment variable TMPDIR exists, use the location
indicated.
3. Otherwise try the locations /usr/tmp, /var/tmp, C:\temp,
/tmp, /temp, ::Temporary Items, and \WWW_ROOT.
On which OS do you run OTRS? Can you check the environment variables for the webserver user?
The temporary directory is selected using the following algorithm:
1. if $CGITempFile::TMPDIRECTORY is already set, use that
2. if the environment variable TMPDIR exists, use the location
indicated.
3. Otherwise try the locations /usr/tmp, /var/tmp, C:\temp,
/tmp, /temp, ::Temporary Items, and \WWW_ROOT.
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: 1
- Joined: 27 Aug 2014, 22:06
- Znuny Version: 3.3.8
- Real Name: Phillipe Smith
Re: Package Manager 3.3.8: Unable to install packages
Me too had problems with PackageManager.
I've made a fresh new install with OTRS 3.3.8 and MS-SQL Server.
All worked great, but after install a package, like FAQ, the Package Manager and Service Center got inaccesible.
I'm had the following apache error:
I've made a fresh new install with OTRS 3.3.8 and MS-SQL Server.
All worked great, but after install a package, like FAQ, the Package Manager and Service Center got inaccesible.
I'm had the following apache error:
Code: Select all
ERROR: OTRS-CGI-10 Perl: 5.10.1 OS: linux Time: Wed Aug 27 17:03:00 2014
Message: C-Parser:
no element found at line 375, column 4816, byte 32280 at /usr/local/lib64/perl5/XML/Parser.pm line 187
!
RemoteAddress: 10.1.0.109
RequestURI: /otrs/index.pl?Action=AdminPackageManager
Traceback (22602):
Module: Kernel::System::XML::XMLParse (OTRS 3.3.8) Line: 772
Module: (eval) (OTRS 3.3.8) Line: 2022
Module: Kernel::System::Package::PackageParse (OTRS 3.3.8) Line: 2021
Module: Kernel::System::Package::RepositoryList (OTRS 3.3.8) Line: 223
Module: Kernel::Modules::AdminPackageManager::Run (OTRS 3.3.8) Line: 1195
Module: Kernel::System::Web::InterfaceAgent::Run (OTRS 3.3.8) Line: 871
Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler (unknown version) 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
ERROR: OTRS-CGI-10 Perl: 5.10.1 OS: linux Time: Wed Aug 27 17:03:00 2014
Message: XML::Parser produced errors. I use XML::Parser::Lite as fallback!
RemoteAddress: 10.1.0.109
RequestURI: /otrs/index.pl?Action=AdminPackageManager
Traceback (22602):
Module: Kernel::System::XML::XMLParse (OTRS 3.3.8) Line: 773
Module: (eval) (OTRS 3.3.8) Line: 2022
Module: Kernel::System::Package::PackageParse (OTRS 3.3.8) Line: 2021
Module: Kernel::System::Package::RepositoryList (OTRS 3.3.8) Line: 223
Module: Kernel::Modules::AdminPackageManager::Run (OTRS 3.3.8) Line: 1195
Module: Kernel::System::Web::InterfaceAgent::Run (OTRS 3.3.8) Line: 871
Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler (unknown version) 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
ERROR: OTRS-CGI-10 Perl: 5.10.1 OS: linux Time: Wed Aug 27 17:03:00 2014
Message: Invalid XMLParse in PackageParse()!
RemoteAddress: 10.1.0.109
RequestURI: /otrs/index.pl?Action=AdminPackageManager
Traceback (22602):
Module: Kernel::System::Package::PackageParse (OTRS 3.3.8) Line: 2026
Module: Kernel::System::Package::RepositoryList (OTRS 3.3.8) Line: 223
Module: Kernel::Modules::AdminPackageManager::Run (OTRS 3.3.8) Line: 1195
Module: Kernel::System::Web::InterfaceAgent::Run (OTRS 3.3.8) Line: 871
Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler (unknown version) 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
[Wed Aug 27 17:03:03 2014] [error] Can't use string ("FAQ") as a HASH ref while "strict refs" in use at /opt/otrs//Kernel/Modules/AdminPackageManager.pm line 1218, <DATA> line 522.\n
Re: Package Manager 3.3.8: Unable to install packages
Thanks so far. OS is Win 8.1, DB is Oracle.
Tried to set the $CGITempFile::TMPDIRECTORY, but could not find it. Searched the OTRS Admin book.
Also tried dir in TEMP variable and var/tmp etc, didn't work either.
So, setting $CGITempFile::TMPDIRECTORY should work, but how can I set it?
Regards
make
Tried to set the $CGITempFile::TMPDIRECTORY, but could not find it. Searched the OTRS Admin book.
Also tried dir in TEMP variable and var/tmp etc, didn't work either.
So, setting $CGITempFile::TMPDIRECTORY should work, but how can I set it?
Regards
make