[Koha] Web Installer Error

Chris Cormack chrisc at catalyst.net.nz
Wed Apr 24 21:40:02 NZST 2013


* mhathaway (mhathaway at netherhall.cambs.sch.uk) wrote:
> I'm looking into Koha as a potential replacement for our school library
> system (we're a Cambridge-based secondary school and sixth form centre). 
> However, I'm running into difficulties getting a demo installed.
> 
> Details:
>     Koha 3.10.4
>     Ubuntu 12.10 server.
>     MySQL database and user have been created.
>     I'm down to step 7 of the installer, which is the Web Installer.
> 
> The error:
>     Access denied for user 'kohaadmin'@'localhost' (using password: YES) at
> /usr/share/koha/lib/C4/Context.pm line 803.
>     BEGIN failed--compilation aborted at /usr/share/koha/lib/C4/Auth.pm line
> 63.
>     Compilation failed in require at
> /usr/share/koha/intranet/cgi-bin/mainpage.pl line 25.
>     BEGIN failed--compilation aborted at
> /usr/share/koha/intranet/cgi-bin/mainpage.pl line 25.
> 
> I found Lars J. Helbo's issue
> (http://koha.1045719.n5.nabble.com/Installation-problem-td4449146.html) and
> subsequently tried deleting and recreating the MySQL database and user.  But
> no luck.
> 
> Logically, I was expecting the first step of the web installer to ask for
> the DB details, before it could run.  Is it returning this error before the
> web installer can be served, or after it has already tried to run?
> 
You entered the database name, user and password when running

perl Makefile.PL it is trying to use that, the web installer doesn't
need to ask, you already told it.

But it does need you to set up that user and db. 
Check your koha-conf.xml if you can't remember what password and user
you told it to use.

Chris

-- 
Chris Cormack
Catalyst IT Ltd.
+64 4 803 2238
PO Box 11-053, Manners St, Wellington 6142, New Zealand


More information about the Koha mailing list