I managed to get into a state with VMware Tools on a Red Hat VM ( RHEL 5.5 if it helps ), where I couldn't start or use the tools, and yet couldn't install them either :-)
Having extracted the contents of the tools archive: -
VMwareTools-8.4.3-282343.tar.gz
to /tmp, I tried to run the installation: -
/tmp/vmware-tools-distrib/vmware-install.pl
and immediately got: -
A previous installation of VMware Tools has been detected.
The previous installation was made by the tar installer (version 4).
Keeping the tar4 installer database format.
You have a version of VMware Tools installed. Continuing this install will
first uninstall the currently installed version. Do you wish to continue?
(yes/no) [yes]
Error: Unable to execute "/usr/bin/vmware-uninstall-tools.pl.
Uninstall failed. Please correct the failure and re run the install.
Execution aborted.
which was less than helpful.
So I can't install the tools because I can't uninstall the tools - which I can't use in the first place :-)
A quickr Google of the exception ( Error: Unable to execute "/usr/bin/vmware-uninstall-tools.pl. ) led me to the VMware forums: -
http://communities.vmware.com/thread/221719
which, although it didn't appear to help the original poster, helped me in that the responder said: -
"...Also since "vmware-install.pl" is a link to "/vmware-tools-distrib/bin/vmware-uninstall-tools.pl"..."
Lo and behold, he's right - I ran the following command: -
/tmp/vmware-tools-distrib/bin/vmware-uninstall-tools.pl
and saw: -
Uninstalling the tar installation of VMware Tools.
Restoring the kernel initrd image.:
The removal of VMware Tools 8.4.3 build-282343 for Linux completed
successfully. Thank you for having tried this software.
I was then able to install the tools again using /tmp/vmware-tools-distrib/vmware-install.pl and all is good.
Geeking in technology since 1985, with IBM Development, focused upon Docker and Kubernetes on the IBM Z LinuxONE platform In the words of Dr Cathy Ryan, "If you don't write it down, it never happened". To paraphrase one of my clients, "Every day is a school day". I do, I learn, I share. The postings on this site are my own and don’t necessarily represent IBM’s positions, strategies or opinions. Remember, YMMV https://infosec.exchange/@davehay
Subscribe to:
Post Comments (Atom)
Note to self - use kubectl to query images in a pod or deployment
In both cases, we use JSON ... For a deployment, we can do this: - kubectl get deployment foobar --namespace snafu --output jsonpath="{...
-
Why oh why do I forget this ? Running this command : - ldapsearch -h ad2012.uk.ibm.com -p 389 -D CN=bpmbind,CN=Users,DC=uk,DC=ibm,DC=com -w...
-
Error "ldap_sasl_interactive_bind_s: Unknown authentication method (-6)" on a LDAPSearch command ...Whilst building my mega Connections / Domino / Portal / Quickr / Sametime / WCM environment recently, I was using the LDAPSearch command tha...
-
Whilst building a new "vanilla" Kubernetes 1.25.4 cluster, I'd started the kubelet service via: - systemctl start kubelet.se...
No comments:
Post a Comment