Connectrix B-Series: Det gick inte att lägga till licensnyckel för switchen med felet "Det gick inte att genomföra licensändringar"

Summary: Det går inte att lägga till licens för MX610s-switchen med "licenseadd " för FOS version 8.1.x. Kommandona "License install -k" och "License -install " stöds inte på FOS-version 8.1.x. ...

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

Fel:
Switch-A:admin licenseadd "W4ZfEaJftZaSJAJJQRff37KSKHRgJrFrEFPfQFH*****"
adding license-key [W4ZfEaJftZaSJAJJQRff37KSKHRgJrFrEFPfQFH*****]
failed to commit license changes

Cause

Det går inte att köra Supportsave och licensinstallationen på grund av fel:
 "The switch does not have enough disk space to run full supportsave. Available Free disk space is 0 MB."
 
Switch-A:admin> supportsave
This command collects RASLOG, TRACE, supportShow, core file, FFDC data
and then transfer them to a FTP/SCP/SFTP server or a USB device.
This operation can take several minutes.
OK to proceed? (yes, y, no, n): [no] yes
Host IP or Host Name: 10.82.50.27
User Name: username
Password: ******
Protocol (ftp | scp | sftp): sftp
Remote Directory: /home/inti/brocade
Do you want to continue with CRA (Y/N) [N]:
The switch does not have enough disk space to run full supportsave. Available Free disk space is 0 MB.
Please run the following commands to release disk space and retry full supportsave
1. "supportsave -k" to transfer core files to remote location
2. "supportsave -R" to remove the core files in the switch
SupportSave failed.
Leta efter kärnfiler som ska tas bort från kommandot nedan:
Switch-A:admin> supportsave -R
No core or FFDC data files found!
SupportSave completed.

Resolution

Det finns flera möjliga sätt att lösa problemet:
  • Korrigering 1:
  1. Kör kommandot nedan för att bekräfta om rotkontot är aktiverat.
 userconfig --show root
  1. Använd rotkonto, ta bort /var/log/esmd_lib.log filer som kan ta mer flashminne
  1. Samla in utdata från kommandot nedan från roten.
root> ls lR /var
I dessa utdata bör du se följande:
/var/log:

-rw-r--r--   1 root     root      3113586 Oct 14 11:16 esmd_lib.log
-rw-r--r--   1 root     admin    14065977 Oct 13 05:17 esmd_lib.log.1
-rw-r--r--   1 root     admin    82593068 Oct  7 11:04 esmd_lib.log.2
-rw-r--r--   1 root     root     329366414 Sep  2 13:41 esmd_lib.log.3
  1. Kör följande kommandon från roten för att ta bort filerna
rm /var/log/esmd_lib.log
rm /var/log/esmd_lib.log.1
rm /var/log/esmd_lib.log.2
Detta rensar flashminnet och gör det möjligt för supportsave som ska köras.
  1. Samla supportsave och installera licensen med licenseadd <key> kommandot efter rensning av flashminnet.
  2. Om rotkontot är aktiverat kör du kommandot nedan, vilket tar bort temporära och oönskade filer med fast programvara.
df -k 
 
Om rotkontot inte är aktiverat kanske du inte kan aktivera det på grund av minnesproblem. Följ korrigering 2 om rotkontot är avaktiverat.
Switch_A:admin> userconfig --show root
Account name: root*
Description: root
Enabled: No
Password Last Change Date: Unknown (UTC)
Password Expiration Date: Not Applicable (UTC)
Locked: No
Role: root
AD membership: 0-255
Home AD: 0
Day Time Access: N/A
Switch_A:admin> userconfig --change root -e yes
sqlite3_exec error: 10 disk I/O error
Failed to change user account attributes
  • Korrigering 2:
  1. Säkerhetskopiera konfigurationen och utför Hareboot Under underhållsfönstret för att ta bort problem med flashminnet.
  2. Efter att ha utfört HarebootSamla supportsave loggar och försök att installera licensen med hjälp av licenseadd <key> Kommandot.
  • Korrigering 3:
Om korrigering 2 inte kan rensa flashminnet eller aktivera rotkontot kontaktar du switchleverantören för ytterligare hjälp innan du utför ett switchbyte.

Additional Information

Affected Products

Dell EMC Networking MX-G610s
Article Properties
Article Number: 000223916
Article Type: Solution
Last Modified: 10 May 2024
Version:  2
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.