[MacPorts] #56029: ERR_EMPTY_RESPONSE on Userdirs

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

[MacPorts] #56029: ERR_EMPTY_RESPONSE on Userdirs

MacPorts
#56029: ERR_EMPTY_RESPONSE on Userdirs
----------------------+----------------------------
 Reporter:  Behinder  |      Owner:
     Type:  defect    |     Status:  new
 Priority:  Normal    |  Milestone:  MacPorts 2.4.3
Component:  ports     |    Version:  2.4.2
 Keywords:            |       Port:  apache2
----------------------+----------------------------
 I did clean install Apache 2.4 PHP 7.2
 For now I don't even know if PHP works. On Apache 2.2 I didnt have any
 problems now I got error trying to access localhost/~sebastian.
 Looks there is some error with Userdirs.
 I am on El Capitan.

 Google from last year shows only 2 pages of result and nothing relevant to
 solve the problem.

--
Ticket URL: <https://trac.macports.org/ticket/56029>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #56029: ERR_EMPTY_RESPONSE on Userdirs

MacPorts
#56029: ERR_EMPTY_RESPONSE on Userdirs
-----------------------+----------------------------
  Reporter:  Behinder  |      Owner:
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:  MacPorts 2.4.3
 Component:  ports     |    Version:  2.4.2
Resolution:            |   Keywords:
      Port:  apache2   |
-----------------------+----------------------------

Comment (by Schamschula):

 Have you looked at https://trac.macports.org/wiki/howto/Apache2 ? or, for
 that matter https://httpd.apache.org/docs/2.4/upgrading.html ?

--
Ticket URL: <https://trac.macports.org/ticket/56029#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #56029: ERR_EMPTY_RESPONSE on Userdirs

MacPorts
In reply to this post by MacPorts
#56029: ERR_EMPTY_RESPONSE on Userdirs
-----------------------+-------------------------
  Reporter:  Behinder  |      Owner:  Schamschula
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.4.2
Resolution:            |   Keywords:
      Port:  apache2   |
-----------------------+-------------------------
Changes (by neverpanic):

 * cc: ryandesign (added)
 * status:  new => assigned
 * owner:   => Schamschula
 * milestone:  MacPorts 2.4.3 =>


Comment:

 Please do not set the milestone field for port tickets.

--
Ticket URL: <https://trac.macports.org/ticket/56029#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #56029: ERR_EMPTY_RESPONSE on Userdirs

MacPorts
In reply to this post by MacPorts
#56029: ERR_EMPTY_RESPONSE on Userdirs
-----------------------+-------------------------
  Reporter:  Behinder  |      Owner:  Schamschula
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.4.2
Resolution:            |   Keywords:
      Port:  apache2   |
-----------------------+-------------------------

Comment (by ryandesign):

 Definitely going to need more information from you. Can you show us the
 exact error messages you got?

--
Ticket URL: <https://trac.macports.org/ticket/56029#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #56029: ERR_EMPTY_RESPONSE on Userdirs

MacPorts
In reply to this post by MacPorts
#56029: ERR_EMPTY_RESPONSE on Userdirs
-----------------------+-------------------------
  Reporter:  Behinder  |      Owner:  Schamschula
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.4.2
Resolution:            |   Keywords:
      Port:  apache2   |
-----------------------+-------------------------
Changes (by Behinder):

 * Attachment "Zrzut Ekranu 2018-03-13 o 13.20.18.png" added.


--
Ticket URL: <https://trac.macports.org/ticket/56029>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #56029: ERR_EMPTY_RESPONSE on Userdirs

MacPorts
In reply to this post by MacPorts
#56029: ERR_EMPTY_RESPONSE on Userdirs
-----------------------+-------------------------
  Reporter:  Behinder  |      Owner:  Schamschula
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.4.2
Resolution:            |   Keywords:
      Port:  apache2   |
-----------------------+-------------------------

Comment (by ryandesign):

 Oh. Ok. Is there anything in the server's log file when that happens?

--
Ticket URL: <https://trac.macports.org/ticket/56029#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #56029: ERR_EMPTY_RESPONSE on Userdirs

MacPorts
In reply to this post by MacPorts
#56029: ERR_EMPTY_RESPONSE on Userdirs
-----------------------+-------------------------
  Reporter:  Behinder  |      Owner:  Schamschula
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.4.2
Resolution:            |   Keywords:
      Port:  apache2   |
-----------------------+-------------------------

Comment (by Behinder):

 I attached screenshot from Chrome. it said server didnt get any data. On
 Safari it states connection was broke up and sometimes it happend because
 of huge overload of server (but there is no work on my localhost doing at
 the moment) so error message is confusing.

 I deleted 2.2 and install 2.4 from scratch and configured it manually with
 only small edits regarding php.

 I have PHP 7.2 on another machine on Sierra installed with HomeBrew and it
 works and on another machine with Ubuntu NgINX with PHP 7.2 and it works
 as expected.
 So not sure what is goin on here :(
 Do you want my configuration files?

--
Ticket URL: <https://trac.macports.org/ticket/56029#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #56029: ERR_EMPTY_RESPONSE on Userdirs

MacPorts
In reply to this post by MacPorts
#56029: ERR_EMPTY_RESPONSE on Userdirs
-----------------------+-------------------------
  Reporter:  Behinder  |      Owner:  Schamschula
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.4.2
Resolution:            |   Keywords:
      Port:  apache2   |
-----------------------+-------------------------

Comment (by Behinder):

 I'm seeing it first time the only things that logged (I set errorlevel as
 "error") are:

 ----

 2018-03-13 13:29:01.654 httpd[56917:9747753] The application with bundle
 ID (null) is running setugid(), which is not allowed.
 2018-03-13 13:29:01.710 httpd[56918:9747754] The application with bundle
 ID (null) is running setugid(), which is not allowed.
 2018-03-13 13:29:01.771 httpd[56919:9747758] The application with bundle
 ID (null) is running setugid(), which is not allowed.
 2018-03-13 13:29:02.216 httpd[56920:9747759] The application with bundle
 ID (null) is running setugid(), which is not allowed.
 2018-03-13 13:29:02.295 httpd[56921:9747760] The application with bundle
 ID (null) is running setugid(), which is not allowed.
 2018-03-13 13:29:02.360 httpd[56939:9748985] The application with bundle
 ID (null) is running setugid(), which is not allowed.
 2018-03-13 13:29:07.452 httpd[56940:9749018] The application with bundle
 ID (null) is running setugid(), which is not allowed.
 2018-03-13 13:29:07.504 httpd[56941:9749019] The application with bundle
 ID (null) is running setugid(), which is not allowed.
 2018-03-13 13:29:07.561 httpd[56942:9749214] The application with bundle
 ID (null) is running setugid(), which is not allowed.
 2018-03-13 13:29:22.232 httpd[56943:9749215] The application with bundle
 ID (null) is running setugid(), which is not allowed.
 2018-03-13 13:29:22.301 httpd[56944:9749216] The application with bundle
 ID (null) is running setugid(), which is not allowed.
 2018-03-13 13:29:22.363 httpd[56945:9749217] The application with bundle
 ID (null) is running setugid(), which is not allowed.

 ----

--
Ticket URL: <https://trac.macports.org/ticket/56029#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #56029: ERR_EMPTY_RESPONSE on Userdirs

MacPorts
In reply to this post by MacPorts
#56029: ERR_EMPTY_RESPONSE on Userdirs
-----------------------+-------------------------
  Reporter:  Behinder  |      Owner:  Schamschula
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.4.2
Resolution:            |   Keywords:
      Port:  apache2   |
-----------------------+-------------------------

Comment (by Schamschula):

 How did you start apache? It seems that your error is connected with
 running apache on a privileged (port < 1024) without sufficient
 privileges.

 Usually {{{sudo port load apache2}}} should work.

--
Ticket URL: <https://trac.macports.org/ticket/56029#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #56029: ERR_EMPTY_RESPONSE on Userdirs

MacPorts
In reply to this post by MacPorts
#56029: ERR_EMPTY_RESPONSE on Userdirs
-----------------------+-------------------------
  Reporter:  Behinder  |      Owner:  Schamschula
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.4.2
Resolution:            |   Keywords:
      Port:  apache2   |
-----------------------+-------------------------

Comment (by Behinder):

 sudo /opt/local/sbin/apachectl -k start

--
Ticket URL: <https://trac.macports.org/ticket/56029#comment:8>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #56029: ERR_EMPTY_RESPONSE on Userdirs

MacPorts
In reply to this post by MacPorts
#56029: ERR_EMPTY_RESPONSE on Userdirs
-----------------------+-------------------------
  Reporter:  Behinder  |      Owner:  Schamschula
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.4.2
Resolution:            |   Keywords:
      Port:  apache2   |
-----------------------+-------------------------

Comment (by Schamschula):

 Replying to [comment:8 Behinder]:
 > sudo /opt/local/sbin/apachectl -k start

 I'm not sure what the {{{-k}}} option is doing here. According to the
 {{{httpd}}} man page its a Windows only option. I'm assuming it is being
 ignored.

 At this point your httpd.conf file might help shed some light on any
 configuration issues.

--
Ticket URL: <https://trac.macports.org/ticket/56029#comment:9>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #56029: ERR_EMPTY_RESPONSE on Userdirs

MacPorts
In reply to this post by MacPorts
#56029: ERR_EMPTY_RESPONSE on Userdirs
-----------------------+-------------------------
  Reporter:  Behinder  |      Owner:  Schamschula
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.4.2
Resolution:            |   Keywords:
      Port:  apache2   |
-----------------------+-------------------------
Changes (by Behinder):

 * Attachment "httpd.conf" added.


--
Ticket URL: <https://trac.macports.org/ticket/56029>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #56029: ERR_EMPTY_RESPONSE on Userdirs

MacPorts
In reply to this post by MacPorts
#56029: ERR_EMPTY_RESPONSE on Userdirs
-----------------------+-------------------------
  Reporter:  Behinder  |      Owner:  Schamschula
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.4.2
Resolution:            |   Keywords:
      Port:  apache2   |
-----------------------+-------------------------
Changes (by Behinder):

 * Attachment "httpd-userdir.conf" added.


--
Ticket URL: <https://trac.macports.org/ticket/56029>
MacPorts <https://www.macports.org/>
Ports system for macOS