For what its worth I'm having the same issue.
Before running chmod 777 against the file in question I did get Permission denied.
After granting permission I get the "not found" error.
HP has been stumped why this is.
You shouldn't expect that a Linux application will run from the ESXi technical support mode. HP should have been able to point this out. There's a reason SSH is disabled on ESXi. There's a reason you get a big warning alert on you server when you manually go and enable it.
It's inconvenient, but the only method of doing such an update is to make a bootable CD using HP's Firmware maintenance CD. The Gen8 servers provided a much better method of doing such updates.
Other updates were successfully applied using this method (as directed by HP support, Level 1 & Level 2) - so it only stood to reason this would work as well.
There are many functions only available via SSH to ESXi console (HP Array configuration) - more often than not going on site to boot to an HP SPP DVD is not feasible (yes, I understand that one COULD virtually mount an ISO as the boot media and remote in via iLO, Advanced)
HP support have directed me in the past to run Windows executables on Linux servers. Their advice is often incorrect.
I appreciate that using iLO and booting a DVD is cumbersome, but it is also the only appropriate solution here.
So far this worked for me .
browse to location run the following it worked for me on smart array 400/i .cpxxxxx*scexe
Enable SSH or Drop the file in VSHPERE using the Datastore browser
Copy over (winscp)scp to Datastore or /tmp
Browse to location
You will be denied until - you change the file permissions to executable.
/chmod +x cpXXXXX.scexe
once completed reboot the host server
check the Download insight Manager and check the firmware smart array version information e.g 7.22
Ref : Support mentioned - Esx 5 on page 4
Ref : How to on page 9
HP_FIRMWARE_INFO.xps 1.3 MB
Thanks for your post this solved my problem perfectly. Saved me a long onsite trip!!!
I ran into a similar problem. I used WINSCP to copy the file to /tmp and changed it to executable. Running ./cpxxxxx.scexe failed with a :not found error. Running sh ./cpxxxxxx.scexe ran the file OK.
I had the same problem as stated above:
1st = permission denied , used CHMOD to edit permissions
2nd = file not found error...
Problem was that I downloaded the wrong scexe file (the one used for Linux), I downloaded the VMware version after that, that one worked flawless (after adding permissions of course)