having a bad issue Error: Access denied for user 'otrs'@'loc

Moderator: crythias

Locked
jeff00z28
Znuny newbie
Posts: 11
Joined: 12 Aug 2010, 22:38
Znuny Version: 2.2

having a bad issue Error: Access denied for user 'otrs'@'loc

Post by jeff00z28 »

I tried to edit email settings after installing SendMail, and it made everythign slow so changed it back to SMTP. Didn't do anything to any databases. Now when I go to the otrs it says
Error: Access denied for user 'otrs'@'localhost' (using password: NO). If i change the password in Config.pm to anything it says using password:yes but still doesn't work. This just happened from working on email settings, don't know how this happened but now i am not able to use the software that we all use everyday. Thanks
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: having a bad issue Error: Access denied for user 'otrs'@

Post by crythias »

It appears you changed the login and password connection info to the database, instead of using SysConfig to make changes to email.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
jeff00z28
Znuny newbie
Posts: 11
Joined: 12 Aug 2010, 22:38
Znuny Version: 2.2

Re: having a bad issue Error: Access denied for user 'otrs'@

Post by jeff00z28 »

ended up entering in the username passaword and database manually into config.pm, and now it says


No SendmailModule::Host found in Kernel/Config.pm



i used sysconfig for the email editing portion, now i am actually in the file. thanks for the very fast reply btw

it seems that the information got removed from config.pm somehow
jeff00z28
Znuny newbie
Posts: 11
Joined: 12 Aug 2010, 22:38
Znuny Version: 2.2

Re: having a bad issue Error: Access denied for user 'otrs'@

Post by jeff00z28 »

this is the full message

Software error:

No SendmailModule::Host found in Kernel/Config.pm at /usr/share/otrs//Kernel/System/Email/SMTP.pm line 46.

For help, please send mail to the webmaster (webmaster@localhost), giving this error message and the time and date of the error.
jeff00z28
Znuny newbie
Posts: 11
Joined: 12 Aug 2010, 22:38
Znuny Version: 2.2

Re: having a bad issue Error: Access denied for user 'otrs'@

Post by jeff00z28 »

i got into it by commenting out 2 lines in /usr/share/otrs//Kernel/System/Email/SMTP.pm that tell it to go to sendmail.
Locked