Print View

"Failed to create a diagnostic bundle" when collecting logs from VirtualCenter

Issue

When using the Administration | Export Diagnostic Data option in VirtualCenter the following error' may be returned:

Failed to create a diagnostic bundle

The VirtualCenter logs reveal the following:

[YYYY-MM-DD HH:MM:SS.SSS 'App' 4672 info] [VpxLRO] -- BEGIN task-1949 -- -- vim.DiagnosticManager.generateLogBundles -- 060156E2-6F8B-4046-950C-6923C8A3D095
[YYYY-MM-DD HH:MM:SS.SSS 'App' 4668 info] [VpxLRO] -- BEGIN task-internal-2590 -- -- vmodl.query.PropertyCollector.createFilter -- 060156E2-6F8B-4046-950C-6923C8A3D095
[YYYY-MM-DD HH:MM:SS.SSS 'App' 4668 info] [VpxLRO] -- FINISH task-internal-2590 -- -- vmodl.query.PropertyCollector.createFilter -- 060156E2-6F8B-4046-950C-6923C8A3D095
[YYYY-MM-DD HH:MM:SS.SSS 'App' 4672 error] [VpxLogBundler] Command (C:\WINDOWS\system32\CScript.exe) returned error (1)
[YYYY-MM-DD HH:MM:SS.SSS 'App' 4672 error] [VpxLogBundler] n/a
[YYYY-MM-DD HH:MM:SS.SSS 'App' 4672 error] stdout: Staging directory (D:\TEMP) doesn't exist.
[YYYY-MM-DD HH:MM:SS.SSS 'App' 4672 info] [VpxLRO] -- FINISH task-1949 -- -- vim.DiagnosticManager.generateLogBundles -- 060156E2-6F8B-4046-950C-6923C8A3D095
[YYYY-MM-DD HH:MM:SS.SSS 'App' 4672 info] [VpxLRO] -- ERROR task-1949 -- -- vim.DiagnosticManager.generateLogBundles: vim.fault.LogBundlingFailed:
(vim.fault.LogBundlingFailed) {
dynamicType = <unset>,
msg = ""
}

Resolution

The temporary directory set in the System environmental variables does not exist.

- Select Control Panel | System
- Select the Advanced tab
- Click Environmental Variables
- Under System Variables scroll down to TEMP and TMP
- Ensure this directory exists, or change to an existing directory

Products

VMware VirtualCenter 2.5

Created: 4th May 2009
Updated: 4th May 2009

Print View

© 2005-2024 Jamie Morrison