Hallo!
Es läuft irrgendwie alles schief!
Nach der Eingabe des Befehls im Verzeichnis "/opt/otrs" als root "bin/SetPermissions.sh /opt/otrs otrs www-data otrs www-data" erscheint die Meldung:
-bash: bin/SetPermissions.sh: Permission denied
Auch nach den Neustart von apache komme ich nicht mehr unter customer.pl sowie index.pl auf die Oberfläche, obwahl apache und MySQL laufen. Die Meldung im Explorer lautet;
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Im error_log steht folgendes
[Tue Jun 8 08:22:49 2004] [notice] caught SIGTERM, shutting down
[Tue Jun 8 08:22:55 2004] [notice] Apache/1.3.27 (Linux/SuSE) PHP/4.3.1 mod_perl/1.27 configured -- resuming normal operations
[Tue Jun 8 08:22:55 2004] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Jun 8 08:22:55 2004] [notice] Accept mutex: sysvsem (Default: sysvsem)
ERROR: OTRS-CGI-10 Perl: 5.8.0 OS: linux Time: Tue Jun 8 08:23:01 2004
Message: Sorry, can't locate or load Kernel::Language::de translation! Check the Kernel/Language/de.pm (perl -cw)!
Traceback (4954):
Module: Kernel::Language::new (v1.28) Line: 101
Module: Kernel::Output::HTML::Generic::new (v1.102.2.2) Line: 65
Module: Apache::ROOT::otrs::index_2epl::handler (v1.66) Line: 115
Module: (eval) (v2.01) Line: 149
Module: Apache::Registry::handler (v2.01) Line: 149
ERROR: OTRS-CGI-10 Perl: 5.8.0 OS: linux Time: Tue Jun 8 08:23:10 2004
Message: Sorry, can't locate or load Kernel::Language::de translation! Check the Kernel/Language/de.pm (perl -cw)!
Traceback (4959):
Module: Kernel::Language::new (v1.28) Line: 101
Module: Kernel::Output::HTML::Generic::new (v1.102.2.2) Line: 65
Module: Apache::ROOT::otrs::index_2epl::handler (v1.66) Line: 115
Module: (eval) (v2.01) Line: 149
Module: Apache::Registry::handler (v2.01) Line: 149
[Tue Jun 8 08:23:22 2004] [error] Can't locate object method "Data" via package "Kernel::Language" at ../..//Kernel/Language.pm line 91.
[Tue Jun 8 08:23:24 2004] [error] Can't locate object method "Data" via package "Kernel::Language" at ../..//Kernel/Language.pm line 91.
Die de.pm habe ich noch einmal heruntergeladen und apache neu gestartet, trotzdem komme ich nicht auf das System.
Auch bei den Cronjob funktioniert was nicht. Ich bekomme per mail die Mitteilung:
running daily cronjob scripts
SCRIPT: clean_catman, OK.
SCRIPT: clean_core, OK.
SCRIPT: do_mandb, OK.
SCRIPT: logrotate exited with RETURNCODE = 1.
SCRIPT: output (stdout && stderr) follows
G/usr/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user: 'root@localhost' (Using password: NO)'
error running postrotate script
SCRIPT: logrotate
------- END OF OUTPUT
SCRIPT: suse.de-backup-rc.config, OK.
SCRIPT: suse.de-backup-rpmdb, OK.
SCRIPT: suse.de-check-battery, OK.
SCRIPT: suse.de-clean-tmp, OK.
SCRIPT: suse.de-clean-vi, OK.
SCRIPT: suse.de-cron-local, OK.
SCRIPT: updatedb, OK.
Was habe ich den da wieder angestellt? Gibt es für solche Fälle wie ich eins bin auch eine Lösung?
Danke schon mal für die Hilfe.
# --
# Kernel/Config.pm - Config file for OTRS kernel
# Copyright (C) 2001-2003 Martin Edenhofer
# --
# $Id: Config.pm.dist,v 1.9 2004/01/22 19:52:20 martin Exp $
# --
# This software comes with ABSOLUTELY NO WARRANTY. For details, see
# the enclosed file COPYING for license information (GPL). If you
# did not receive this file, see http://www.gnu.org/licenses/gpl.txt.
# --
# Note:
#
# -->> OTRS does have a lot of config settings. For more settings
# (Notifications, TicketViewAccelerator, TicketNumberGenerator,
# LDAP, PostMaster, Session, Preferences, ...) see
# Kernel/Config/Defaults.pm and copy your wanted lines into "this"
# config file. This file will not be changed on update!
#
# --
package Kernel::Config;
# --
sub Load {
my $Self = shift;
# ---------------------------------------------------- #
# ---------------------------------------------------- #
# #
# Start of your own config options!!! #
# #
# ---------------------------------------------------- #
# ---------------------------------------------------- #
# ---------------------------------------------------- #
# system data #
# ---------------------------------------------------- #
# SecureMode
# (Enable this so you can't use the installer.pl)
$Self->{SecureMode} = 1;
# SystemID
# (The identify of the system. Each ticket number and
# each http session id starts with this number)
$Self->{SystemID} = 10;
# TicketHook
# (To set the Ticket identifier. Some people want to
# set this to e. g. 'Call#', 'MyTicket#' or 'TN'.)
$Self->{TicketHook} = 'Ticket-Nummer#';
# FQDN
# (Full qualified domain name of your system.)
$Self->{FQDN} = 'localhost';
# AdminEmail
# (Email of the system admin.)
$Self->{AdminEmail} = 'edv@Franz.de';
# Organization
# (If this is anything other than '', then the email will have an
# Organization X-Header)
$Self->{Organization} = 'Support-Zentrum';
# ---------------------------------------------------- #
# database settings #
# ---------------------------------------------------- #
# DatabaseHost
# (The database host.)
$Self->{DatabaseHost} = 'localhost';
# Database
# (The database name.)
$Self->{Database} = 'otrs';
# DatabaseUser
# (The database user.)
$Self->{DatabaseUser} = 'otrs';
# DatabasePw
# (The password of database user.)
$Self->{DatabasePw} = 'password';
# DatabaseDSN
# (The database DSN for MySQL ==> more: "man DBD::mysql")
$Self->{DatabaseDSN} = "DBI:mysql:database=$Self->{Database};host=$Self->{DatabaseHost};";
# (The database DSN for PostgrSQL ==> more: "man DBD::Pg")
# $Self->{DatabaseDSN} = "DBI:Pg:dbname=$Self->{Database};";
# (The database DSN for Oracle ==> more: "man DBD::oracle")
# $Self->{DatabaseDSN} = "DBI:Oracle:sid=$Self->{Database};host=$Self->{DatabaseHost};port=1521;";
# if needed, oracle env settings
# $ENV{ORACLE_HOME} = '/opt/ora9/product/9.2';
# $ENV{NLS_DATE_FORMAT} = 'YYYY-MM-DD HH24:MI:SS';
# $ENV{NLS_LANG} = "german_germany.we8iso8859p15";
# (The database DSN for DBI:ODBC ==> more: "man DBD::ODBC")
# $Self->{DatabaseDSN} = "DBI:ODBC:$Self->{Database}";
# If you use ODBC, no database auto detection is possible,
# so set the database type here. Possible: mysq,postgresql,oracle,sapdb
# $Self->{'Database::Type'} = 'sapdb';
# ---------------------------------------------------- #
# fs root directory
# ---------------------------------------------------- #
$Self->{Home} = '/opt/otrs';
# **************************************************** #
# insert your own config settings "here" #
# config settings taken from Kernel/Config/Defaults.pm #
# **************************************************** #
# $Self->{SessionUseCookie} = 0;
# **************************************************** #
# ---------------------------------------------------- #
# data inserted by installer #
# ---------------------------------------------------- #
# $DIBI$
$Self->{TicketNumberGenerator} = 'Kernel::System::Ticket::Number::AutoIncrement';
$Self->{LogModule::LogFile} = '/tmp/otrs.log';
$Self->{LogModule} = 'Kernel::System::Log::SysLog';
$Self->{DefaultLanguage} = 'de';
$Self->{DefaultCharset} = 'iso-8859-1';
$Self->{CheckMXRecord} = 1;
# event data directory
$Self->{CalendarDataDir} = '/opt/otrs/var/calendar';
# event admin group
$Self->{CalendarAdminGroup} = 'users';
$Self->{SystemStatus} = {
'report process status' => 'ps -ax|grep httpd ',
'show who is logged on and what they are doing' => 'w',
'free memory' => 'free',
'show last login user' => 'last -10',
};
# ---------------------------------------------------- #
# ---------------------------------------------------- #
# Die Konfiguration fuer LDAP von Bernhard Mainusch #
# Bernhard.Mainusch@Franz.local #
#This is an example configuration for an LDAP auth. backend.
#(take care that Net::LDAP is installed
$Self->{'AuthModule'} = 'Kernel::System::Auth::LDAP';
$Self->{'AuthModule::LDAP::Host'} = '172.16.2.1';
$Self->{'AuthModule::LDAP::BaseDN'} = 'ou=Verwaltung,ou=Franz-Benutzer,dc=Franz,dc=local';
$Self->{'AuthModule::LDAP::UID'} = 'sAMAccountName';
$Self->{'AuthModule::LDAP::SearchUserDN'} = 'cn=Administrator,ou=Verwaltung,ou=Franz-Benutzer,dc=Franz,dc=local';
$Self->{'AuthModule::LDAP::SearchUserPw'} = 'password';
$Self->{'AuthModule::LDAP::GroupDN'} = 'cn=Administrator,ou=Verwaltung,ou=Franz-Denutzer,dc=Franz,dc=local';
$Self->{'AuthModule::LDAP::AccessAttr'} = 'memberUid';
# $Self->{'AuthModule::LDAP::UserAttr'} = 'UID';
$Self->{'AuthModule::LDAP::UserAttr'} = 'DN';
$Self->{'Customer::AuthModule'} = 'Kernel::System::CustomerAuth::LDAP';
$Self->{'Customer::AuthModule::LDAP::Host'} = '172.16.2.1';
$Self->{'Customer::AuthModule::LDAP::BaseDN'} = 'ou=Verwaltung,ou=Franz-Benutzer,dc=Franz,dc=local';
$Self->{'Customer::AuthModule::LDAP::UID'} = 'sAMAccountName';
# $Self->{'Customer::AuthModule::LDAP::GroupDN'} = 'cn=Administrator,ou=Verwaltung,ou=Franz-Benutzer,dc=Franz,dc=local';
# $Self->{'Customer::AuthModule::LDAP::AccessAttr'} = 'cn=Administrator,ou=Verwaltung,ou=Franz-Benutzer,dc=Franz,dc=local';
$Self->{'Customer::AuthModule::LDAP::SearchUserDN'} = 'cn=Administrator,ou=Verwaltung,ou=Franz-Benutzer,dc=Franz,dc=local';
$Self->{'Customer::AuthModule::LDAP::SearchUserPw'} = "password";
$Self->{'Customer::AuthModule::LDAP::UserAttr'} = 'DN';
$Self->{'Customer::AuthModule::LDAP::Params'} = {
port => 389,
version => 3,
};
$Self->{UserSyncLDAPMap} = {
# DB -> LDAP
Firstname => 'givenName',
Lastname => 'sn',
Email => 'mail',
};
# CustomerUser
# (customer user database backend and settings)
$Self->{CustomerUser} = {
Name => 'Datenbank',
Module => 'Kernel::System::CustomerUser::DB',
Params => { Table => 'customer_user',
# to use an external database
# DSN => 'DBI:odbc:yourdsn',
# DSN => 'DBI:mysql:database=customerdb;host=customerdbhost',
# User => '', Password => '',
},
# customer uniq id
CustomerKey => 'login',
CustomerID => 'customer_id',
CustomerValid => 'valid_id',
CustomerUserListFields => ['first_name', 'last_name', 'email'],
# CustomerUserListFields => ['login', 'first_name', 'last_name', 'customer_id', 'email'],
CustomerUserSearchFields => ['login', 'last_name', 'customer_id'],
CustomerUserSearchPrefix => '',
CustomerUserSearchSuffix => '*',
CustomerUserSearchListLimit => 250,
CustomerUserPostMasterSearchFields => ['email'],
CustomerUserNameFields => ['salutation', 'first_name', 'last_name'],
# ReadOnly => 1,
Map => [
# note: Login, Email and CustomerID needed!
# var, frontend, storage, shown, required, storage-type, http-link
[ 'UserSalutation', 'Salutation', 'salutation', 1, 0, 'var' ],
[ 'UserFirstname', 'Firstname', 'first_name', 1, 1, 'var' ],
[ 'UserLastname', 'Lastname', 'last_name', 1, 1, 'var' ],
[ 'UserLogin', 'Login', 'login', 1, 1, 'var' ],
[ 'UserPassword', 'Password', 'pw', 0, 1, 'var' ],
[ 'UserEmail', 'Email', 'email', 0, 1, 'var' ],
[ 'UserCustomerID', 'CustomerID', 'customer_id', 0, 1, 'var' ],
[ 'UserComment', 'Comment', 'comments', 1, 0, 'var' ],
[ 'ValidID', 'Valid', 'valid_id', 0, 1, 'int' ],
],
};
#customerUser1
#(Customer user ldap backend and settings)
$Self->{CustomerUser1} = {
Name => 'LDAP Quelle Franz',
Module => 'Kernel::System::CustomerUser::LDAP',
Params => {
# ldap host
Host => '172.16.2.1',
# ldap base dn
BaseDN => 'ou=Verwaltung,ou=Franz-Benutzer,dc=Franz,dc=local',
# search scope (one|sub)
SSCOPE => 'sub',
# The following is valid but would only be necessary if the
# anonymous user does NOT have permission to read from the LDAP tree
UserDN => 'cn=Administrator,ou=Verwaltung,ou=Franz-Benutzer,dc=Franz,dc=local',
UserPW => 'password',
AlwaysFilter => '',
SourceCharset => 'utf-8',
DestCharset => 'iso-8859-1',
},
# customer uniq id
CustomerKey => 'sAMAccountName',
# customer #
CustomerID => 'mail',
CustomerUserListFields => ['sAMAccountName', 'cn', 'mail'],
CustomerUserSearchFields => ['sAMAccountName', 'cn', 'mail'],
CustomerUserSearchPrefix => '',
CustomerUserSearchSuffix => '*',
CustomerUserSearchListLimit => 250,
CustomerUserPostMasterSearchFields => ['mail'],
CustomerUserNameFields => ['givenname', 'sn'],
Map => [
# note: Login, Email and CustomerID needed!
# var, frontend, storage, shown, required, storage-type
# [ 'UserSalutation', 'Title', 'title', 1, 0, 'var' ],
[ 'UserFirstname', 'Firstname', 'givenname', 1, 1, 'var' ],
[ 'UserLastname', 'Lastname', 'sn', 1, 1, 'var' ],
[ 'UserLogin', 'Login', 'sAMAccountName', 1, 1, 'var' ],
[ 'UserEmail', 'Email', 'mail', 1, 1, 'var' ],
[ 'UserCustomerID', 'CustomerID', 'mail', 0, 1, 'var' ],
[ 'UserPhone', 'Phone', 'telephonenumber', 1, 0, 'var' ],
# [ 'UserAddress', 'Address', 'postaladdress', 1, 0, 'var' ],
# [ 'UserComment', 'Comment', 'description', 1, 0, 'var' ],
# [ 'Userorganisation', 'Organisation', 'ou', 1, 0, 'var' ]
],
};
# ---------------------------------------------------- #
# ---------------------------------------------------- #
# ---------------------------------------------------- #
# ---------------------------------------------------- #
# #
# End of your own config options!!! #
# #
# ---------------------------------------------------- #
# ---------------------------------------------------- #
}
# ---------------------------------------------------- #
# needed system stuff (don't edit this) #
# ---------------------------------------------------- #
use strict;
use vars qw(@ISA $VERSION);
use Kernel::Config::Defaults;
push (@ISA, 'Kernel::Config::Defaults');
$VERSION = '$Revision: 1.9 $';
$VERSION =~ s/^\$.*:\W(.*)\W.+?$/$1/;
# -----------------------------------------------------#
1;
_____________________________________________________________________
Endlich SMS mit Bildern versenden! Das Bild selbst ist dabei gratis,
Sie bezahlen lediglich den Versand. http://freemail.web.de/?mc=021195