[Koha] installation help for KOHA 3.0

Joe Atzberger ohiocore at gmail.com
Wed Dec 24 05:36:58 NZDT 2008


Ulrich --

The $debug_level lines are incidental warnings, not errors.  Ignore them.

What it sounds like is that your haven't set permissions on the database, or
you aren't logging in as the user from your KOHA_CONF file.  You shouldn't
have to load the database structure yourself, but you do have to setup
permissions to allow the Koha user the ability to access mysql and do it for
you.  This step is documented in at least three of the INSTALL documents
from the codebase:

2.2 Create the Koha database
>
>     Create the database and user with associated privileges:
>
>     $ *mysqladmin -uroot -p<password> create <kohadatabasename>*
>     $ *mysql -uroot -p<password>*
>
>     Welcome to the MySQL monitor.  Commands end with ; or \g.
>     Your MySQL connection id is 22
>     Server version: 5.0.32-Debian_7etch3-log Debian etch distribution
>
>     Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
>
>     mysql> *grant all on <kohadatabasename>.* to
> '<kohadatabaseuser>'@'localhost' identified by '<kohadatabaseuserpassword>';
> *
>     Query OK, 0 rows affected (0.00 sec)
>
>     mysql> *flush privileges;*
>     Query OK, 0 rows affected (0.00 sec)
>
>     mysql> *quit*
>

At this point I would probably drop your existing database and start over
with a new one.

--Joe Atzberger,
LibLime


On Mon, Dec 22, 2008 at 6:22 PM, Ulrich Kretschmer
<U.Kretschmer at bergruf.de>wrote:

> Hi,
>
> thanks for your friendly help...
>
> Am Montag, 22. Dezember 2008 07:56 schrieb Krishnan M:
> > Why are you getting the 'table does not exist' problems?
> >
> > Did you verify that the database was created properly and has all the
> > tables? The koha installer does not do this, you'll need to do this
> > yourself with a command like
> >
> > mysql -u <user> -D <databaseName> -p <
> > /path/to/extracted/koha/installer/data/mysql/kohastructure.sql
>
> Well, I thought the installer would do this. As far as I can see, this
> required installation step seems to be undocumented. Should be added to the
> installation documentation. (I hope somebody from Koha project members
> reads
> this...)
>
> My tables are now present and looking fine. But again I get the
> message "production mode - trapped fatal error" while opening the intranet
> address.
>
> The log file says now:
>
> [Mon Dec 22 23:33:16 2008] [error] [client 127.0.0.1] [Mon Dec 22 23:33:16
> 2008] mainpage.pl: Install required, redirecting to Installer
> at /usr/share/koha/lib/C4/Auth.pm line 443.
> => okay
>
> [Mon Dec 22 23:33:17 2008] [error] [client 127.0.0.1] [Mon Dec 22 23:33:17
> 2008] install.pl: Use of uninitialized value $debug_level in string eq
> at /usr/share/koha/lib/C4/Context.pm line 45.
> => ???
>
> [Mon Dec 22 23:33:17 2008] [error] [client 127.0.0.1] [Mon Dec 22 23:33:17
> 2008] install.pl: Use of uninitialized value $debug_level in string eq
> at /usr/share/koha/lib/C4/Context.pm line 45.
> => ???
>
> [Mon Dec 22 23:33:17 2008] [error] [client 127.0.0.1] [Mon Dec 22 23:33:17
> 2008] install.pl: Can't call method "id" on an undefined value at
> InstallAuth.pm line 278.
> => ???
>
> Any ideas how I can repair the $debug_level problem??
>
> I've looked into the Context.pm source code. Line 443 checks for this
> variable's value. But I can't find the place where this value should have
> been defined before.
>
> Thanks for more help
>
> Ulrich
> _______________________________________________
> Koha mailing list
> Koha at lists.katipo.co.nz
> http://lists.katipo.co.nz/mailman/listinfo/koha
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.katipo.co.nz/pipermail/koha/attachments/20081223/51484ec5/attachment-0001.htm 


More information about the Koha mailing list