VMware Cloud Community
smrutim01
Contributor
Contributor

esxcli software vib list gives error

[w3-vesxi-003:~] esxcli software vib list

[DatabaseIOError]

Failed to create empty Database directory: [Errno 17] File exists: 'vibs'

Please refer to the log file for more details.

While i am trying to update the ESX it is also giving the same error.

Kindly help.

Reply
0 Kudos
5 Replies
LucianoPatrão

Hi

Well when you try to update the ESXi and get that error, is seems that you have your floppies folder corrupt or full.


Check the https://kb.vmware.com/kb/2030665 to fix the issue

Luciano Patrão

VCP-DCV, VCAP-DCV Design 2023, VCP-Cloud 2023
vExpert vSAN, NSX, Cloud Provider, Veeam Vanguard
Solutions Architect - Tech Lead for VMware / Virtual Backups

________________________________
If helpful Please award points
Thank You
Blog: https://www.provirtualzone.com | Twitter: @Luciano_PT
Reply
0 Kudos
smrutim01
Contributor
Contributor

Hi JailBreak

Thanks for your time. The issue did not get fixed even after following the KB.

esxcli software vib list

[DatabaseIOError]

Failed to create empty Database directory: [Errno 17] File exists: 'vibs'

Please refer to the log file for more details.

And when I try to update the build:

esxcli software profile install --no-sig-check --ok-to-remove --maintenance-mode -d http:xxxxxx -p ESXi-6.1.0-xxxxx-standard

[InstallationError]

The transaction is not supported:

Please refer to the log file for more details.

tail -n 30 /var/log/esxupdate.log

2016-04-07T11:04:28Z esxupdate: vmware.runcommand: INFO: runcommand called with: args = '['/usr/sbin/vsish', '-e', '-p', 'cat', '/hardware/bios/dmiInfo']', outfile = 'None', returnoutput = 'True', timeout = '0.0'.

2016-04-07T11:04:28Z esxupdate: vmware.runcommand: INFO: runcommand called with: args = '['/sbin/smbiosDump']', outfile = 'None', returnoutput = 'True', timeout = '0.0'.

2016-04-07T11:04:28Z esxupdate: HostImage: WARNING: SECURITY ALERT: Installing image profile 'ESXi-6.1.0-3715066-standard' with acceptance level checking disabled.

2016-04-07T11:04:28Z esxupdate: root: ERROR: Traceback (most recent call last):

2016-04-07T11:04:28Z esxupdate: root: ERROR:   File "/usr/lib/vmware/esxcli-software", line 462, in <module>

2016-04-07T11:04:28Z esxupdate: root: ERROR:     main()

2016-04-07T11:04:28Z esxupdate: root: ERROR:   File "/usr/lib/vmware/esxcli-software", line 453, in main

2016-04-07T11:04:28Z esxupdate: root: ERROR:     ret = CMDTABLE[command](options)

2016-04-07T11:04:28Z esxupdate: root: ERROR:   File "/usr/lib/vmware/esxcli-software", line 193, in ProfileInstallCmd

2016-04-07T11:04:28Z esxupdate: root: ERROR:     checkacceptance=checkacceptance)

2016-04-07T11:04:28Z esxupdate: root: ERROR:   File "/build/mts/release/bora-3073146/bora/build/esx/release/vmvisor/sys-boot/lib/python2.7/site-packages/vmware/esximage/Transaction.py", line 503, in InstallProfile

2016-04-07T11:04:28Z esxupdate: root: ERROR:   File "/build/mts/release/bora-3073146/bora/build/esx/release/vmvisor/sys-boot/lib/python2.7/site-packages/vmware/esximage/Transaction.py", line 573, in _installProfile

2016-04-07T11:04:28Z esxupdate: root: ERROR:   File "/build/mts/release/bora-3073146/bora/build/esx/release/vmvisor/sys-boot/lib/python2.7/site-packages/vmware/esximage/Transaction.py", line 399, in _validateAndInstallProfile

2016-04-07T11:04:28Z esxupdate: root: ERROR:   File "/build/mts/release/bora-3073146/bora/build/esx/release/vmvisor/sys-boot/lib/python2.7/site-packages/vmware/esximage/HostImage.py", line 724, in Stage

2016-04-07T11:04:28Z esxupdate: root: ERROR: InstallationError: ('', 'The transaction is not supported: ')

Reply
0 Kudos
LucianoPatrão

Hi

Are you providing the full path to the update file?? Even you are running in the folder where is the file

Luciano Patrão

VCP-DCV, VCAP-DCV Design 2023, VCP-Cloud 2023
vExpert vSAN, NSX, Cloud Provider, Veeam Vanguard
Solutions Architect - Tech Lead for VMware / Virtual Backups

________________________________
If helpful Please award points
Thank You
Blog: https://www.provirtualzone.com | Twitter: @Luciano_PT
Reply
0 Kudos
LucianoPatrão

Hi,

Some questions:

Is HA disable for that ESXi host you trying to update?? Can you put the ESXi in maintenance mode first and then try the update?

Which version do you have??

Luciano Patrão

VCP-DCV, VCAP-DCV Design 2023, VCP-Cloud 2023
vExpert vSAN, NSX, Cloud Provider, Veeam Vanguard
Solutions Architect - Tech Lead for VMware / Virtual Backups

________________________________
If helpful Please award points
Thank You
Blog: https://www.provirtualzone.com | Twitter: @Luciano_PT
Reply
0 Kudos
LucianoPatrão

Hi,

Try to follow this KB to update

VMware KB: Installing patches on an ESXi 5.x/6.x host from the command line

Luciano Patrão

VCP-DCV, VCAP-DCV Design 2023, VCP-Cloud 2023
vExpert vSAN, NSX, Cloud Provider, Veeam Vanguard
Solutions Architect - Tech Lead for VMware / Virtual Backups

________________________________
If helpful Please award points
Thank You
Blog: https://www.provirtualzone.com | Twitter: @Luciano_PT
Reply
0 Kudos