[Koha-devel] Web installer, database, Darwin (maybe other BSDs?), qx(), mysql

custard custard at westnet.com.au
Wed Feb 13 13:09:14 CET 2008


I've just hit something that looks a lot like this bit.



MJ Ray-2 wrote:
> 
> 2. the web installer can't invoke the mysql command-line client. The
> error is like "sh: line 1: -u: command not found" and appears once for
> each SQL file.  I think this is the portability problem described in
> man perlop under the qx subheading.  It's very similar to a problem in
> the 2.x installer.
> 

I'm at step3 ("GET
/cgi-bin/koha/installer/install.pl?step=3&op=importdatastructure HTTP/1.1"
200 1791) on the web installer. The screen reads :

The following error occcurred while importing the database structure:
sh: mysql: command not found
Please contact your system administrator

and the Koha-errors.log says:

[Wed Feb 13 20:39:07 2008] [error] [client 192.168.14.5] [Wed Feb 13
20:39:07 2008] Output.pm: Useless use of private variable in void context at
/usr/share/koha/lib/C4/Output.pm line 160., referer:
http://192.168.14.5:8080/cgi-bin/koha/installer/install.pl?step=3
[Wed Feb 13 20:39:07 2008] [error] [client 192.168.14.5] [Wed Feb 13
20:39:07 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 163., referer:
http://192.168.14.5:8080/cgi-bin/koha/installer/install.pl?step=3
[Wed Feb 13 20:39:07 2008] [error] [client 192.168.14.5] [Wed Feb 13
20:39:07 2008] install.pl: DBD::mysql::st fetchrow_hashref failed: fetch()
without execute() at /usr/share/koha/lib/C4/Languages.pm line 164., referer:
http://192.168.14.5:8080/cgi-bin/koha/installer/install.pl?step=3

(which looks an awful lot like what it has on transition to every previous
page.) There are not additional notes in the apache logs.

custard
Darwin Kernel Version 9.2.0



-- 
View this message in context: http://www.nabble.com/Web-installer%2C-database%2C-Darwin-%28maybe-other-BSDs-%29%2C-qx%28%29%2C-mysql-tp14746797p15456835.html
Sent from the Koha - Dev mailing list archive at Nabble.com.






More information about the Koha-devel mailing list