VMware Cloud Community
kpc
Contributor
Contributor

Remote CLI question

I've setup an ESXi server that's working fine and installed the remote cli application to my XP workstation, I also have the virtual appliance running but not tried it yet. I've been trying to connect to my ESXi server but keep getting an error. To start with I just tried a simple example as indicated in the documentation:

vicfg-mpath.pl --server 10.192.4.63 --user "root" --password "mypassword" --list

The came back with an error saying unknown option: user

Then I tried the same command using a config file, exactly the same as in the manual:

vicfg-mpath.pl --config c:\myconfig.txt --list

It then prompts me for my Username and Password which I then enter and then I get a popup Perl.exe windows saying:

perl.exe - ordinal not found: The ordinal 2821 could not be located in the dynamic link library LIBEAY32.dll

Has anyone got any ideas? Does anyone have any simple commands I can try out, I've been trying to do just a simple vm list, but that's not working either:

vmware-cmd.pl --server 10.192.4.63 --user "root" --password "mypassword" -l

Thanks

Reply
0 Kudos
3 Replies
Dave_Mishchenko
Immortal
Immortal

That should be --username. For the error LIBEAY32.dll do a search in the ESXi forum. It's a conflict with any version of the dll on your system.

Reply
0 Kudos
kpc
Contributor
Contributor

Thanks Dave, all fixed now. I renamed the libeay32.dll in c:\windows\system32 to libeay32.dll.old and then copied the one in the c:\program files\vmware\vmware remote cli\perl\bin into that folder.

Reply
0 Kudos
CyberBear08
Contributor
Contributor

Hey thanks, that gave me an idea to try out. I was having a

problem registering the LIBEAY32.dll. Your copy and paste idea worked for me…

take care

Dave

Reply
0 Kudos