VPLEX: körning av kommandot security configure-certificate misslyckas med felmeddelandet "Är en katalog"

Resumen: Den här artikeln beskriver kommandokörningen "security configure-certificates" som misslyckas med felmeddelandet "Är en katalog".

Este artículo se aplica a: Este artículo no se aplica a: Este artículo no está vinculado a ningún producto específico. En este artículo no se identifican todas las versiones de los productos.

Síntomas

Informationen security configure-certificate Kommandokörningen misslyckas med följande fel:

VPlexcli:/> security configure-certificates
 security configure-certificates:  Evaluation of <<security configure-certificates>> failed.
 cause:                            Command execution failed.
 cause:                            21
 cause:                            Is a directory


Fel som visas i klientloggen:

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'

Causa

Ett manuellt skapande av en mapp med namnet save som skapades inom ramen för /etc/ipsec.d/cacerts/ kontroller som krävs för förnyelse av säkerhetscertifikat.

Resolución

Alternativ lösning:

  1. Logga in på VPLEX Management Server med hjälp av service Kontouppgifter:
login as: service
Using keyboard-interactive authentication.
Password:
service@vplex01:~>

 

  1. Gå till /etc/ipsec.d/cacerts/ sökväg och leta efter en mapp med namnet save:
service@vplex01:~> cd /etc/ipsec.d/cacerts/
service@vplex01:/etc/ipsec.d/cacerts> ll save

 

  1. Ta bort filen med namnet save:
service@vplex01:/etc/ipsec.d/cacerts> rm -rf save
  1. Ta bort de gamla certifikaten innan du kör security configure-certificate kommandot enligt följande:
service@vplex01:~> rm /etc/ipsec.d/*/*pem* 
  1. Gå till VPLEXCLI och kör security configure-certificates kommandot igen och kontrollera att det kördes framgångsrikt:
VPlexcli:/> security configure-certificates
  1. Om kommandot fortfarande misslyckas kontaktar du Dells kundsupport och läser den här artikeln. 

Productos afectados

VPLEX Series

Productos

VPLEX Series, VPLEX VS2, VPLEX VS6
Propiedades del artículo
Número de artículo: 000168670
Tipo de artículo: Solution
Última modificación: 12 dic 2025
Versión:  3
Encuentra las respuestas que necesitas con la ayuda de otros usuarios de Dell
Servicios de asistencia
Comprueba si tu dispositivo está cubierto por los servicios de asistencia.