[Koha] Problems with Apache when trying to access Koha Admin

Barry Cannon barry at oslo.ie
Wed Dec 7 22:27:08 NZDT 2011


Hello,

            The problem here is that 'koha' user doesn't have access to the
koha database with the credentials supplied. Can you check the user and
password you specified in the /etc/koha/koha-conf.xml file? (search for
"db_scheme" and you'll see the database details below that)

 

Once you find the details try and login to MySQL from the command line with
those details:

 

mysql -u koha --password="PutYourPasswordHere"

 

If you don't get access then you will need to login to the MySQL database
(as root or dba) and grant the koha user the correct permission on the koha
database as directed in the install manual (replace parts in < > to fit your
install):

 

grant all on <kohadatabasename>.* to '<kohadatabaseuser>'@'localhost'
identified by '<mysql-password-for-kohadatabaseuser>'

 

You should be able to run the web installer then.

 

Hope this helps

 

Barry

barry at oslo.ie

http://www.oslo.ie

 

 

From: koha-bounces at lists.katipo.co.nz
[mailto:koha-bounces at lists.katipo.co.nz] On Behalf Of Sangduen Pongput
Sent: 07 December 2011 08:55
To: koha at lists.katipo.co.nz
Subject: [Koha] Problems with Apache when trying to access Koha Admin

 

Dear All

 

I has a same problem as another post about Problems with Apache when trying
to access Koha Admin.

Have anyone explian clearly step by step how to solve that.

 

http://lists.katipo.co.nz/public/koha/2011-December/031407.html

 

I have installed koha 3.06.01 following the instructions online for Ubuntu
11.10.

Everything went well until now. When I try to go to 127.0.0.1:8080 I get
this message.

Software error:

Access denied for user 'koha'@'localhost' (using password: YES) at
/usr/share/koha/lib/C4/Context.pm line 693.
Compilation failed in require at /usr/share/koha/lib/C4/Auth.pm line 33.
BEGIN failed--compilation aborted at /usr/share/koha/lib/C4/Auth.pm line 33.
Compilation failed in require at
/usr/share/koha/intranet/cgi-bin/mainpage.pl line 26.
BEGIN failed--compilation aborted at
/usr/share/koha/intranet/cgi-bin/mainpage.pl line 26.

Any ideas on how I fix this?

 

    

  <http://us.i1.yimg.com/us.yimg.com/i/mesg/tsmileys2/04.gif>  Thank you for
your kind cooperation.
<http://us.i1.yimg.com/us.yimg.com/i/mesg/tsmileys2/04.gif> 
      Best regards,  

Sangduen Pongput    
Librarian 
The Secretariat of the Senate, Bureau of Parliamentary Studies, Library and
Museum Group 
4 U-Thong Nai Road, Dusit District, Bangkok 10300 THAILAND 
Tel +662 831 9313- 4      Mobile Phone +66 89 122 5347  Fax +662 831 9308
or +662 831 9314 

 

sangduen at senate.go.th, sangduenifla at gmail.com, sangduen_p at hotmail.com,
m091225347 at yahoo.com

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.katipo.co.nz/pipermail/koha/attachments/20111207/4bbb5e3d/attachment.html>


More information about the Koha mailing list