Thank-you Robert,
the error was dumber, hehe...
I've setted $Self->{DatabasePw} = 'password'; without the quotes! :(
-- Luís Fernando
RK> In the following, I refer to an OTRS installation located in
RK> /home/myuser. You may safely replace an occurence of /home/myuser/otrs
RK> with /opt/otrs, it works the same way.
RK> On Friday, January 16, 2004 8:38 PM
RK> MEGA Hospedagem wrote:
RK> # mysql -u myuser -pXXX -h localhost -e "GRANT ALL PRIVILEGES ON \
RK> myuser_otrs.* TO myuser_otrs@localhost IDENTIFIED BY 'YYY' WITH GRANT
RK> \
RK> OPTION"
RK> Try issuing the command from the command line, substituting XXX with the
RK> real database password of the user 'myuser' and YYY with the password
RK> for the database 'myuser_otrs'. Your naming scheme is ok.
RK> Edit /home/myuser/otrs/Kernel/Config.pm and adapt the settings for the
RK> database connection - they are somewhat self-explanatory and documented
RK> in the file. Esp. set 'myuser_otrs' there and the accompagning password.
RK> Finally, run some maintenance scripts and checks:
RK> a) Set proper permissions on all directories:
RK> First go and see if SetPermissions.sh is there and up-to-date, which
RK> were Revision 1.19:
RK> # bin/SetPermissions.sh --help
RK> SetPermissions.sh <$Revision: 1.19 $> - set OTRS file permissions
RK> Copyright (c) 2002 Martin Edenhofer
RK> Usage: SetPermissions.sh
RK> [OTRS_GROUP] [WEB_GROUP]
RK> Try: SetPermissions.sh /opt/otrs otrs wwwrun
RK> Looks ok - so, in your case, I'd suggest you issue:
RK> # bin/SetPermissions.sh /home/myuser myuser apache
RK> Change 'apache' to the user your webserver runs under. This should give
RK> you a clue about it:
RK> # ps -ef|grep -v grep|grep httpd
RK> b) All needed Perl modules onboard?
RK> # perl -cw /home/myuser/otrs/bin/cgi-bin/index.pl
RK> # perl -cw /home/myuser/otrs/bin/cgi-bin/installer.pl
RK> The output should be something with "Ok." in it.
RK> c) Check the database (and therefore the connection to it, too):
RK> # perl /home/myuser/otrs/bin/CheckDB.pl
RK> Again, a positive answer means success.
RK> If you already completed every of the four steps of the installer, go to
RK> http://localhost/otrs/index.pl and get to know your OTRS now.
RK> Remember to have a look in
RK> /home/myuser/otrs/Kernel/Config/Defaults.pm
RK> for available settings, but do not actually set them there, but in
RK> /home/myuser/otrs/Kernel/Config.pm
RK> Esp., you may want to set
RK> $Self->{SecureMode} = 1;
RK> prior to putting your OTRS installation in the public to avoid the use
RK> of installer.pl.
RK> hth,
RK> Robert Kehl
RK> --
RK> ((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg
RK> http://www.otrs.de/ :: Tel. +49 (0)6172 4832388
RK> _______________________________________________
RK> OTRS mailing list: otrs - Webpage: http://otrs.org/
RK> Archive: http://lists.otrs.org/pipermail/otrs
RK> To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
RK> Support oder Consulting für Ihr OTRS System?
=>> http://www.otrs.de/