VPLEX: Güvenlik yapılandırma sertifikası komutunu yürütme işlemi "Is a directory" hatasıyla başarısız oluyor
Summary: Bu makalede, "Is a directory" hata mesajıyla başarısız olan "security configure-certificates" komutunu yürütme ayrıntıları verilmektedir.
Αυτό το άρθρο ισχύει για
Αυτό το άρθρο δεν ισχύει για
Αυτό το άρθρο δεν συνδέεται με κάποιο συγκεκριμένο προϊόν.
Δεν προσδιορίζονται όλες οι εκδόσεις προϊόντων σε αυτό το άρθρο.
Symptoms
Komutta security configure-certificate Komut yürütme aşağıdaki hatayla başarısız olur:
VPlexcli:/> security configure-certificates
security configure-certificates: Evaluation of <<security configure-certificates>> failed.
cause: Command execution failed.
cause: 21
cause: Is a directory
İstemci günlüğünde görülen hatalar:
2018-08-08 19:37:37,770 INFO [Thread-57] service_localhost_T20810: security configure-certificates
2018-08-08 19:37:37,771 INFO [Thread-57] audit: security configure-certificates
2018-08-08 19:37:37,892 ERROR [DefaultCommandHandler-Thread-3] security configure-certificates: Failed to configure certificates: Validation error: Certificates already present in the system. Delete old certificates before configuring the system with new certificates.
2018-08-08 19:37:37,967 ERROR [DefaultCommandHandler-Thread-3] ConfigureCertificatesCmd: 21
Traceback (most recent call last):
File "/opt/emc/VPlex/jython2.7b4/LibExt/yyapi.py", line 322, in _execute
result = self._execute_(shell,context,args)
File "/opt/emc/VPlex/jython2.7b4/LibExt/AutoBundles/prodscripts.jar/configureCertificates.py", line 148, in _execute_
cfgCert.restore()
File "/opt/emc/VPlex/jython2.7b4/LibExt/AutoBundles/prodscripts.jar/configureCertificates.py", line 241, in restore
self.cleanup()
File "/opt/emc/VPlex/jython2.7b4/LibExt/AutoBundles/prodscripts.jar/configureCertificates.py", line 656, in cleanup
self._deleteFilesInDir(GlobalVals.DEFAULT_CACERT_LOCATION)
File "/opt/emc/VPlex/jython2.7b4/LibExt/AutoBundles/prodscripts.jar/configureCertificates.py", line 675, in _deleteFilesInDir
self._removeFile(filePath)
File "/opt/emc/VPlex/jython2.7b4/LibExt/AutoBundles/prodscripts.jar/configureCertificates.py", line 652, in _removeFile
os.remove(file)
OSError: [Errno 21] Is a directory: '/etc/ipsec.d/cacerts/save'Cause
adlı bir klasörün manuel olarak oluşturulması save altında oluşturuldu /etc/ipsec.d/cacerts/ güvenlik sertifikalarının yenilenmesi için gerekli kontrollere müdahale etti.
Resolution
Geçici Çözüm:
- VPLEX Management Server da oturum açın.
serviceHesap Kimlik Bilgileri:
login as: service
Using keyboard-interactive authentication.
Password:
service@vplex01:~>
- Şuraya gidin:
/etc/ipsec.d/cacerts/yolunu seçin ve adlı bir klasör olup olmadığını kontrol edin.save:
service@vplex01:~> cd /etc/ipsec.d/cacerts/
service@vplex01:/etc/ipsec.d/cacerts> ll save
- Adın bulunduğu dosyayı silin
save:
service@vplex01:/etc/ipsec.d/cacerts> rm -rf save
- Çalıştırmadan önce eski sertifikaları silin
security configure-certificateKomutu aşağıdaki gibidir:
service@vplex01:~> rm /etc/ipsec.d/*/*pem*
- VPLEXCLI ya gidin ve
security configure-certificateskomutu tekrarlayın ve başarılı bir şekilde çalışıp çalışmadığını kontrol edin:
VPlexcli:/> security configure-certificates
- Komut yine de başarısız olursa Dell Müşteri Desteği ile iletişime geçin ve bu makaleye başvurun.
Επηρεαζόμενα προϊόντα
VPLEX SeriesΠροϊόντα
VPLEX Series, VPLEX VS2, VPLEX VS6Ιδιότητες άρθρου
Article Number: 000168670
Article Type: Solution
Τελευταία τροποποίηση: 12 Δεκ 2025
Version: 3
Βρείτε απαντήσεις στις ερωτήσεις σας από άλλους χρήστες της Dell
Υπηρεσίες υποστήριξης
Ελέγξτε αν η συσκευή σας καλύπτεται από τις Υπηρεσίες υποστήριξης.