HI,
wir sind gerade iom Begriff von Windows auf Linux umzuziehen.
CentOS 6 und OTRS 3.0.6.
Ich habe das rpm Paket installiert aber noch Probleme mit den Rechten.
otrs.SetPermissions.pl will ja Benutzer und Grupen von mir haben.
Wo finde ich raus wie die Gruppen unter CentOS heissen?
Wo bekomme ich diese Werte her?
Usage: otrs.SetPermissions.pl
[--otrs-user=<OTRS_USER>]
[--web-user=<WEBSERVER_USER>]
[--otrs-group=<OTRS_GROUP>]
[--web-group=<WEB_GROUP>]
[--admin-user=<ADMIN_USER>]
[--admin-group=<ADMIN_GROUP>]
[--admin-group-writable]
[--secure]
[--not-root]
<OTRS_HOME>
OTRS_User ist otrs swoeit komm ich klar:-)
Wie finde ich den WEBSERVER_USER oder WEB_GROUp?
otrs.SetPermissions.pl /CentOS
otrs.SetPermissions.pl /CentOS
Produktiv:
OTRS 3.1.7
CentOS 6.3
Apache2/MySQL
Test:
OTRS 3.1.7
CentOS 6.3
Apache2/MySQL
OTRS 3.1.7
CentOS 6.3
Apache2/MySQL
Test:
OTRS 3.1.7
CentOS 6.3
Apache2/MySQL
-
- Znuny advanced
- Posts: 138
- Joined: 20 Jan 2011, 11:21
- Znuny Version: [...],6.x, Znuny 7
- Real Name: Peter
- Company: maxence business consulting GmbH
- Location: Dormagen
Re: otrs.SetPermissions.pl /CentOS
Hallo Boris,
mit bekommst Du uid und gid des OTRS-Users angezeigt. Der Web-User ist unter CentOS apache, die Gruppe heißt auch so. Mit diesen Usern und Gruppen solltest Du hinkommen, ich zumindest habe bisher keine weiteren Parameter mitgegeben.
Gruß
Peter
mit
Code: Select all
id otrs
Gruß
Peter
Re: otrs.SetPermissions.pl /CentOS
Danke!
Produktiv:
OTRS 3.1.7
CentOS 6.3
Apache2/MySQL
Test:
OTRS 3.1.7
CentOS 6.3
Apache2/MySQL
OTRS 3.1.7
CentOS 6.3
Apache2/MySQL
Test:
OTRS 3.1.7
CentOS 6.3
Apache2/MySQL
Re: otrs.SetPermissions.pl /CentOS
Hi,
ich hab die SetPermissins.pl ausgeführt:
So soehts aus:
Wenn ich in den Admin Bereich will bekomme ich :
Hoppla. Es ist ein Fehler aufgetreten.
Fehlermeldung: Can't write '/opt/otrs/var/tmp/CacheFileStorable//CacheInternalState/4885f54276c[..]
Backend ERROR: OTRS-CGI-99 Perl: 5.10.1 OS: linux Time: Tue Mar 20 09:08:24 2012
Message: Can't write '/opt/otrs/var/tmp/CacheFileStorable//CacheInternalState/4885f54276c3790b677fe26733aa3f63': Permission denied
Traceback (3485):
Module: Kernel::System::Main::FileWrite (v1.58) Line: 444
Module: Kernel::System::Cache::FileStorable::Set (v1.
Line: 91
Module: Kernel::System::Cache::Set (v1.20) Line: 126
Module: Kernel::System::CacheInternal::Set (v1.9) Line: 132
Module: Kernel::System::State::StateGetStatesByType (v1.48) Line: 437
Module: Kernel::System::Ticket::TicketSearch (v1.488.2.1) Line: 4959
Module: Kernel::Output::HTML::ToolBarTicketLocked::Run (v1.7) Line: 65
Module: Kernel::Output::HTML::Layout::Header (v1.351.2.2) Line: 1416
Module: Kernel::Output::HTML::Layout::ErrorScreen (v1.351.2.2) Line: 1102
Module: Kernel::Modules::AdminSysConfig::Run (v1.112) Line: 50
Module: Kernel::System::Web::InterfaceAgent::Run (v1.58.2.1) Line: 853
Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler (unknown version) Line: 45
Könnt ihr mir mal auf die Sprünge helfen was ich hier falsch mache?
ich hab die SetPermissins.pl ausgeführt:
So soehts aus:
Code: Select all
[root@otrs002 bin]# ./otrs.SetPermissions.pl --otrs-user=otrs --web-user=apache --otrs-group=apache --web-group=apache /opt/otrs/
bin/otrs.SetPermissions.pl <1.4> - set OTRS file permissions
Copyright (C) 2001-2010 xxx, 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 /opt/otrs//scripts/tools/*.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
Setting owner rw and group ro permissions on /opt/otrs//.fetchmailrc
Hoppla. Es ist ein Fehler aufgetreten.
Fehlermeldung: Can't write '/opt/otrs/var/tmp/CacheFileStorable//CacheInternalState/4885f54276c[..]
Backend ERROR: OTRS-CGI-99 Perl: 5.10.1 OS: linux Time: Tue Mar 20 09:08:24 2012
Message: Can't write '/opt/otrs/var/tmp/CacheFileStorable//CacheInternalState/4885f54276c3790b677fe26733aa3f63': Permission denied
Traceback (3485):
Module: Kernel::System::Main::FileWrite (v1.58) Line: 444
Module: Kernel::System::Cache::FileStorable::Set (v1.

Module: Kernel::System::Cache::Set (v1.20) Line: 126
Module: Kernel::System::CacheInternal::Set (v1.9) Line: 132
Module: Kernel::System::State::StateGetStatesByType (v1.48) Line: 437
Module: Kernel::System::Ticket::TicketSearch (v1.488.2.1) Line: 4959
Module: Kernel::Output::HTML::ToolBarTicketLocked::Run (v1.7) Line: 65
Module: Kernel::Output::HTML::Layout::Header (v1.351.2.2) Line: 1416
Module: Kernel::Output::HTML::Layout::ErrorScreen (v1.351.2.2) Line: 1102
Module: Kernel::Modules::AdminSysConfig::Run (v1.112) Line: 50
Module: Kernel::System::Web::InterfaceAgent::Run (v1.58.2.1) Line: 853
Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler (unknown version) Line: 45
Könnt ihr mir mal auf die Sprünge helfen was ich hier falsch mache?
Produktiv:
OTRS 3.1.7
CentOS 6.3
Apache2/MySQL
Test:
OTRS 3.1.7
CentOS 6.3
Apache2/MySQL
OTRS 3.1.7
CentOS 6.3
Apache2/MySQL
Test:
OTRS 3.1.7
CentOS 6.3
Apache2/MySQL