VMware Cloud Community
zach1008
Enthusiast
Enthusiast

vifptarget command not found

I just downloaded and setup the vMA vapp this week and while trying to get things setup I have added server using the vifp addserver command.  I can list the 6 hosts that I have setup but I cannot use vifptarget to specify which server to work on.  When I enter that command  I get an error that the command not found.  I read online that it actually lives in /opt/vmware/vma/bin.  I have tried to run the command from there and get the same error, command not found.Can anyone provide information on what I need to do to get this working?

Tags (1)
Reply
0 Kudos
1 Reply
zach1008
Enthusiast
Enthusiast

ok, so I have found the actual path to the vifptarget.  When I try to set a server using vifptarget --ser servname I get the following error 8 times and then I get one more error message.

Can't load '/usr/lib/perl5/site_perl/5.10.0/libvmatargetlib_perl.so' for module vmatargetlib_perl: libtypes.so: cannot open shared object file: No such file or directory at /usr/lib/perl5/5.10.0/x86_64-linux-thread-multi/DynaLoader.pm line 203.

at /usr/lib/perl5/site_perl/5.10.0/VMware/VmaTargetLib.pm line 10

Compilation failed in require at /opt/vmware/vma/sbin/touchSession.pl line 12.

BEGIN failed--compilation aborted at /opt/vmware/vma/sbin/touchSession.pl line 12.

After 8 of these I get

/opt/vmware/vma/bin/vifptarget: line 185: return: can only `return' from a function or sourced script

vi-admin@localhost:/opt/vmware/vma/bin> Can't load '/usr/lib/perl5/site_perl/5.10.0/libvmatargetlib_perl.so' for module vmatargetlib_perl: libtypes.so: cannot open shared object file: No such file or directory at /usr/lib/perl5/5.10.0/x86_64-linux-thread-multi/DynaLoader.pm line 203.

Not sure what is going on with this but I would love to be able to work in the VMa more.

Reply
0 Kudos