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 [EMAIL PROTECTED] 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 <[EMAIL PROTECTED]> wrote:
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 <[EMAIL PROTECTED]> 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
_______________________________________________
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/

Reply via email to