1 Reply Latest reply on May 19, 2013 11:19 AM by bardanes

    ghettoVCBg2 fails after upgrade to vMA 5.1.0.1

    ChrisHaag Novice

      The installed version of vMA was 5.1.0.0 Build 782391. I have initiated an upgrade using the vMA web interface. The new version is now  5.1.0.1 Build 1062361. Since this upgrade ghettoVCBg2 fails witht the following 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 /usr/lib/perl5/site_perl/5.10.0/VMware/VIFPLib.pm line 9.

      BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.10.0/VMware/VIFPLib.pm line 9.

      Compilation failed in require at ./ghettoVCBg2_tmp.pl line 16.

      BEGIN failed--compilation aborted at ./ghettoVCBg2_tmp.pl line 16.

       

      On new installed vMA 5.1.0.1 (from .ovf file) ghettoVCBg2 works perfectly - of course after the patches concerning version number inside the script.

       

      I have tested this twice to be sure. It seems there is something wrong with the vMA upgrade process. SLES 11 is updated to SP2 as a part of the upgrade.

       

      Christian

        • 1. Re: ghettoVCBg2 fails after upgrade to vMA 5.1.0.1
          bardanes Novice

          Do the following to resolve this issue:

           

          1. Login as vi-admin to the console and 'sudo su root' (enter vi-admin password)

          2. Save the original /etc/bash.bashrc file to a backup in case something goes wrong.

          3. Add these lines to the end of the bash.bashrc file:

                    alias vifptarget="source /opt/vmware/vma/bin/vifptarget"

                    source /opt/vmware/vma/bin/completion_vifp

                    source /opt/vmware/vma/bin/completion_vifptarget

                    source /opt/vmware/vma/bin/completion_vifs

                    export LD_LIBRARY_PATH=${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}/opt/vmware/vma/lib64:/opt/vmware/vma/lib

          4. Save the file and exit root access.

          5. As vi-admin, execute  source /etc/bash.bashrc.


          This should do it.

           

          Regards,

          PB