[solved]index.pl wird als download angeboten

Hilfe zu Znuny Problemen aller Art
Locked
wonz
Znuny newbie
Posts: 60
Joined: 05 Aug 2009, 14:16
Znuny Version: 2.4.5

[solved]index.pl wird als download angeboten

Post by wonz »

Wenn ich im AdminInterface den Package Manager auswähler, bietet er mir die index.pl zum download an o_0

Hat Jemand eine Idee ?

Die entsprechenden Versionen etc seht ihr ja in der Signatur.

Danke im voraus!
Last edited by wonz on 01 Dec 2009, 15:39, edited 1 time in total.
OS: Ubuntu 9.04; OTRS v.2.4.7; DB: MYSQL
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

index.pl wird als download angeboten

Post by jojo »

Was sagt das Apache Error Log? Was für ein Browser?
"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
wonz
Znuny newbie
Posts: 60
Joined: 05 Aug 2009, 14:16
Znuny Version: 2.4.5

index.pl wird als download angeboten

Post by wonz »

jojo wrote:Was sagt das Apache Error Log? Was für ein Browser?
Browser Firefox3.5.5 , IE8 und Chrome(aktuellste Version).


Code: Select all

ERROR: OTRS-CGI-10 Perl: 5.10.0 OS: linux Time: Mon Nov 30 16:54:41 2009

 Message: Can't write '/opt/otrs/bin/check_permissons.31600': Permission denied

 Traceback (31600):
   Module: Kernel::System::Main::FileWrite (v1.33) Line: 434
   Module: Kernel::System::Package::_FileSystemCheck (v1.106) Line: 2371
   Module: Kernel::System::Package::new (v1.106) Line: 137
   Module: Kernel::Modules::AdminPackageManager::new (v1.81) Line: 37
   Module: Kernel::System::Web::InterfaceAgent::Run (v1.43.2.1) Line: 804
   Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler (unknown version) Line: 48
   Module: (eval) (v1.88) Line: 204
   Module: ModPerl::RegistryCooker::run (v1.88) Line: 204
   Module: ModPerl::RegistryCooker::default_handler (v1.88) Line: 170
   Module: ModPerl::Registry::handler (v1.99) Line: 31
Kann das damit zu tun haben ?
Der Berechtigungsfehler wundert mich schon ein wenig o_0

PS: Vielen Dank für die schnelle Antwort
OS: Ubuntu 9.04; OTRS v.2.4.7; DB: MYSQL
wonz
Znuny newbie
Posts: 60
Joined: 05 Aug 2009, 14:16
Znuny Version: 2.4.5

index.pl wird als download angeboten

Post by wonz »

Code: Select all

/opt/otrs chown otrs:www-data -R *
Problem beseitigt

Danke für den Hinweis @ apache error.log
OS: Ubuntu 9.04; OTRS v.2.4.7; DB: MYSQL
lousek
Znuny newbie
Posts: 25
Joined: 12 Feb 2010, 10:29
Znuny Version: 2.4.7

[solved]index.pl wird als download angeboten

Post by lousek »

Unter Debian habe ich dasselbe Problem ... welche Verzeichnisse müssen hier alle wem gehören?
Ich habe mal
chown -R www-data:www-data /etc/otrs
chown -R www-data:www-data /usr/share/otrs
chown -R www-data:www-data /var/lib/otrs
gemacht, so funktioniert es auch, aber ob das so gedacht ist, Sicherheit?

Gruss
lousek
No current setup - will use the latest one :)
Locked