[Koha] OAuth2

Daniel Owens dcowens76 at gmail.com
Tue Apr 21 12:15:36 NZST 2015


On 4/21/15 6:51 AM, Robin Sheat wrote:
> Daniel Owens schreef op di 21-04-2015 om 06:13 [+0700]:
>> I get error 500. See
>> http://koha.theology-vietnam.org/cgi-bin/koha/svc/googleoauth2.
> It should be logging somewhere, whether that's
> in /var/log/koha/instancename/opac-error.log (most likely if you've
> installed with packages), or somewhere else if not, possibly
> under /var/log/apache2, but it depends on how you've configured things
> really.
>
> My trick is to tail -F all the log files I can find, and then hit the
> page that causes the error and see what updates.
>
Thanks, I was not aware of that error log. This provided more relevant 
information than the apache error log:

[Tue Apr 21 00:08:29 2015] [error] [client 42.115.194.190] 
(13)Permission denied: exec of 
'/usr/share/koha/opac/cgi-bin/opac/svc/googleoauth2' failed
[Tue Apr 21 00:08:29 2015] [error] [client 42.115.194.190] Premature end 
of script headers: googleoauth2
[Tue Apr 21 00:08:37 2015] [error] [client 42.115.194.190] File does not 
exist: /usr/share/koha/opac/htdocs/opac-tmpl/bootstrap/css/colors.css, 
referer: http://koha.theology-vietnam.org/cgi-bin/koha/svc/googleoauth2

As I read this, the first error has to do with a permission problem, but 
I have no idea how to fix it.

The second and third seem to suggest something about my configuration or 
the installation of the patch is not quite right. I will have to look 
into it when I have a chance.

Daniel


More information about the Koha mailing list