Problems with Apache when trying to access Koha Admin

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Problems with Apache when trying to access Koha Admin

Sangduen Pongput
 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.
 
   
 Thank you for your kind cooperation.
      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
 

_______________________________________________
Koha mailing list  http://koha-community.org
[hidden email]
http://lists.katipo.co.nz/mailman/listinfo/koha
Reply | Threaded
Open this post in threaded view
|

Re: Problems with Apache when trying to access Koha Admin

MJ Ray-2
Sangduen Pongput <[hidden email]>
>  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.

We do not know which is the "another post"!  Please provide a link!

Apologies,
--
MJ Ray (slef), member of www.software.coop, a for-more-than-profit co-op.
http://koha-community.org supporter, web and LMS developer, statistician.
In My Opinion Only: see http://mjr.towers.org.uk/email.html
Available for hire for Koha work http://www.software.coop/products/koha
_______________________________________________
Koha mailing list  http://koha-community.org
[hidden email]
http://lists.katipo.co.nz/mailman/listinfo/koha
Reply | Threaded
Open this post in threaded view
|

Problems with Apache when trying to access Koha Admin

Sangduen Pongput
In reply to this post by Sangduen Pongput
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.
 
 
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?

 
   
 Thank you for your kind cooperation.
      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
 



_______________________________________________
Koha mailing list  http://koha-community.org
[hidden email]
http://lists.katipo.co.nz/mailman/listinfo/koha
Reply | Threaded
Open this post in threaded view
|

Re: Problems with Apache when trying to access Koha Admin

Barry Cannon-4

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

[hidden email]

http://www.oslo.ie

 

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Sangduen Pongput
Sent: 07 December 2011 08:55
To: [hidden email]
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.

 

 

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?

 

   

 Thank you for your kind cooperation.
      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

 

 


_______________________________________________
Koha mailing list  http://koha-community.org
[hidden email]
http://lists.katipo.co.nz/mailman/listinfo/koha