DBI Connect error

Moderator: crythias

Locked
otrs4evermore
Znuny newbie
Posts: 6
Joined: 06 Mar 2012, 09:52
Znuny Version: helpdesk

DBI Connect error

Post by otrs4evermore »

Hi guys,

I am looking for a solution for this problem and I followed many hints found also on this forum,
anyway every 30 seconds I get this error :

[Mon Mar 5 12:44:32 2012] -e: DBI connect('otrs','otrs',...) failed: Access denied for user

'otrs'@'localhost' (using password: YES) at /opt/otrs/Kernel/cpan-lib/Apache/DBI.pm line 233
SV = PV(0x2365bce0) at 0x2363c300
REFCNT = 2
FLAGS = ()
PV = 0

Could you help me ?

Many thanks
Mydnyte
Znuny newbie
Posts: 25
Joined: 23 Feb 2012, 01:03
Znuny Version: 3x1x1
Real Name: Jeremy

Re: DBI Connect error

Post by Mydnyte »

It looks like the user otrs does not have access to the database.

This may help you out:
http://www.debuntu.org/how-to-create-a- ... -to-a-user
OTRS 3.2.10 - FAQ - KUBUNTU 13.04 - MySQL 5.5 - Apache2.2
otrs4evermore
Znuny newbie
Posts: 6
Joined: 06 Mar 2012, 09:52
Znuny Version: helpdesk

Re: DBI Connect error

Post by otrs4evermore »

Hi Mydnyte and thanks.

I am sorry but forgot to subscribe conversation so I did not receive any notification. :(

Anyway, it seems I already made these changes but with no luck; i will tell you if it works.

Many thanks :)
otrs4evermore
Znuny newbie
Posts: 6
Joined: 06 Mar 2012, 09:52
Znuny Version: helpdesk

Re: DBI Connect error

Post by otrs4evermore »

Hi,
no way, error remains.

[Tue Mar 27 17:11:39 2012] -e: DBI connect('otrs','otrs',...) failed: Access denied for user 'otrs'@'localhost' (using password: YES) at /opt/otrs/Kernel/cpan-lib/Apache/DBI.pm line 233
SV = PV(0x23c17000) at 0x23bf7578
REFCNT = 2
FLAGS = ()
PV = 0

Any idea?

Thnx
otrs4evermore
Znuny newbie
Posts: 6
Joined: 06 Mar 2012, 09:52
Znuny Version: helpdesk

Re: DBI Connect error

Post by otrs4evermore »

Hi people,
how to disable this continous check at least ?

many thanks

Bye!
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: DBI Connect error

Post by jojo »

whats your OTRS version?
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
otrs4evermore
Znuny newbie
Posts: 6
Joined: 06 Mar 2012, 09:52
Znuny Version: helpdesk

Re: DBI Connect error

Post by otrs4evermore »

jojo wrote:whats your OTRS version?
3.0.11

thanks

:)
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: DBI Connect error

Post by jojo »

edit scripts/apache2-perl-startup.pl and set the correct username and passwort
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
otrs4evermore
Znuny newbie
Posts: 6
Joined: 06 Mar 2012, 09:52
Znuny Version: helpdesk

Re: DBI Connect error

Post by otrs4evermore »

great, I will check if it works and let you know.

Cheers
Locked