Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id C0C86200C68 for ; Wed, 3 May 2017 15:09:02 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id BF710160BB5; Wed, 3 May 2017 13:09:02 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id B848F160BAA for ; Wed, 3 May 2017 15:09:01 +0200 (CEST) Received: (qmail 91216 invoked by uid 500); 3 May 2017 13:09:00 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 91206 invoked by uid 99); 3 May 2017 13:09:00 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 May 2017 13:09:00 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 205511A7B3A for ; Wed, 3 May 2017 13:09:00 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.381 X-Spam-Level: ** X-Spam-Status: No, score=2.381 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, WEIRD_PORT=0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id OySmqRBNzfjY for ; Wed, 3 May 2017 13:08:57 +0000 (UTC) Received: from mail-wm0-f52.google.com (mail-wm0-f52.google.com [74.125.82.52]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 401EE5F1BA for ; Wed, 3 May 2017 13:08:57 +0000 (UTC) Received: by mail-wm0-f52.google.com with SMTP id m123so57234761wma.0 for ; Wed, 03 May 2017 06:08:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=bsklsLd23aH47Pdkd/jKsh0F3sBDI82p86kU+4/R3gY=; b=rTuthPhfgsnusvOHG3pyisU8kArTWrMm3P/naqih5OzgmbGqH6X7zzzTKy0nyrE41X RwhWLl1Rv66VkZAfrExYNPL474OisvhW6Pz0inM5fOCU879jGDD7EXah83q8VKRSkAkt ZHIw4QWKOtm2otiSRuBuO+UvDd/ivI0dzciPaHFi64w19BSqsBJcpUAPPlzfu7Uzk7sA k2xneoBO6g/QoPXFkdu/wgr3i76HALrD0ntdNl1FLuoUEepdM6Z8aVWadLdFb7g2cgG6 djKf/Q0qEemlZ+C6wDeLJyPDGc/jU8RX86bTV4SdxxxIkHC1hxqrT/fKut0wqOEbng0M bnjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=bsklsLd23aH47Pdkd/jKsh0F3sBDI82p86kU+4/R3gY=; b=PGxz3hY2OHo7hNqNGHo7cWjhinyHgzkZ465nOMe8DVtv5HJC0oAtgzNnDA9I7t9h+4 qkyBoS2XBMjKOZsR/8+6CxpBrCwg0FjDoWktBo/sjsXOK4BL8zhECpD4fL2QGXhcmy+0 NgfL41KFBxacM234tZCXOmKTLv3xhVpcVT2LgxtKtLISZm1iv85JxaaSPgc6SEhrV47H GCsDGy+II4gnZXJ19q7gvNZKpWXx4VPRr314o80HFSS/43VxMwgHUuJSqHkmMeHZfoRE WPIjA8X1Dqsf/jODtUKEcIbktOSiP8i2xEt1C9OraVBF76JzXI1wKQuZvvLsSu6fyI0P OUbQ== X-Gm-Message-State: AN3rC/7Nx+yvt5ezghCI5PIzWlI1/JV9QQblbHc+zng545Qj+Jswaa/y q9BV17iLu8X4mXJww/WsotkEi9xgow== X-Received: by 10.80.144.206 with SMTP id d14mr27059515eda.9.1493816936271; Wed, 03 May 2017 06:08:56 -0700 (PDT) MIME-Version: 1.0 Received: by 10.80.154.194 with HTTP; Wed, 3 May 2017 06:08:35 -0700 (PDT) In-Reply-To: References: <60d652ac-b495-df52-c8c6-5f2191d9b235@sanger.ac.uk> From: Daniel Date: Wed, 3 May 2017 15:08:35 +0200 Message-ID: To: "" Content-Type: multipart/alternative; boundary=94eb2c0e479ed89205054e9e5b9f Subject: Re: [users@httpd] I need help figuring out a 500 response code archived-at: Wed, 03 May 2017 13:09:02 -0000 --94eb2c0e479ed89205054e9e5b9f Content-Type: text/plain; charset=UTF-8 Perhaps you should also add how you are configuring httpd to handle the interpretation of PHP files. That is, if you are, for example using mod_proxy_fcgi to send php file requests to php-fpm you should see your 500 detailed errors there instead of Apache. Apache will always log 500status errors, so maybe you should make sure you are checking the correct login if you are not using the case I describe above. If you are using the dreaded mod_php you should check for php directives you can specify for more verbose logging onto why your php scripts fail. I use owncloud too, so if you want I can show you a configuration snippet on how to set apache with mod_proxy_fcgi reverse proxy php requests to a php-fpm pool 2017-05-03 11:21 GMT+02:00 John Covici : > The error_log just had one line or in debug mode a lot of information > about ssl and several lines about requireall granted, but no further > information about the error. > > On Wed, 03 May 2017 02:55:28 -0400, > Dr James Smith wrote: > > > > Is there an error.log in the same directory? This is usually in > > the same directory this should contain some information about why > > the system failed. > > > > > > On 03/05/2017 07:41, John Covici wrote: > > > Hi. I am having major problems figuring out a 500 response code I am > > > getting on my hserver. > > > > > > I am using apache 2.4.25 on gentoo linux up to date as of a few days > > > ago. > > > > > > So, I havinstalled owncloud which is a cloud server written in php and > > > it has worked for a long time, but for a few days I have gotten 500 > > > when I try to access it. Now, I am using https normally to access and > > > when I look at the error_log, I get just one line like this: > > > > > > [Wed May 03 02:14:37.074791 2017] [ssl:info] [pid 22312] [client > > > 192.168.0.2:56613] AH01964: Connection to child 0 established (server > > > ccs.covici.com:443) > > > > > > If I change the loglevel to debug, I get all kinds of ssl information > > > and the lines saying that requireall was granted, but nothing about > > > the error. > > > > > > Now, if I change to http access, on my access_log I get lines like the > > > following: > > > > > > 192.168.0.2 - - [03/May/2017:02:33:38 -0400] "GET /owncloud HTTP/1.1" > > > 301 295 > > > 192.168.0.2 - - [03/May/2017:02:33:38 -0400] "GET /owncloud HTTP/1.1" > > > 301 295 "-" "Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; > > > rv:11.0) like Gecko" > > > 192.168.0.2 - - [03/May/2017:02:33:38 -0400] "GET /owncloud HTTP/1.1" > > > 301 295 "-" "Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; > > > rv:11.0) like Gecko" > > > 192.168.0.2 - - [03/May/2017:02:33:38 -0400] "GET /owncloud/ HTTP/1.1" > > > 302 - > > > 192.168.0.2 - - [03/May/2017:02:33:38 -0400] "GET /owncloud/ HTTP/1.1" > > > 302 - "-" "Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) > > > like Gecko" > > > 192.168.0.2 - - [03/May/2017:02:33:38 -0400] "GET /owncloud/ HTTP/1.1" > > > 302 - "-" "Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) > > > like Gecko" > > > 192.168.0.2 - - [03/May/2017:02:33:38 -0400] "GET > > > /owncloud/index.php/login HTTP/1.1" 500 - > > > 192.168.0.2 - - [03/May/2017:02:33:38 -0400] "GET > > > /owncloud/index.php/login HTTP/1.1" 500 - "-" "Mozilla/5.0 (Windows NT > > > 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko" > > > 192.168.0.2 - - [03/May/2017:02:33:38 -0400] "GET > > > /owncloud/index.php/login HTTP/1.1" 500 - "-" "Mozilla/5.0 (Windows NT > > > 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko" > > > > > > Now, owncloud has theirownw log, but I get nothing in it. > > > > > > So, my question is how to find out more about why I am getting the 500 > > > response and what I can do about it. > > > > > > Thanks in advance for any suggestions. > > > > > > > > > > > -- > > The Wellcome Trust Sanger Institute is operated by Genome > > Research Limited, a charity registered in England with number > > 1021457 and a company registered in England with number 2742969, > > whose registered office is 215 Euston Road, London, NW1 2BE. > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org > > For additional commands, e-mail: users-help@httpd.apache.org > > > > -- > Your life is like a penny. You're going to lose it. The question is: > How do > you spend it? > > John Covici > covici@ccs.covici.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org > For additional commands, e-mail: users-help@httpd.apache.org > > -- *Daniel Ferradal* IT Specialist email dferradal at gmail.com linkedin es.linkedin.com/in/danielferradal --94eb2c0e479ed89205054e9e5b9f Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Perhaps you should also add how you are configuring httpd = to handle the interpretation of PHP files.

That is, if y= ou are, for example using mod_proxy_fcgi to send php file requests to php-f= pm you should see your 500 detailed errors there instead of Apache.

Apache will always log 500status errors, so maybe you sho= uld make sure you are checking the correct login if you are not using the c= ase I describe above.

If you are using the dreaded= mod_php you should check for php directives you can specify for more verbo= se logging onto why your php scripts fail.

I use o= wncloud too, so if you want I can show you a configuration snippet on how t= o set apache with mod_proxy_fcgi reverse proxy php requests to a php-fpm po= ol

201= 7-05-03 11:21 GMT+02:00 John Covici <covici@ccs.covici.com>:
The error_log just had one line or i= n debug mode a lot of information
about ssl and several lines about requireall granted, but no further
information about the error.

On Wed, 03 May 2017 02:55:28 -0400,
Dr James Smith wrote:
>
> Is there an error.log in the same directory? This is usually in
> the same directory this should contain some information about why
> the system failed.
>
>
> On 03/05/2017 07:41, John Covici wrote:
> > Hi.=C2=A0 I am having major problems figuring out a 500 response = code I am
> > getting=C2=A0 on my hserver.
> >
> > I am using apache 2.4.25 on gentoo linux up to date as of a few d= ays
> > ago.
> >
> > So, I havinstalled owncloud which is a cloud server written in ph= p and
> > it has worked for a long time, but for a few days I have gotten 5= 00
> > when I try to access it.=C2=A0 Now, I am using https normally to = access and
> > when I look at the error_log, I get just one line like this:
> >
> > [Wed May 03 02:14:37.074791 2017] [ssl:info] [pid 22312] [client<= br> > > 192.168.0.2:56613] AH01964: Connection to child 0 established = (server
> > ccs.covici.com:443)
> >
> > If I change the loglevel to debug, I get all kinds of ssl informa= tion
> > and the lines saying that requireall was granted, but nothing abo= ut
> > the error.
> >
> > Now, if I change to http access, on my access_log I get lines lik= e the
> > following:
> >
> > 192.168.0.2 - - [03/May/2017:02:33:38 -0400] "GET /owncloud = HTTP/1.1"
> > 301 295
> > 192.168.0.2 - - [03/May/2017:02:33:38 -0400] "GET /owncloud = HTTP/1.1"
> > 301 295 "-" "Mozilla/5.0 (Windows NT 10.0; WOW64; = Trident/7.0;
> > rv:11.0) like Gecko"
> > 192.168.0.2 - - [03/May/2017:02:33:38 -0400] "GET /owncloud = HTTP/1.1"
> > 301 295 "-" "Mozilla/5.0 (Windows NT 10.0; WOW64; = Trident/7.0;
> > rv:11.0) like Gecko"
> > 192.168.0.2 - - [03/May/2017:02:33:38 -0400] "GET /owncloud/= HTTP/1.1"
> > 302 -
> > 192.168.0.2 - - [03/May/2017:02:33:38 -0400] "GET /owncloud/= HTTP/1.1"
> > 302 - "-" "Mozilla/5.0 (Windows NT 10.0; WOW64; Tr= ident/7.0; rv:11.0)
> > like Gecko"
> > 192.168.0.2 - - [03/May/2017:02:33:38 -0400] "GET /owncloud/= HTTP/1.1"
> > 302 - "-" "Mozilla/5.0 (Windows NT 10.0; WOW64; Tr= ident/7.0; rv:11.0)
> > like Gecko"
> > 192.168.0.2 - - [03/May/2017:02:33:38 -0400] "GET
> > /owncloud/index.php/login HTTP/1.1" 500 -
> > 192.168.0.2 - - [03/May/2017:02:33:38 -0400] "GET
> > /owncloud/index.php/login HTTP/1.1" 500 - "-" &quo= t;Mozilla/5.0 (Windows NT
> > 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko"
> > 192.168.0.2 - - [03/May/2017:02:33:38 -0400] "GET
> > /owncloud/index.php/login HTTP/1.1" 500 - "-" &quo= t;Mozilla/5.0 (Windows NT
> > 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko"
> >
> > Now, owncloud has theirownw log, but I get nothing in it.
> >
> > So, my question is how to find out more about why I am getting th= e 500
> > response and what I can do about it.
> >
> > Thanks in advance for any suggestions.
> >
>
>
>
> --
> The Wellcome Trust Sanger Institute is operated by Genome
> Research Limited, a charity registered in England with number
> 1021457 and a company registered in England with number 2742969,
> whose registered office is 215 Euston Road, London, NW1 2BE.
> ------------------------------------------------------------= ---------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>

--
Your life is like a penny.=C2=A0 You're going to lose it.=C2=A0 The que= stion is:
How do
you spend it?

=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0John Covici
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= covici@ccs.covici.com

----------------------------= -----------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org




--
=
= Daniel Ferradal
IT Specialist
=
email =C2=A0 =C2=A0 =C2=A0 =C2=A0 dferradal=C2=A0at gmail.com
<= div dir=3D"ltr">
--94eb2c0e479ed89205054e9e5b9f--