Installation Error of koha3 on fc6
Dear List members, I have a problem with koha3 installation on fc6. I installed all perl modules , zebra , yaz etc successfully,During installation of koha ,when i run "make test" it shows the fallowing errors... ----------------------------------------------------------------------------- t/Date......................ok 1/4DBI connect('dbname=Koha;host=10.180.12.17;port=3306','kohaadmin',...) failed: Host '10.180.12.17' is not allowed to connect to this MySQL server at /usr/share/koha-3.00.00-stableRC1/blib/PERL_MODULE_DIR/C4/Context.pm line 629 Host '10.180.12.17' is not allowed to connect to this MySQL server at /usr/share/koha-3.00.00-stableRC1/blib/PERL_MODULE_DIR/C4/Context.pm line 629. # Looks like you planned 4 tests but only ran - # Looks like your test died just after 1. t/Date......................dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 2-4 Failed 3/4 tests, 25.00% okay t/Dates.....................ok 1/126# # Testing Legacy Functions: format_date and format_date_in_iso DBI connect('dbname=Koha;host=10.180.12.17;port=3306','kohaadmin',...) failed: Host '10.180.12.17' is not allowed to connect to this MySQL server at /usr/share/koha-3.00.00-stableRC1/blib/PERL_MODULE_DIR/C4/Context.pm line 629 Host '10.180.12.17' is not allowed to connect to this MySQL server at /usr/share/koha-3.00.00-stableRC1/blib/PERL_MODULE_DIR/C4/Context.pm line 629. # 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 t/Debug.....................ok 2/3# 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. DBI connect('dbname=Koha;host=10.180.12.17;port=3306','kohaadmin',...) failed: Host '10.180.12.17' is not allowed to connect to this MySQL server at /usr/share/koha-3.00.00-stableRC1/blib/PERL_MODULE_DIR/C4/Context.pm line 629 Host '10.180.12.17' is not allowed to connect to this MySQL server at /usr/share/koha-3.00.00-stableRC1/blib/PERL_MODULE_DIR/C4/Context.pm line 629. # Looks like your test died before it could output anything. t/icondirectories...........dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED test 1 Failed 1/1 tests, 0.00% okay t/Input.....................ok t/Items.....................DBI connect('dbname=Koha;host=10.180.12.17;port=3306','kohaadmin',...) failed: Host '10.180.12.17' is not allowed to connect to this MySQL server at /usr/share/koha-3.00.00-stableRC1/blib/PERL_MODULE_DIR/C4/Context.pm line 629 t/Items.....................NOK 1 # Failed test 'use C4::Items;' # at t/Items.t line 11. # Tried to use 'C4::Items'. # Error: Host '10.180.12.17' is not allowed to connect to this MySQL server at /usr/share/koha-3.00.00-stableRC1/blib/PERL_MODULE_DIR/C4/Context.pm line 629. # Compilation failed in require at /usr/share/koha-3.00.00-stableRC1/blib/PERL_MODULE_DIR/C4/Circulation.pm line 25. # BEGIN failed--compilation aborted at /usr/share/koha-3.00.00-stableRC1/blib/PERL_MODULE_DIR/C4/Circulation.pm line 25. # Compilation failed in require at /usr/share/koha-3.00.00-stableRC1/blib/PERL_MODULE_DIR/C4/XSLT.pm line 25. # BEGIN failed--compilation aborted at /usr/share/koha-3.00.00-stableRC1/blib/PERL_MODULE_DIR/C4/XSLT.pm line 25. # Compilation failed in require at /usr/share/koha-3.00.00-stableRC1/blib/PERL_MODULE_DIR/C4/Search.pm line 27. # BEGIN failed--compilation aborted at /usr/share/koha-3.00.00-stableRC1/blib/PERL_MODULE_DIR/C4/Search.pm line 27. # Compilation failed in require at /usr/share/koha-3.00.00-stableRC1/blib/PERL_MODULE_DIR/C4/Heading.pm line 25. # BEGIN failed--compilation aborted at /usr/share/koha-3.00.00-stableRC1/blib/PERL_MODULE_DIR/C4/Heading.pm line 25. # Compilation failed in require at /usr/share/koha-3.00.00-stableRC1/blib/PERL_MODULE_DIR/C4/Biblio.pm line 114. # BEGIN failed--compilation aborted at /usr/share/koha-3.00.00-stableRC1/blib/PERL_MODULE_DIR/C4/Biblio.pm line 114. # Compilation failed in require at /usr/share/koha-3.00.00-stableRC1/blib/PERL_MODULE_DIR/C4/Items.pm line 24. # BEGIN failed--compilation aborted at /usr/share/koha-3.00.00-stableRC1/blib/PERL_MODULE_DIR/C4/Items.pm line 24. # Compilation failed in require at (eval 4) line 2. # BEGIN failed--compilation aborted at (eval 4) line 2. Undefined subroutine &C4::Items::_do_column_fixes_for_mod called at t/Items.t line 35. # Looks like you planned 28 tests but only ran 1. # Looks like you failed 1 test of 1 run. # Looks like your test died just after 1. t/Items.....................dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 1-28 Failed 28/28 tests, 0.00% okay t/Koha......................ok t/Labels....................DBI connect('dbname=Koha;host=10.180.12.17;port=3306','kohaadmin',...) failed: Host '10.180.12.17' is not allowed to connect to this MySQL server at /usr/share/koha-3.00.00-stableRC1/blib/PERL_MODULE_DIR/C4/Context.pm line 629 t/Labels....................NOK 1 # Failed test 'use C4::Labels;' # at t/Labels.t line 12. # Tried to use 'C4::Labels'. # Error: Host '10.180.12.17' is not allowed to connect to this MySQL server at /usr/share/koha-3.00.00-stableRC1/blib/PERL_MODULE_DIR/C4/Context.pm line 629. # Compilation failed in require at /usr/share/koha-3.00.00-stableRC1/blib/PERL_MODULE_DIR/C4/Circulation.pm line 25. # BEGIN failed--compilation aborted at /usr/share/koha-3.00.00-stableRC1/blib/PERL_MODULE_DIR/C4/Circulation.pm line 25. # Compilation failed in require at /usr/share/koha-3.00.00-stableRC1/blib/PERL_MODULE_DIR/C4/Overdues.pm line 24. # BEGIN failed--compilation aborted at /usr/share/koha-3.00.00-stableRC1/blib/PERL_MODULE_DIR/C4/Overdues.pm line 24. # Compilation failed in require at /usr/share/koha-3.00.00-stableRC1/blib/PERL_MODULE_DIR/C4/Members.pm line 27. # BEGIN failed--compilation aborted at /usr/share/koha-3.00.00-stableRC1/blib/PERL_MODULE_DIR/C4/Members.pm line 27. # Compilation failed in require at /usr/share/koha-3.00.00-stableRC1/blib/PERL_MODULE_DIR/C4/Labels.pm line 26. # BEGIN failed--compilation aborted at /usr/share/koha-3.00.00-stableRC1/blib/PERL_MODULE_DIR/C4/Labels.pm line 26. # Compilation failed in require at (eval 2) line 2. # BEGIN failed--compilation aborted at (eval 2) line 2. # Looks like you failed 1 test of 1. t/Labels....................dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 1 Failed 1/1 tests, 0.00% okay 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 255 65280 4 6 150.00% 2-4 t/Dates.t 255 65280 126 250 198.41% 2-126 t/Items.t 255 65280 28 55 196.43% 1-28 t/Labels.t 1 256 1 1 100.00% 1 t/icondirectories.t 255 65280 1 2 200.00% 1 Failed 5/24 test scripts, 79.17% okay. 158/207 subtests failed, 23.67% okay. make: *** [test_dynamic] Error 255 ---------------------------------------------------------------------- Any suggestion is highly appriciated. Shri Ram Pandey NCSI, IISc Bangalore
You appear to be running out of the internal directory blib, not the installed directory. blib has contents that should be installed when you complete the documented steps, in this case at: /usr/share/koha-3.00.00-stableRC1/ You should not run anything out of blib though. --joe On Thu, Jul 10, 2008 at 5:00 AM, shriram pandey <ram.mlib@gmail.com> wrote:
Dear List members, I have a problem with koha3 installation on fc6. I installed all perl modules , zebra , yaz etc successfully,During installation of koha ,when i run "make test" it shows the fallowing errors...
----------------------------------------------------------------------------- t/Date......................ok 1/4DBI connect('dbname=Koha;host=10.180.12.17;port=3306','kohaadmin',...) failed: Host '10.180.12.17' is not allowed to connect to this MySQL server at /usr/share/koha-3.00.00-stableRC1/blib/PERL_MODULE_DIR/C4/Context.pm line 629 Host '10.180.12.17' is not allowed to connect to this MySQL server at /usr/share/koha-3.00.00-stableRC1/blib/PERL_MODULE_DIR/C4/Context.pm line 629. # Looks like you planned 4 tests but only ran - # Looks like your test died just after 1. t/Date......................dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 2-4 Failed 3/4 tests, 25.00% okay t/Dates.....................ok 1/126# # Testing Legacy Functions: format_date and format_date_in_iso DBI connect('dbname=Koha;host=10.180.12.17;port=3306','kohaadmin',...) failed: Host '10.180.12.17' is not allowed to connect to this MySQL server at /usr/share/koha-3.00.00-stableRC1/blib/PERL_MODULE_DIR/C4/Context.pm line 629 Host '10.180.12.17' is not allowed to connect to this MySQL server at /usr/share/koha-3.00.00-stableRC1/blib/PERL_MODULE_DIR/C4/Context.pm line 629. # 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 t/Debug.....................ok 2/3# 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. DBI connect('dbname=Koha;host=10.180.12.17;port=3306','kohaadmin',...) failed: Host '10.180.12.17' is not allowed to connect to this MySQL server at /usr/share/koha-3.00.00-stableRC1/blib/PERL_MODULE_DIR/C4/Context.pm line 629 Host '10.180.12.17' is not allowed to connect to this MySQL server at /usr/share/koha-3.00.00-stableRC1/blib/PERL_MODULE_DIR/C4/Context.pm line 629. # Looks like your test died before it could output anything. t/icondirectories...........dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED test 1 Failed 1/1 tests, 0.00% okay t/Input.....................ok t/Items.....................DBI connect('dbname=Koha;host=10.180.12.17;port=3306','kohaadmin',...) failed: Host '10.180.12.17' is not allowed to connect to this MySQL server at /usr/share/koha-3.00.00-stableRC1/blib/PERL_MODULE_DIR/C4/Context.pm line 629 t/Items.....................NOK 1 # Failed test 'use C4::Items;' # at t/Items.t line 11. # Tried to use 'C4::Items'. # Error: Host '10.180.12.17' is not allowed to connect to this MySQL server at /usr/share/koha-3.00.00-stableRC1/blib/PERL_MODULE_DIR/C4/Context.pm line 629. # Compilation failed in require at /usr/share/koha-3.00.00-stableRC1/blib/PERL_MODULE_DIR/C4/Circulation.pm line 25. # BEGIN failed--compilation aborted at /usr/share/koha-3.00.00-stableRC1/blib/PERL_MODULE_DIR/C4/Circulation.pm line 25. # Compilation failed in require at /usr/share/koha-3.00.00-stableRC1/blib/PERL_MODULE_DIR/C4/XSLT.pm line 25. # BEGIN failed--compilation aborted at /usr/share/koha-3.00.00-stableRC1/blib/PERL_MODULE_DIR/C4/XSLT.pm line 25. # Compilation failed in require at /usr/share/koha-3.00.00-stableRC1/blib/PERL_MODULE_DIR/C4/Search.pm line 27. # BEGIN failed--compilation aborted at /usr/share/koha-3.00.00-stableRC1/blib/PERL_MODULE_DIR/C4/Search.pm line 27. # Compilation failed in require at /usr/share/koha-3.00.00-stableRC1/blib/PERL_MODULE_DIR/C4/Heading.pm line 25. # BEGIN failed--compilation aborted at /usr/share/koha-3.00.00-stableRC1/blib/PERL_MODULE_DIR/C4/Heading.pm line 25. # Compilation failed in require at /usr/share/koha-3.00.00-stableRC1/blib/PERL_MODULE_DIR/C4/Biblio.pm line 114. # BEGIN failed--compilation aborted at /usr/share/koha-3.00.00-stableRC1/blib/PERL_MODULE_DIR/C4/Biblio.pm line 114. # Compilation failed in require at /usr/share/koha-3.00.00-stableRC1/blib/PERL_MODULE_DIR/C4/Items.pm line 24. # BEGIN failed--compilation aborted at /usr/share/koha-3.00.00-stableRC1/blib/PERL_MODULE_DIR/C4/Items.pm line 24. # Compilation failed in require at (eval 4) line 2. # BEGIN failed--compilation aborted at (eval 4) line 2. Undefined subroutine &C4::Items::_do_column_fixes_for_mod called at t/Items.t line 35. # Looks like you planned 28 tests but only ran 1. # Looks like you failed 1 test of 1 run. # Looks like your test died just after 1. t/Items.....................dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 1-28 Failed 28/28 tests, 0.00% okay t/Koha......................ok t/Labels....................DBI connect('dbname=Koha;host=10.180.12.17;port=3306','kohaadmin',...) failed: Host '10.180.12.17' is not allowed to connect to this MySQL server at /usr/share/koha-3.00.00-stableRC1/blib/PERL_MODULE_DIR/C4/Context.pm line 629 t/Labels....................NOK 1 # Failed test 'use C4::Labels;' # at t/Labels.t line 12. # Tried to use 'C4::Labels'. # Error: Host '10.180.12.17' is not allowed to connect to this MySQL server at /usr/share/koha-3.00.00-stableRC1/blib/PERL_MODULE_DIR/C4/Context.pm line 629. # Compilation failed in require at /usr/share/koha-3.00.00-stableRC1/blib/PERL_MODULE_DIR/C4/Circulation.pm line 25. # BEGIN failed--compilation aborted at /usr/share/koha-3.00.00-stableRC1/blib/PERL_MODULE_DIR/C4/Circulation.pm line 25. # Compilation failed in require at /usr/share/koha-3.00.00-stableRC1/blib/PERL_MODULE_DIR/C4/Overdues.pm line 24. # BEGIN failed--compilation aborted at /usr/share/koha-3.00.00-stableRC1/blib/PERL_MODULE_DIR/C4/Overdues.pm line 24. # Compilation failed in require at /usr/share/koha-3.00.00-stableRC1/blib/PERL_MODULE_DIR/C4/Members.pm line 27. # BEGIN failed--compilation aborted at /usr/share/koha-3.00.00-stableRC1/blib/PERL_MODULE_DIR/C4/Members.pm line 27. # Compilation failed in require at /usr/share/koha-3.00.00-stableRC1/blib/PERL_MODULE_DIR/C4/Labels.pm line 26. # BEGIN failed--compilation aborted at /usr/share/koha-3.00.00-stableRC1/blib/PERL_MODULE_DIR/C4/Labels.pm line 26. # Compilation failed in require at (eval 2) line 2. # BEGIN failed--compilation aborted at (eval 2) line 2. # Looks like you failed 1 test of 1. t/Labels....................dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 1 Failed 1/1 tests, 0.00% okay 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 255 65280 4 6 150.00% 2-4 t/Dates.t 255 65280 126 250 198.41% 2-126 t/Items.t 255 65280 28 55 196.43% 1-28 t/Labels.t 1 256 1 1 100.00% 1 t/icondirectories.t 255 65280 1 2 200.00% 1 Failed 5/24 test scripts, 79.17% okay. 158/207 subtests failed, 23.67% okay. make: *** [test_dynamic] Error 255
---------------------------------------------------------------------- Any suggestion is highly appriciated.
Shri Ram Pandey NCSI, IISc Bangalore _______________________________________________ Koha mailing list Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
participants (2)
-
Joe Atzberger -
shriram pandey