Re: [Help - me ] br.php.net mirror site deactivated

[email protected] (Daniel Brown) Wed, 4 Oct 2017 14:31:28 -0400
Newsgroups php.mirrors
Message-ID <CAD9cneNqY2RdQcRO5auUSUK-xjnJ=EBSUcW=J8M38q3Z5x81og@mail.gmail.com>
    You still have gethostname() disabled.


On Wed, Oct 4, 2017 at 12:10 PM, Alexander Varej=C3=A3o
<[email protected]> wrote:
> Hy,
>
> Thanks for answer.
>
> I did it now
>
> Could you check it again ?
>
> Best regards,
>
>
>
> On 04/10/2017 11:30, Daniel Brown wrote:
>
>     Well, as you can see on the status page, your mirror is not
> synchronizing properly, so it was removed from rotation.
>
>
> On Wed, Oct 4, 2017 at 10:28 AM, Alexander Varej=C3=A3o
> <[email protected]> wrote:
>
> Thanks :)
>
> Could you insert it on active mirrors list again ?
>
> Best regards,
>
>
>
> On 04/10/2017 10:58, Daniel Brown wrote:
>
>      Yes, you're good to go.  You can see so (and troubleshoot some
> common issues) here:
>
>          http://status.php.net/
>
> On Wed, Oct 4, 2017 at 9:57 AM, Alexander Varej=C3=A3o
> <[email protected]> wrote:
>
> Dear Daniel Brown,
>
> I solved the "gethosname" problem on the server.
>
> Could you verify it ?
>
> Best Regards,
>
>
> On 02/10/2017 16:06, Alexander Varej=C3=A3o wrote:
>
> Hy Daniel Brown,
>
> I solved the "gethosname" problem on the server.
>
> Could you verify it ?
>
> Best Regards,
>
>
> On 22/09/2017 10:37, Alexander Varej=C3=A3o wrote:
>
> Hy,
>
> Thanks for aswer
>
> We always worked this way.
>
> I'll change this options and return to you.
>
> Best Regards,
>
>
> On 20/09/2017 16:50, Daniel Brown wrote:
>
>       Alright, digging deeper, I discovered that it's because you have
> gethostname() disabled on your mirror.  Once you enable that, the
> mirror should go back into rotation on the next automated check (by
> the end of the day).
>
>
> On Wed, Sep 20, 2017 at 1:51 PM, Alexander Varej=C3=A3o
> <[email protected]> wrote:
>
> Hy Daniel Brown,
>
> Thanks for answer
>
> It seems ok to me too...
>
> could you verify it again ?
>
> alexander@alexander:~$ host br1.php.net
> br1.php.net is an alias for phpweb.hostnet.com.br.
>
> phpweb.hostnet.com.br has address 187.73.33.98
> alexander@alexander:~$ HEAD br1.php.net
> 200 OK
> Connection: close
> Date: Wed, 20 Sep 2017 17:47:03 GMT
> Server: Apache
> Content-Language: en
> Content-Type: text/html; charset=3Dutf-8
> Last-Modified: Wed, 20 Sep 2017 16:50:17 GMT
> Client-Date: Wed, 20 Sep 2017 17:47:03 GMT
> Client-Peer: 187.73.33.98:80
> Client-Response-Num: 1
> Link: <http://php.net/index>; rel=3Dshorturl
> Set-Cookie: COUNTRY=3DNA%2C201.76.188.234; expires=3DWed, 27-Sep-2017
> 17:47:03
> GMT; Max-Age=3D604800; path=3D/
> Set-Cookie: LAST_NEWS=3D1505929623; expires=3DThu, 20-Sep-2018 17:47:03
> GMT;
> Max-Age=3D31536000; path=3D/
> X-Frame-Options: SAMEORIGIN
>
>
> alexander@alexander:~$ telnet 187.73.33.98 80
> Trying 187.73.33.98...
> Connected to 187.73.33.98.
> Escape character is '^]'.
> GET / HTTP/1.1
> Host: br1.php.net
>
> HTTP/1.1 200 OK
> Date: Wed, 20 Sep 2017 17:49:12 GMT
> Server: Apache
> Last-Modified: Wed, 20 Sep 2017 16:50:17 GMT
> Content-language: en
> X-Frame-Options: SAMEORIGIN
> Set-Cookie: COUNTRY=3DNA%2C201.76.188.234; expires=3DWed, 27-Sep-2017
> 17:49:19
> GMT; Max-Age=3D604800; path=3D/
> Set-Cookie: LAST_NEWS=3D1505929759; expires=3DThu, 20-Sep-2018 17:49:19
> GMT;
> Max-Age=3D31536000; path=3D/
> Link: <http://php.net/index>; rel=3Dshorturl
> Connection: close
> Transfer-Encoding: chunked
> Content-Type: text/html; charset=3Dutf-8
>
> 2000
> <!DOCTYPE html>
> <html xmlns=3D"http://www.w3.org/1999/xhtml" lang=3D"en">
> <head>
>
>     <meta charset=3D"utf-8">
>     <meta name=3D"viewport" content=3D"width=3Ddevice-width,
> initial-scale=3D1.0">
>
>     <title>PHP: Hypertext Preprocessor</title>
>
>    <link rel=3D"shortcut icon" href=3D"http://br1.php.net/favicon.ico">
>    <link rel=3D"search" type=3D"application/opensearchdescription+xml"
> href=3D"http://php.net/phpnetimprovedsearch.src" title=3D"Add PHP.net
> search">
>    <link rel=3D"alternate" type=3D"application/atom+xml"
> href=3D"http://br1.php.net/releases/feed.php" title=3D"PHP Release feed">
>    <link rel=3D"alternate" type=3D"application/atom+xml"
> href=3D"http://br1.php.net/feed.atom" title=3D"PHP: Hypertext
> Preprocessor">
>
>
>
> On 20/09/2017 14:21, Daniel Brown wrote:
>
>        What I'm seeing on our side for BR1 is:
>
> Failed '/mirror-info|hostname' check: Apache ServerName directive
> does
> not match 'br1.php.net'. Consider swapping ServerName and
> ServerAlias,
> see /mirroring.php.
>
> Likely cause:
> Please make sure your ServerName is configured correctly
>
> Test URL: http://phpweb.hostnet.com.br/mirror-info
> (problem since: Wed, 20 Sep 2017 17:03:36 GMT)
>
>
>
> On Wed, Sep 20, 2017 at 12:10 PM, alexander
> <[email protected]>
> wrote:
>
> More tests
>
> alexander@alexander:~$ host br.php.net
> br.php.net has address 187.73.33.98
> br.php.net has address 177.55.120.24
>
> alexander@alexander:~$ telnet 187.73.33.98 80
> Trying 187.73.33.98...
> Connected to 187.73.33.98.
> Escape character is '^]'.
> GET / HTTP/1.1
> Host: br.php.net
>
> HTTP/1.1 200 OK
> Date: Wed, 20 Sep 2017 16:09:58 GMT
> Server: Apache
> Last-Modified: Wed, 20 Sep 2017 15:30:12 GMT
> Content-language: en
> X-Frame-Options: SAMEORIGIN
> Set-Cookie: COUNTRY=3DNA%2C201.76.188.234; expires=3DWed, 27-Sep-2017
> 16:10:05
> GMT; Max-Age=3D604800; path=3D/
> Set-Cookie: LAST_NEWS=3D1505923805; expires=3DThu, 20-Sep-2018 16:10:05
> GMT;
> Max-Age=3D31536000; path=3D/
> Link: <http://php.net/index>; rel=3Dshorturl
> Connection: close
> Transfer-Encoding: chunked
> Content-Type: text/html; charset=3Dutf-8
>
> 2000
> <!DOCTYPE html>
> <html xmlns=3D"http://www.w3.org/1999/xhtml" lang=3D"en">
> <head>
>
>      <meta charset=3D"utf-8">
>      <meta name=3D"viewport" content=3D"width=3Ddevice-width,
> initial-scale=3D1.0">
>
>      <title>PHP: Hypertext Preprocessor</title>
>
>     <link rel=3D"shortcut icon" href=3D"http://br.php.net/favicon.ico">
>     <link rel=3D"search" type=3D"application/opensearchdescription+xml"
> href=3D"http://php.net/phpnetimprovedsearch.src" title=3D"Add PHP.net
> search">
>     <link rel=3D"alternate" type=3D"application/atom+xml"
> href=3D"http://br.php.net/releases/feed.php" title=3D"PHP Release
> feed">
>     <link rel=3D"alternate" type=3D"application/atom+xml"
> href=3D"http://br.php.net/feed.atom" title=3D"PHP: Hypertext
> Preprocessor">
>
>     <link rel=3D"canonical" href=3D"http://php.net/index.php">
>     <link rel=3D"shorturl" href=3D"http://php.net/index">
>     <link rel=3D"alternate" href=3D"http://php.net/index"
> hreflang=3D"x-default">
>
> [...]
>
>
>
>
> On 20/09/2017 13:04, alexander wrote:
>
> Dears,
>
> The mirrors br.php.net is not listed on http://php.net/mirrors.php
>
> The mirror is updated  ... All seems ok to me ...
>
> We not received emails about problems ...
>
> Please, could you verify it for me ?
>
> My tests seems ok  ...
>
> alexander@alexander:~$ HEAD br.php.net
> 200 OK
> Cache-Control: max-age=3D86400
> Connection: close
> Date: Wed, 20 Sep 2017 15:57:19 GMT
> Server: Apache/2.4.12 (Unix) OpenSSL/1.0.1e-fips
> Content-Language: en
> Content-Type: text/html; charset=3Dutf-8
> Expires: Thu, 21 Sep 2017 15:57:19 GMT
> Last-Modified: Wed, 20 Sep 2017 15:30:12 GMT
> Client-Date: Wed, 20 Sep 2017 15:57:19 GMT
> Client-Peer: 177.55.120.24:80
> Client-Response-Num: 1
> Link: <http://php.net/index>; rel=3Dshorturl
> Set-Cookie: COUNTRY=3DNA%2C201.76.188.234; expires=3DWed, 27-Sep-2017
> 15:57:19
> GMT; Max-Age=3D604800; path=3D/
> Set-Cookie: LAST_NEWS=3D1505923039; expires=3DThu, 20-Sep-2018
> 15:57:19
> GMT;
> Max-Age=3D31536000; path=3D/
> X-Frame-Options: SAMEORIGIN
> X-Powered-By: PHP/7.0.3
>
>
> curl -v br.php.net | head
> * Rebuilt URL to: br.php.net/
>      % Total    % Received % Xferd  Average Speed Time    Time
> Time
> Current
>                                     Dload  Upload Total   Spent
> Left
> Speed
>      0     0    0     0    0     0      0      0 --:--:-- --:--:--
> --:--:--
> 0*   Trying 187.73.33.98...
> * Connected to br.php.net (187.73.33.98) port 80 (#0)
>
> GET / HTTP/1.1
> Host: br.php.net
> User-Agent: curl/7.47.0
> Accept: */*
>
> < HTTP/1.1 200 OK
> < Date: Wed, 20 Sep 2017 16:02:06 GMT
> < Server: Apache
> < Last-Modified: Wed, 20 Sep 2017 15:30:12 GMT
> < Content-language: en
> < X-Frame-Options: SAMEORIGIN
> < Set-Cookie: COUNTRY=3DNA%2C201.76.188.234; expires=3DWed,
> 27-Sep-2017
> 16:02:06 GMT; Max-Age=3D604800; path=3D/
> < Set-Cookie: LAST_NEWS=3D1505923326; expires=3DThu, 20-Sep-2018
> 16:02:07
> GMT;
> Max-Age=3D31536000; path=3D/
> < Link: <http://php.net/index>; rel=3Dshorturl
> < Connection: close
> < Transfer-Encoding: chunked
> < Content-Type: text/html; charset=3Dutf-8
> <
> { [945 bytes data]
> <!DOCTYPE html>
> <html xmlns=3D"http://www.w3.org/1999/xhtml" lang=3D"en">
> <head>
>
>      <meta charset=3D"utf-8">
>      <meta name=3D"viewport" content=3D"width=3Ddevice-width,
> initial-scale=3D1.0">
>
>      <title>PHP: Hypertext Preprocessor</title>
>
> [...]
>
> Thanks !
>
> Best Regards
>
> Alexander S. Varej=C3=A3o
> Administrador de Redes e Sistemas
> Hostnet Internet Ltda
>
>
>
>
> --
> Alexander S. Varej=C3=A3o
> Administrador de Redes e Sistemas
> Hostnet Internet Ltda
>
> --
> Alexander S. Varej=C3=A3o
> Administrador de Redes e Sistemas
> Hostnet Internet Ltda
>
> --
> Alexander S. Varej=C3=A3o
> Administrador de Redes e Sistemas
> Hostnet Internet Ltda
>
>
> --
> Alexander S. Varej=C3=A3o
> Administrador de Redes e Sistemas
> Hostnet Internet Ltda