OTRS - Installation mit apt-get
-
- Znuny newbie
- Posts: 23
- Joined: 13 Apr 2012, 14:39
- Znuny Version: 4.0.6
- Real Name: Oswin Gilgert
OTRS - Installation mit apt-get
Hallo und schönen guten Abend,
Habe hier ein Problem, für das ich bisher (trotz Suche) keine Hilfe gefunden habe.
In einem neu aufgesetzten aptosid 2011-03 wurden mit
apt-get update
apt-get distupgrade
das System aktualisiert
Danach wurden mit apt-get install
Apache2
mysql
installiert
Zuletzt wurde mit apt-get install otrs2 installiert.
Das ganze alles ohne Probleme (auch otrs.CheckModules.pl hat keine Fehler angezeigt)
Der Web-Zugriff über http:localhost/otrs/bin/index.pl funktioniert soweit auch tadellos.
Der Web-Zugriff über http:localhost/otrs/bin/installer.pl funktionierte nicht, da der "SecureMode" auf "ja" gesetzt war.
Über SysConfig - Framework - Core -SecureMode kann der Wert aber nicht auf "nein" gesetzt werden um http:localhost/otrs/bin/installer.pl aufrufen zu können.
Wenn ich nun eine KUNDEN-Firma hinzufügen möchte wird die nachfolgende Fehlermeldung ausgegeben:
"INTERNAL SERVER ERROR"
"The Server entcountered an internal error misconfiguration and was unable to complete your request"
Kann mir hier jemand weiterhelfen?? Komme einfach nicht auf die Lösung des Problems.
Habe nur die Vermutung dass es an Zugriffsproblemen bei mysql oder oder Apache2 liegen könnte ohne zu wissen wie die Lösung aussieht.
noch einen schönen Abend
Habe hier ein Problem, für das ich bisher (trotz Suche) keine Hilfe gefunden habe.
In einem neu aufgesetzten aptosid 2011-03 wurden mit
apt-get update
apt-get distupgrade
das System aktualisiert
Danach wurden mit apt-get install
Apache2
mysql
installiert
Zuletzt wurde mit apt-get install otrs2 installiert.
Das ganze alles ohne Probleme (auch otrs.CheckModules.pl hat keine Fehler angezeigt)
Der Web-Zugriff über http:localhost/otrs/bin/index.pl funktioniert soweit auch tadellos.
Der Web-Zugriff über http:localhost/otrs/bin/installer.pl funktionierte nicht, da der "SecureMode" auf "ja" gesetzt war.
Über SysConfig - Framework - Core -SecureMode kann der Wert aber nicht auf "nein" gesetzt werden um http:localhost/otrs/bin/installer.pl aufrufen zu können.
Wenn ich nun eine KUNDEN-Firma hinzufügen möchte wird die nachfolgende Fehlermeldung ausgegeben:
"INTERNAL SERVER ERROR"
"The Server entcountered an internal error misconfiguration and was unable to complete your request"
Kann mir hier jemand weiterhelfen?? Komme einfach nicht auf die Lösung des Problems.
Habe nur die Vermutung dass es an Zugriffsproblemen bei mysql oder oder Apache2 liegen könnte ohne zu wissen wie die Lösung aussieht.
noch einen schönen Abend
siduction-Indian summer 2014.11.13, apache 2.4-10, MySQL 5.5.42-1, otrs 4.06
-
- 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: OTRS - Installation mit apt-get
ad 1) securemode kannst Du ja in der config.pm ändern falls notwendig
ad 2) was sagt das apache error log?
ad 2) was sagt das apache error log?
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
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
-
- Znuny newbie
- Posts: 23
- Joined: 13 Apr 2012, 14:39
- Znuny Version: 4.0.6
- Real Name: Oswin Gilgert
Re: OTRS - Installation mit apt-get
Apache error-log sagt folgendes
[Sat May 19 12:45:46 2012] [notice] Apache/2.2.22 (Debian) configured -- resuming normal operations
[Sat May 19 12:58:48 2012] [notice] SIGUSR1 received. Doing graceful restart
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
[Sat May 19 12:58:48 2012] [notice] Apache/2.2.22 (Debian) configured -- resuming normal operations
[Sat May 19 13:00:26 2012] installer.pl: Use of uninitialized value in hash element at /usr/share/otrs/bin/cgi-bin/../../Kernel/Output/HTML/Layout.pm line 1388.
[Sat May 19 13:00:26 2012] installer.pl: Use of uninitialized value in hash element at /usr/share/otrs/bin/cgi-bin/../../Kernel/Output/HTML/Layout.pm line 1393.
ERROR: OTRS-CGI-10 Perl: 5.14.2 OS: linux Time: Sat May 19 13:00:26 2012
Message: SecureMode active!
Traceback (10719):
Module: Kernel::Output::HTML::Layout::Error (v1.381) Line: 1146
Module: Kernel::System::Web::InterfaceInstaller::Run (v1.6) Line: 124
Module: /usr/share/otrs/bin/cgi-bin/installer.pl (v1.34) Line: 46
[Sat May 19 13:00:55 2012] installer.pl: Use of uninitialized value in hash element at /usr/share/otrs/bin/cgi-bin/../../Kernel/Output/HTML/Layout.pm line 1388.
[Sat May 19 13:00:55 2012] installer.pl: Use of uninitialized value in hash element at /usr/share/otrs/bin/cgi-bin/../../Kernel/Output/HTML/Layout.pm line 1393.
ERROR: OTRS-CGI-10 Perl: 5.14.2 OS: linux Time: Sat May 19 13:00:55 2012
Message: SecureMode active!
Traceback (10720):
Module: Kernel::Output::HTML::Layout::Error (v1.381) Line: 1146
Module: Kernel::System::Web::InterfaceInstaller::Run (v1.6) Line: 124
Module: /usr/share/otrs/bin/cgi-bin/installer.pl (v1.34) Line: 46
ERROR: OTRS-CGI-10 Perl: 5.14.2 OS: linux Time: Sat May 19 13:01:38 2012
Message: No UserID found for 'root@localhost.de'!
Traceback (10725):
Module: Kernel::System::User::UserLookup (v1.121) Line: 797
Module: Kernel::System::Auth::Auth (v1.56) Line: 244
Module: Kernel::System::Web::InterfaceAgent::Run (v1.64) Line: 204
Module: /usr/share/otrs/bin/cgi-bin/index.pl (v1.90) Line: 46
ERROR: OTRS-CGI-10 Perl: 5.14.2 OS: linux Time: Sat May 19 13:02:15 2012
Message: Can't write '/usr/share/otrs/bin/check_permissons.10731': Permission denied
Traceback (10731):
Module: Kernel::System::Main::FileWrite (v1.63) Line: 444
Module: Kernel::System::Package::_FileSystemCheck (v1.130) Line: 2772
Module: Kernel::System::Package::new (v1.130) Line: 145
Module: Kernel::Modules::AdminPackageManager::new (v1.108) Line: 40
Module: Kernel::System::Web::InterfaceAgent::Run (v1.64) Line: 852
Module: /usr/share/otrs/bin/cgi-bin/index.pl (v1.90) Line: 46
[Sat May 19 13:02:15 2012] index.pl: ERROR: Need write permission in OTRS home
[Sat May 19 13:02:15 2012] index.pl:
[Sat May 19 13:02:15 2012] index.pl: Debian policies deny the right for webapplications to change files in /usr.
[Sat May 19 13:02:15 2012] index.pl:
[Sat May 19 13:02:15 2012] index.pl: To break this security rule, run the command below on the server as user root:
[Sat May 19 13:02:15 2012] index.pl:
[Sat May 19 13:02:15 2012] index.pl: /usr/share/otrs/bin/otrs.SetPermissions.pl --otrs-user=otrs --otrs-group=www-data --web-user=www-data --web-group=www-data /usr/share/otrs
[Sat May 19 13:02:15 2012] [error] [client 127.0.0.1] Premature end of script headers: index.pl, referer: http://127.0.0.1/otrs/index.pl?Action=Admin
[Sat May 19 13:02:15 2012] [error] [client 127.0.0.1] File does not exist: /var/www/favicon.ico
[Sat May 19 13:02:15 2012] [error] [client 127.0.0.1] File does not exist: /var/www/favicon.ico
ERROR: OTRS-CGI-10 Perl: 5.14.2 OS: linux Time: Sat May 19 13:08:43 2012
Message: Can't write '/usr/share/otrs/bin/check_permissons.11011': Permission denied
Traceback (11011):
Module: Kernel::System::Main::FileWrite (v1.63) Line: 444
Module: Kernel::System::Package::_FileSystemCheck (v1.130) Line: 2772
Module: Kernel::System::Package::new (v1.130) Line: 145
Module: Kernel::Modules::AdminPackageManager::new (v1.108) Line: 40
Module: Kernel::System::Web::InterfaceAgent::Run (v1.64) Line: 852
Module: /usr/share/otrs/bin/cgi-bin/index.pl (v1.90) Line: 46
[Sat May 19 13:08:43 2012] index.pl: ERROR: Need write permission in OTRS home
[Sat May 19 13:08:43 2012] index.pl:
[Sat May 19 13:08:43 2012] index.pl: Debian policies deny the right for webapplications to change files in /usr.
[Sat May 19 13:08:43 2012] index.pl:
[Sat May 19 13:08:43 2012] index.pl: To break this security rule, run the command below on the server as user root:
[Sat May 19 13:08:43 2012] index.pl:
[Sat May 19 13:08:43 2012] index.pl: /usr/share/otrs/bin/otrs.SetPermissions.pl --otrs-user=otrs --otrs-group=www-data --web-user=www-data --web-group=www-data /usr/share/otrs
[Sat May 19 13:08:44 2012] [error] [client 127.0.0.1] Premature end of script headers: index.pl, referer: http://127.0.0.1/otrs/index.pl?Action=Admin
ERROR: OTRS-CGI-10 Perl: 5.14.2 OS: linux Time: Sat May 19 13:19:51 2012
Message: Can't write '/usr/share/otrs/bin/check_permissons.11504': Permission denied
Traceback (11504):
Module: Kernel::System::Main::FileWrite (v1.63) Line: 444
Module: Kernel::System::Package::_FileSystemCheck (v1.130) Line: 2772
Module: Kernel::System::Package::new (v1.130) Line: 145
Module: Kernel::Modules::AdminPackageManager::new (v1.108) Line: 40
Module: Kernel::System::Web::InterfaceAgent::Run (v1.64) Line: 852
Module: /usr/share/otrs/bin/cgi-bin/index.pl (v1.90) Line: 46
[Sat May 19 13:19:51 2012] index.pl: ERROR: Need write permission in OTRS home
[Sat May 19 13:19:51 2012] index.pl:
[Sat May 19 13:19:51 2012] index.pl: Debian policies deny the right for webapplications to change files in /usr.
[Sat May 19 13:19:51 2012] index.pl:
[Sat May 19 13:19:51 2012] index.pl: To break this security rule, run the command below on the server as user root:
[Sat May 19 13:19:51 2012] index.pl:
[Sat May 19 13:19:51 2012] index.pl: /usr/share/otrs/bin/otrs.SetPermissions.pl --otrs-user=otrs --otrs-group=www-data --web-user=www-data --web-group=www-data /usr/share/otrs
[Sat May 19 13:19:51 2012] [error] [client 127.0.0.1] Premature end of script headers: index.pl, referer: http://127.0.0.1/otrs/index.pl?Action=Admin
Undefined subroutine &Kernel::System::ReferenceData::all_country_names called at /usr/share/otrs/bin/cgi-bin/../../Kernel/System/ReferenceData.pm line 117.
[Sat May 19 13:41:14 2012] [error] [client 127.0.0.1] Premature end of script headers: index.pl, referer: http://127.0.0.1/otrs/index.pl?Action=A ... merCompany
[Sat May 19 13:41:14 2012] [error] [client 127.0.0.1] File does not exist: /var/www/favicon.ico
[Sat May 19 13:42:46 2012] [notice] caught SIGTERM, shutting down
[Sat May 19 13:43:28 2012] [notice] Apache/2.2.22 (Debian) configured -- resuming normal operations
Undefined subroutine &Kernel::System::ReferenceData::all_country_names called at /usr/share/otrs/bin/cgi-bin/../../Kernel/System/ReferenceData.pm line 117.
[Sat May 19 13:50:36 2012] [error] [client 127.0.0.1] Premature end of script headers: index.pl, referer: http://127.0.0.1/otrs/index.pl?Action=A ... merCompany
Undefined subroutine &Kernel::System::ReferenceData::all_country_names called at /usr/share/otrs/bin/cgi-bin/../../Kernel/System/ReferenceData.pm line 117.
[Sat May 19 14:00:41 2012] [error] [client 127.0.0.1] Premature end of script headers: index.pl, referer: http://127.0.0.1/otrs/index.pl?Action=A ... merCompany
[Sat May 19 20:20:37 2012] index.pl: Subroutine Load redefined at (eval 154) line 2.
[Sat May 19 20:20:45 2012] index.pl: Subroutine Load redefined at (eval 155) line 2.
[Sat May 19 20:20:48 2012] index.pl: Subroutine Load redefined at (eval 154) line 2.
[Sat May 19 20:21:00 2012] index.pl: Subroutine Load redefined at (eval 155) line 2.
Undefined subroutine &Kernel::System::ReferenceData::all_country_names called at /usr/share/otrs/bin/cgi-bin/../../Kernel/System/ReferenceData.pm line 117.
[Sat May 19 20:22:03 2012] [error] [client 127.0.0.1] Premature end of script headers: index.pl, referer: http://127.0.0.1/otrs/index.pl?Action=A ... merCompany
[Sat May 19 20:22:03 2012] [error] [client 127.0.0.1] File does not exist: /var/www/favicon.ico
[Sun May 20 08:03:11 2012] [notice] caught SIGTERM, shutting down
[Mon May 21 14:07:54 2012] [error] Can't locate Apache/DBI.pm in @INC (@INC contains: /usr/share/otrs/Custom /usr/share/otrs/Kernel/cpan-lib /usr/share/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 /usr/share/otrs/scripts/apache2-perl-startup.pl line 51.\nBEGIN failed--compilation aborted at /usr/share/otrs/scripts/apache2-perl-startup.pl line 51.\nCompilation failed in require at (eval 2) line 1.\n
[Mon May 21 14:07:54 2012] [error] Can't load Perl file: /usr/share/otrs/scripts/apache2-perl-startup.pl for server 127.0.0.1:0, exiting...
Was habe ich da falsche gemacht und wie kann ich dies beheben??
Danke
[Sat May 19 12:45:46 2012] [notice] Apache/2.2.22 (Debian) configured -- resuming normal operations
[Sat May 19 12:58:48 2012] [notice] SIGUSR1 received. Doing graceful restart
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
[Sat May 19 12:58:48 2012] [notice] Apache/2.2.22 (Debian) configured -- resuming normal operations
[Sat May 19 13:00:26 2012] installer.pl: Use of uninitialized value in hash element at /usr/share/otrs/bin/cgi-bin/../../Kernel/Output/HTML/Layout.pm line 1388.
[Sat May 19 13:00:26 2012] installer.pl: Use of uninitialized value in hash element at /usr/share/otrs/bin/cgi-bin/../../Kernel/Output/HTML/Layout.pm line 1393.
ERROR: OTRS-CGI-10 Perl: 5.14.2 OS: linux Time: Sat May 19 13:00:26 2012
Message: SecureMode active!
Traceback (10719):
Module: Kernel::Output::HTML::Layout::Error (v1.381) Line: 1146
Module: Kernel::System::Web::InterfaceInstaller::Run (v1.6) Line: 124
Module: /usr/share/otrs/bin/cgi-bin/installer.pl (v1.34) Line: 46
[Sat May 19 13:00:55 2012] installer.pl: Use of uninitialized value in hash element at /usr/share/otrs/bin/cgi-bin/../../Kernel/Output/HTML/Layout.pm line 1388.
[Sat May 19 13:00:55 2012] installer.pl: Use of uninitialized value in hash element at /usr/share/otrs/bin/cgi-bin/../../Kernel/Output/HTML/Layout.pm line 1393.
ERROR: OTRS-CGI-10 Perl: 5.14.2 OS: linux Time: Sat May 19 13:00:55 2012
Message: SecureMode active!
Traceback (10720):
Module: Kernel::Output::HTML::Layout::Error (v1.381) Line: 1146
Module: Kernel::System::Web::InterfaceInstaller::Run (v1.6) Line: 124
Module: /usr/share/otrs/bin/cgi-bin/installer.pl (v1.34) Line: 46
ERROR: OTRS-CGI-10 Perl: 5.14.2 OS: linux Time: Sat May 19 13:01:38 2012
Message: No UserID found for 'root@localhost.de'!
Traceback (10725):
Module: Kernel::System::User::UserLookup (v1.121) Line: 797
Module: Kernel::System::Auth::Auth (v1.56) Line: 244
Module: Kernel::System::Web::InterfaceAgent::Run (v1.64) Line: 204
Module: /usr/share/otrs/bin/cgi-bin/index.pl (v1.90) Line: 46
ERROR: OTRS-CGI-10 Perl: 5.14.2 OS: linux Time: Sat May 19 13:02:15 2012
Message: Can't write '/usr/share/otrs/bin/check_permissons.10731': Permission denied
Traceback (10731):
Module: Kernel::System::Main::FileWrite (v1.63) Line: 444
Module: Kernel::System::Package::_FileSystemCheck (v1.130) Line: 2772
Module: Kernel::System::Package::new (v1.130) Line: 145
Module: Kernel::Modules::AdminPackageManager::new (v1.108) Line: 40
Module: Kernel::System::Web::InterfaceAgent::Run (v1.64) Line: 852
Module: /usr/share/otrs/bin/cgi-bin/index.pl (v1.90) Line: 46
[Sat May 19 13:02:15 2012] index.pl: ERROR: Need write permission in OTRS home
[Sat May 19 13:02:15 2012] index.pl:
[Sat May 19 13:02:15 2012] index.pl: Debian policies deny the right for webapplications to change files in /usr.
[Sat May 19 13:02:15 2012] index.pl:
[Sat May 19 13:02:15 2012] index.pl: To break this security rule, run the command below on the server as user root:
[Sat May 19 13:02:15 2012] index.pl:
[Sat May 19 13:02:15 2012] index.pl: /usr/share/otrs/bin/otrs.SetPermissions.pl --otrs-user=otrs --otrs-group=www-data --web-user=www-data --web-group=www-data /usr/share/otrs
[Sat May 19 13:02:15 2012] [error] [client 127.0.0.1] Premature end of script headers: index.pl, referer: http://127.0.0.1/otrs/index.pl?Action=Admin
[Sat May 19 13:02:15 2012] [error] [client 127.0.0.1] File does not exist: /var/www/favicon.ico
[Sat May 19 13:02:15 2012] [error] [client 127.0.0.1] File does not exist: /var/www/favicon.ico
ERROR: OTRS-CGI-10 Perl: 5.14.2 OS: linux Time: Sat May 19 13:08:43 2012
Message: Can't write '/usr/share/otrs/bin/check_permissons.11011': Permission denied
Traceback (11011):
Module: Kernel::System::Main::FileWrite (v1.63) Line: 444
Module: Kernel::System::Package::_FileSystemCheck (v1.130) Line: 2772
Module: Kernel::System::Package::new (v1.130) Line: 145
Module: Kernel::Modules::AdminPackageManager::new (v1.108) Line: 40
Module: Kernel::System::Web::InterfaceAgent::Run (v1.64) Line: 852
Module: /usr/share/otrs/bin/cgi-bin/index.pl (v1.90) Line: 46
[Sat May 19 13:08:43 2012] index.pl: ERROR: Need write permission in OTRS home
[Sat May 19 13:08:43 2012] index.pl:
[Sat May 19 13:08:43 2012] index.pl: Debian policies deny the right for webapplications to change files in /usr.
[Sat May 19 13:08:43 2012] index.pl:
[Sat May 19 13:08:43 2012] index.pl: To break this security rule, run the command below on the server as user root:
[Sat May 19 13:08:43 2012] index.pl:
[Sat May 19 13:08:43 2012] index.pl: /usr/share/otrs/bin/otrs.SetPermissions.pl --otrs-user=otrs --otrs-group=www-data --web-user=www-data --web-group=www-data /usr/share/otrs
[Sat May 19 13:08:44 2012] [error] [client 127.0.0.1] Premature end of script headers: index.pl, referer: http://127.0.0.1/otrs/index.pl?Action=Admin
ERROR: OTRS-CGI-10 Perl: 5.14.2 OS: linux Time: Sat May 19 13:19:51 2012
Message: Can't write '/usr/share/otrs/bin/check_permissons.11504': Permission denied
Traceback (11504):
Module: Kernel::System::Main::FileWrite (v1.63) Line: 444
Module: Kernel::System::Package::_FileSystemCheck (v1.130) Line: 2772
Module: Kernel::System::Package::new (v1.130) Line: 145
Module: Kernel::Modules::AdminPackageManager::new (v1.108) Line: 40
Module: Kernel::System::Web::InterfaceAgent::Run (v1.64) Line: 852
Module: /usr/share/otrs/bin/cgi-bin/index.pl (v1.90) Line: 46
[Sat May 19 13:19:51 2012] index.pl: ERROR: Need write permission in OTRS home
[Sat May 19 13:19:51 2012] index.pl:
[Sat May 19 13:19:51 2012] index.pl: Debian policies deny the right for webapplications to change files in /usr.
[Sat May 19 13:19:51 2012] index.pl:
[Sat May 19 13:19:51 2012] index.pl: To break this security rule, run the command below on the server as user root:
[Sat May 19 13:19:51 2012] index.pl:
[Sat May 19 13:19:51 2012] index.pl: /usr/share/otrs/bin/otrs.SetPermissions.pl --otrs-user=otrs --otrs-group=www-data --web-user=www-data --web-group=www-data /usr/share/otrs
[Sat May 19 13:19:51 2012] [error] [client 127.0.0.1] Premature end of script headers: index.pl, referer: http://127.0.0.1/otrs/index.pl?Action=Admin
Undefined subroutine &Kernel::System::ReferenceData::all_country_names called at /usr/share/otrs/bin/cgi-bin/../../Kernel/System/ReferenceData.pm line 117.
[Sat May 19 13:41:14 2012] [error] [client 127.0.0.1] Premature end of script headers: index.pl, referer: http://127.0.0.1/otrs/index.pl?Action=A ... merCompany
[Sat May 19 13:41:14 2012] [error] [client 127.0.0.1] File does not exist: /var/www/favicon.ico
[Sat May 19 13:42:46 2012] [notice] caught SIGTERM, shutting down
[Sat May 19 13:43:28 2012] [notice] Apache/2.2.22 (Debian) configured -- resuming normal operations
Undefined subroutine &Kernel::System::ReferenceData::all_country_names called at /usr/share/otrs/bin/cgi-bin/../../Kernel/System/ReferenceData.pm line 117.
[Sat May 19 13:50:36 2012] [error] [client 127.0.0.1] Premature end of script headers: index.pl, referer: http://127.0.0.1/otrs/index.pl?Action=A ... merCompany
Undefined subroutine &Kernel::System::ReferenceData::all_country_names called at /usr/share/otrs/bin/cgi-bin/../../Kernel/System/ReferenceData.pm line 117.
[Sat May 19 14:00:41 2012] [error] [client 127.0.0.1] Premature end of script headers: index.pl, referer: http://127.0.0.1/otrs/index.pl?Action=A ... merCompany
[Sat May 19 20:20:37 2012] index.pl: Subroutine Load redefined at (eval 154) line 2.
[Sat May 19 20:20:45 2012] index.pl: Subroutine Load redefined at (eval 155) line 2.
[Sat May 19 20:20:48 2012] index.pl: Subroutine Load redefined at (eval 154) line 2.
[Sat May 19 20:21:00 2012] index.pl: Subroutine Load redefined at (eval 155) line 2.
Undefined subroutine &Kernel::System::ReferenceData::all_country_names called at /usr/share/otrs/bin/cgi-bin/../../Kernel/System/ReferenceData.pm line 117.
[Sat May 19 20:22:03 2012] [error] [client 127.0.0.1] Premature end of script headers: index.pl, referer: http://127.0.0.1/otrs/index.pl?Action=A ... merCompany
[Sat May 19 20:22:03 2012] [error] [client 127.0.0.1] File does not exist: /var/www/favicon.ico
[Sun May 20 08:03:11 2012] [notice] caught SIGTERM, shutting down
[Mon May 21 14:07:54 2012] [error] Can't locate Apache/DBI.pm in @INC (@INC contains: /usr/share/otrs/Custom /usr/share/otrs/Kernel/cpan-lib /usr/share/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 /usr/share/otrs/scripts/apache2-perl-startup.pl line 51.\nBEGIN failed--compilation aborted at /usr/share/otrs/scripts/apache2-perl-startup.pl line 51.\nCompilation failed in require at (eval 2) line 1.\n
[Mon May 21 14:07:54 2012] [error] Can't load Perl file: /usr/share/otrs/scripts/apache2-perl-startup.pl for server 127.0.0.1:0, exiting...
Was habe ich da falsche gemacht und wie kann ich dies beheben??
Danke
siduction-Indian summer 2014.11.13, apache 2.4-10, MySQL 5.5.42-1, otrs 4.06
-
- 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: OTRS - Installation mit apt-get
hier ist der Grund und wie Du es beheben kannst[Sat May 19 13:02:15 2012] index.pl: ERROR: Need write permission in OTRS home
[Sat May 19 13:02:15 2012] index.pl:
[Sat May 19 13:02:15 2012] index.pl: Debian policies deny the right for webapplications to change files in /usr.
[Sat May 19 13:02:15 2012] index.pl:
[Sat May 19 13:02:15 2012] index.pl: To break this security rule, run the command below on the server as user root:
[Sat May 19 13:02:15 2012] index.pl:
[Sat May 19 13:02:15 2012] index.pl: /usr/share/otrs/bin/otrs.SetPermissions.pl --otrs-user=otrs --otrs-group=www-data --web-user=www-data --web-group=www-data /usr/share/otrs
[Sat May 19 13:02:15 2012] [error] [client 127.0.0.1] Premature end of script headers: index.pl, referer: http://127.0.0.1/otrs/index.pl?Action=Admin
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
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
-
- Znuny newbie
- Posts: 23
- Joined: 13 Apr 2012, 14:39
- Znuny Version: 4.0.6
- Real Name: Oswin Gilgert
Re: OTRS - Installation mit apt-get
Das ist leider nicht die Lösung des Problems.
Ich hatte dies bereits zum Zeitpunkt der Schilderung des Problems durchgeführt.
Habe es nach der heutigen Nachrciht noch einal durchgeführt...mit dem gleichen Ergebnis.
Im Error-log des Aapche wurden folgende Einträge automatisch erstellt:
[Mon May 21 16:38:43 2012] [error] Can't locate Apache/DBI.pm in @INC (@INC contains: /usr/share/otrs/Custom /usr/share/otrs/Kernel/cpan-lib /usr/share/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 /usr/share/otrs/scripts/apache2-perl-startup.pl line 51.\nBEGIN failed--compilation aborted at /usr/share/otrs/scripts/apache2-perl-startup.pl line 51.\nCompilation failed in require at (eval 2) line 1.\n
[Mon May 21 16:38:43 2012] [error] Can't load Perl file: /usr/share/otrs/scripts/apache2-perl-startup.pl for server 127.0.0.1:0, exiting...
[Mon May 21 16:39:01 2012] [error] Can't locate Apache/DBI.pm in @INC (@INC contains: /usr/share/otrs/Custom /usr/share/otrs/Kernel/cpan-lib /usr/share/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 /usr/share/otrs/scripts/apache2-perl-startup.pl line 51.\nBEGIN failed--compilation aborted at /usr/share/otrs/scripts/apache2-perl-startup.pl line 51.\nCompilation failed in require at (eval 2) line 1.\n
[Mon May 21 16:39:01 2012] [error] Can't load Perl file: /usr/share/otrs/scripts/apache2-perl-startup.pl for server 127.0.0.1:0, exiting...
Hilft dies weiter?
Das Script apache2-mod-perl2 ist auf dem System vorhanden
Ich hatte dies bereits zum Zeitpunkt der Schilderung des Problems durchgeführt.
Habe es nach der heutigen Nachrciht noch einal durchgeführt...mit dem gleichen Ergebnis.
Im Error-log des Aapche wurden folgende Einträge automatisch erstellt:
[Mon May 21 16:38:43 2012] [error] Can't locate Apache/DBI.pm in @INC (@INC contains: /usr/share/otrs/Custom /usr/share/otrs/Kernel/cpan-lib /usr/share/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 /usr/share/otrs/scripts/apache2-perl-startup.pl line 51.\nBEGIN failed--compilation aborted at /usr/share/otrs/scripts/apache2-perl-startup.pl line 51.\nCompilation failed in require at (eval 2) line 1.\n
[Mon May 21 16:38:43 2012] [error] Can't load Perl file: /usr/share/otrs/scripts/apache2-perl-startup.pl for server 127.0.0.1:0, exiting...
[Mon May 21 16:39:01 2012] [error] Can't locate Apache/DBI.pm in @INC (@INC contains: /usr/share/otrs/Custom /usr/share/otrs/Kernel/cpan-lib /usr/share/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 /usr/share/otrs/scripts/apache2-perl-startup.pl line 51.\nBEGIN failed--compilation aborted at /usr/share/otrs/scripts/apache2-perl-startup.pl line 51.\nCompilation failed in require at (eval 2) line 1.\n
[Mon May 21 16:39:01 2012] [error] Can't load Perl file: /usr/share/otrs/scripts/apache2-perl-startup.pl for server 127.0.0.1:0, exiting...
Hilft dies weiter?
Das Script apache2-mod-perl2 ist auf dem System vorhanden
siduction-Indian summer 2014.11.13, apache 2.4-10, MySQL 5.5.42-1, otrs 4.06
Re: OTRS - Installation mit apt-get
Du musst das Perl Modul Apache::DBI installieren
"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
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
-
- Znuny newbie
- Posts: 23
- Joined: 13 Apr 2012, 14:39
- Znuny Version: 4.0.6
- Real Name: Oswin Gilgert
Re: OTRS - Installation mit apt-get
Zuerst mal Dank für die schnellen Antworten.
Ich habe vorhin mir auch noch mal das Log angesehen und Pearl-Problem mit dem DPI.pm erkannt.
Darauf hin habe ich das folgende Script
perl -MCPAN -e 'install DBI'
ausgeführt und anschließend den Aapchi neu gestartet...gleiches Ergebnis wie vorher
Mit apt-get install dann libapachi-dbi-perl installiert
Apache neu gestartet ... Fehler identisch
Was mich stutzig macht sind die folgenden Error-Einträge im Apache-Log:
BEGIN failed--compilation aborted at /usr/share/otrs/scripts/apache2-perl-startup.pl line 51.\nCompilation failed in require at (eval 2) line 1.
Can't locate Apache/DBI.pm in @INC (@INC contains: /usr/share/otrs/Custom
Das apache2-perl-starup.pl hat folgenden Inhalt
Zeile 46 -> #use CGI (); CGI->compile(':all');
Zeile 47 -> use CGI ();
Zeile 48 -> CGI->compile(':cgi');
Zeile 49 -> use CGI::Carp ();
Zeile 51 -> use Apache::DBI;
Zeile 53 -> # enable this if you use mysql
Zeile 54 -> use DBD::mysql ();
Zeile 55 -> use Kernel::System::DB::mysql;
Ich habe vorhin mir auch noch mal das Log angesehen und Pearl-Problem mit dem DPI.pm erkannt.
Darauf hin habe ich das folgende Script
perl -MCPAN -e 'install DBI'
ausgeführt und anschließend den Aapchi neu gestartet...gleiches Ergebnis wie vorher
Mit apt-get install dann libapachi-dbi-perl installiert
Apache neu gestartet ... Fehler identisch
Was mich stutzig macht sind die folgenden Error-Einträge im Apache-Log:
BEGIN failed--compilation aborted at /usr/share/otrs/scripts/apache2-perl-startup.pl line 51.\nCompilation failed in require at (eval 2) line 1.
Can't locate Apache/DBI.pm in @INC (@INC contains: /usr/share/otrs/Custom
Das apache2-perl-starup.pl hat folgenden Inhalt
Zeile 46 -> #use CGI (); CGI->compile(':all');
Zeile 47 -> use CGI ();
Zeile 48 -> CGI->compile(':cgi');
Zeile 49 -> use CGI::Carp ();
Zeile 51 -> use Apache::DBI;
Zeile 53 -> # enable this if you use mysql
Zeile 54 -> use DBD::mysql ();
Zeile 55 -> use Kernel::System::DB::mysql;
siduction-Indian summer 2014.11.13, apache 2.4-10, MySQL 5.5.42-1, otrs 4.06
Re: OTRS - Installation mit apt-get
Apache::DBI fehlt, nicht DBI
"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
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
-
- Znuny newbie
- Posts: 23
- Joined: 13 Apr 2012, 14:39
- Znuny Version: 4.0.6
- Real Name: Oswin Gilgert
Re: OTRS - Installation mit apt-get
Nur sagt mir Pearl
Dartabase was created on Mon, 21 May 2012 10:35:03 GMT
Aapche::DBI is up to date(1.11)
und das Problem besteht weiterhin
Dartabase was created on Mon, 21 May 2012 10:35:03 GMT
Aapche::DBI is up to date(1.11)
und das Problem besteht weiterhin
siduction-Indian summer 2014.11.13, apache 2.4-10, MySQL 5.5.42-1, otrs 4.06
-
- 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: OTRS - Installation mit apt-get
und was sagt das Log jetzt (nach Installation von Apache::DBI)?
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
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
-
- Znuny newbie
- Posts: 23
- Joined: 13 Apr 2012, 14:39
- Znuny Version: 4.0.6
- Real Name: Oswin Gilgert
Re: OTRS - Installation mit apt-get
Das Log sagt immer noch das gleiche
Can't locate Apache/DBI.pm in @INC (@INC contains: /usr/share/otrs/Custom /usr/share/otrs/Kernel/cpan-lib /usr/share/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 /usr/share/otrs/scripts/apache2-perl-startup.pl line 51.\nBEGIN failed--compilation aborted at /usr/share/otrs/scripts/apache2-perl-startup.pl line 51.\nCompilation failed in require at (eval 2) line 1.\n
Can't locate Apache/DBI.pm in @INC (@INC contains: /usr/share/otrs/Custom /usr/share/otrs/Kernel/cpan-lib /usr/share/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 /usr/share/otrs/scripts/apache2-perl-startup.pl line 51.\nBEGIN failed--compilation aborted at /usr/share/otrs/scripts/apache2-perl-startup.pl line 51.\nCompilation failed in require at (eval 2) line 1.\n
siduction-Indian summer 2014.11.13, apache 2.4-10, MySQL 5.5.42-1, otrs 4.06
-
- 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: OTRS - Installation mit apt-get
perl -MCPAN -e 'install Apache::DBI'
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
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
-
- Znuny newbie
- Posts: 23
- Joined: 13 Apr 2012, 14:39
- Znuny Version: 4.0.6
- Real Name: Oswin Gilgert
Re: OTRS - Installation mit apt-get
perl -MCPAN -e 'install Apache::DBI' wurde bereits durchgeführt
wie bereits gesagt gibt Perl danach die Meldung aus
Database was created on Mon, 21 May 2012 10:35:03 GMT
Aapche::DBI is up to date(1.11)
der Fehler besteht aber weiterhin
wie bereits gesagt gibt Perl danach die Meldung aus
Database was created on Mon, 21 May 2012 10:35:03 GMT
Aapche::DBI is up to date(1.11)
der Fehler besteht aber weiterhin
siduction-Indian summer 2014.11.13, apache 2.4-10, MySQL 5.5.42-1, otrs 4.06
-
- Znuny newbie
- Posts: 3
- Joined: 15 May 2012, 16:19
- Znuny Version: OTRS 3.1
- Real Name: Simon Waibl
- Company: Universität Augsburg
Re: OTRS - Installation mit apt-get
Hallo,
ich habe OTRS 3.1.4 auf Debian/stable laufen. Dazu habe ich folgendes gemacht:
den securemode musst du nicht ändern, da du den web-installer nicht verwenden musst, da das durch dpkg geregelt wird.
hoffe ich konnte helfen!
ich habe OTRS 3.1.4 auf Debian/stable laufen. Dazu habe ich folgendes gemacht:
- Debian/sid repo in die sources.list eintragen, apt-cache-limit erhöhen und das sid repo auf -1 pinnen, danach apt updaten
- libnet-ldap-perl via apt installieren (stable repo)
- otrs2 und libmail-imapclient-perl installieren (sid repo)
- chown -R www-data:www-data /etc/otrs
- eventuell backups zurückspielen
- /usr/share/otrs/bin/otrs.SetPermissions.pl --otrs-user=otrs --otrs-group=www-data --web-user=www-data --web-group=www-data /usr/share/otrs
- apache neu starten
den securemode musst du nicht ändern, da du den web-installer nicht verwenden musst, da das durch dpkg geregelt wird.
hoffe ich konnte helfen!
-
- Znuny newbie
- Posts: 23
- Joined: 13 Apr 2012, 14:39
- Znuny Version: 4.0.6
- Real Name: Oswin Gilgert
Re: OTRS - Installation mit apt-get
Hallo,
Nachdem alle Versuche keine Lösung brachten, habe ich die Installation manuell durchgeführt.
Nun funktioniert es.
Ich habe es jetzt unter 2 verschiedenen Linux-Systemen die auf Debian-Sid basieren, mit apt-get versucht....
bin aber kläglich gescheitert. Mit manueller Installation klappt es aber.
Danke noch mal
Nachdem alle Versuche keine Lösung brachten, habe ich die Installation manuell durchgeführt.
Nun funktioniert es.
Ich habe es jetzt unter 2 verschiedenen Linux-Systemen die auf Debian-Sid basieren, mit apt-get versucht....
bin aber kläglich gescheitert. Mit manueller Installation klappt es aber.
Danke noch mal
siduction-Indian summer 2014.11.13, apache 2.4-10, MySQL 5.5.42-1, otrs 4.06