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? This has been bugging me for several days now. Any insight into how to get past this error would be greatly appreciated. -- View this message in context: http://koha.1045719.n5.nabble.com/Web-Installer-Error-tp5752139.html Sent from the Koha-general mailing list archive at Nabble.com.
* mhathaway (mhathaway@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
Many thanks for your quick response Chris. I hunted down the details in the conf file and have now managed to complete the installation. Thank you for your help. Issue closed. -- View this message in context: http://koha.1045719.n5.nabble.com/Web-Installer-Error-tp5752139p5752145.html Sent from the Koha-general mailing list archive at Nabble.com.
participants (2)
-
Chris Cormack -
mhathaway