توجه ! این یک نسخه آرشیو شده میباشد و در این حالت شما عکسی را مشاهده نمیکنید برای مشاهده کامل متن و عکسها بر روی لینک مقابل کلیک کنید : از کار افتادن yum
samiraabd
March 11th, 2018, 17:59
سلام دوستان
من موقع yum -y update پیغام زیر رو میگیرم :
[root@aban yum.repos.d]# yum -y update
Loaded plugins: fastestmirror, rhnplugin, universal-hooks
This system is already registered. Use --force to override
There was an error communicating with CLN.
CLN support will be disabled.
Error communicating with server. The message was:
Unable to connect to the host and port specified
Setting up Update Process
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist http://httpupdate.cpanel.net/ea4-c6releasever-x86_64-mirrorlist error was
14: PYCURL ERROR 7 - "Failed to connect to 224.0.0.2: Connection refused"
Error: Cannot find a valid baseurl for repo: EA4
لطفا! راهنمایی کنید مشکل رو چجوری برطرف کنم .
سرورم centos 6.9 هست و سی پنل روش دارم . ممنون
spark3r
March 11th, 2018, 18:23
سلام
ابتدا دستور زیر رو بزنید
yum clean all
و مجدد دستور yum update رو بزنید.
- - - Updated - - -
اگر هم فایروال نصب کنید فایروال رو Disable کنید و تست بگیرید.
modireserver
March 11th, 2018, 18:46
سلام
طبق پاسخ دوستمون یکبار yum رو clean کنید اگر مشکل حل نشد بررسی کنید مشکل در رپوزیتوری دارید یا خیر احتمالا مشکل در مخزن داشته باشید
a1994n1373
March 12th, 2018, 01:28
سلام . از کلودلینوکس استفاده می کنید ؟
linuxadmin
March 12th, 2018, 08:54
سلام.
لایسنس کلود لینوکس و سی پنل رو بررسی کنید.
k-pax
March 12th, 2018, 09:32
برای سرور dns تعریف کردید ؟
nano /etc/resolv.conf
بزنید و کد زیر را اگر نداشت بهش اضافه کنید
nameserver 8.8.8.8
nameserver 4.2.2.4
samiraabd
March 12th, 2018, 09:57
سلام
با تشکر از شما
من قبل از disable کردن فایروال هم این دستورات رو زدم و همچنین بعد از disable کردن هم مجدد این کار ها رو انجام دادم ولی متاسفانه نتیجه دستور yum update مثل قبل هست به صورت زیز:
[root@aban ~]# yum update
Loaded plugins: fastestmirror, rhnplugin, universal-hooks
Setting up Update Process
Loading mirror speeds from cached hostfile
epel/metalink | 24 kB 00:00
* EA4: 185.69.232.245
* cpanel-addons-production-feed: 185.69.232.245
* addons: mirrors.coreix.net
* base: mirror.wiuwiu.de
* cloudlinux-base: repo.cloudlinux.com
* cloudlinux-x86_64-server-6: de-*****.cl-mirror.net
* epel: mirror.wiuwiu.de
* extras: centos.mirrors.as250.net
* update: mirror.wiuwiu.de
EA4 | 2.9 kB 00:00 ...
EA4/primary_db | 12 MB 00:09
cpanel-addons-production-feed | 2.9 kB 00:00 ...
cpanel-addons-production-feed/primary_db | 12 kB 00:00
http://mirrors.coreix.net/centos/6/addons/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
To address this issue please refer to the below knowledge base article
https://access.redhat.com/articles/1320623
If above article doesn't help to resolve this issue please open a ticket with Cl oudLinux Support.
http://mirror.steadfast.net/centos/6/addons/x86_64/repodata/repomd.xml: [Errno 1 4] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
http://mirror.us.leaseweb.net/centos/6/addons/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
http://ftp.jaist.ac.jp/pub/Linux/CentOS/6/addons/x86_64/repodata/repomd.xml: [Er rno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
http://mirror.as24220.net/pub/centos/6/addons/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
http://ftp.hosteurope.de/mirror/centos.org/6/addons/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
(توجه کنید که از ابتدا من این مشکل رو نداشتم و ناگهانی پیش اومد )
با تشکر از راهنمایی شما
- - - Updated - - -
بله کلود لینوکس استفاده میکنم ، البته از این لایسنس اشتراکی ها
- - - Updated - - -
dns هم مشکلی نداشت و ست شده
k-pax
March 12th, 2018, 10:40
قبل از خراب شدنچیزی نصب نکردید یا تغییری تداید
لینکها هیچکدوم وجود ندارد و در حقیقت اصلا mirror.centos.org/centos/6/addons وجود نداره
شما یه پکیج نصب کردید که ااین مشکل براتون بوجود اومده
با دستور
yum clean all
باید کارتون راه بیفته
samiraabd
March 12th, 2018, 10:57
قبل از این مشکل من nginx رو با yum ، اینستال کردم . همین طور
engintron رو هم فقط اینستال کردم که در مرحله پایانی با زدن bash engintron.sh install به مشکل خوردم و این مشکل ایجاد شد .
الانم کلا پکیج engintron رو هم remove کردم .
این هم نتایج مطالبی که گفتید:
[root@aban ~]# yum clean all
Loaded plugins: fastestmirror, rhnplugin, universal-hooks
This system is already registered. Use --force to override
There was an error communicating with CLN.
CLN support will be disabled.
Error communicating with server. The message was:
Unable to connect to the host and port specified
Cleaning repos: EA4 cpanel-addons-production-feed addons base cl-ea4
: cloudlinux-base cloudlinux-imunify360 epel extras jetapps nginx
: update
Cleaning up Everything
Cleaning up list of fastest mirrors
[root@aban ~]# yum update
Loaded plugins: fastestmirror, rhnplugin, universal-hooks
This system is already registered. Use --force to override
There was an error communicating with CLN.
CLN support will be disabled.
Error communicating with server. The message was:
Unable to connect to the host and port specified
Setting up Update Process
Determining fastest mirrors
Could not retrieve mirrorlist http://httpupdate.cpanel.net/ea4-c6-x86_64-mirrorlist error was
14: PYCURL ERROR 7 - "Failed to connect to 224.0.0.2: Connection refused"
Error: Cannot find a valid baseurl for repo: EA4
arminkit1
March 12th, 2018, 11:43
سلام
از google.com یه پینگ بگیرید ببینید پینگ دارید، اگر نداشتید مشکل از dns server هست
samiraabd
March 12th, 2018, 11:51
سلام
پینگ میده مشکلی نیست
[root@aban tmp]# ping -c 5 google.com
PING google.com (172.217.22.46) 56(84) bytes of data.
64 bytes from fra15s16-in-f46.1e100.net (172.217.22.46): icmp_seq=1 ttl=57 time=5.96 ms
64 bytes from fra15s16-in-f46.1e100.net (172.217.22.46): icmp_seq=2 ttl=57 time=5.29 ms
64 bytes from fra15s16-in-f46.1e100.net (172.217.22.46): icmp_seq=3 ttl=57 time=5.28 ms
64 bytes from fra15s16-in-f46.1e100.net (172.217.22.46): icmp_seq=4 ttl=57 time=5.21 ms
64 bytes from fra15s16-in-f46.1e100.net (172.217.22.46): icmp_seq=5 ttl=57 time=5.28 ms
--- google.com ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4009ms
rtt min/avg/max/mdev = 5.214/5.408/5.960/0.285 m
سلام دوستان
من موقع yum -y update پیغام زیر رو میگیرم :
[root@aban yum.repos.d]# yum -y update
Loaded plugins: fastestmirror, rhnplugin, universal-hooks
This system is already registered. Use --force to override
There was an error communicating with CLN.
CLN support will be disabled.
Error communicating with server. The message was:
Unable to connect to the host and port specified
Setting up Update Process
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist http://httpupdate.cpanel.net/ea4-c6releasever-x86_64-mirrorlist error was
14: PYCURL ERROR 7 - "Failed to connect to 224.0.0.2: Connection refused"
Error: Cannot find a valid baseurl for repo: EA4
لطفا! راهنمایی کنید مشکل رو چجوری برطرف کنم .
سرورم centos 6.9 هست و سی پنل روش دارم . ممنون
3 نکته خیلی مهم
1-اگر وب سرور رو نصب کردید به هیچ عنوان از داخل شل اقدام به آپدیت نکنید
2-حتما از داخل پنل خود وب سرور وب سرور اقدام به آپدیت سیستم عامل کنید
3-ریپازیتوری رو تغییر بدید و سرورهای ایرانی رو جایگزین کنید
# This is the default, if you make this bigger yum won't see if the metadata
# is newer on the remote and so you'll "gain" the bandwidth of not having to
# download the new metadata and "pay" for it by yum not having correct
# information.
# It is esp. important, to have correct metadata, for distributions like
"/etc/yum.conf" 28L, 1133C
cacodemon
March 12th, 2018, 13:32
سلام
این دوتا دستور امتحان کنید
rm -f /var/lib/rpm/__*
rpm --rebuilddb -v -v
اگر نشد این ادیت و انجام بدید
/etc/yum/pluginconf.d/fastestmirror.conf
Change enabled=1 to enabled=0 to disable the fastestmorror plugin.
در نهایت اگر با هیچ کدوم کارت راه نیوفتاد فعلا کارتو با دستور زیر راه بنداز
yum -v -d 10 --noplugins update
- - - Updated - - -
3 نکته خیلی مهم
1-اگر وب سرور رو نصب کردید به هیچ عنوان از داخل شل اقدام به آپدیت نکنید
2-حتما از داخل پنل خود وب سرور وب سرور اقدام به آپدیت سیستم عامل کنید
3-ریپازیتوری رو تغییر بدید و سرورهای ایرانی رو جایگزین کنید
این 3 مورد رو رعایت کنید مشکلی پیش نمیاد
مورد 3 اصلا توصیه خوبی نیست
به هیچ وجه این کارو نکنید
live
March 12th, 2018, 14:46
مورد 3 اصلا توصیه خوبی نیست
به هیچ وجه این کارو نکنید
از این حیث عرض کردم که اگر سرور با ip ایران باشه اینکارو انجام بدن چون ریپازیتوری ها به نوعی همیشه برای ایران مشکل ساز میشن ، مدرک مهم اینه که حتی ریپازیتوری های ایران رو در سایت سنت او اس مشاهده نمیکنید ، به همون دلایل تحریم ، البته این موضوع بره سالهای گذشته بوده شاید الان مشکل حل شده باشه
# This is the default, if you make this bigger yum won't see if the metadata
# is newer on the remote and so you'll "gain" the bandwidth of not having to
# download the new metadata and "pay" for it by yum not having correct
# information.
# It is esp. important, to have correct metadata, for distributions like
"/etc/yum.conf" 28L, 1133C