توجه ! این یک نسخه آرشیو شده میباشد و در این حالت شما عکسی را مشاهده نمیکنید برای مشاهده کامل متن و عکسها بر روی لینک مقابل کلیک کنید : خطا در دستور Yam - repo: atomic
dreamyeye
March 17th, 2018, 04:57
با عرض سلام و احترام ،
بند هر چی دستور 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
دوستان در صورتی که راه حلی دارید لطفا راهنمایی بفرمایید . با تشکر
cacodemon
March 17th, 2018, 08:48
سلام
دستور زیر و وارد کنید
yum repolist all
ID ریپازیتوری atomic و پیدا کنید
بعد ایدی شو توی دستور زیر قرار بدید تا غیر فعال بشه
yum-config-manager --disable ID
چک کنید درست شده؟
dreamyeye
March 17th, 2018, 16:35
سلام . ممنون از پاسخ شما ، بنده دستور بالا رو وارد کردم .کد زیر اومد .
[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 ~]#
الان باید دقیقا چیکار کنم . ؟
ظاهرا وارنیش هم نصبه ، طور میشه حذفش کرد ؟
با تشکر
cacodemon
March 17th, 2018, 17:32
سلام . ممنون از پاسخ شما ، بنده دستور بالا رو وارد کردم .کد زیر اومد .
[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
dreamyeye
March 17th, 2018, 18:16
ممنون از راهنمایی شما. بنده این دوتا رو غیر فعال کردم اما وقتی دستور 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 ~]#
cacodemon
March 17th, 2018, 21:14
ممنون از راهنمایی شما. بنده این دوتا رو غیر فعال کردم اما وقتی دستور 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
cacodemon
March 18th, 2018, 08:53
ممنون از راهنمایی شما. بنده این دوتا رو غیر فعال کردم اما وقتی دستور 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
با تشکر از پیگیری شما بزرگوار . بیخیالش شدم (نه صرفا به خاطر این مشکل ) . احتمالن در آینده نزدیک سرویس رو هم جابجا کنم .
اما مشخصات سیستمی :
CentOS 6 64bit
ورژن دقیق CentOS 6.8 FULL
رو دیتا سنتر آسیا تک - سرویس دهنده هاست دی ال - مجازی ساز VMware