Я получаю следующую ошибку с командами yum и curl
- [root @ ip-172-31-47-48 log] # curl http://www.google.com curl: (7) Не удалось подключиться к порту 80 www.google.com: истекло время ожидания подключения
- [root @ ip-172-31-47-48 log] # yum update -y Загруженные плагины: приоритеты, обновление-motd, upgrade-helper Не удалось получить список зеркал http://repo.us -east-1.amazonaws.com / latest / main / mirror.list Ошибка: 12: Тайм-аут на http://repo.us -east-1.amazonaws.com/latest/main/mirror.list: (28, «Время соединения истекло через 5001 миллисекунду»)
Ошибка одного из настроенных хранилищ (Неизвестно) и yumне хватает кэшированных данных для продолжения.На данный момент единственная безопасная вещь, которую может сделать yum, - это провал.Есть несколько способов «исправить» это:
1. Contact the upstream for the repository and get them to fix the problem.
2. Reconfigure the baseurl/etc. for the repository, to point to a working
upstream. This is most often useful if you are using a newer
distribution release than is supported by the repository (and the
packages for the previous distribution release still work).
3. Disable the repository, so yum won't use it by default. Yum will then
just ignore the repository until you permanently enable it again or use
--enablerepo for temporary usage:
yum-config-manager --disable <repoid>
4. Configure the failing repository to be skipped, if it is unavailable.
Note that yum will try to contact the repo. when it runs most commands,
so will have to try and fail each time (and thus. yum will be be much
slower). If it is a very temporary problem though, this is often a nice
compromise:
yum-config-manager --save --setopt=<repoid>.skip_if_unavailable=true
Не удается найти действительный baseurl для репо: amzn-main / latest
Я использую группу Sercurity, котораяимеет входящие правила для SSH и HTTP из любого места.Нет SG Исходящих правил.Я также использую VPC по умолчанию.
Пожалуйста, дайте мне знать, если регистрация нового домена имеет какое-либо отношение к этому, потому что эти команды работали нормально, прежде чем я зарегистрировался для нового домена