Have you run the db update scripts?

 

Nathan Campbell
Dallas Symphony Orchestra

From: otrs-bounces@otrs.org [mailto:otrs-bounces@otrs.org] On Behalf Of Prince Chavez
Sent: Friday, September 25, 2009 4:42 PM
To: otrs@otrs.org
Subject: [otrs] Access denied for user 'otrs'@'localhost'

 

Hi All,

I previously installed otrs2.2.4 on an Ubuntu 8.04 server, but it lacked imaps/pop3s support. So i removed it from my system and manually installed 2.4.4. Took me a while, but I managed to get the perl modules and apache configured. One thing I didn't remove was the database from my old install.

Now when i visit index.pl, i get this error:


Error: Access denied for user 'otrs'@'localhost' (using password: YES)

Comment:

Please contact your admin

Bug Report:

[Click here to report a bug!]

Traceback:

ERROR: OTRS-CGI-10 Perl: 5.8.8 OS: linux Time: Sat Sep 26 05:31:34 2009

Message: Access denied for user 'otrs'@'localhost' (using password: YES)

Traceback (10316): 
   Module: Kernel::System::DB::new (v1.105) Line: 188
   Module: Kernel::System::Web::InterfaceAgent::Run (v1.43) Line: 143
   Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler (unknown version) Line: 48
   Module: (eval) (v1.88) Line: 204
   Module: ModPerl::RegistryCooker::run (v1.88) Line: 204
   Module: ModPerl::RegistryCooker::default_handler (v1.88) Line: 170
   Module: ModPerl::Registry::handler (v1.99) Line: 31


Any ideas? I already tried changing this line (just to test) on apache2-perl-startup.pl, but the auth failure still indicates otrs@localhost:

use Apache::DBI ();
Apache::DBI->connect_on_init('DBI:mysql:otrs', 'root', 'mysqlrootpasswdhere');
use DBI ();


Any help would be appreciated.

Thanks