BES Client Service stopped after upgrading to version 8

(imported topic written by jfschafer)

I upgraded to version 8 pretty much without a hitch. However, I deployed the new BES client as the last step to all our clients and they installed successfully, but the services are stopped. (Even the deploy tool had the option checked to verify BES Client service is running) I can manually start the service and client reports in (or reboot the machine) and all works fine. However, manually doing this or rebooting machines is not a good solution. Any ideas on why this happened? Any Bigfix utilities that I can use to go out and start BES Client service on all machines quickly?

(imported comment written by nberger91)

To get you up and running quickly copy this command line into a bat file and run with elevated rights.

machines.txt should contain a list of your machines (one per line)

for /f %%i in (c:\machines.txt) do sc \%%i start “BESClient”

I’ve also noticed a handful of new clients deployed via the deploy tool have now entered a stopped state, investigating now.

Upgrades via the fixlets seem to be okay.

(imported comment written by jfschafer)

Thanks Nberger! Looks like I may have found a bug in version 8 if what you are seeing is simular. I should have just did the fixlet method. I thought I’d hit all the online machines with the deploy tool as it’s super quick and then use the fixlet to get the machines that come on later. Guess I choose wrong!

(imported comment written by SystemAdmin)

Hello jfschafer, I tried to reproduce the behavior you described but I wasn’t able to recreate the problem. When I run the client deploy tool against a computer with the 7.2.5.22 agent already installed, the deploy tool successfully upgrades the agent and it starts up after the upgrade.

Are you able to reproduce the behavior? If so, we might ask you to collect additional data for us from your systems.

Did you select any advanced options? What deployment method did you use?

(imported comment written by jfschafer)

I didn’t use any advanced options. I used the deploy tool that comes with the BES server install. The deploy log shows succussful installs for all machines (XP, Windows 7, 2003, 2008) but says this for every single client: (notice the line BESClient was installed but is no currently running)

Assembling computer name…

Connecting to remote machine…

Copying installation files…

Opening the Service Control Manager…

Creating the installer service…

Starting the installer service…

Waiting for setup.exe to finish…

Deleting the installer service…

Waiting 10 seconds to verify installation…

Verifying installation…

Waiting 10 seconds to verify installation…

The BESClient was installed, but is not currently running.

The BESClient version ‘8.0.584.0’ is now installed.

Deleting installation files…

Closing connection…

Installation succeeded.

(imported comment written by SystemAdmin)

We have a similar problem here. We used the Fixlet Upgrade task and we have about 15 systems that the client never restarted on after the upgrade.

Edit: Checking some of the systems, the BESClient Upgrade is still running. So something is causing the upgrade to hang.

(imported comment written by SystemAdmin)

Could you post or send us the BES Client install log from one of the computers where the client service didn’t start?

It’s located here:

BigFix Enterprise\BES Client\besclientinstall.log

(imported comment written by SystemAdmin)

Sent via email. John

(imported comment written by mvm-upenn91)

Tyler et al, we’re seeing similar failures. The Client upgrade fixlet is reporting back “Waiting” for a number of systems and haven’t checked in since we pushed it on Saturday. When we look at the machines in person, we’re seeing that the client still looks like 7.x (file dates jive with that), the besclient.exe process is NOT running, and when we try to start it manually (by double-clicking it in Explorer), it starts and then disappears quickly. The Event Viewer gives us:

Event Type: Error
Event Source: BESClient
Event Category: None
Event ID: 2
Date: 8/24/2010
Time: 10:10:31 AM
User: DOMAIN\user
Computer: {computername}
Description:
The description for Event ID ( 2 ) in Source ( BESClient ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: The service process could not connect to the service controller…

I’ll send my besclientinstall.log via email.

Suggestions for how to proceed?

(imported comment written by SystemAdmin)

I wanted to post some general troubleshooting tips for client upgrades because not all of the issues posted on this forum appear to be the same.

  1. Collect the client upgrade log from here if you used the Fixlets to upgrade: \Program Files\BigFix Enterprise\BES Client\besclientinstall.log

  2. Check to see if the BESClientUpgrade.exe process is still running. If it is, messing with the client could corrupt the client installation, you should try to let the upgrade proceed uninterrupted.

  3. Check the Event Log for information related to the BES Client.

  4. Try to record: the operating system, the original installation source (setup.exe, msi, or custom installer), the previous version of the client, the upgrade method (Fixlet, custom source, client deploy tool).

  5. Try running the upgrade by hand. Does it generate any failure messages when run manually? Does it work while the Fixlet failed?

  6. Try upgrading InstallShield and running the upgrade again. See Fixlet #544 in BES Support ‘TROUBLESHOOTING: Upgrade InstallShield 11 Install Engine’.

  7. Check to see if other MSIExec processes are running. It’s possible another installation is blocking ours.

  8. Try manually uninstalling the BES Client, if it fails, you may have a corrupt InstallShield engine.

(imported comment written by SystemAdmin)

Ok, we are investigating a work around for the errors reported here. There appears to be differences between what each user posted but situations where the work around would be used is:

  1. The 7.2 agent is installed, it was installed using the MSI, it won’t uninstall and you get some error message when attempting to do so.

  2. The 7.2 agent is installed, it was installed using the MSI, when you try to run the upgrade the agent service is stopped and the upgrade fails silently.

Work Around:

  1. Remove the following registry keys if they exist:

HKEY_CLASSES_ROOT\Installer\Products\CB3207FBB9131EF45B968C451AF9188F

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Products\CB3207FBB9131EF45B968C451AF9188F

  1. ReRun the 8.0.854 upgrade

(imported comment written by mcalvi91)

got a different error on this but same problem. in our instance, the upgrade removed all the details about the service including image path, start settings, etc. please see below for what is available via the registry.

C:>reg query HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\BESClient

! REG.EXE VERSION 3.0

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\BESClient

REG_SZ

FailureActions REG_BINARY 8051010000000000000000000300000053006500

0100000060EA00000100000060EA00000000000000000000

Start REG_DWORD 0x2

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\BESClient\Security

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\BESClient\Enum