I have just installed OTRS 2.3.1 and due to the limitations of my hosting package I had to install under /home/www/domain.name/otrs instead of /opt/otrs.
 
I think there is an issue with error reporting as when accessing otrs/bin/cgi-bin/index.pl in debug mode the error shown above is returned as the 500 error - nothing obvious is shown in either my access or error logs.   If I switch off debug mode the page loads perfectly but if I login as root@localhost the same 500 error is generated.
 
Any suggestions as to how to fix this?
 
DB connectivity is fine
 
The following have been set in otrs/Kernel/Config.pm:
$Self->{Home} = '/home/www/domain.name/otrs';
$Self->{ScriptAlias} = 'otrs/bin/cgi-bin/';
$Self->{'LogModule'} = 'Kernel::System::Log::SysLog';
$Self->{'LogModule::LogFile'} = '/home/www/logs/otrs.log';
 
 
Graeme