501 Method Not Implemented

Hilfe zu OTRS Problemen aller Art
Post Reply
edmedia
Znuny newbie
Posts: 12
Joined: 22 Aug 2012, 14:30
Znuny Version: 3.1.8

501 Method Not Implemented

Post by edmedia »

Hallo,

ich habe soeben eine OTRS 3.1.8 installations erfolgreich abgeschlossen :) (3.1.9 war noch nicht zum Download bereit :( ) Es Funktinoert auch alles bis auf ein paar sachen.

Möchte ich ein Agent anlegen so bekomme ich die Meldung:

Method Not Implemented

GET to /otrs/index.pl not supported.
Apache/2.2.8 (Debian) mod_perl/2.0.4 Perl/v5.10.1 Server at ed-media.com Port 80

Der Benutzer/Agent wird aber angelegt!

So gehe ich nun auf Agent <-> Gruppen und klicke auf ein Agent oder eine Gruppe so bekomme ich genau die gleicher Fehlermeldung.

Support Assesment sagt das alles ok ist außer "Check log for error log entries."

Ich bin echt am ende mit meinem Latein kann mir ectl. jemand weiter helfen?
OTRS 3.1.8
Debian 5 Lenny
Apache2/MySQL
boris
Znuny wizard
Posts: 554
Joined: 22 Feb 2010, 18:27
Znuny Version: 3.0.4

Re: 501 Method Not Implemented

Post by boris »

Was steht denn im Log?
Produktiv:
OTRS 3.1.7
CentOS 6.3
Apache2/MySQL

Test:
OTRS 3.1.7
CentOS 6.3
Apache2/MySQL
edmedia
Znuny newbie
Posts: 12
Joined: 22 Aug 2012, 14:30
Znuny Version: 3.1.8

Re: 501 Method Not Implemented

Post by edmedia »

Ich bin noch recht neu was OTRS angeht wo finde ich die Log(s)?

Edit:

Das sehe ich unter Systemprotokoll:

Thu Aug 23 11:35:01 2012 error OTRS-otrs.UnlockTickets.pl-10 Can't write '/opt/otrs/var/tmp/CacheFileStorable/CacheInternalLock/2ade0ec669793f03c965cbfa6bba1494': Keine Berechtigung
Thu Aug 23 11:35:01 2012 error OTRS-otrs.UnlockTickets.pl-10 Can't write '/opt/otrs/var/tmp/CacheFileStorable/CacheInternalLock/449f088a55a7a0c6b6100bfaf5cd9744': Keine Berechtigung
Thu Aug 23 11:35:01 2012 error OTRS-otrs.UnlockTickets.pl-10 Can't write '/opt/otrs/var/tmp/CacheFileStorable/CacheInternalState/404dc89b81a2f6ea87a6cc7cfeafe13a': Keine Berechtigung
Thu Aug 23 11:33:10 2012 notice OTRS-CGI-10 User: 'root@localhost' changed password successfully!
Thu Aug 23 11:33:10 2012 notice OTRS-CGI-10 User: 'root@localhost' updated successfully (1)!
Thu Aug 23 11:32:12 2012 notice OTRS-CGI-10 AdminChecksGet end
Thu Aug 23 11:32:12 2012 notice OTRS-CGI-10 User: root@localhost authentication ok (REMOTE_ADDR: 143.93.17.23).
Thu Aug 23 11:32:09 2012 notice OTRS-CGI-10 AdminChecksGet start
Thu Aug 23 11:30:01 2012 error OTRS-otrs.GenericAgent.pl-10 Can't create directory '/opt/otrs/var/tmp/CacheFileStorable/DynamicField': Keine Berechtigung
Thu Aug 23 11:25:37 2012 notice OTRS-CGI-10 User: root@localhost authentication ok (REMOTE_ADDR: 143.93.17.23).

/opt/otrs/var/tmp...... dort hat www-data rechte drauf sollte also eigentlich gehen.
OTRS 3.1.8
Debian 5 Lenny
Apache2/MySQL
boris
Znuny wizard
Posts: 554
Joined: 22 Feb 2010, 18:27
Znuny Version: 3.0.4

Re: 501 Method Not Implemented

Post by boris »

Das kommtr auf dein System an.
Füll mal deine Signatur :)

Hast du mal otrs.SetPermissions.pl ausgeführt?
Produktiv:
OTRS 3.1.7
CentOS 6.3
Apache2/MySQL

Test:
OTRS 3.1.7
CentOS 6.3
Apache2/MySQL
edmedia
Znuny newbie
Posts: 12
Joined: 22 Aug 2012, 14:30
Znuny Version: 3.1.8

Re: 501 Method Not Implemented

Post by edmedia »

Ja das hatte ich bei der Installation gemacht. Ich habe ein Debian System und habe mich an:

http://wiki.otterhub.org/index.php?titl ... 5.04_lenny

gehalten.

Dort verlief alles ohne probleme.

Edit:

Module sind auch alle INstalliert:

o CGI..............................ok (v3.59)
o Crypt::PasswdMD5.................ok (v1.3)
o Crypt::SSLeay....................ok (v0.57)
o CSS::Minifier....................ok (v0.01)
o Date::Format.....................ok (v2.24)
o Date::Pcalc......................ok (v1.2)
o DBI..............................ok (v1.612)
o DBD::mysql.......................ok (v4.016)
o DBD::ODBC........................Not installed! (Optional - Required to connect to a MS-SQL database.)
o DBD::Oracle......................Not installed! (Optional - Required to connect to a Oracle database.)
o DBD::Pg..........................Not installed! (Optional - Required to connect to a PostgreSQL database.)
o Digest::MD5......................ok (v2.39)
o Digest::SHA::PurePerl............ok (v5.70)
o Digest::SHA......................ok (v5.47)
o Encode::HanExtra.................Not installed! (Optional - Required to handle mails with several Chinese character sets.)
o Encode::Locale...................ok (v1.02)
o GD...............................ok (v2.39)
o GD::Text......................ok (v0.86)
o GD::Graph.....................ok (v1.44)
o GD::Graph::lines..............ok (v1.15)
o GD::Text::Align...............ok (v1.18)
o IO::Scalar.......................ok (v2.110)
o IO::Wrap.........................ok (v2.110)
o JavaScript::Minifier.............ok (v1.05)
o JSON.............................ok (v2.53)
o JSON::PP......................ok (v2.27200)
o JSON::XS......................ok (v2.29)
o Locale::Codes....................ok (v3.18)
o LWP::UserAgent...................ok (v6.03)
o Mail::Internet...................ok (v2.08)
o Mail::POP3Client.................ok (v2.18 )
o IO::Socket::SSL...............ok (v1.33)
o Mail::IMAPClient.................Not installed! (Optional - Required for IMAP TLS connections.)
o IO::Socket::SSL...............ok (v1.33)
o MIME::Base64.....................ok (v3.08)
o MIME::Tools......................ok (v5.428)
o ModPerl::Util....................ok (v2.000004)
o Apache::DBI...................ok (v1.11)
o Apache2::Reload...............ok (v0.11)
o Net::DNS.........................ok (v0.66)
o Net::POP3........................ok (v2.29)
o Net::IMAP::Simple................ok (v1.2030)
o Net::IMAP::Simple::SSL........ok (v1.3)
o Net::SMTP........................ok (v2.31)
o Authen::SASL..................ok (v2.15)
o Net::SMTP::SSL................ok (v1.01)
o Net::SMTP::TLS::ButMaintained.ok (v0.18)
o Net::LDAP........................ok (v0.4001)
o Net::SSL.........................ok (v2.84)
o PDF::API2........................ok (v0.73)
o Compress::Zlib................ok (v2.024)
o SOAP::Lite.......................ok (v0.714)
o version.......................ok (v0.77)
o Class::Inspector..............ok (v1.25)
o Text::CSV........................ok (v1.21)
o Text::CSV_PP..................ok (v1.29)
o Text::CSV_XS..................ok (v0.73)
o XML::Parser......................ok (v2.36)
o HTTP::Message....................ok (v6.02)
o HTTP::Headers.................ok (v6.00)
o URI..............................ok (v1.59)
o URI::Escape...................ok (v3.31)
o Scalar::Util.....................ok (v1.21)
OTRS 3.1.8
Debian 5 Lenny
Apache2/MySQL
Alexander Halle
Znuny expert
Posts: 296
Joined: 04 Jul 2010, 17:49
Znuny Version: 3.1.x
Real Name: Alexander Halle
Company: radprax MVZ GmbH
Location: Wuppertal
Contact:

Re: 501 Method Not Implemented

Post by Alexander Halle »

Poste bitte Mal den Aufruf, den du für SetPermissions.pl verwendet hast, sowie ein ls -al für /opt/otrs/var/tmp/ und /opt/otrs/var/tmp/CacheFileStorable/DynamicField/ .
Alexander Halle System: OTRS 3.1.x, Ubuntu 10.04.x LTS, MySQL 5.1.x, Apache 2.2.x
OTRS Community Links: User Meetings, Projects
edmedia
Znuny newbie
Posts: 12
Joined: 22 Aug 2012, 14:30
Znuny Version: 3.1.8

Re: 501 Method Not Implemented

Post by edmedia »

Für die Permissions habe ich:

bin/otrs.SetPermissions.pl --otrs-user=otrs --otrs-group=otrs --web-user=www-data --web-group=www-data /opt/otrs

genutzt und das ls -ll sieht so aus:

Image
OTRS 3.1.8
Debian 5 Lenny
Apache2/MySQL
Alexander Halle
Znuny expert
Posts: 296
Joined: 04 Jul 2010, 17:49
Znuny Version: 3.1.x
Real Name: Alexander Halle
Company: radprax MVZ GmbH
Location: Wuppertal
Contact:

Re: 501 Method Not Implemented

Post by Alexander Halle »

Bitte den Output von "id otrs" posten, um zu schauen, in welchen Gruppen der otrs-User ist.

Was passiert wenn du --otrs-group=www-data ausprobierst?
Alexander Halle System: OTRS 3.1.x, Ubuntu 10.04.x LTS, MySQL 5.1.x, Apache 2.2.x
OTRS Community Links: User Meetings, Projects
edmedia
Znuny newbie
Posts: 12
Joined: 22 Aug 2012, 14:30
Znuny Version: 3.1.8

Re: 501 Method Not Implemented

Post by edmedia »

So:

id otrs:

uid=999(otrs) gid=999(otrs) Gruppen=999(otrs)

bin/otrs.SetPermissions.pl --otrs-user=otrs --otrs-group=www-data --web-user=www-data --web-group=www-data /opt/otrs

Genau das gleiche Problem :(
OTRS 3.1.8
Debian 5 Lenny
Apache2/MySQL
Alexander Halle
Znuny expert
Posts: 296
Joined: 04 Jul 2010, 17:49
Znuny Version: 3.1.x
Real Name: Alexander Halle
Company: radprax MVZ GmbH
Location: Wuppertal
Contact:

Re: 501 Method Not Implemented

Post by Alexander Halle »

Hast du folgenden Punkt in der Anleitung übersprungen?

usermod -g www-data otrs

Bitte Mal den Befehl probieren und mit "id otrs" danach noch Mal die Gruppenzugehörigkeit prüfen.
Alexander Halle System: OTRS 3.1.x, Ubuntu 10.04.x LTS, MySQL 5.1.x, Apache 2.2.x
OTRS Community Links: User Meetings, Projects
edmedia
Znuny newbie
Posts: 12
Joined: 22 Aug 2012, 14:30
Znuny Version: 3.1.8

Re: 501 Method Not Implemented

Post by edmedia »

Ok so sieht es nun aus:

id otrs:
uid=999(otrs) gid=33(www-data) Gruppen=33(www-data)

Fehler besteht aber leider weiterhin :(

Habe auch noch mal:

bin/otrs.SetPermissions.pl --otrs-user=otrs --otrs-group=www-data --web-user=www-data --web-group=www-data /opt/otrs

versucht brachte auch kein erfolg genau wie:

bin/otrs.SetPermissions.pl --otrs-user=otrs --otrs-group=otrs --web-user=www-data --web-group=www-data /opt/otrs
OTRS 3.1.8
Debian 5 Lenny
Apache2/MySQL
Alexander Halle
Znuny expert
Posts: 296
Joined: 04 Jul 2010, 17:49
Znuny Version: 3.1.x
Real Name: Alexander Halle
Company: radprax MVZ GmbH
Location: Wuppertal
Contact:

Re: 501 Method Not Implemented

Post by Alexander Halle »

Bitte schau Mal, ob sich denn wenigstens in den Logs etwas geändert hat.

Du kannst dich auch mit "su" Mal als otrs-User anmelden und probieren, ob du in den betroffenen Verzeichnissen Dateien anlegen / ändern kannst oder nicht.
Alexander Halle System: OTRS 3.1.x, Ubuntu 10.04.x LTS, MySQL 5.1.x, Apache 2.2.x
OTRS Community Links: User Meetings, Projects
edmedia
Znuny newbie
Posts: 12
Joined: 22 Aug 2012, 14:30
Znuny Version: 3.1.8

Re: 501 Method Not Implemented

Post by edmedia »

Also mit su otrs kann ich auf /opt/otrs nicht mal ein verteichniss anlegen.

So sieht es aktuell aus:

Fri Aug 24 08:33:14 2012 notice OTRS-CGI-10 User: root@localhost authentication ok (REMOTE_ADDR: 143.93.17.23).
Fri Aug 24 04:55:01 2012 notice OTRS-otrs.DeleteSessionIDs.pl-10 Removed SessionID 10cc3b37458c9b371e6d41f3b3ff3ee542.
Thu Aug 23 20:54:54 2012 notice OTRS-CGI-10 User: root@localhost authentication ok (REMOTE_ADDR: 93.209.61.45).
Thu Aug 23 20:50:01 2012 error OTRS-otrs.GenericAgent.pl-10 Can't create directory '/opt/otrs/var/tmp/CacheFileStorable/DynamicField': Keine Berechtigung
Thu Aug 23 20:45:01 2012 error OTRS-otrs.PendingJobs.pl-10 Can't write '/opt/otrs/var/tmp/CacheFileStorable/CacheInternalState/7803bf84126517edbbd3b32d3d391fcc': Keine Berechtigung
Thu Aug 23 20:45:01 2012 error OTRS-otrs.PendingJobs.pl-10 Can't write '/opt/otrs/var/tmp/CacheFileStorable/CacheInternalState/2a8f41911a721be1069a3cec2cc092f4': Keine Berechtigung
Thu Aug 23 20:40:02 2012 error OTRS-otrs.GenericAgent.pl-10 Can't create directory '/opt/otrs/var/tmp/CacheFileStorable/DynamicField': Keine Berechtigung
Thu Aug 23 20:40:02 2012 error OTRS-otrs.GenericAgent.pl-10 Can't create directory '/opt/otrs/var/tmp/CacheFileStorable/DynamicField': Keine Berechtigung
Thu Aug 23 20:35:01 2012 error OTRS-otrs.UnlockTickets.pl-10 Can't write '/opt/otrs/var/tmp/CacheFileStorable/CacheInternalLock/2ade0ec669793f03c965cbfa6bba1494': Keine Berechtigung
Thu Aug 23 20:35:01 2012 error OTRS-otrs.UnlockTickets.pl-10 Can't write '/opt/otrs/var/tmp/CacheFileStorable/CacheInternalLock/449f088a55a7a0c6b6100bfaf5cd9744': Keine Berechtigung
Thu Aug 23 20:35:01 2012 error OTRS-otrs.UnlockTickets.pl-10 Can't write '/opt/otrs/var/tmp/CacheFileStorable/CacheInternalState/404dc89b81a2f6ea87a6cc7cfeafe13a': Keine Berechtigung
Thu Aug 23 20:30:01 2012 error OTRS-otrs.GenericAgent.pl-10 Can't create directory '/opt/otrs/var/tmp/CacheFileStorable/DynamicField': Keine Berechtigung
Thu Aug 23 20:20:02 2012 error OTRS-otrs.GenericAgent.pl-10 Can't create directory '/opt/otrs/var/tmp/CacheFileStorable/DynamicField': Keine Berechtigung
Thu Aug 23 20:20:02 2012 error OTRS-otrs.GenericAgent.pl-10 Can't create directory '/opt/otrs/var/tmp/CacheFileStorable/DynamicField': Keine Berechtigung
Thu Aug 23 20:10:02 2012 error OTRS-otrs.GenericAgent.pl-10 Can't create directory '/opt/otrs/var/tmp/CacheFileStorable/DynamicField': Keine Berechtigung
Thu Aug 23 20:00:02 2012 error OTRS-otrs.GenericAgent.pl-10 Can't create directory '/opt/otrs/var/tmp/CacheFileStorable/DynamicField': Keine Berechtigung
Thu Aug 23 20:00:02 2012 error OTRS-otrs.GenericAgent.pl-10 Can't create directory '/opt/otrs/var/tmp/CacheFileStorable/DynamicField': Keine Berechtigung
Thu Aug 23 19:50:02 2012 error OTRS-otrs.GenericAgent.pl-10 Can't create directory '/opt/otrs/var/tmp/CacheFileStorable/DynamicField': Keine Berechtigung
Thu Aug 23 19:40:03 2012 error OTRS-otrs.GenericAgent.pl-10 Can't create directory '/opt/otrs/var/tmp/CacheFileStorable/DynamicField': Keine Berechtigung
Thu Aug 23 19:40:02 2012 error OTRS-otrs.GenericAgent.pl-10 Can't create directory '/opt/otrs/var/tmp/CacheFileStorable/DynamicField': Keine Berechtigung
Thu Aug 23 19:35:02 2012 error OTRS-otrs.UnlockTickets.pl-10 Can't write '/opt/otrs/var/tmp/CacheFileStorable/CacheInternalLock/2ade0ec669793f03c965cbfa6bba1494': Keine Berechtigung
Thu Aug 23 19:35:02 2012 error OTRS-otrs.UnlockTickets.pl-10 Can't write '/opt/otrs/var/tmp/CacheFileStorable/CacheInternalLock/449f088a55a7a0c6b6100bfaf5cd9744': Keine Berechtigung
Thu Aug 23 19:35:02 2012 error OTRS-otrs.UnlockTickets.pl-10 Can't write '/opt/otrs/var/tmp/CacheFileStorable/CacheInternalState/404dc89b81a2f6ea87a6cc7cfeafe13a': Keine Berechtigung
Thu Aug 23 19:30:02 2012 error OTRS-otrs.GenericAgent.pl-10 Can't create directory '/opt/otrs/var/tmp/CacheFileStorable/DynamicField': Keine Berechtigung
Thu Aug 23 19:20:02 2012 error OTRS-otrs.GenericAgent.pl-10 Can't create directory '/opt/otrs/var/tmp/CacheFileStorable/DynamicField': Keine Berechtigung
Thu Aug 23 19:20:02 2012 error OTRS-otrs.GenericAgent.pl-10 Can't create directory '/opt/otrs/var/tmp/CacheFileStorable/DynamicField': Keine Berechtigung
Thu Aug 23 19:10:02 2012 error OTRS-otrs.GenericAgent.pl-10 Can't create directory '/opt/otrs/var/tmp/CacheFileStorable/DynamicField': Keine Berechtigung
Thu Aug 23 19:00:02 2012 error OTRS-otrs.GenericAgent.pl-10 Can't create directory '/opt/otrs/var/tmp/CacheFileStorable/DynamicField': Keine Berechtigung
Thu Aug 23 19:00:02 2012 error OTRS-otrs.GenericAgent.pl-10 Can't create directory '/opt/otrs/var/tmp/CacheFileStorable/DynamicField': Keine Berechtigung
Thu Aug 23 18:55:01 2012 notice OTRS-otrs.DeleteSessionIDs.pl-10 Removed SessionID 1003a729437b5009caddce069698dabf63.
Thu Aug 23 18:50:02 2012 error OTRS-otrs.GenericAgent.pl-10 Can't create directory '/opt/otrs/var/tmp/CacheFileStorable/DynamicField': Keine Berechtigung
Thu Aug 23 18:45:02 2012 error OTRS-otrs.PendingJobs.pl-10 Can't write '/opt/otrs/var/tmp/CacheFileStorable/CacheInternalState/7803bf84126517edbbd3b32d3d391fcc': Keine Berechtigung
Thu Aug 23 18:45:02 2012 error OTRS-otrs.PendingJobs.pl-10 Can't write '/opt/otrs/var/tmp/CacheFileStorable/CacheInternalState/2a8f41911a721be1069a3cec2cc092f4': Keine Berechtigung
Thu Aug 23 18:40:02 2012 error OTRS-otrs.GenericAgent.pl-10 Can't create directory '/opt/otrs/var/tmp/CacheFileStorable/DynamicField': Keine Berechtigung
Thu Aug 23 18:40:02 2012 error OTRS-otrs.GenericAgent.pl-10 Can't create directory '/opt/otrs/var/tmp/CacheFileStorable/DynamicField': Keine Berechtigung
Thu Aug 23 18:35:01 2012 error OTRS-otrs.UnlockTickets.pl-10 Can't write '/opt/otrs/var/tmp/CacheFileStorable/CacheInternalLock/2ade0ec669793f03c965cbfa6bba1494': Keine Berechtigung
Thu Aug 23 18:35:01 2012 error OTRS-otrs.UnlockTickets.pl-10 Can't write '/opt/otrs/var/tmp/CacheFileStorable/CacheInternalLock/449f088a55a7a0c6b6100bfaf5cd9744': Keine Berechtigung
Thu Aug 23 18:35:01 2012 error OTRS-otrs.UnlockTickets.pl-10 Can't write '/opt/otrs/var/tmp/CacheFileStorable/CacheInternalState/404dc89b81a2f6ea87a6cc7cfeafe13a': Keine Berechtigung
Thu Aug 23 18:30:01 2012 error OTRS-otrs.GenericAgent.pl-10 Can't create directory '/opt/otrs/var/tmp/CacheFileStorable/DynamicField': Keine Berechtigung
Thu Aug 23 18:20:02 2012 error OTRS-otrs.GenericAgent.pl-10 Can't create directory '/opt/otrs/var/tmp/CacheFileStorable/DynamicField': Keine Berechtigung
Thu Aug 23 18:20:02 2012 error OTRS-otrs.GenericAgent.pl-10 Can't create directory '/opt/otrs/var/tmp/CacheFileStorable/DynamicField': Keine Berechtigung
Thu Aug 23 18:10:02 2012 error OTRS-otrs.GenericAgent.pl-10 Can't create directory '/opt/otrs/var/tmp/CacheFileStorable/DynamicField': Keine Berechtigung
Thu Aug 23 18:00:02 2012 error OTRS-otrs.GenericAgent.pl-10 Can't create directory '/opt/otrs/var/tmp/CacheFileStorable/DynamicField': Keine Berechtigung
Thu Aug 23 18:00:02 2012 error OTRS-otrs.GenericAgent.pl-10 Can't create directory '/opt/otrs/var/tmp/CacheFileStorable/DynamicField': Keine Berechtigung
Thu Aug 23 17:50:02 2012 error OTRS-otrs.GenericAgent.pl-10 Can't create directory '/opt/otrs/var/tmp/CacheFileStorable/DynamicField': Keine Berechtigung
Thu Aug 23 17:40:02 2012 error OTRS-otrs.GenericAgent.pl-10 Can't create directory '/opt/otrs/var/tmp/CacheFileStorable/DynamicField': Keine Berechtigung
Thu Aug 23 17:40:02 2012 error OTRS-otrs.GenericAgent.pl-10 Can't create directory '/opt/otrs/var/tmp/CacheFileStorable/DynamicField': Keine Berechtigung
Thu Aug 23 17:35:02 2012 error OTRS-otrs.UnlockTickets.pl-10 Can't write '/opt/otrs/var/tmp/CacheFileStorable/CacheInternalLock/2ade0ec669793f03c965cbfa6bba1494': Keine Berechtigung
Thu Aug 23 17:35:02 2012 error OTRS-otrs.UnlockTickets.pl-10 Can't write '/opt/otrs/var/tmp/CacheFileStorable/CacheInternalLock/449f088a55a7a0c6b6100bfaf5cd9744': Keine Berechtigung
Thu Aug 23 17:35:02 2012 error OTRS-otrs.UnlockTickets.pl-10 Can't write '/opt/otrs/var/tmp/CacheFileStorable/CacheInternalState/404dc89b81a2f6ea87a6cc7cfeafe13a': Keine Berechtigung
Thu Aug 23 17:30:02 2012 error OTRS-otrs.GenericAgent.pl-10 Can't create directory '/opt/otrs/var/tmp/CacheFileStorable/DynamicField': Keine Berechtigung
Thu Aug 23 17:20:02 2012 error OTRS-otrs.GenericAgent.pl-10 Can't create directory '/opt/otrs/var/tmp/CacheFileStorable/DynamicField': Keine Berechtigung
Thu Aug 23 17:20:02 2012 error OTRS-otrs.GenericAgent.pl-10 Can't create directory '/opt/otrs/var/tmp/CacheFileStorable/DynamicField': Keine Berechtigung
Thu Aug 23 17:10:02 2012 error OTRS-otrs.GenericAgent.pl-10 Can't create directory '/opt/otrs/var/tmp/CacheFileStorable/DynamicField': Keine Berechtigung
Thu Aug 23 17:00:02 2012 error OTRS-otrs.GenericAgent.pl-10 Can't create directory '/opt/otrs/var/tmp/CacheFileStorable/DynamicField': Keine Berechtigung
Thu Aug 23 17:00:02 2012 error OTRS-otrs.GenericAgent.pl-10 Can't create directory '/opt/otrs/var/tmp/CacheFileStorable/DynamicField': Keine Berechtigung
Thu Aug 23 16:50:02 2012 error OTRS-otrs.GenericAgent.pl-10 Can't create directory '/opt/otrs/var/tmp/CacheFileStorable/DynamicField': Keine Berechtigung
Thu Aug 23 16:45:01 2012 error OTRS-otrs.PendingJobs.pl-10 Can't write '/opt/otrs/var/tmp/CacheFileStorable/CacheInternalState/7803bf84126517edbbd3b32d3d391fcc': Keine Berechtigung
Thu Aug 23 16:45:01 2012 error OTRS-otrs.PendingJobs.pl-10 Can't write '/opt/otrs/var/tmp/CacheFileStorable/CacheInternalState/2a8f41911a721be1069a3cec2cc092f4': Keine Berechtigung
Thu Aug 23 16:40:02 2012 error OTRS-otrs.GenericAgent.pl-10 Can't create directory '/opt/otrs/var/tmp/CacheFileStorable/DynamicField': Keine Berechtigung
Thu Aug 23 16:40:02 2012 error OTRS-otrs.GenericAgent.pl-10 Can't create directory '/opt/otrs/var/tmp/CacheFileStorable/DynamicField': Keine Berechtigung
Thu Aug 23 16:35:02 2012 error OTRS-otrs.UnlockTickets.pl-10 Can't write '/opt/otrs/var/tmp/CacheFileStorable/CacheInternalLock/2ade0ec669793f03c965cbfa6bba1494': Keine Berechtigung
Thu Aug 23 16:35:02 2012 error OTRS-otrs.UnlockTickets.pl-10 Can't write '/opt/otrs/var/tmp/CacheFileStorable/CacheInternalLock/449f088a55a7a0c6b6100bfaf5cd9744': Keine Berechtigung
Thu Aug 23 16:35:02 2012 error OTRS-otrs.UnlockTickets.pl-10 Can't write '/opt/otrs/var/tmp/CacheFileStorable/CacheInternalState/404dc89b81a2f6ea87a6cc7cfeafe13a': Keine Berechtigung
Thu Aug 23 16:30:01 2012 error OTRS-otrs.GenericAgent.pl-10 Can't create directory '/opt/otrs/var/tmp/CacheFileStorable/DynamicField': Keine Berechtigung
Thu Aug 23 16:20:02 2012 error OTRS-otrs.GenericAgent.pl-10 Can't create directory '/opt/otrs/var/tmp/CacheFileStorable/DynamicField': Keine Berechtigung
Thu Aug 23 16:20:02 2012 error OTRS-otrs.GenericAgent.pl-10 Can't create directory '/opt/otrs/var/tmp/CacheFileStorable/DynamicField': Keine Berechtigung
Thu Aug 23 16:10:02 2012 error OTRS-otrs.GenericAgent.pl-10 Can't create directory '/opt/otrs/var/tmp/CacheFileStorable/DynamicField': Keine Berechtigung
OTRS 3.1.8
Debian 5 Lenny
Apache2/MySQL
Alexander Halle
Znuny expert
Posts: 296
Joined: 04 Jul 2010, 17:49
Znuny Version: 3.1.x
Real Name: Alexander Halle
Company: radprax MVZ GmbH
Location: Wuppertal
Contact:

Re: 501 Method Not Implemented

Post by Alexander Halle »

IMHO sollte dein Debian-basiertes System folgendermaßen aussehen, bitte Mal vergleichen und ggf. eine sinnvolle Korrektur versuchen:

Code: Select all

root@otrs:~# id otrs
uid=999(otrs) gid=33(www-data) groups=33(www-data)

Code: Select all

root@otrs:~# cat /etc/passwd | grep otrs
otrs:x:999:33::/opt/otrs/:/bin/bash

Code: Select all

root@otrs:~# cat /etc/group | grep otrs
otrs:x:999:

Code: Select all

root@otrs:~# crontab -l -u otrs | wc
    150     916    5857

Code: Select all

root@otrs:~# su - otrs
otrs@otrs:~$ cd /opt/otrs/var/tmp/
otrs@otrs:/opt/otrs/var/tmp$ touch xxxyyyzzz
otrs@otrs:/opt/otrs/var/tmp$ ls -al xxxyyyzzz
-rw-r--r-- 1 otrs www-data 0 2012-08-26 02:16 xxxyyyzzz
otrs@otrs:/opt/otrs/var/tmp$ rm xxxyyyzzz
otrs@otrs:/opt/otrs/var/tmp$ exit
logout
root@otrs:~#
Alexander Halle System: OTRS 3.1.x, Ubuntu 10.04.x LTS, MySQL 5.1.x, Apache 2.2.x
OTRS Community Links: User Meetings, Projects
edmedia
Znuny newbie
Posts: 12
Joined: 22 Aug 2012, 14:30
Znuny Version: 3.1.8

Re: 501 Method Not Implemented

Post by edmedia »

So fangen wir mal in der Reihenfolge an wie du es hast :)

vpsd12-1:/opt/otrs# id otrs
uid=999(otrs) gid=33(www-data) Gruppen=33(www-data)

vpsd12-1:/opt/otrs# cat /etc/passwd | grep otrs
otrs:x:999:33::/opt/otrs/:/bin/bash

vpsd12-1:/opt/otrs# cat /etc/group | grep otrs
otrs:x:999:

vpsd12-1:/opt/otrs# crontab -l -u otrs | wc
150 916 5860

otrs@vpsd12-1:/opt/otrs/var/tmp$ pwd
/opt/otrs/var/tmp

nach touch:

-rw-r--r-- 1 otrs www-data 0 27. Aug 10:59 xxxyyyzzz

rm --> Keine Fehler

Ging alles ohne Probleme Fehler besteht aber weiterhin :(
OTRS 3.1.8
Debian 5 Lenny
Apache2/MySQL
Alexander Halle
Znuny expert
Posts: 296
Joined: 04 Jul 2010, 17:49
Znuny Version: 3.1.x
Real Name: Alexander Halle
Company: radprax MVZ GmbH
Location: Wuppertal
Contact:

Re: 501 Method Not Implemented

Post by Alexander Halle »

Ich sehe da auch noch keine Auffälligkeiten, sieht doch alle sok aus. Trotzdem beschwert sich dein OTRS über fehlende Schreibrechte.

Ich könnte mir vorstellen, dass der Fehler entweder nur bestimmte Unterverzeichnisse betrifft oder dass die Skripte gar nicht unter dem OTRS-User laufen. Sorry, aber ich muss leider passen, da wir nicht weiter kommen.

Falls du OTRS per Paket installiert hast, probiere es bitte Mal manuell. Das Debian-Paket soll sich entsprechend dem Debian-Schema von OTRS-Konventionen unterscheiden, z.B. hinsichtlich Pfaden. Mit der manuellen Installation umgehst du das, das ist sowieso oft die bevorzugte Methode für OTRS.

Du kannst es auch Mal mit einer anderen Distribution versuchen. Ich halte viel von Debian, aber ich kann dir mit Debian nicht helfen. Versuch es z.B. Mal nach Möglichkeit mit Ubuntu (10.04 LTS oder 12.04 LTS, jeweils Server) oder CentOS oder OpenSuse. Und bitte wenn es geht mit der manuellen Installation. Unter diesen beiden Voraussetzungen findest du mehr OTRS-User die dir helfen können.
Alexander Halle System: OTRS 3.1.x, Ubuntu 10.04.x LTS, MySQL 5.1.x, Apache 2.2.x
OTRS Community Links: User Meetings, Projects
diginin
Znuny expert
Posts: 213
Joined: 11 Feb 2008, 12:04
Znuny Version: CVS

Re: 501 Method Not Implemented

Post by diginin »

edmedia wrote:Ok so sieht es nun aus:


bin/otrs.SetPermissions.pl --otrs-user=otrs --otrs-group=www-data --web-user=www-data --web-group=www-data /opt/otrs
Ist OTRS nicht im /opt/otrs, sondern im /opt/otrs-3.x.x und wird mit ein Symlink verbunden, versucht

bin/otrs.SetPermissions.pl --otrs-user=otrs --otrs-group=www-data --web-user=www-data --web-group=www-data /opt/otrs-3.x.x
Shawn Beasley
Contact me per XING
Contact me per LinkedIN

OTRS CVS on Ubuntu Stable.

Image
signature by diginin74, on Flickr

Computers are like air conditioners, when you open windows they are useless.



P.S. (für Leser meiner Deutschtexte) Rechtschreibfehler bitte mit s/.*/$KORREKTUR/ ersetzen.
edmedia
Znuny newbie
Posts: 12
Joined: 22 Aug 2012, 14:30
Znuny Version: 3.1.8

Re: 501 Method Not Implemented

Post by edmedia »

Alexander Halle wrote:Du kannst es auch Mal mit einer anderen Distribution versuchen.
Steht nicht zur Auswahl, da der Server schon Kunden hostet.
diginin wrote:Ist OTRS nicht im /opt/otrs, sondern im /opt/otrs-3.x.x und wird mit ein Symlink verbunden, versucht...
Also mein OTRS ist unter /opt/otrs und nicht otrs-3.x.x ebenfalls ist da kein Symlink. Verstehe also nicht ganz was du mir sagen willst :/
OTRS 3.1.8
Debian 5 Lenny
Apache2/MySQL
diginin
Znuny expert
Posts: 213
Joined: 11 Feb 2008, 12:04
Znuny Version: CVS

Re: 501 Method Not Implemented

Post by diginin »

nur dass das Permissions script auf den aktuelle Verzeichnis gesetzt werden muss. Aber in deinem Fall ist all in der Respekt in Ordnung. Schaut mal hier
Shawn Beasley
Contact me per XING
Contact me per LinkedIN

OTRS CVS on Ubuntu Stable.

Image
signature by diginin74, on Flickr

Computers are like air conditioners, when you open windows they are useless.



P.S. (für Leser meiner Deutschtexte) Rechtschreibfehler bitte mit s/.*/$KORREKTUR/ ersetzen.
edmedia
Znuny newbie
Posts: 12
Joined: 22 Aug 2012, 14:30
Znuny Version: 3.1.8

Re: 501 Method Not Implemented

Post by edmedia »

Also ich habe mir das Video angeschaut und werde OTRS 3.1.10 genau nach diesem installieren!

Ich melde mich noch mal sobald ich fertig bin.
OTRS 3.1.8
Debian 5 Lenny
Apache2/MySQL
edmedia
Znuny newbie
Posts: 12
Joined: 22 Aug 2012, 14:30
Znuny Version: 3.1.8

Re: 501 Method Not Implemented

Post by edmedia »

Sooo

Alles gemacht wie in dem Video --> Kein Erfolg :(

Es läuft zwar ohne probleme auch im Support Assessment steht alles auf Grün aber ich bekomme immer noch den Fehler:

Method Not Implemented

GET to /otrs/index.pl not supported.
Apache/2.2.8 (Debian) mod_perl/2.0.4 Perl/v5.10.1 Server at ed-media.com Port 80

Edit:

Im Log stehen nun ein paar Einträge:

Can't write '/opt/otrs/var/tmp/CacheFileStorable/DynamicField/3a185f32828a79653f6a091eb41d040c': Keine Berechtigung
Can't write '/opt/otrs/var/tmp/CacheFileStorable/CacheInternalLock/449f088a55a7a0c6b6100bfaf5cd9744': Keine Berechtigung
Can't write '/opt/otrs/var/tmp/CacheFileStorable/CacheInternalState/404dc89b81a2f6ea87a6cc7cfeafe13a': Keine Berechtigung
OTRS 3.1.8
Debian 5 Lenny
Apache2/MySQL
Post Reply