
Hallo Ralf! Hier noch mal die Ergebnisse explizit nach dieser Aktion: root@cms2:/opt/otrs# ./bin/SetPermissions.pl --otrs-user=otrs --web-user=www-data --otrs-group=www-data --web-group=www-data /opt/otrs bin/SetPermissions.pl <1.10.2.1> - set OTRS file permissions Copyright (C) 2001-2009 OTRS AG, http://otrs.org/ Setting permissions on /opt/otrs Setting permissions on /opt/otrs/var Setting permissions on /opt/otrs/bin/* Setting permissions on /opt/otrs/scripts/*.pl Setting permissions on Kernel/Config.pm Setting owner rw and group ro permissions on /opt/otrs/ Setting owner rw and group ro permissions on /opt/otrs/.procmailrc root@cms2:/opt/otrs# /etc/init.d/apache2 restart Restarting web server: apache2 ... waiting . root@cms2:/opt/otrs# Software error: ERROR: Need write permission in OTRS home Try: $OTRS_HOME/bin/SetPermissions.pl !!! For help, please send mail to the webmaster (webmaster@it-arends.net mailto:webmaster@it-arends.net), giving this error message and the time and date of the error. Systemlog: Fri Apr 16 18:08:46 2010 error OTRS-CGI-10 Can't write '/opt/otrs/bin/check_permissons.3370': Permission denied Access-Log: 84.181.138.37 - - [16/Apr/2010:18:08:46 +0200] "GET /otrs/index.pl?Action=AdminPackageManager HTTP/1.1" 500 229 "http://otrs2.it-arends.net/otrs/index.pl?Action=Admin" "Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 (.NET CLR 3.5.30729)" Error-Log: [Fri Apr 16 18:08:46 2010] [error] [Fri Apr 16 18:08:46 2010] -e: ERROR: Need write permission in OTRS home\n[Fri Apr 16 18:08:46 2010] -e: Try: $OTRS_HOME/bin/SetPermissions.pl !!!\n Customer.pl: Fehler: Need TicketID! *Kommentar:* *Traceback:* ERROR: OTRS-CGI-10 Perl: 5.10.0 OS: linux Time: Fri Apr 16 18:14:22 2010 Message: Need TicketID! Traceback (3372): Module: Kernel::System::Ticket::Article::ArticleCreate (v1.232.2.1) Line: 112 Module: Kernel::Modules::CustomerTicketMessage::Run (v1.47) Line: 371 Module: Kernel::System::Web::InterfaceCustomer::Run (v1.41.2.1) Line: 852 Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_customer_2epl::handler (unknown version) Line: 48 Module: (eval) (v1.42) Line: 204 Module: ModPerl::RegistryCooker::run (v1.42) Line: 204 Module: ModPerl::RegistryCooker::default_handler (v1.42) Line: 170 Module: ModPerl::Registry::handler (v1.99) Line: 31 ...also keine Veränderung Was mich wundert: Viele der Dateien unterhalb /opt/otrs haben die Gruppe users. Der User otrs hat aber die Gruppe otrs und der Indianer hat www-data als Gruppe. Woher kommt also die Zuweisung der Gruppe users? Und ist das überhaupt korrekt, oder stellt ds bereits mein Problem dar? Bin für jede Antwort dankbar. Gruß Roland Am 16.04.2010 13:35, schrieb Ralf Hildebrandt:
* Roland Arends
: ERROR: Need write permission in OTRS home Try: $OTRS_HOME/bin/SetPermissions.pl !!!
Und? Schon gemacht? Bei mir ist's: # cat setpermissions.sh bin/SetPermissions.pl --otrs-user=otrs --web-user=www-data --otrs-group=www-data --web-group=www-data /opt/otrs
SetPermissions.sh sowie der obligatorische Restart des Webservers wurden mehrfach ausgef�hrt und k�nnen also auch nicht das Problem sein.
Doch schon, wenn man die falschen Parameter angibt.