(imported topic written by FITZPAW91)
Hello,
I am trying to get my ESX 3.0.2 Server patched with the new December patches, and they are showing up as irrelevant. I ran “ESX - Gather ESX Patch Information - ESX Server 3” to populate my list of existing patches which uses the following action script
// Create a folder if it does not exists
if {NOT exists folder “__EsxPatchInfo” of (parent folder of (client folder of current site))}
wait mkdir “{pathname of (parent folder of (client folder of current site)) & “/__EsxPatchInfo”}”
endif
delete execute.sh
delete __appendfile
appendfile {"esxupdate query | awk '/3.0.|ESX-/ %7Bsub(/^
\t
+/, %22%22);gsub(/
\t
+/, %22 %22); print %7D’ > " & pathname of (parent folder of (client folder of current site)) & “/__EsxPatchInfo/EsxPatch.Info”}
move __appendfile execute.sh
wait sh execute.sh
It didn’t work. Then I ran the QNA on the server against the relevance of one of the fixlets, and the last line
exists folder “__EsxPatchInfo” whose (exists file “EsxPatch.Info” whose (NOT exists lines whose (it starts with “ESX-1006985”) of it) of it) of parent folder of client folder of current site
Gave me this error Singular Expression refers to non-existant object.
I even tried running
exists folder “__EsxPatchInfo” whose (exists file “EsxPatch.Info” whose (NOT exists lines whose (it starts with “ESX-1006985”) of it) of it) of parent folder of client folder of current site))
and I get an error - Singular Expression refers to non-existant object. But the file does exist.
The file exists in /var/opt/BESClient/__BESData/__EsxPatchInfo/ExsPatch.Info
Help Please