-
March 17th, 2018, 04:57
#1
خطا در دستور Yam - repo: atomic
با عرض سلام و احترام ،
بند هر چی دستور Yum میدیم در SSH ! همه رو پیغام خطا میده . نوع دستور هم فرقی نداره !
یک نمونه پیغام خطا رو ببنید . دوستان در صورتی که راه حلی دارید لطفا راهنمایی بفرمایید . با تشکر
کد:
sudo yum upgrade ca-certificates --disablerepo=epelLoaded plugins: fastestmirror, security
Setting up Upgrade Process
Determining fastest mirrors
Could not retrieve mirrorlist http://updates.atomicorp.com/channels/mirrorlist/atomic/centos-6-x86_64 error was
14: PYCURL ERROR 7 - "Failed to connect to updates.atomicorp.com port 80: Connection timed out"
Error: Cannot find a valid baseurl for repo: atomic
یا یه دستور دیگه :
کد:
[root@server ~]# yum -y update
Loaded plugins: fastestmirror, security
Setting up Update Process
Determining fastest mirrors
Could not retrieve mirrorlist http://updates.atomicorp.com/channels/mirrorlist/atomic/centos-6-x86_64 error was
14: PYCURL ERROR 7 - "Failed to connect to updates.atomicorp.com port 80: Connection timed out"
Error: Cannot find a valid baseurl for repo: atomic
دوستان در صورتی که راه حلی دارید لطفا راهنمایی بفرمایید . با تشکر
-
-
March 17th, 2018 04:57
# ADS
-
March 17th, 2018, 08:48
#2
عضو انجمن
پاسخ : خطا در دستور Yam - repo: atomic
سلام
دستور زیر و وارد کنید
ID ریپازیتوری atomic و پیدا کنید
بعد ایدی شو توی دستور زیر قرار بدید تا غیر فعال بشه
کد:
yum-config-manager --disable ID
چک کنید درست شده؟
-
تعداد تشکر ها از cacodemon به دلیل پست مفید
-
March 17th, 2018, 16:35
#3
پاسخ : خطا در دستور Yam - repo: atomic
سلام . ممنون از پاسخ شما ، بنده دستور بالا رو وارد کردم .کد زیر اومد .
کد:
[root@server ~]# yum repolist allLoaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist http://updates.atomicorp.com/channels/mirrorlist/a tomic/centos-$releasever-x86_64 error was
14: PYCURL ERROR 7 - "Failed to connect to updates.atomicorp.com port 80: Connec tion timed out"
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
Eg. Invalid release/
removing mirrorlist with no valid mirrors: /var/cache/yum/x86_64/$releasever/bas e/mirrorlist.txt
http://apt.sw.be/redhat/el%24releasever/en/x86_64/dag/repodata/repomd.xml: [Errn o 14] PYCURL ERROR 6 - "Could not resolve host: apt.sw.be"
Trying other mirror.
epel/metalink | 5.9 kB 00:00
epel | 4.7 kB 00:00
epel/primary_db | 6.0 MB 00:21
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
Eg. Invalid release/
removing mirrorlist with no valid mirrors: /var/cache/yum/x86_64/$releasever/ext ras/mirrorlist.txt
remi-safe | 2.9 kB 00:00
remi-safe/primary_db | 942 kB 00:01
Could not retrieve mirrorlist http://apt.sw.be/redhat/el5/en/mirrors-rpmforge er ror was
14: PYCURL ERROR 6 - "Could not resolve host: apt.sw.be"
http://apt.sw.be/redhat/el5/en/x86_64/rpmforge/repodata/repomd.xml: [Errno 14] P YCURL ERROR 6 - "Could not resolve host: apt.sw.be"
Trying other mirror.
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
Eg. Invalid release/
removing mirrorlist with no valid mirrors: /var/cache/yum/x86_64/$releasever/upd ates/mirrorlist.txt
https://repo.varnish-cache.org/redhat/varnish-4.0/el7/x86_64/repodata/repomd.xml: [Errno 12] Timeout on https://packagecloud.io/varnishcache/varnish40/el/7/x86_64/repodata/repomd.xml: (28, 'Connection timed out after 30486 milliseconds')
Trying other mirror.
https://repo.varnish-cache.org/redhat/varnish-4.1/el6/x86_64/repodata/repomd.xml: [Errno 12] Timeout on https://packagecloud.io/varnishcache/varnish41/el/6/x86_64/repodata/repomd.xml: (28, 'Connection timed out after 30708 milliseconds')
Trying other mirror.
repo id repo name status
C6.0-base CentOS-6.0 - Base disabled
C6.0-centosplus CentOS-6.0 - CentOSPlus disabled
C6.0-contrib CentOS-6.0 - Contrib disabled
C6.0-extras CentOS-6.0 - Extras disabled
C6.0-updates CentOS-6.0 - Updates disabled
C6.1-base CentOS-6.1 - Base disabled
C6.1-centosplus CentOS-6.1 - CentOSPlus disabled
C6.1-contrib CentOS-6.1 - Contrib disabled
C6.1-extras CentOS-6.1 - Extras disabled
C6.1-updates CentOS-6.1 - Updates disabled
C6.2-base CentOS-6.2 - Base disabled
C6.2-centosplus CentOS-6.2 - CentOSPlus disabled
C6.2-contrib CentOS-6.2 - Contrib disabled
C6.2-extras CentOS-6.2 - Extras disabled
C6.2-updates CentOS-6.2 - Updates disabled
C6.3-base CentOS-6.3 - Base disabled
C6.3-centosplus CentOS-6.3 - CentOSPlus disabled
C6.3-contrib CentOS-6.3 - Contrib disabled
C6.3-extras CentOS-6.3 - Extras disabled
C6.3-updates CentOS-6.3 - Updates disabled
C6.4-base CentOS-6.4 - Base disabled
C6.4-centosplus CentOS-6.4 - CentOSPlus disabled
C6.4-contrib CentOS-6.4 - Contrib disabled
C6.4-extras CentOS-6.4 - Extras disabled
C6.4-updates CentOS-6.4 - Updates disabled
C6.5-base CentOS-6.5 - Base disabled
C6.5-centosplus CentOS-6.5 - CentOSPlus disabled
C6.5-contrib CentOS-6.5 - Contrib disabled
C6.5-extras CentOS-6.5 - Extras disabled
C6.5-updates CentOS-6.5 - Updates disabled
C6.6-base CentOS-6.6 - Base disabled
C6.6-centosplus CentOS-6.6 - CentOSPlus disabled
C6.6-contrib CentOS-6.6 - Contrib disabled
C6.6-extras CentOS-6.6 - Extras disabled
C6.6-updates CentOS-6.6 - Updates disabled
atomic CentOS / Red Hat Enterprise Linux $releasever - atomic enabled: 0
atomic-testing CentOS / Red Hat Enterprise Linux $releasever - atomic - (Te disabled
base CentOS-$releasever - Base enabled: 0
base-debuginfo CentOS-6 - Debuginfo disabled
c6-media CentOS-$releasever - Media disabled
centosplus CentOS-$releasever - Plus disabled
contrib CentOS-$releasever - Contrib disabled
dag Dag RPM Repository for Red Hat Enterprise Linux enabled: 0
*epel Extra Packages for Enterprise Linux 6 - x86_64 enabled: 12,463
epel-debuginfo Extra Packages for Enterprise Linux 6 - x86_64 - Debug disabled
epel-source Extra Packages for Enterprise Linux 6 - x86_64 - Source disabled
epel-testing Extra Packages for Enterprise Linux 6 - Testing - x86_64 disabled
epel-testing-debuginfo Extra Packages for Enterprise Linux 6 - Testing - x86_64 - D disabled
epel-testing-source Extra Packages for Enterprise Linux 6 - Testing - x86_64 - S disabled
extras CentOS-$releasever - Extras enabled: 0
fasttrack CentOS-6 - fasttrack disabled
remi Remi's RPM repository for Enterprise Linux 6 - x86_64 disabled
remi-debuginfo Remi's RPM repository for Enterprise Linux 6 - x86_64 - debu disabled
remi-php55 Remi's PHP 5.5 RPM repository for Enterprise Linux 6 - x86_6 disabled
remi-php55-debuginfo Remi's PHP 5.5 RPM repository for Enterprise Linux 6 - x86_6 disabled
remi-php56 Remi's PHP 5.6 RPM repository for Enterprise Linux 6 - x86_6 disabled
remi-php56-debuginfo Remi's PHP 5.6 RPM repository for Enterprise Linux 6 - x86_6 disabled
remi-php70 Remi's PHP 7.0 RPM repository for Enterprise Linux 6 - x86_6 disabled
remi-php70-debuginfo Remi's PHP 7.0 RPM repository for Enterprise Linux 6 - x86_6 disabled
remi-php70-test Remi's PHP 7.0 test RPM repository for Enterprise Linux 6 - disabled
remi-php70-test-debuginfo Remi's PHP 7.0 test RPM repository for Enterprise Linux 6 - disabled
remi-safe Safe Remi's RPM repository for Enterprise Linux 6 - x86_64 enabled: 2,308
remi-test Remi's test RPM repository for Enterprise Linux 6 - x86_64 disabled
remi-test-debuginfo Remi's test RPM repository for Enterprise Linux 6 - x86_64 - disabled
rpmforge RHEL $releasever - RPMforge.net - dag enabled: 0
rpmforge-extras RHEL $releasever - RPMforge.net - extras disabled
rpmforge-testing RHEL $releasever - RPMforge.net - testing disabled
updates CentOS-$releasever - Updates enabled: 0
varnish-4.0 Varnish 4.0 for Enterprise Linux enabled: 0
varnish-4.1 Varnish Cache 4.1 for Enterprise Linux enabled: 0
repolist: 14,771
[root@server ~]#
الان باید دقیقا چیکار کنم . ؟
ظاهرا وارنیش هم نصبه ، طور میشه حذفش کرد ؟
با تشکر
-
-
March 17th, 2018, 17:32
#4
عضو انجمن
پاسخ : خطا در دستور Yam - repo: atomic

نوشته اصلی توسط
dreamyeye
سلام . ممنون از پاسخ شما ، بنده دستور بالا رو وارد کردم .کد زیر اومد .
کد:
[root@server ~]# yum repolist allLoaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist http://updates.atomicorp.com/channels/mirrorlist/a tomic/centos-$releasever-x86_64 error was
14: PYCURL ERROR 7 - "Failed to connect to updates.atomicorp.com port 80: Connec tion timed out"
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
Eg. Invalid release/
removing mirrorlist with no valid mirrors: /var/cache/yum/x86_64/$releasever/bas e/mirrorlist.txt
http://apt.sw.be/redhat/el%24releasever/en/x86_64/dag/repodata/repomd.xml: [Errn o 14] PYCURL ERROR 6 - "Could not resolve host: apt.sw.be"
Trying other mirror.
epel/metalink | 5.9 kB 00:00
epel | 4.7 kB 00:00
epel/primary_db | 6.0 MB 00:21
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
Eg. Invalid release/
removing mirrorlist with no valid mirrors: /var/cache/yum/x86_64/$releasever/ext ras/mirrorlist.txt
remi-safe | 2.9 kB 00:00
remi-safe/primary_db | 942 kB 00:01
Could not retrieve mirrorlist http://apt.sw.be/redhat/el5/en/mirrors-rpmforge er ror was
14: PYCURL ERROR 6 - "Could not resolve host: apt.sw.be"
http://apt.sw.be/redhat/el5/en/x86_64/rpmforge/repodata/repomd.xml: [Errno 14] P YCURL ERROR 6 - "Could not resolve host: apt.sw.be"
Trying other mirror.
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
Eg. Invalid release/
removing mirrorlist with no valid mirrors: /var/cache/yum/x86_64/$releasever/upd ates/mirrorlist.txt
https://repo.varnish-cache.org/redhat/varnish-4.0/el7/x86_64/repodata/repomd.xml: [Errno 12] Timeout on https://packagecloud.io/varnishcache/varnish40/el/7/x86_64/repodata/repomd.xml: (28, 'Connection timed out after 30486 milliseconds')
Trying other mirror.
https://repo.varnish-cache.org/redhat/varnish-4.1/el6/x86_64/repodata/repomd.xml: [Errno 12] Timeout on https://packagecloud.io/varnishcache/varnish41/el/6/x86_64/repodata/repomd.xml: (28, 'Connection timed out after 30708 milliseconds')
Trying other mirror.
repo id repo name status
C6.0-base CentOS-6.0 - Base disabled
C6.0-centosplus CentOS-6.0 - CentOSPlus disabled
C6.0-contrib CentOS-6.0 - Contrib disabled
C6.0-extras CentOS-6.0 - Extras disabled
C6.0-updates CentOS-6.0 - Updates disabled
C6.1-base CentOS-6.1 - Base disabled
C6.1-centosplus CentOS-6.1 - CentOSPlus disabled
C6.1-contrib CentOS-6.1 - Contrib disabled
C6.1-extras CentOS-6.1 - Extras disabled
C6.1-updates CentOS-6.1 - Updates disabled
C6.2-base CentOS-6.2 - Base disabled
C6.2-centosplus CentOS-6.2 - CentOSPlus disabled
C6.2-contrib CentOS-6.2 - Contrib disabled
C6.2-extras CentOS-6.2 - Extras disabled
C6.2-updates CentOS-6.2 - Updates disabled
C6.3-base CentOS-6.3 - Base disabled
C6.3-centosplus CentOS-6.3 - CentOSPlus disabled
C6.3-contrib CentOS-6.3 - Contrib disabled
C6.3-extras CentOS-6.3 - Extras disabled
C6.3-updates CentOS-6.3 - Updates disabled
C6.4-base CentOS-6.4 - Base disabled
C6.4-centosplus CentOS-6.4 - CentOSPlus disabled
C6.4-contrib CentOS-6.4 - Contrib disabled
C6.4-extras CentOS-6.4 - Extras disabled
C6.4-updates CentOS-6.4 - Updates disabled
C6.5-base CentOS-6.5 - Base disabled
C6.5-centosplus CentOS-6.5 - CentOSPlus disabled
C6.5-contrib CentOS-6.5 - Contrib disabled
C6.5-extras CentOS-6.5 - Extras disabled
C6.5-updates CentOS-6.5 - Updates disabled
C6.6-base CentOS-6.6 - Base disabled
C6.6-centosplus CentOS-6.6 - CentOSPlus disabled
C6.6-contrib CentOS-6.6 - Contrib disabled
C6.6-extras CentOS-6.6 - Extras disabled
C6.6-updates CentOS-6.6 - Updates disabled
atomic CentOS / Red Hat Enterprise Linux $releasever - atomic enabled: 0
atomic-testing CentOS / Red Hat Enterprise Linux $releasever - atomic - (Te disabled
base CentOS-$releasever - Base enabled: 0
base-debuginfo CentOS-6 - Debuginfo disabled
c6-media CentOS-$releasever - Media disabled
centosplus CentOS-$releasever - Plus disabled
contrib CentOS-$releasever - Contrib disabled
dag Dag RPM Repository for Red Hat Enterprise Linux enabled: 0
*epel Extra Packages for Enterprise Linux 6 - x86_64 enabled: 12,463
epel-debuginfo Extra Packages for Enterprise Linux 6 - x86_64 - Debug disabled
epel-source Extra Packages for Enterprise Linux 6 - x86_64 - Source disabled
epel-testing Extra Packages for Enterprise Linux 6 - Testing - x86_64 disabled
epel-testing-debuginfo Extra Packages for Enterprise Linux 6 - Testing - x86_64 - D disabled
epel-testing-source Extra Packages for Enterprise Linux 6 - Testing - x86_64 - S disabled
extras CentOS-$releasever - Extras enabled: 0
fasttrack CentOS-6 - fasttrack disabled
remi Remi's RPM repository for Enterprise Linux 6 - x86_64 disabled
remi-debuginfo Remi's RPM repository for Enterprise Linux 6 - x86_64 - debu disabled
remi-php55 Remi's PHP 5.5 RPM repository for Enterprise Linux 6 - x86_6 disabled
remi-php55-debuginfo Remi's PHP 5.5 RPM repository for Enterprise Linux 6 - x86_6 disabled
remi-php56 Remi's PHP 5.6 RPM repository for Enterprise Linux 6 - x86_6 disabled
remi-php56-debuginfo Remi's PHP 5.6 RPM repository for Enterprise Linux 6 - x86_6 disabled
remi-php70 Remi's PHP 7.0 RPM repository for Enterprise Linux 6 - x86_6 disabled
remi-php70-debuginfo Remi's PHP 7.0 RPM repository for Enterprise Linux 6 - x86_6 disabled
remi-php70-test Remi's PHP 7.0 test RPM repository for Enterprise Linux 6 - disabled
remi-php70-test-debuginfo Remi's PHP 7.0 test RPM repository for Enterprise Linux 6 - disabled
remi-safe Safe Remi's RPM repository for Enterprise Linux 6 - x86_64 enabled: 2,308
remi-test Remi's test RPM repository for Enterprise Linux 6 - x86_64 disabled
remi-test-debuginfo Remi's test RPM repository for Enterprise Linux 6 - x86_64 - disabled
rpmforge RHEL $releasever - RPMforge.net - dag enabled: 0
rpmforge-extras RHEL $releasever - RPMforge.net - extras disabled
rpmforge-testing RHEL $releasever - RPMforge.net - testing disabled
updates CentOS-$releasever - Updates enabled: 0
varnish-4.0 Varnish 4.0 for Enterprise Linux enabled: 0
varnish-4.1 Varnish Cache 4.1 for Enterprise Linux enabled: 0
repolist: 14,771
[root@server ~]#
الان باید دقیقا چیکار کنم . ؟
ظاهرا وارنیش هم نصبه ، طور میشه حذفش کرد ؟
با تشکر
برای غیر فعال کردن atomic
کد:
yum-config-manager --disable atomic
برای غیر فعال کردن وارنیش ها
کد:
yum-config-manager --disable varnish-4.0
کد:
yum-config-manager --disable varnish-4.1
ویرایش توسط cacodemon : March 17th, 2018 در ساعت 17:40
-
تعداد تشکر ها از cacodemon به دلیل پست مفید
-
March 17th, 2018, 18:16
#5
پاسخ : خطا در دستور Yam - repo: atomic
ممنون از راهنمایی شما. بنده این دوتا رو غیر فعال کردم اما وقتی دستور Yam میدم : خصوصا دستور آپدیت بازم پیغام ارور میده
کد:
[root@server ~]# yum -y update
Loaded plugins: fastestmirror, security
Setting up Update Process
Loading mirror speeds from cached hostfile
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
Eg. Invalid release/
removing mirrorlist with no valid mirrors: /var/cache/yum/x86_64/$releasever/bas e/mirrorlist.txt
Error: Cannot find a valid baseurl for repo: base
[root@server ~]#
-
-
March 17th, 2018, 21:14
#6
عضو انجمن
خطا در دستور Yam - repo: atomic

نوشته اصلی توسط
dreamyeye
ممنون از راهنمایی شما. بنده این دوتا رو غیر فعال کردم اما وقتی دستور Yam میدم : خصوصا دستور آپدیت بازم پیغام ارور میده
کد:
[root@server ~]# yum -y update
Loaded plugins: fastestmirror, security
Setting up Update Process
Loading mirror speeds from cached hostfile
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
Eg. Invalid release/
removing mirrorlist with no valid mirrors: /var/cache/yum/x86_64/$releasever/bas e/mirrorlist.txt
Error: Cannot find a valid baseurl for repo: base
[root@server ~]#
شما تو چه شبکه ای هستید؟
گویا ریپو base هم مشکل داره
میتونید اونم غیر فعال کنید
Sent from my iPhone using Tapatalk
-
-
March 18th, 2018, 08:53
#7
عضو انجمن
پاسخ : خطا در دستور Yam - repo: atomic

نوشته اصلی توسط
dreamyeye
ممنون از راهنمایی شما. بنده این دوتا رو غیر فعال کردم اما وقتی دستور Yam میدم : خصوصا دستور آپدیت بازم پیغام ارور میده
کد:
[root@server ~]# yum -y update
Loaded plugins: fastestmirror, security
Setting up Update Process
Loading mirror speeds from cached hostfile
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
Eg. Invalid release/
removing mirrorlist with no valid mirrors: /var/cache/yum/x86_64/$releasever/bas e/mirrorlist.txt
Error: Cannot find a valid baseurl for repo: base
[root@server ~]#
ورژن centos چنده؟
اگر ورژن 5 هست دیگه ساپورت نداره و باید کارهای زیر و انجام بدید
CentOS-5 reached end-of-life on March 31, 2017. This means that no new updates will be released by Red Hat. The current 5.11 tree you seek has been moved to vault.centos.org.
To obtain access to the 5.11 branch, edit /etc/yum.repos.d/CentOS-Base.repo and comment out the mirrorlist directives. Furthermore, in each enabled section add
baseurl=http://vault.centos.org/5.11/os/$basearch
or
baseurl=http://vault.centos.org/5.11/updates/$basearch
, appropriately. For example, for a base repo that looks like:
کد:
[base]
name=CentOS-$releasever - Base
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
..change to:
کد:
[base]
name=CentOS-$releasever - Base
# mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
baseurl=http://vault.centos.org/5.11/os/$basearch
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
منبع:
https://unix.stackexchange.com/quest...-on-centos-5-6
ویرایش توسط cacodemon : March 18th, 2018 در ساعت 08:59
-
تعداد تشکر ها از cacodemon به دلیل پست مفید
-
March 18th, 2018, 11:31
#8
پاسخ : خطا در دستور Yam - repo: atomic
با تشکر از پیگیری شما بزرگوار . بیخیالش شدم (نه صرفا به خاطر این مشکل ) . احتمالن در آینده نزدیک سرویس رو هم جابجا کنم .
اما مشخصات سیستمی :
CentOS 6 64bit
ورژن دقیق CentOS 6.8 FULL
رو دیتا سنتر آسیا تک - سرویس دهنده هاست دی ال - مجازی ساز VMware
ifcfg-eth0:
DEVICE=eth0
HWADDR=00
56:AE:09:C8
TYPE=Ethernet
UUID=094ce323-58a0-4a66-9dad-7f0b884aa604
ONBOOT=no
NM_CONTROLLED=no
BOOTPROTO=dhcp
DNS1=8.8.8.8
DNS2=4.2.2.2
ویرایش توسط dreamyeye : March 18th, 2018 در ساعت 11:33
-