Installation of koha-3
Dear Members, I am trying to install KOHA 3 on Fedora 7 and I did all procedure step by step provided in manuals .But during installation of KOHA 3 (koha-3.00.00-stableRC1) getting some error.............. Shall I proceed with this error further.......... Or how can I overcome from this problem........... Anyone please suggest me...................................... This is one screenshot of my problem 1/4DBD::mysql::db selectrow_array failed: Table 'koha.systempreferences' doesn't exist at /usr/share/koha-3.00.00-stableRC1/blib/PERL_MODULE_DIR/C4/Context.pm line 456. Use of uninitialized value in string eq at /usr/share/koha-3.00.00-stableRC1/blib/PERL_MODULE_DIR/C4/Date.pm line 49. Use of uninitialized value in string eq at /usr/share/koha-3.00.00-stableRC1/blib/PERL_MODULE_DIR/C4/Date.pm line 49. Use of uninitialized value in string eq at /usr/share/koha-3.00.00-stableRC1/blib/PERL_MODULE_DIR/C4/Date.pm line 49. Use of uninitialized value in concatenation (.) or string at /usr/share/koha-3.00.00-stableRC1/blib/PERL_MODULE_DIR/C4/Date.pm line 63. # Failed test 'format_date_in_iso' # at t/Date.t line 29. # got: '' # expected: '1973-05-21' # Looks like you planned 4 tests but only ran 3. # Looks like you failed 1 test of 3 run. t/Date......................dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED tests 2, 4 Failed 2/4 tests, 50.00% okay t/Dates.....................ok 1/126# # Testing Legacy Functions: format_date and format_date_in_iso DBD::mysql::db selectrow_array failed: Table 'koha.systempreferences' doesn't exist at /usr/share/koha-3.00.00-stableRC1/blib/PERL_MODULE_DIR/C4/Context.pm line 456. Use of uninitialized value in hash element at /usr/share/koha-3.00.00-stableRC1/blib/PERL_MODULE_DIR/C4/Dates.pm line 127. Use of uninitialized value in concatenation (.) or string at /usr/share/koha-3.00.00-stableRC1/blib/PERL_MODULE_DIR/C4/Dates.pm line 127. Invalid date format '' from system preferences at t/Dates.t line 31 # Looks like you planned 126 tests but only ran 1. # Looks like your test died just after 1. t/Dates.....................dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 2-126 Failed 125/126 tests, 0.79% okay t/Debug.....................# BEFORE use: $debug is not defined # BEFORE use: $cgi_debug is not defined t/Debug.....................ok 1/3# AFTER use: $debug is 0 # AFTER use: $cgi_debug is 0 # Done. t/Debug.....................ok t/dummy.....................ok t/icondirectories...........Use of uninitialized value in string eq at /usr/share/koha-3.00.00-stableRC1/blib/PERL_MODULE_DIR/C4/Koha.pm line 460. DBD::mysql::db selectrow_array failed: Table 'koha.systempreferences' doesn't exist at /usr/share/koha-3.00.00-stableRC1/blib/PERL_MODULE_DIR/C4/Context.pm line 456. Use of uninitialized value in concatenation (.) or string at /usr/share/koha-3.00.00-stableRC1/blib/PERL_MODULE_DIR/C4/Koha.pm line 464. DBD::mysql::db selectrow_array failed: Table 'koha.systempreferences' doesn't exist at /usr/share/koha-3.00.00-stableRC1/blib/PERL_MODULE_DIR/C4/Context.pm line 456. Use of uninitialized value in concatenation (.) or string at /usr/share/koha-3.00.00-stableRC1/blib/PERL_MODULE_DIR/C4/Koha.pm line 461. Can't stat /usr/share/koha/opac/htdocs/opac-tmpl//itemtypeimg: No such file or directory at t/icondirectories.t line 37 Can't stat /usr/share/koha/intranet/htdocs/intranet-tmpl//img/itemtypeimg: No such file or directory at t/icondirectories.t line 45 t/icondirectories...........ok t/Input.....................ok t/Items.....................DBD::mysql::db selectrow_array failed: Table 'koha.systempreferences' doesn't exist at /usr/share/koha-3.00.00-stableRC1/blib/PERL_MODULE_DIR/C4/Context.pm line 456. t/Items.....................ok 1/28DBD::mysql::db selectrow_array failed: Table 'koha.systempreferences' doesn't exist at /usr/share/koha-3.00.00-stableRC1/blib/PERL_MODULE_DIR/C4/Context.pm line 456. Use of uninitialized value in hash element at /usr/share/koha-3.00.00-stableRC1/blib/PERL_MODULE_DIR/C4/Dates.pm line 127. Use of uninitialized value in concatenation (.) or string at /usr/share/koha-3.00.00-stableRC1/blib/PERL_MODULE_DIR/C4/Dates.pm line 127. Invalid date format '' from system preferences at /usr/share/koha-3.00.00-stableRC1/blib/PERL_MODULE_DIR/C4/Items.pm line 1728 # Looks like you planned 28 tests but only ran 13. # Looks like your test died just after 13. t/Items.....................dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 14-28 Failed 15/28 tests, 46.43% okay t/Koha......................ok t/Labels....................DBD::mysql::db selectrow_array failed: Table 'koha.systempreferences' doesn't exist at /usr/share/koha-3.00.00-stableRC1/blib/PERL_MODULE_DIR/C4/Context.pm line 456. t/Labels....................ok t/Languages.................ok t/Maintainance..............ok t/Output....................ok t/Record....................ok t/Review....................ok t/Scrubber..................ok 1/10# Note: scrubber test output will have whitespace collapsed for readability # done. t/Scrubber..................ok t/Stats.....................ok Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/Date.t 1 256 4 3 75.00% 2 4 t/Dates.t 255 65280 126 250 198.41% 2-126 t/Items.t 255 65280 28 30 107.14% 14-28 Failed 3/24 test scripts, 87.50% okay. 142/207 subtests failed, 31.40% okay. make: *** [test_dynamic] Error 255 Thanks, Vijay Kumar NCSI,IISc Bangalore
On Wed, Jul 9, 2008 at 4:35 PM, vijay kumar <vijcrjbhu@gmail.com> wrote: Dear Members, I got an error during installation of connector DBD::mysql for perl that is mentioned in koha 3 installation on fedora 7 I pasted some screenshot below............. Someone suggest me................................... PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00base....................ok t/10connect.................skipped all skipped: ERROR: Access denied for user 'root'@'localhost' (using password: NO) Can't continue test t/20createdrop..............skipped all skipped: ERROR: Access denied for user 'root'@'localhost' (using password: NO). Can't continue test t/25lockunlock..............skipped all skipped: Can't connect to database ERROR: Access denied for user 'root'@'localhost' (using password: NO). Can't continue test t/29warnings................skipped all skipped: ERROR: DBI connect('test','root',...) failed: Access denied for user 'root'@'localhost' (using password: NO) at t/29warnings.t line 15 t/30insertfetch.............skipped all skipped: ERROR: Access denied for user 'root'@'localhost' (using password: NO). Can't continue test t/31insertid................skipped all skipped: ERROR: Access denied for user 'root'@'localhost' (using password: NO). Can't continue test t/32insert_error............skipped all skipped: ERROR: DBI connect('test','root',...) failed: Access denied for user 'root'@'localhost' (using password: NO) at t/32insert_error.t line 17 t/35limit...................skipped all skipped: ERROR: DBI connect('test','root',...) failed: Access denied for user 'root'@'localhost' (using password: NO) at t/35limit.t line 18 t/35prepare.................skipped all skipped: Can't connect to database ERROR: Access denied for user 'root'@'localhost' (using password: NO). Can't continue test t/40bindparam...............skipped all skipped: ERROR: Access denied for user 'root'@'localhost' (using password: NO). Can't continue test t/40bindparam2..............skipped all skipped: ERROR: Access denied for user 'root'@'localhost' (using password: NO). Can't continue test t/40blobs...................skipped all skipped: ERROR: Access denied for user 'root'@'localhost' (using password: NO). Can't continue test t/40catalog.................skipped all skipped: ERROR: Access denied for user 'root'@'localhost' (using password: NO). Can't continue test t/40keyinfo.................skipped all skipped: ERROR: Access denied for user 'root'@'localhost' (using password: NO). Can't continue test t/40listfields..............skipped all skipped: ERROR: Access denied for user 'root'@'localhost' (using password: NO). Can't continue test t/40nulls...................skipped all skipped: ERROR: Access denied for user 'root'@'localhost' (using password: NO). Can't continue test t/40numrows.................skipped all skipped: ERROR: Access denied for user 'root'@'localhost' (using password: NO). Can't continue test t/40server_prepare..........skipped all skipped: ERROR: DBI connect('test;mysql_server_prepare=1','root',...) failed: Access denied for user 'root'@'localhost' (using password: NO) at t/40server_prepare.t line 16 t/40server_prepare_error....skipped all skipped: ERROR: DBI connect('test;mysql_server_prepare=1','root',...) failed: Access denied for user 'root'@'localhost' (using password: NO) at t/40server_prepare_error.t line 18 t/40types...................skipped all skipped: ERROR: Access denied for user 'root'@'localhost' (using password: NO). Can't continue test t/41bindparam...............skipped all skipped: ERROR: Access denied for user 'root'@'localhost' (using password: NO). Can't continue test t/41blobs_prepare...........skipped all skipped: ERROR: Access denied for user 'root'@'localhost' (using password: NO). Can't continue test t/42bindparam...............skipped all skipped: ERROR: DBI connect('test','root',...) failed: Access denied for user 'root'@'localhost' (using password: NO) at t/42bindparam.t line 13 t/50chopblanks..............skipped all skipped: ERROR: Access denied for user 'root'@'localhost' (using password: NO). Can't continue test t/50commit..................skipped all skipped: ERROR: Access denied for user 'root'@'localhost' (using password: NO). Can't continue test t/55utf8....................skipped all skipped: ERROR: DBI connect('test','root',...) failed: Access denied for user 'root'@'localhost' (using password: NO) at t/55utf8.t line 18 t/60leaks...................skipped all skipped: Skip $ENV{SLOW_TESTS} is not set t/65types...................skipped all skipped: ERROR: DBI connect('test','root',...) failed: Access denied for user 'root'@'localhost' (using password: NO) at t/65types.t line 13 t/70takeimp.................skipped all skipped: Can't connect to database ERROR: DBI connect('test','root',...) failed: Access denied for user 'root'@'localhost' (using password: NO) at t/70takeimp.t line 27 t/71impdata.................DBI connect('test','root',...) failed: Access denied for user 'root'@'localhost' (using password: NO) at t/71impdata.t line 14 skipped all skipped: Can't obtain driver handle. Can't continue test t/75supported_sql...........skipped all skipped: ERROR: Access denied for user 'root'@'localhost' (using password: NO). Can't continue test t/76multi_statement.........skipped all skipped: ERROR: DBI connect('test','root',...) failed: Access denied for user 'root'@'localhost' (using password: NO) at t/76multi_statement.t line 15 t/80procs...................skipped all skipped: ERROR: Access denied for user 'root'@'localhost' (using password: NO). Can't continue test All tests successful, 33 tests skipped. Files=34, Tests=6, 10 wallclock secs ( 4.94 cusr + 0.84 csys = 5.78 CPU) /usr/bin/make test -- OK Running make install Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Writing /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/DBD/mysql/.packlist Appending installation info to /usr/lib/perl5/5.8.8/i386-linux-thread-multi/perllocal.pod /usr/bin/make install -- OK Thanks, Vijay Kumar NCSI,IISc Bangalore
Hi! Just a guess:
ERROR: Access denied for user 'root'@'localhost' (using password: NO) Can't continue test
This means that there is a problem with the connection to the database on localhost. - is mysql running? (i guess: yes) - is there a password required for user 'root'@'localhost'? (i guess: yes) ...but it tries to connect _without_ a password. Good luck, Mourik Jan vijay kumar wrote:
On Wed, Jul 9, 2008 at 4:35 PM, vijay kumar <vijcrjbhu@gmail.com> wrote: Dear Members, I got an error during installation of connector DBD::mysql for perl that is mentioned in koha 3 installation on fedora 7 I pasted some screenshot below.............
Someone suggest me...................................
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00base....................ok t/10connect.................skipped all skipped: ERROR: Access denied for user 'root'@'localhost' (using password: NO) Can't continue test t/20createdrop..............skipped all skipped: ERROR: Access denied for user 'root'@'localhost' (using password: NO). Can't continue test t/25lockunlock..............skipped all skipped: Can't connect to database ERROR: Access denied for user 'root'@'localhost' (using password: NO). Can't continue test t/29warnings................skipped all skipped: ERROR: DBI connect('test','root',...) failed: Access denied for user 'root'@'localhost' (using password: NO) at t/29warnings.t line 15 t/30insertfetch.............skipped all skipped: ERROR: Access denied for user 'root'@'localhost' (using password: NO). Can't continue test t/31insertid................skipped all skipped: ERROR: Access denied for user 'root'@'localhost' (using password: NO). Can't continue test t/32insert_error............skipped all skipped: ERROR: DBI connect('test','root',...) failed: Access denied for user 'root'@'localhost' (using password: NO) at t/32insert_error.t line 17 t/35limit...................skipped all skipped: ERROR: DBI connect('test','root',...) failed: Access denied for user 'root'@'localhost' (using password: NO) at t/35limit.t line 18 t/35prepare.................skipped all skipped: Can't connect to database ERROR: Access denied for user 'root'@'localhost' (using password: NO). Can't continue test t/40bindparam...............skipped all skipped: ERROR: Access denied for user 'root'@'localhost' (using password: NO). Can't continue test t/40bindparam2..............skipped all skipped: ERROR: Access denied for user 'root'@'localhost' (using password: NO). Can't continue test t/40blobs...................skipped all skipped: ERROR: Access denied for user 'root'@'localhost' (using password: NO). Can't continue test t/40catalog.................skipped all skipped: ERROR: Access denied for user 'root'@'localhost' (using password: NO). Can't continue test t/40keyinfo.................skipped all skipped: ERROR: Access denied for user 'root'@'localhost' (using password: NO). Can't continue test t/40listfields..............skipped all skipped: ERROR: Access denied for user 'root'@'localhost' (using password: NO). Can't continue test t/40nulls...................skipped all skipped: ERROR: Access denied for user 'root'@'localhost' (using password: NO). Can't continue test t/40numrows.................skipped all skipped: ERROR: Access denied for user 'root'@'localhost' (using password: NO). Can't continue test t/40server_prepare..........skipped all skipped: ERROR: DBI connect('test;mysql_server_prepare=1','root',...) failed: Access denied for user 'root'@'localhost' (using password: NO) at t/40server_prepare.t line 16 t/40server_prepare_error....skipped all skipped: ERROR: DBI connect('test;mysql_server_prepare=1','root',...) failed: Access denied for user 'root'@'localhost' (using password: NO) at t/40server_prepare_error.t line 18 t/40types...................skipped all skipped: ERROR: Access denied for user 'root'@'localhost' (using password: NO). Can't continue test t/41bindparam...............skipped all skipped: ERROR: Access denied for user 'root'@'localhost' (using password: NO). Can't continue test t/41blobs_prepare...........skipped all skipped: ERROR: Access denied for user 'root'@'localhost' (using password: NO). Can't continue test t/42bindparam...............skipped all skipped: ERROR: DBI connect('test','root',...) failed: Access denied for user 'root'@'localhost' (using password: NO) at t/42bindparam.t line 13 t/50chopblanks..............skipped all skipped: ERROR: Access denied for user 'root'@'localhost' (using password: NO). Can't continue test t/50commit..................skipped all skipped: ERROR: Access denied for user 'root'@'localhost' (using password: NO). Can't continue test t/55utf8....................skipped all skipped: ERROR: DBI connect('test','root',...) failed: Access denied for user 'root'@'localhost' (using password: NO) at t/55utf8.t line 18 t/60leaks...................skipped all skipped: Skip $ENV{SLOW_TESTS} is not set t/65types...................skipped all skipped: ERROR: DBI connect('test','root',...) failed: Access denied for user 'root'@'localhost' (using password: NO) at t/65types.t line 13 t/70takeimp.................skipped all skipped: Can't connect to database ERROR: DBI connect('test','root',...) failed: Access denied for user 'root'@'localhost' (using password: NO) at t/70takeimp.t line 27 t/71impdata.................DBI connect('test','root',...) failed: Access denied for user 'root'@'localhost' (using password: NO) at t/71impdata.t line 14 skipped all skipped: Can't obtain driver handle. Can't continue test t/75supported_sql...........skipped all skipped: ERROR: Access denied for user 'root'@'localhost' (using password: NO). Can't continue test t/76multi_statement.........skipped all skipped: ERROR: DBI connect('test','root',...) failed: Access denied for user 'root'@'localhost' (using password: NO) at t/76multi_statement.t line 15 t/80procs...................skipped all skipped: ERROR: Access denied for user 'root'@'localhost' (using password: NO). Can't continue test All tests successful, 33 tests skipped. Files=34, Tests=6, 10 wallclock secs ( 4.94 cusr + 0.84 csys = 5.78 CPU) /usr/bin/make test -- OK Running make install Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Writing /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/DBD/mysql/.packlist Appending installation info to /usr/lib/perl5/5.8.8/i386-linux-thread-multi/perllocal.pod /usr/bin/make install -- OK
Thanks, Vijay Kumar NCSI,IISc Bangalore _______________________________________________ Koha mailing list Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
participants (2)
-
mourik jan c heupink -
vijay kumar