
Hi, I've installed OTRS 2.0.4 on a CentOS4 server (x86_64). I used the tar ball rather than RPM. Our cronjob's worked fine until I started to add custom configs to Config.pm. I am now getting this error generated every time a cronjob is ran: "Odd number of elements in anonymous hash at /opt/otrs/Kernel/Config.pm line 113. Odd number of elements in anonymous hash at /opt/otrs/Kernel/Config.pm line 113, <PRODUCT> line 4." All I have setup is LDAP authentication for admin and customer users. The only reference I could find to this error is if you are using OTRS 1.3 style config options on a OTRS 2.0 install. Here is my Config.pm: --- package Kernel::Config; # -- sub Load { my $Self = shift; # ---------------------------------------------------- # # ---------------------------------------------------- # # # # Start of your own config options!!! # # # # ---------------------------------------------------- # # ---------------------------------------------------- # # ---------------------------------------------------- # # 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. You also can use bin/CryptPassword.pl # for crypted passwords.) $Self->{'DatabasePw'} = 't1ddl3s'; # DatabaseDSN # (The database DSN for MySQL ==> more: "man DBD::mysql") $Self->{DatabaseDSN} = "DBI:mysql:database=$Self->{Database};host=$Self->{Da tabaseHost};"; # ---------------------------------------------------- # # fs root directory # ---------------------------------------------------- # $Self->{Home} = '/opt/otrs'; # **************************************************** # # insert your own config settings "here" # # config settings taken from Kernel/Config/Defaults.pm # # **************************************************** # # $Self->{SessionUseCookie} = 0; # $Self->{'CheckMXRecord'} = 1; # **************************************************** # # ---------------------------------------------------- # # data inserted by installer # # ---------------------------------------------------- # # $DIBI$ $Self->{'SystemID'} = 10; $Self->{'SecureMode'} = 1; $Self->{'Organization'} = 'UBC Media Group'; $Self->{'LogModule::LogFile'} = '/tmp/otrs.log'; $Self->{'LogModule'} = 'Kernel::System::Log::SysLog'; $Self->{'FQDN'} = 'support.unique.com'; $Self->{'DefaultLanguage'} = 'en'; $Self->{'DefaultCharset'} = 'iso-8859-1'; $Self->{'AdminEmail'} = 'help@unique.com'; #LDAP Auth for Users (NOT admin) $Self->{CustomerUser} = { Name => 'eDirectory NDS', Module => 'Kernel::System::CustomerUser::LDAP', Params => { Host => '213.86.7.196', BaseDN => 'ou=USERS, o=UBC', SSCOPE => 'sub', UserDN => '', UserPw => '', }, CustomerKey => 'uid', CustomerID => 'mail', CustomerUserListFields => ['uid', 'cn', 'mail'], CustomerUserSearchFields => ['uid'], CustomerUserPostMasterSearchFields => ['mail'], CustomerUserNameFields => ['givenname', 'sn'], CustomerUserExcludePrimaryCustomerID => 0, Map => [ [ 'UserFirstname', 'Firstname', 'givenname', 1, 1, 'var' ], [ 'UserLastname', 'Lastname', 'sn', 1, 1, 'var' ], [ 'UserLogin', 'Login', 'uid', 1, 1, 'var' ], [ 'UserEmail', 'Email', 'mail', 1, 1, 'var' ], [ 'UserCustomerID', 'CustomerID', 'mail', 0, 1, 'var' ], ], }; $Self->{'Customer::AuthModule'} = 'Kernel::System::CustomerAuth::LDAP'; $Self->{'Customer::AuthModule::LDAP::Host'} = '213.86.7.196'; $Self->{'Customer::AuthModule::LDAP::BaseDN'} = 'ou=USERS, o=UBC'; $Self->{'Customer::AuthModule::LDAP::UID'} = 'uid'; $Self->{'Customer::AuthModule::LDAP::Params'} = { port => 389, version => }; #Admin User LDAP $Self->{'AuthModule'} = 'Kernel::System::Auth::LDAP'; $Self->{'AuthModule::LDAP::Host'} = '213.86.7.196'; $Self->{'AuthModule::LDAP::BaseDN'} = 'ou=UIL, ou=USERS, o=UBC'; $Self->{'AuthModule::LDAP::UID'} = 'uid'; $Self->{'AuthModule::LDAP::Params'} = { port => 389, version => 3, }; #Customer Groups $Self->{'CustomerGroupSupport'} = '1'; $Self->{'CustomerGroupAlwaysGroups'} = [ 'users', 'info' ]; } # ---------------------------------------------------- # # 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.16 $'; $VERSION =~ s/^\$.*:\W(.*)\W.+?$/$1/; # -----------------------------------------------------# 1; ---- Many thanks in advanced, Jon Fanti.