Error after instalation

Hi, I've been trying to get Otrs running but couldn't get through. I actually got some problems with dependencies to install 2.1 in my Debian Sarge stable. I got it to install correctly but when I request the index.pl I get this error: ***************** Error: Access denied for user 'otrs'@'localhost' (using password: NO) Comment: Please contact your admin Bug Report: Traceback: ERROR: OTRS-CGI-10 Perl: 5.8.8 OS: linux Time: Wed Nov 29 06:41:05 2006 Message: Access denied for user 'otrs'@'localhost' (using password: NO) Traceback (1897): Module: Kernel::System::DB::new (v1.47) Line: 168 Module: Kernel::System::Web::InterfaceAgent::Run (v1.8) Line: 150 Module: ModPerl::ROOT::ModPerl::Registry::usr_share_otrs_bin_cgi_2dbin_index_2epl::handler (v) Line: 47 Module: (eval) (v1.80) Line: 203 Module: ModPerl::RegistryCooker::run (v1.80) Line: 203 Module: ModPerl::RegistryCooker::default_handler (v1.80) Line: 169 Module: ModPerl::Registry::handler (v1.99) Line: 30 ***************** I'd appreciate any guidance. Thanks -- Bruno

Hi,
I got something similar, and if I remember correctly, it seems that
the password or user name for the otrs user to access MySql db is
incorrect.
Try to logon directly to MySQL with the otrs user and see if you can.
If you can do so, then check the config.pm and check that the password
is correct in the section for Database settings.
ricfors
On 11/29/06, Bruno Sarlo
Hi,
I've been trying to get Otrs running but couldn't get through. I actually got some problems with dependencies to install 2.1 in my Debian Sarge stable.
I got it to install correctly but when I request the index.pl I get this error:
*****************
Error: Access denied for user 'otrs'@'localhost' (using password: NO) Comment: Please contact your admin Bug Report: Traceback: ERROR: OTRS-CGI-10 Perl: 5.8.8 OS: linux Time: Wed Nov 29 06:41:05 2006
Message: Access denied for user 'otrs'@'localhost' (using password: NO)
Traceback (1897): Module: Kernel::System::DB::new (v1.47) Line: 168 Module: Kernel::System::Web::InterfaceAgent::Run (v1.8) Line: 150 Module: ModPerl::ROOT::ModPerl::Registry::usr_share_otrs_bin_cgi_2dbin_index_2epl::handler (v) Line: 47 Module: (eval) (v1.80) Line: 203 Module: ModPerl::RegistryCooker::run (v1.80) Line: 203 Module: ModPerl::RegistryCooker::default_handler (v1.80) Line: 169 Module: ModPerl::Registry::handler (v1.99) Line: 30
*****************
I'd appreciate any guidance.
Thanks
-- Bruno _______________________________________________ OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs Support orr consulting for your OTRS system? => http://www.otrs.com/

Thanks for the response!
I'd like to point out how the installation is going from a "apt-get
remove --purge otrs2"
I installed from "apt-get install" and entered a "otrs2dbpassword" when asked.
The first problem was that the file /etc/otrs/Kernel/Config.pm was not
writable by www-admin.
(also, in my installation the user detected by the SetPermissions.sh
was www-data and not www-admin as it should, but I'm sure this was my
mistake in some other place of my server ;)
After solving this (with "chown www-admin:www-admin" the files as
needed) I got the following error:
/////////////////
Error: Access denied for user 'otrs'@'localhost' (using password: NO)
Comment: Please contact your admin
Bug Report:
Traceback: ERROR: OTRS-CGI-10 Perl: 5.8.8 OS: linux Time: Thu Nov 30
05:33:09 2006
Message: Access denied for user 'otrs'@'localhost' (using password: NO)
Traceback (18431):
Module: Kernel::System::DB::new (v1.47) Line: 168
Module: Kernel::System::Web::InterfaceAgent::Run (v1.8) Line: 150
Module: ModPerl::ROOT::ModPerl::Registry::usr_share_otrs_bin_cgi_2dbin_index_2epl::handler
(v) Line: 47
Module: (eval) (v1.80) Line: 203
Module: ModPerl::RegistryCooker::run (v1.80) Line: 203
Module: ModPerl::RegistryCooker::default_handler (v1.80) Line: 169
Module: ModPerl::Registry::handler (v1.99) Line: 30
/////////////////
I solve this by editing "nano /etc/otrs/Kernel/Config.pm" and doing this:
- $Self->{DatabasePw} = $dbpass;
+ $Self->{'DatabasePw'} = 'hot';
I used "hot" as I had left the default pass for the "otrs" database.
After this I started guessing, but got it working dough. I went to the
phpmyadmin and changed the pass of the user "otrs" of the MySQL and
save them encrypted.
Then I also had problems with the login of root@localhost so I went
and did the same with the user at the "system_users" table of the
"otrs" database.
Now everything seems to be working right and it looks great!
Thanks!
On 11/29/06, rico f
Hi,
I got something similar, and if I remember correctly, it seems that the password or user name for the otrs user to access MySql db is incorrect. Try to logon directly to MySQL with the otrs user and see if you can. If you can do so, then check the config.pm and check that the password is correct in the section for Database settings.
ricfors
On 11/29/06, Bruno Sarlo
wrote: Hi,
I've been trying to get Otrs running but couldn't get through. I actually got some problems with dependencies to install 2.1 in my Debian Sarge stable.
I got it to install correctly but when I request the index.pl I get this error:
*****************
Error: Access denied for user 'otrs'@'localhost' (using password: NO) Comment: Please contact your admin Bug Report: Traceback: ERROR: OTRS-CGI-10 Perl: 5.8.8 OS: linux Time: Wed Nov 29 06:41:05 2006
Message: Access denied for user 'otrs'@'localhost' (using password: NO)
Traceback (1897): Module: Kernel::System::DB::new (v1.47) Line: 168 Module: Kernel::System::Web::InterfaceAgent::Run (v1.8) Line: 150 Module: ModPerl::ROOT::ModPerl::Registry::usr_share_otrs_bin_cgi_2dbin_index_2epl::handler (v) Line: 47 Module: (eval) (v1.80) Line: 203 Module: ModPerl::RegistryCooker::run (v1.80) Line: 203 Module: ModPerl::RegistryCooker::default_handler (v1.80) Line: 169 Module: ModPerl::Registry::handler (v1.99) Line: 30
*****************
I'd appreciate any guidance.
Thanks
-- Bruno _______________________________________________ OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs Support orr consulting for your OTRS system? => http://www.otrs.com/
_______________________________________________ OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs Support orr consulting for your OTRS system? => http://www.otrs.com/
-- Bruno

Bruno Sarlo wrote:
The first problem was that the file /etc/otrs/Kernel/Config.pm was not writable by www-admin. (also, in my installation the user detected by the SetPermissions.sh was www-data and not www-admin as it should, but I'm sure this was my mistake in some other place of my server ;)
I thought the default user on Debian for this is in fact www-data.
Then I also had problems with the login of root@localhost so I went and did the same with the user at the "system_users" table of the "otrs" database.
Did you login as 'root@localhost' with password 'root' like suggested in the First Login section in the docs (http://doc.otrs.org/2.1/en/ html/x644.html)? Nils Breunese.

hello all, i want to ask u, how to how to uninstall OTRS in Linux red hat 9.0? because i have problem when i installed the new package, i have already installed this package, that means i don't uninstalled completely. how can i install completely? ur guidaence will help me thx, - HM - ____________________________________________________________________________________ Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail beta. http://new.mail.yahoo.com

On 11/30/06, Nils Breunese (Lemonbit)
Bruno Sarlo wrote:
The first problem was that the file /etc/otrs/Kernel/Config.pm was not writable by www-admin. (also, in my installation the user detected by the SetPermissions.sh was www-data and not www-admin as it should, but I'm sure this was my mistake in some other place of my server ;)
I thought the default user on Debian for this is in fact www-data.
I don't know why I got www-admin, I think I followed a howtoforge tutorial...
Then I also had problems with the login of root@localhost so I went and did the same with the user at the "system_users" table of the "otrs" database.
Did you login as 'root@localhost' with password 'root' like suggested in the First Login section in the docs (http://doc.otrs.org/2.1/en/ html/x644.html)?
No, I didn't. I think I got mixed in some point. What about the changes I made at $Self->{'DatabasePw'} = 'hot'; ? How could I got it back as it was from default and get it running?
Nils Breunese.
_______________________________________________ OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs Support orr consulting for your OTRS system? => http://www.otrs.com/
-- Bruno

Try with default passwords and then change them :-) Peter -----Original Message----- From: otrs-bounces@otrs.org [mailto:otrs-bounces@otrs.org] On Behalf Of Bruno Sarlo Sent: Wednesday, November 29, 2006 8:54 AM To: otrs@otrs.org Subject: [otrs] Error after instalation Hi, I've been trying to get Otrs running but couldn't get through. I actually got some problems with dependencies to install 2.1 in my Debian Sarge stable. I got it to install correctly but when I request the index.pl I get this error: ***************** Error: Access denied for user 'otrs'@'localhost' (using password: NO) Comment: Please contact your admin Bug Report: Traceback: ERROR: OTRS-CGI-10 Perl: 5.8.8 OS: linux Time: Wed Nov 29 06:41:05 2006 Message: Access denied for user 'otrs'@'localhost' (using password: NO) Traceback (1897): Module: Kernel::System::DB::new (v1.47) Line: 168 Module: Kernel::System::Web::InterfaceAgent::Run (v1.8) Line: 150 Module: ModPerl::ROOT::ModPerl::Registry::usr_share_otrs_bin_cgi_2dbin_index_2epl::h andler (v) Line: 47 Module: (eval) (v1.80) Line: 203 Module: ModPerl::RegistryCooker::run (v1.80) Line: 203 Module: ModPerl::RegistryCooker::default_handler (v1.80) Line: 169 Module: ModPerl::Registry::handler (v1.99) Line: 30 ***************** I'd appreciate any guidance. Thanks -- Bruno _______________________________________________ OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs Support orr consulting for your OTRS system? => http://www.otrs.com/
participants (5)
-
Bruno Sarlo
-
henche muliawan
-
Nils Breunese (Lemonbit)
-
Petar Kazakov
-
rico f