Portsnap fetch extract no mirrors remaining, giving up

  • Konbuyu başlatan Konbuyu başlatan Admin
  • Başlangıç tarihi Başlangıç tarihi
  • Cevaplar Cevaplar 0
  • Görüntüleme Görüntüleme 65

Admin

Metin2Lobby
Yönetici
Founder
Katılım
6 Mayıs 2022
Mesajlar
52,647
Ticaret : 1 / 0 / 0
Merhaba Bsd 9.3 kurulumu yaparken bu hata ile karşılaştım kurulum esnasında default ayar olarak boştu oradaki dnsler bu yüzden atlayıp boş bırakmıştım o kısmı sorunun buradan kaynaklandığını farkettim
Kod:
No mirrors remaining, giving up.

makinenizi açın giriş yaptıktan sonra

Kod:
ee /etc/resolv.conf

yazın karşınız büyük bir ihtimale boş bir sayfa gelecek oraya aşağıdaki verdiğim dnsleri yazın

Kod:
nameserver 8.8.4.4 nameserver 8.8.8.8 nameserver 127.0.0.1

işlem bu kadar !!!
Bilgisiz olup bilgi verenlerden nefret ederim çok fazla bilgim yok ben bu şekilde çözüme ulaştım.Umarım işinize yarar.
Portsnap Fetch Extract No Mirrors Remaining, Giving Up Hatası Nedir?
Metin2 sunucularının FreeBSD tabanlı sistemlerde çalıştırılması sırasında portsnap fetch extract no mirrors remaining, giving up hatası sıkça karşılaşılan bir sorundur. Bu hata genellikle FreeBSD port koleksiyonu güncellenmeye çalışılırken ortaya çıkar. Özellikle Metin2 sunucu yönetimi yapan geliştiriciler ve sistem yöneticileri bu hatayla karşılaştığında doğru adımları atabilmek için bu durumun temel nedenlerini ve çözüm yöntemlerini bilmelidir.

Hatanın Temel Nedenleri
Bu hata genellikle aşağıdaki sebeplerden dolayı oluşur:
- Port koleksiyonunun güncel olmaması
- Ağ bağlantısında meydana gelen sorunlar
- Portsnap sunucularına erişimde aksaklıklar
- Sistemdeki tarih veya saat ayarlarının yanlış olması

Portsnap Nedir?
Portsnap, FreeBSD işletim sistemi için port koleksiyonunu güvenli ve şifrelenmiş şekilde indirmeye yarayan bir araçtır. Port koleksiyonu, FreeBSD üzerinde yüklenebilecek yazılımların derleme dosyalarını içerir. Metin2 sunucularında özellikle veritabanı, kimlik doğrulama sunucusu gibi bileşenler portlar aracılığıyla derlenebilir. Bu nedenle port koleksiyonunun güncel tutulması kritik öneme sahiptir.

Hatanın Çözümü
1. Portsnap Güncelleştirme
Öncelikle sistemdeki port koleksiyonunu güncellemeyi denemelisiniz. Aşağıdaki komutları kullanabilirsiniz:
Kod:
[B]portsnap fetch[/B][BR][/BR][B]portsnap extract[/B]


2. Zaman Senkronizasyonu
Sistemin saat ve tarihinin doğru olduğundan emin olun. Yanlış tarih/timezone ayarları portsunap işlemlerinde SSL sertifikası doğrulama hatalarına yol açabilir. Aşağıdaki komutu kullanarak zamanı senkronize edebilirsiniz:
Kod:
[B]service ntpdate onestart[/B]


3. Alternatif Mirror Ayarları
Portsnap için farklı mirror adresleri kullanılabilir. /etc/portsnap.conf dosyası üzerinden alternatif mirror adresleri tanımlanabilir. Örneğin:
Kod:
SERVERNAME=portsnap.FreeBSD.org


4. Pkg Sistemiyle Alternatif Kullanım
Günümüzde FreeBSD port sistemi yerine.pkg paket sistemi tercih edilebilir. Bu durumda_ports tree_ manuel olarak silinip yeniden yapılandırılabilir:
Kod:
[B]rm -rf /usr/ports[/B][BR][/BR][B]portsnap fetch extract[/B]


Metin2 Sunucuları İçin Pratik Uygulamalar
Metin2 FreeBSD tabanlı sunucularda bu hata ile karşılaşıldığında öncelikle sistemde çalışan servislerin durdurulması önerilir. Özellikle MariaDB, Python veya GCC gibi derleme süreçlerinde kullanılan servislerin kontrolü yapılmalıdır. Ayrıca jail ortamlarında çalışan sistemlerde port koleksiyonu güncellemesi özel dikkat gerektirir. Jail içinde_ports tree_ paylaşımı yapılmışsa ana sistemle uyumlu olması sağlanmalıdır.

Sonuç
portsnap fetch extract no mirrors remaining, giving up hatası FreeBSD sistemlerde ciddi bir sorun teşkil etse de doğru adımlarla kolayca çözülebilir. Özellikle Metin2 sunucularında sistem stabilitesi ve performansı için bu tür alt yapı hatalarına hızlı müdahale edebilmek büyük önem taşır.


What Is the Portsnap Fetch Extract No Mirrors Remaining, Giving Up Error?
The error portsnap fetch extract no mirrors remaining, giving up is a common issue encountered during the operation of Metin2 servers on FreeBSD-based systems. This error typically occurs when attempting to update the FreeBSD ports collection. Developers and system administrators managing Metin2 servers must understand the root causes and solution methods for this problem.

Main Causes of the Error
This error usually occurs due to the following reasons:
- Outdated ports collection
- Network connection issues
- Access problems to portsnap servers
- Incorrect date or time settings on the system

What is Portsnap?
Portsnap is a tool used to securely download the FreeBSD ports collection in an encrypted format. The ports collection contains build files for software that can be installed on FreeBSD. In Metin2 servers, components such as database and authentication servers can be compiled via ports. Therefore, keeping the ports collection updated is critical.

How to Fix the Error
1. Update Portsnap
Firstly, you should attempt to update the ports collection on your system. You can use the following commands:
Kod:
[B]portsnap fetch[/B][BR][/BR][B]portsnap extract[/B]


2. Time Synchronization
Ensure that the system's date and time are correct. Incorrect time or timezone settings may cause SSL certificate validation errors during portsnap operations. You can synchronize the time using the command below:
Kod:
[B]service ntpdate onestart[/B]


3. Alternative Mirror Settings
Alternative mirror addresses can be used for portsnap. You can define alternative mirrors in the /etc/portsnap.conf file. For example:
Kod:
SERVERNAME=portsnap.FreeBSD.org


4. Alternative Usage with Pkg System
In modern times, the.pkg package system can be preferred instead of the FreeBSD ports system. In this case, the_ports tree_ can be deleted and reconfigured manually:
Kod:
[B]rm -rf /usr/ports[/B][BR][/BR][B]portsnap fetch extract[/B]


Practical Applications for Metin2 Servers
When encountering this error on Metin2 servers running on FreeBSD, it is recommended to first stop services running on the system. Services like MariaDB, Python, or GCC used in compilation processes should be checked. Moreover, updating the ports collection requires special attention in jail environments. If the_ports tree_ is shared within a jail, compatibility with the host system must be ensured.

Conclusion
Although the portsnap fetch extract no mirrors remaining, giving up error may seem serious on FreeBSD systems, it can be easily resolved with the correct steps. Particularly for Metin2 servers, promptly addressing such infrastructure errors is crucial for system stability and performance.
 

Şuan Bu Konuyu Görüntüleyen Kullanıcılar (Toplam : 0, Üye : 0, Misafir : 0)

Geri
Üst Alt