
I'm trying to setup OTRS on a slack 8.1 system with apache and mysql. I got through the installation ok so it seemed, but whenever I try to access index.pl I get the error 500 message. Tailing the logfile for apache I get this: [Tue Feb 11 20:13:05 2003] [error] install_driver(mysql) failed: Can't locate DBD/mysql.pm in @INC (@INC contains: ../../ /usr/local/src/otrs/bin/cgi-bin/../../Kernel/cpan-lib /usr/local/src/otrs/bin/cgi-bin/../.. /usr/lib/perl5/i386-linux /usr/lib/perl5 /usr/lib/perl5/site_perl/i386-linux /usr/lib/perl5/site_perl . /usr/local/apache/ /usr/local/apache/lib/perl /usr/local/src/otrs/bin/cgi-bin/../.. /usr/local/src/otrs/bin/cgi-bin/../../Kernel/cpan-lib) at (eval 9) line 3. Perhaps the DBD::mysql perl module hasn't been fully installed, or perhaps the capitalisation of 'mysql' isn't right. Available drivers: ExampleP, Proxy. at /usr/local/src/otrs/bin/cgi-bin/../../Kernel/System/DB.pm line 77 The build dir for .cpan is in my home directory, which is not in the @INC path. I was thinking that adding that path to @INC might fix my problem. However I don't really know how to do that. Any help would be very much appreciated. Thanks! dylan

Maybe this has something to do with the problem.
When testing DBD::mysql, the module fails all tests, I googled around for a
bit to see if other people had this problem. I found some posts but none with
any information or clues to point me in the right direction.
This is the output for most of the tests run for this module
Cannot connect: Unknown database 'test'
Either your server is not up and running or you have no
permissions for acessing the DSN DBI:mysql:test.
This test requires a running server and write permissions.
Please make sure your server is running and you have
permissions, then retry.
I have checked the permissions, I'm even running the mysqld with
--skip-grant-tables so anyone could read/write to the server. Has anyone had
a similar problem?
On 2/11/2003, "Dylan Williams"
I'm trying to setup OTRS on a slack 8.1 system with apache and mysql. I got through the installation ok so it seemed, but whenever I try to access index.pl I get the error 500 message. Tailing the logfile for apache I get this:
[Tue Feb 11 20:13:05 2003] [error] install_driver(mysql) failed: Can't
locate
DBD/mysql.pm in @INC (@INC contains: ../../ /usr/local/src/otrs/bin/cgi-bin/../../Kernel/cpan-lib /usr/local/src/otrs/bin/cgi-bin/../.. /usr/lib/perl5/i386-linux /usr/lib/perl5 /usr/lib/perl5/site_perl/i386-linux /usr/lib/perl5/site_perl . /usr/local/apache/ /usr/local/apache/lib/perl /usr/local/src/otrs/bin/cgi-bin/../.. /usr/local/src/otrs/bin/cgi-bin/../../Kernel/cpan-lib) at (eval 9) line 3. Perhaps the DBD::mysql perl module hasn't been fully installed, or perhaps the capitalisation of 'mysql' isn't right. Available drivers: ExampleP, Proxy. at /usr/local/src/otrs/bin/cgi-bin/../../Kernel/System/DB.pm line 77
The build dir for .cpan is in my home directory, which is not in the @INC path. I was thinking that adding that path to @INC might fix my problem. However I don't really know how to do that. Any help would be very much appreciated. Thanks!
dylan _______________________________________________ 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

Hi Dylan, On Tue, Feb 11, 2003 at 09:33:54PM +0000, Dylan Williams wrote:
When testing DBD::mysql, the module fails all tests, I googled around for a bit to see if other people had this problem. I found some posts but none with any information or clues to point me in the right direction.
This is the output for most of the tests run for this module Cannot connect: Unknown database 'test' Either your server is not up and running or you have no permissions for acessing the DSN DBI:mysql:test. This test requires a running server and write permissions. Please make sure your server is running and you have permissions, then retry.
I have checked the permissions, I'm even running the mysqld with --skip-grant-tables so anyone could read/write to the server. Has anyone had a similar problem?
No, but it looks that there is no "test" database in your MySQLd. Create one with "mysql -u root -p -e 'create database test'" and try to install the DBD::mysql again.
dylan
Martin -- Martin Edenhofer - <martin at edenhofer.de> - http://martin.edenhofer.de/ -- "There are two major products that come out of Berkeley: LSD and Unix. We don't believe this to be a coincidence." -- Jeremy S. Anderson
participants (2)
-
Dylan Williams
-
Martin Edenhofer