VMWare tools – Waiting for rhgb to exit, will sleep for 30 seconds

Recently we migrated some of our guests from a vmware 5.5 environment to a vmware 6 environment. Of course with this comes upgrading hardware and tools which can get a little finicky at times with some of our older VM’s.  I had initiated a tools install and it had timed out with the following error message:

This was a linux machine so I logged into the machine and tailed the log for the upgrader:

 

# tailf /var/log/vmware-tools-upgrader.log 
Wed Mar 28 19:32:08 UTC 2018
Waiting for rhgb to exit, will sleep for 30 seconds...
Waiting for rhgb to exit, will sleep for 30 seconds...
Waiting for rhgb to exit, will sleep for 30 seconds...
Waiting for rhgb to exit, will sleep for 30 seconds...
Waiting for rhgb to exit, will sleep for 30 seconds...
Waiting for rhgb to exit, will sleep for 30 seconds...
Waiting for rhgb to exit, will sleep for 30 seconds...
Waiting for rhgb to exit, will sleep for 30 seconds...
Waiting for rhgb to exit, will sleep for 30 seconds...
Waiting for rhgb to exit, will sleep for 30 seconds...
Waiting for rhgb to exit, will sleep for 30 seconds...

I was that it was referencing the rhgb-client and so I was a bit confused as this machine has been online for a while now and I couldn’t think as to why the splash screen client from the machine was still running…  So I typed the following (your dir path may vary).

 

# /usr/bin/rhgb-client --quit

And within seconds the installation finished. and everything was happy again from vmwares side. Here is what you should expect to see in the above mentioned log:

Waiting for rhgb to exit, will sleep for 30 seconds...
Executing "/tmp/vmware-root/vmware-tools-upgrader-64  "
2018-03-28T19:46:34Z| Upgrader: To VMX: tools.capability.hgfs_server tools-upgrader 1
2018-03-28T19:46:34Z| Upgrader: To VMX: upgrader.setGuestFileRoot /tmp/vmware-root/17c7f2ad/
2018-03-28T19:46:34Z| Upgrader: Upgrader runQueued : 0, runState: 0
2018-03-28T19:46:34Z| Upgrader: From VMX: reset []
2018-03-28T19:46:34Z| HgfsServerAllocateSession: init session 7F9AB426BCA0 id 19f1f763f97231
2018-03-28T19:46:34Z| Upgrader: From VMX: Capabilities_Register []
2018-03-28T19:46:34Z| Upgrader: To VMX: tools.capability.upgrader_parameters 1
2018-03-28T19:46:34Z| Upgrader: To VMX: tools.capability.hgfs_server tools-upgrader 1
2018-03-28T19:46:35Z| Upgrader: Upgrader runQueued : 0, runState: 0
2018-03-28T19:46:36Z| HgfsServerExitSessionInternal: exit session 7F9AB426BCA0 id 19f1f763f97231
2018-03-28T19:46:36Z| Upgrader: From VMX: upgrader.run [ -q]
2018-03-28T19:46:36Z| Upgrader: starting extracting iso data
2018-03-28T19:46:36Z| Upgrader: Upgrader runQueued : 0, runState: 0
2018-03-28T19:46:36Z| Upgrader: finished extracting iso data
2018-03-28T19:46:36Z| ISO contains only tarball.
2018-03-28T19:46:37Z| Upgrader(RunUntar): running "tar -zxf /tmp/vmware-root/17c7f2ad/VMWARETO.TGZ -C /tmp/vmware-root/17c7f2ad"
2018-03-28T19:46:37Z| Upgrader: Upgrader runQueued : 0, runState: 2
2018-03-28T19:46:38Z| select returned 1
2018-03-28T19:46:38Z| Unlinking tar at /tmp/vmware-root/17c7f2ad/VMWARETO.TGZ
2018-03-28T19:46:38Z| Unlinking rpm at /tmp/vmware-root/17c7f2ad/VMWARETO.RPM
2018-03-28T19:46:38Z| Upgrader(RunInstaller): running "./vmware-install.pl --default"
2018-03-28T19:46:39Z| Upgrader: Upgrader runQueued : 0, runState: 3
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] 

Uninstalling the tar installation of VMware Tools.

Stopping services for VMware Tools

Stopping VMware Tools services in the virtual machine:
   Guest operating system daemon:2018-03-28T19:46:40Z| Upgrader: Upgrader runQueued : 0, runState: 3
[  OK  ]
   Unmounting HGFS shares:[  OK  ]
   Guest filesystem driver:[  OK  ]
   VM communication interface socket family:[  OK  ]
   VM communication interface:[  OK  ]

2018-03-28T19:46:41Z| Upgrader: Upgrader runQueued : 0, runState: 3
File /etc/pulse/default.pa is backed up to /etc/pulse/default.pa.old.1.

2018-03-28T19:46:42Z| Upgrader: Upgrader runQueued : 0, runState: 3
2018-03-28T19:46:43Z| Upgrader: Upgrader runQueued : 0, runState: 3
2018-03-28T19:46:44Z| Upgrader: Upgrader runQueued : 0, runState: 3
2018-03-28T19:46:45Z| Upgrader: Upgrader runQueued : 0, runState: 3
2018-03-28T19:46:46Z| Upgrader: Upgrader runQueued : 0, runState: 3
2018-03-28T19:46:47Z| Upgrader: Upgrader runQueued : 0, runState: 3
2018-03-28T19:46:49Z| Upgrader: Upgrader runQueued : 0, runState: 3
2018-03-28T19:46:50Z| Upgrader: Upgrader runQueued : 0, runState: 3
2018-03-28T19:46:51Z| Upgrader: Upgrader runQueued : 0, runState: 3
2018-03-28T19:46:52Z| Upgrader: Upgrader runQueued : 0, runState: 3
2018-03-28T19:46:53Z| Upgrader: Upgrader runQueued : 0, runState: 3
2018-03-28T19:46:54Z| Upgrader: Upgrader runQueued : 0, runState: 3
2018-03-28T19:46:55Z| Upgrader: Upgrader runQueued : 0, runState: 3
2018-03-28T19:46:56Z| Upgrader: Upgrader runQueued : 0, runState: 3
2018-03-28T19:46:57Z| Upgrader: Upgrader runQueued : 0, runState: 3
2018-03-28T19:46:58Z| Upgrader: Upgrader runQueued : 0, runState: 3
2018-03-28T19:46:59Z| Upgrader: Upgrader runQueued : 0, runState: 3
2018-03-28T19:47:01Z| Upgrader: Upgrader runQueued : 0, runState: 3
2018-03-28T19:47:02Z| Upgrader: Upgrader runQueued : 0, runState: 3
2018-03-28T19:47:03Z| Upgrader: Upgrader runQueued : 0, runState: 3
2018-03-28T19:47:04Z| Upgrader: Upgrader runQueued : 0, runState: 3
2018-03-28T19:47:05Z| Upgrader: Upgrader runQueued : 0, runState: 3
The removal of VMware Tools 9.4.12 build-2627939 for Linux completed 
successfully.

Installing VMware Tools.

In which directory do you want to install the binary files? 
[/usr/bin] 

What is the directory that contains the init directories (rc0.d/ to rc6.d/)? 
[/etc/rc.d] 

What is the directory that contains the init scripts? 
[/etc/rc.d/init.d] 

In which directory do you want to install the daemon files? 
[/usr/sbin] 

In which directory do you want to install the library files? 
[/usr/lib/vmware-tools] 

In which directory do you want to install the common agent library files? 
[/usr/lib] 

In which directory do you want to install the common agent transient files? 
[/var/lib] 

In which directory do you want to install the documentation files? 
[/usr/share/doc/vmware-tools] 

The path "/usr/share/doc/vmware-tools" does not exist currently. This program 
is going to create it, including needed parent directories. Is this what you 
want? [yes] 

The installation of VMware Tools 10.1.10 build-6082533 for Linux completed 
successfully. You can decide to remove this software from your system at any 
time by invoking the following command: "/usr/bin/vmware-uninstall-tools.pl".

Before running VMware Tools for the first time, you need to configure it by 
invoking the following command: "/usr/bin/vmware-config-tools.pl". Do you want 
this program to invoke the command for you now? [yes] 

Initializing...

2018-03-28T19:47:06Z| Upgrader: Upgrader runQueued : 0, runState: 3

Making sure services for VMware Tools are stopped.



Found a compatible pre-built module for vmci.  Installing it...


Found a compatible pre-built module for vsock.  Installing it...

2018-03-28T19:47:07Z| Upgrader: Upgrader runQueued : 0, runState: 3

The module vmxnet3 has already been installed on this system by another 
installer or package and will not be modified by this installer.

The module pvscsi has already been installed on this system by another 
installer or package and will not be modified by this installer.

The module vmmemctl has already been installed on this system by another 
installer or package and will not be modified by this installer.

The VMware Host-Guest Filesystem allows for shared folders between the host OS 
and the guest OS in a Fusion or Workstation virtual environment.  Do you wish 
to enable this feature? [no] 

Found a compatible pre-built module for vmxnet.  Installing it...


The vmblock enables dragging or copying files between host and guest in a 
Fusion or Workstation virtual environment.  Do you wish to enable this feature?
[no] 

VMware automatic kernel modules enables automatic building and installation of
VMware kernel modules at boot that are not already present. This feature can
be enabled/disabled by re-running vmware-config-tools.pl.

Would you like to enable VMware automatic kernel modules?
[no] 


Disabling timer-based audio scheduling in pulseaudio.

Do you want to enable Guest Authentication (vgauth)? Enabling vgauth is needed 
if you want to enable Common Agent (caf). [yes] 

Do you want to enable Common Agent (caf)? [yes] 



Detected X server version 1.17.4



Distribution provided drivers for Xorg X server are used.

Skipping X configuration because X drivers are not included.

2018-03-28T19:47:08Z| Upgrader: Upgrader runQueued : 0, runState: 3
Creating a new initrd boot image for the kernel.
2018-03-28T19:47:09Z| Upgrader: Upgrader runQueued : 0, runState: 3
2018-03-28T19:47:10Z| Upgrader: Upgrader runQueued : 0, runState: 3
2018-03-28T19:47:11Z| Upgrader: Upgrader runQueued : 0, runState: 3
2018-03-28T19:47:12Z| Upgrader: Upgrader runQueued : 0, runState: 3
2018-03-28T19:47:14Z| Upgrader: Upgrader runQueued : 0, runState: 3
2018-03-28T19:47:15Z| Upgrader: Upgrader runQueued : 0, runState: 3
2018-03-28T19:47:16Z| Upgrader: Upgrader runQueued : 0, runState: 3
2018-03-28T19:47:17Z| Upgrader: Upgrader runQueued : 0, runState: 3
2018-03-28T19:47:18Z| Upgrader: Upgrader runQueued : 0, runState: 3
2018-03-28T19:47:19Z| Upgrader: Upgrader runQueued : 0, runState: 3
2018-03-28T19:47:20Z| Upgrader: Upgrader runQueued : 0, runState: 3
2018-03-28T19:47:21Z| Upgrader: Upgrader runQueued : 0, runState: 3
2018-03-28T19:47:22Z| Upgrader: Upgrader runQueued : 0, runState: 3
2018-03-28T19:47:23Z| Upgrader: Upgrader runQueued : 0, runState: 3
2018-03-28T19:47:24Z| Upgrader: Upgrader runQueued : 0, runState: 3
2018-03-28T19:47:25Z| Upgrader: Upgrader runQueued : 0, runState: 3
2018-03-28T19:47:27Z| Upgrader: Upgrader runQueued : 0, runState: 3
2018-03-28T19:47:28Z| Upgrader: Upgrader runQueued : 0, runState: 3
2018-03-28T19:47:29Z| Upgrader: Upgrader runQueued : 0, runState: 3
2018-03-28T19:47:30Z| Upgrader: Upgrader runQueued : 0, runState: 3
2018-03-28T19:47:31Z| Upgrader: Upgrader runQueued : 0, runState: 3
Generating the key and certificate files.
Successfully generated the key and certificate files.
2018-03-28T19:47:32Z| Upgrader: Upgrader runQueued : 0, runState: 3
vmware-tools start/running
The configuration of VMware Tools 10.1.10 build-6082533 for Linux for this 
running kernel completed successfully.

You must restart your X session before any mouse or graphics changes take 
effect.

You can now run VMware Tools by invoking "/usr/bin/vmware-toolbox-cmd" from the
command line.

To enable advanced X features (e.g., guest resolution fit, drag and drop, and 
file and text copy/paste), you will need to do one (or more) of the following:
1. Manually start /usr/bin/vmware-user
2. Log out and log back into your desktop session
3. Restart your X session.

Enjoy,

--the VMware team

2018-03-28T19:47:33Z| Upgrader: Upgrader runQueued : 0, runState: 3
2018-03-28T19:47:34Z| Upgrader: Upgrader runQueued : 0, runState: 3
2018-03-28T19:47:35Z| Upgrader: Upgrader runQueued : 0, runState: 3
2018-03-28T19:47:36Z| select returned 1
2018-03-28T19:47:36Z| Upgrader: setting sendCancelOnEnd flag to FALSE
2018-03-28T19:47:36Z| Exiting UpgraderLoop because we are done
2018-03-28T19:47:36Z| Cleaning up /tmp/vmware-root/17c7f2ad...
2018-03-28T19:47:36Z|  done.
2018-03-28T19:47:36Z| Upgrader: To VMX: tools.capability.hgfs_server tools-upgrader 0

 

Leave a Reply

Your email address will not be published.