Redirect loop in intranet at initial Koha install/setup
I'm a first time Koha user working through the instructions found here to get Koha 3.06.04 running on Cent OS 6.2: http://wiki.koha-community.org/wiki/Koha_3.6_on_Centos_6.2_i386 I'm using CentOS because this needs to run under Hyper-V. I don't have a whole lot of linux experience. In spite of that, I've made it through the instructions and have things *almost* running. Almost. What happens is that when I try to visit the administration page (the final line in the instructions) I get stuck in an http redirect loop. Koha's normal/opac side of course shows that the site is in maintenance mode, as I would expect prior to installation. I had to troubleshoot a number of other issues to get that far, but I updated the instruction wiki as I went, so someone else following that guide should end up in about the same place I did. Searching around the web (including but not limited to this list), the closest thing I could find is this post: http://koha.1045719.n5.nabble.com/web-installer-fix-amp-new-feature-tt306500... Reading that, I looked for a <kohaversion> element in /etc/koha/koha-conf.xml. I couldn't find one, and I'm not sure where it should go or what the contents of the element should be. There was a section at the end that looked promising, but adding the element there with only the version number for the contents hasn't helped. The tail of my install log in /usr/share/koha/misc/ looks like this: INSTALL_BASE=/usr/share/koha INSTALL_ZEBRA=yes INSTALL_SRU=yes INSTALL_PAZPAR2=no AUTH_INDEX_MODE=dom RUN_DATABASE_TESTS=no PATH_TO_ZEBRA= USE_MEMCACHED=no MEMCACHED_SERVERS= MEMCACHED_NAMESPACE= The tail of my /var/log/koha/koha-error_log looks like this: [Mon Mar 12 16:56:02 2012] [error] [client 10.1.2.103] [Mon Mar 12 16:56:02 2012] 500.pl: DBD::mysql::st execute failed: Table 'koha.language_descriptions' doesn't exist at /usr/share/koha/lib/C4/Languages.pm line 352. [Mon Mar 12 16:56:02 2012] [error] [client 10.1.2.103] [Mon Mar 12 16:56:02 2012] 500.pl: DBD::mysql::st fetchrow_hashref failed: fetch() without execute() at /usr/share/koha/lib/C4/Languages.pm line 353. [Mon Mar 12 16:56:02 2012] [error] [client 10.1.2.103] [Mon Mar 12 16:56:02 2012] 500.pl: DBD::mysql::st execute failed: Table 'koha.language_descriptions' doesn't exist at /usr/share/koha/lib/C4/Languages.pm line 346. [Mon Mar 12 16:56:02 2012] [error] [client 10.1.2.103] [Mon Mar 12 16:56:02 2012] 500.pl: DBD::mysql::st fetchrow_hashref failed: fetch() without execute() at /usr/share/koha/lib/C4/Languages.pm line 347. [Mon Mar 12 16:56:02 2012] [error] [client 10.1.2.103] [Mon Mar 12 16:56:02 2012] 500.pl: DBD::mysql::st execute failed: Table 'koha.language_descriptions' doesn't exist at /usr/share/koha/lib/C4/Languages.pm line 352. [Mon Mar 12 16:56:02 2012] [error] [client 10.1.2.103] [Mon Mar 12 16:56:02 2012] 500.pl: DBD::mysql::st fetchrow_hashref failed: fetch() without execute() at /usr/share/koha/lib/C4/Languages.pm line 353. [Mon Mar 12 16:56:02 2012] [error] [client 10.1.2.103] [Mon Mar 12 16:56:02 2012] 500.pl: DBD::mysql::db selectrow_array failed: Table 'koha.systempreferences' doesn't exist at /usr/share/koha/lib/C4/Context.pm line 516. [Mon Mar 12 16:56:02 2012] [error] [client 10.1.2.103] [Mon Mar 12 16:56:02 2012] 500.pl: DBD::mysql::db selectrow_array failed: Table 'koha.systempreferences' doesn't exist at /usr/share/koha/lib/C4/Context.pm line 516. [Mon Mar 12 16:56:02 2012] [error] [client 10.1.2.103] [Mon Mar 12 16:56:02 2012] 500.pl: DBD::mysql::db selectrow_array failed: Table 'koha.systempreferences' doesn't exist at /usr/share/koha/lib/C4/Context.pm line 516. [Mon Mar 12 16:56:02 2012] [error] [client 10.1.2.103] [Mon Mar 12 16:56:02 2012] 500.pl: Install required, redirecting to Installer at /usr/share/koha/lib/C4/Auth.pm line 595. I'm stuck here what to try next. Any help appreciated. -- View this message in context: http://koha.1045719.n5.nabble.com/Redirect-loop-in-intranet-at-initial-Koha-... Sent from the Koha-general mailing list archive at Nabble.com.
On 13 March 2012 10:56, jcoehoorn <jcoehoorn@york.edu> wrote:
I'm a first time Koha user working through the instructions found here to get Koha 3.06.04 running on Cent OS 6.2:
http://wiki.koha-community.org/wiki/Koha_3.6_on_Centos_6.2_i386
I'm using CentOS because this needs to run under Hyper-V. I don't have a whole lot of linux experience. In spite of that, I've made it through the instructions and have things *almost* running. Almost.
What happens is that when I try to visit the administration page (the final line in the instructions) I get stuck in an http redirect loop. Koha's normal/opac side of course shows that the site is in maintenance mode, as I would expect prior to installation. I had to troubleshoot a number of other issues to get that far, but I updated the instruction wiki as I went, so someone else following that guide should end up in about the same place I did.
Searching around the web (including but not limited to this list), the
[Mon Mar 12 16:56:02 2012] [error] [client 10.1.2.103] [Mon Mar 12 16:56:02 2012] 500.pl: DBD::mysql::db selectrow_array failed: Table 'koha.systempreferences' doesn't exist at /usr/share/koha/lib/C4/Context.pm line 516. [Mon Mar 12 16:56:02 2012] [error] [client 10.1.2.103] [Mon Mar 12 16:56:02 2012] 500.pl: DBD::mysql::db selectrow_array failed: Table 'koha.systempreferences' doesn't exist at /usr/share/koha/lib/C4/Context.pm line 516. [Mon Mar 12 16:56:02 2012] [error] [client 10.1.2.103] [Mon Mar 12 16:56:02 2012] 500.pl: Install required, redirecting to Installer at /usr/share/koha/lib/C4/Auth.pm line 595.
The kohaversion value is stored in the database in the systempreferences table. This doesn't exist, which means the web based installer hasn't worked. The first thing it does is create the tables, the fact this table doesn't exist means it hasn't run correctly. Chris
participants (2)
-
Chris Cormack -
jcoehoorn