#968 New Mirror in Kenya (East Africa)
Closed: Insufficient Data by phsmoura. Opened by niyyie.

CentOS Linux 7 / Stream 8 Mirror request

This template can be used to ask for a new mirror for CentOS Linux 7 and CentOS Stream 8.
For CentOS Stream 9 mirror request, see the other template (for which you'll need to be registered in mirrormanager)

URLs - These are the hostnames and paths to where you host CentOS mirror content

  • HTTP: http://mirror.web4africa.co.ke/centos/
  • HTTPS: https://mirror.web4africa.co.ke/centos/
  • RSYNC:
  • Bandwidth: 1000 Mbps
  • Country Location: Kenya
  • Sponor organization (optional): Web4Africa Kenya
  • Sponsor URL (optional): https://web4africa.co.ke/
  • IPv4 Addresses: 102.68.86.105
  • IPv6 Addresses: 2c0f:f598:6::494:b1e5
  • Email contact: info@web4africa.net
  • Mirroring AltArch: no

Metadata Update from @arrfab:
- Issue assigned to phsmoura
- Issue tagged with: low-trouble, medium-gain, mirror-linux

Thanks !

Your mirror http://mirror.web4africa.co.ke/centos/ has been added to the mirrors DB

It will be listed as a public mirror (and on https://mirror-status.centos.org / https://www.centos.org/download/mirrors/ ) in the following minutes/hours.
Your IP address[es] (102.68.86.105 2c0f:f598:6::494:b1e5) has/have been added in the ACL and so you should be able to rsync from msync.centos.org in the next ~10min

Important : it only concerns CentOS Linux 7 and Stream 8. For Stream 9 and above, read (again) https://wiki.centos.org/HowTos/CreatePublicMirrors

Kind Regards

Metadata Update from @phsmoura:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

The mirror is not going live on the mirror network. I am unsure what the issue is on our side, file permissions or file ownership. I noticed our server is inheriting ownership from the public mirror we are syncing files from.

See https://mirror-status.centos.org/#ke

Metadata Update from @niyyie:
- Issue status updated to: Open (was: Closed)

There are 2 reasons why your mirror is not listed and not live in status

  • You are redirecting to HTTPS and mirror manager doesn't support that as you can read in our wiki in my previous comment
$ curl http://mirror.web4africa.co.ke/centos/timestamp.txt
<html>
<head><title>301 Moved Permanently</title></head>
<body bgcolor="white">
<center><h1>301 Moved Permanently</h1></center>
<hr><center>nginx/1.14.1</center>
</body>
</html>
  • You are not doing rsync or not doing it too often
$ curl https://mirror.web4africa.co.ke/centos/timestamp.txt
Wed 16 Nov 09:48:01 UTC 2022

So, undo that HTTPS redirecting and do rsync several times a day to keep your mirror up to date. That would make your mirror up and running.

If after fixing those issues your mirror still present problems, feel free to reopen this issue

Metadata Update from @phsmoura:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

This mirror is getting heavy international traffic. The intention was for a regional mirror.
Can geolocation be applied so it is provided to automatic requests (server updates) in the East Africa region?

The regional countries are Kenya, Tanzania, Uganda, Rwanda, Burundi

Metadata Update from @niyyie:
- Issue status updated to: Open (was: Closed)

Hi @niyyie ,

It was fixed Kenya nearest countries in mirrormanager. Are you seeing less traffic on your mirror now?

Metadata Update from @phsmoura:
- Issue priority set to: Waiting on Reporter (was: Needs Review)

Closing the ticket. You were receiving more traffic because mirrormanager was pointing to some countries far from Kenya, now this should be fixed. Fell free to reach us anytime if you see anything weird

Metadata Update from @phsmoura:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

The traffic subsided for less than 24 hours and shot back up.

We are also getting the following error on the mirror:

The attempt to rsync with the main mirror using this command returns the error that starts with:
rsync -azP rsync://msync.centos.org /home/centos/

CentOS.org rsync service (centosh7.centos.org)
This service is intended for the sole use of the CentOS worldwide mirror network
to synchronize mirrors.

Metadata Update from @niyyie:
- Issue status updated to: Open (was: Closed)

Hi @niyyie ,

We fixed the mapping of Kenya nearest countries, besides that there isnt much we can do, because its a public mirror and also theres a possibility of people pointing to your mirror directly.

So, we can remove your mirror from mirrorlist if you want, but according to centos status and centos mirror your mirror is up and running

About the error, I didnt understand the problem. Can you describe how you're doing the rsync and what is happening?

As explained, there isn't much we can do about restricting your mirror

Closing the issue because there wasn't a reply. Feel free to reopen if needed

Metadata Update from @phsmoura:
- Issue close_status updated to: Insufficient Data
- Issue status updated to: Closed (was: Open)

Log in to comment on this ticket.

Metadata