-
March 12th, 2018, 11:51
#11
پاسخ : از کار افتادن yum
سلام
پینگ میده مشکلی نیست
[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
-
-
March 12th, 2018 11:51
# ADS
-
March 12th, 2018, 12:50
#12
پاسخ : از کار افتادن yum
سلام مجدد
توی فایل yum.conf احتمالا پروکسی تنظیم نکردید؟
IDC EXPERT
Linux System Administrator , Cloud Administrator
-
-
March 12th, 2018, 13:15
#13
پاسخ : از کار افتادن yum

نوشته اصلی توسط
samiraabd
سلام دوستان
من موقع 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-c6r..._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-ریپازیتوری رو تغییر بدید و سرورهای ایرانی رو جایگزین کنید
این 3 مورد رو رعایت کنید مشکلی پیش نمیاد
-
-
March 12th, 2018, 13:17
#14
پاسخ : از کار افتادن yum
- - - Updated - - -
خیر پروکسی تنظیم نشده ، اینم محتویات yum.conf
[root@aban ~]# vi /etc/yum.conf
[main]
exclude=bind-chroot courier* dovecot* exim* filesystem httpd* mod_ssl* mydns* nsd* p0f php* proftpd* pure-ftpd* spamassassin* squirrelmail*
tolerant=1
errorlevel=1
cachedir=/var/cache/yum/$basearch/$releasever
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
installonly_limit=5
bugtracker_url=http://bugs.centos.org/set_project.php?project_id=19&ref=http://bugs.centos.org/bug_report_page.php?category=yum
distroverpkg=centos-release
# 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
ویرایش توسط samiraabd : March 12th, 2018 در ساعت 13:20
-
-
March 12th, 2018, 13:32
#15
عضو انجمن
پاسخ : از کار افتادن yum
سلام
این دوتا دستور امتحان کنید
کد:
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 - - -

نوشته اصلی توسط
live
3 نکته خیلی مهم
1-اگر وب سرور رو نصب کردید به هیچ عنوان از داخل شل اقدام به آپدیت نکنید
2-حتما از داخل پنل خود وب سرور وب سرور اقدام به آپدیت سیستم عامل کنید
3-ریپازیتوری رو تغییر بدید و سرورهای ایرانی رو جایگزین کنید
این 3 مورد رو رعایت کنید مشکلی پیش نمیاد
مورد 3 اصلا توصیه خوبی نیست
به هیچ وجه این کارو نکنید
ویرایش توسط cacodemon : March 12th, 2018 در ساعت 13:42
-
-
March 12th, 2018, 14:46
#16
پاسخ : از کار افتادن yum

نوشته اصلی توسط
cacodemon
مورد 3 اصلا توصیه خوبی نیست
به هیچ وجه این کارو نکنید
از این حیث عرض کردم که اگر سرور با ip ایران باشه اینکارو انجام بدن چون ریپازیتوری ها به نوعی همیشه برای ایران مشکل ساز میشن ، مدرک مهم اینه که حتی ریپازیتوری های ایران رو در سایت سنت او اس مشاهده نمیکنید ، به همون دلایل تحریم ، البته این موضوع بره سالهای گذشته بوده شاید الان مشکل حل شده باشه
-
-
March 13th, 2018, 12:35
#17
عضو انجمن
پاسخ : از کار افتادن yum

نوشته اصلی توسط
samiraabd
- - - Updated - - -
خیر پروکسی تنظیم نشده ، اینم محتویات yum.conf
[root@aban ~]# vi /etc/yum.conf
[main]
exclude=bind-chroot courier* dovecot* exim* filesystem httpd* mod_ssl* mydns* nsd* p0f php* proftpd* pure-ftpd* spamassassin* squirrelmail*
tolerant=1
errorlevel=1
cachedir=/var/cache/yum/$basearch/$releasever
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
installonly_limit=5
bugtracker_url=http://bugs.centos.org/set_project.php?project_id=19&ref=http://bugs.centos.org/bug_report_page.php?category=yum
distroverpkg=centos-release
# 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
حل شد؟
-