[Koha-devel] Installing 3.0 on FreeBSD - Web Installer Errors

Thomas Sewell Thomas at CoolSewell.com
Fri Sep 26 01:49:47 CEST 2008


I've been struggling to get Koha 3.0 installed on FreeBSD 7.0. I know, a
glutton for punishment, right?

After wading through the installation process (including installing
additional cpan modules and rewriting the installed sample koha-conf.xml and
koha-httpd.conf files to use the right file paths, since the installer
didn't seem to configure them based on what the makefile used), I've finally
run into an issue that I can't find enough information to solve.

My understanding is that the web installer is supposed to install the tables
into the database. At least, there is nothing in the koha database at this
point.

When going to
http://intranet.example.net:8000/cgi-bin/koha/installer/install.pl I get the
following html message:

production mode - trapped fatal error

And the following lines in koha-error_log:

[Thu Sep 25 17:28:22 2008] [error] [client 63.230.9.45] [Thu Sep 25 17:28:22
2008] install.pl: DBD::mysql::st execute failed: Table
'koha.language_subtag_registry' doesn't exist at
/usr/share/koha/lib/C4/Languages.pm line 178.
[Thu Sep 25 17:28:22 2008] [error] [client 63.230.9.45] [Thu Sep 25 17:28:22
2008] install.pl: DBD::mysql::st fetchrow_hashref failed: fetch() without
execute() at /usr/share/koha/lib/C4/Languages.pm line 179.
[Thu Sep 25 17:28:22 2008] [error] [client 63.230.9.45] [Thu Sep 25 17:28:22
2008] install.pl: DBD::mysql::db selectrow_array failed: Table
'koha.systempreferences' doesn't exist at /usr/share/koha/lib/C4/Context.pm
line 479.
[Thu Sep 25 17:28:22 2008] [error] [client 63.230.9.45] [Thu Sep 25 17:28:22
2008] install.pl: Use of uninitialized value in string eq at
/usr/share/koha/lib/C4/Context.pm line 45.
[Thu Sep 25 17:28:22 2008] [error] [client 63.230.9.45] [Thu Sep 25 17:28:22
2008] install.pl: Use of uninitialized value in string eq at
/usr/share/koha/lib/C4/Context.pm line 45.
[Thu Sep 25 17:28:22 2008] [error] [client 63.230.9.45] [Thu Sep 25 17:28:22
2008] install.pl: Can't call method "id" on an undefined value at
InstallAuth.pm line 278.

I can connect to mysql using the information in koha-conf.xml:
`mysql -u kohaadmin --port 3306 --host localhost -p koha` connects fine.

I have p5-DBD-mysql-4.006 installed (among other things).

On a possibly unrelated issue, when running:
/usr/local/bin/zebrasrv -f /etc/koha/koha-conf.xml
All I get is:
17:39:54-25/09 [fatal] Unknown element 'include' in config
/etc/koha/koha-conf.xml

I'm currently stuck on both of those, so any help or suggestions would be
appreciated.

Thanks,

Thomas




More information about the Koha-devel mailing list