Friday 9 May 2014

Exchange 2010 Service Pack upgrade fails because of TMListen service (1 min fix)

Problem:

Service 'tmlisten' failed to stop due to error:'Cannot stop tmlisten service on computer '.'.'.

There is no service "OfficeScan NT Listener" in the Services list and NET STOP TMLISTEN does not work...

FIX: 1 minute, no restart

Exchange Error message when trying up run service pack:
Summary: 12 item(s). 1 succeeded, 1 failed.
Elapsed time: 00:00:30


Preparing Setup
Completed

Elapsed Time: 00:00:02


Stopping Services
Failed

Error:
The following error was generated when "$error.Clear(); 
          & $RoleBinPath\ServiceControl.ps1 -Operation:DisableServices -Roles:($RoleRoles.Replace('Role','').Split(',')) -SetupScriptsDirectory:$RoleBinPath;
          & $RoleBinPath\ServiceControl.ps1 Stop $RoleRoles.Replace('Role','').Split(',')
        " was run: "Service 'tmlisten' failed to stop due to error:'Cannot stop tmlisten service on computer '.'.'.".

Service 'tmlisten' failed to stop due to error:'Cannot stop tmlisten service on computer '.'.'.

Cannot stop tmlisten service on computer '.'.

The requested control is not valid for this service
Click here for help... http://technet.microsoft.com/en-US/library/ms.exch.err.default(EXCHG.141).aspx?v=14.3.123.3&e=ms.exch.err.Ex88D115&l=0&cl=cp

Elapsed Time: 00:00:27

Languages
Cancelled

Remove Exchange Files
Cancelled

Preparing Files
Cancelled

Copy Exchange Files
Cancelled

Language Files
Cancelled

Restoring services
Cancelled

Languages
Cancelled

Mailbox Role
Cancelled

Management Tools
Cancelled

Finalizing Setup
Cancelled


SOLUTION:

Run RegEdit and locate the following key

HKLM\SYSTEM\CurrentControlSet\Service\tmlisten

Rename the key i.e. tmlisten2







Start exchange service pack install and this time it will work.



Any comments let me know.

Cheers!
Jakub

7 comments:

  1. Why not just disable your Trend Micro Anti-Virus before you install the service pack?

    ReplyDelete
    Replies
    1. Hi Troy at the time we were not provided the password to disable the AV. Disabling the service or killing the exe allowed exchange to be installed.

      Cheers,
      Jakub

      Delete
    2. Hi Troy at the time we were not provided the password to disable the AV. Disabling the service or killing the exe allowed exchange to be installed.

      Cheers,
      Jakub

      Delete
  2. Great blog! Everybody will be helped...

    ReplyDelete
  3. Quick guide. right on spot. superb. thanks.

    ReplyDelete
  4. Great work. You have done an excellent job. Thank you for sharing such a knowledgeable piece of work. In case if you are struggling with QuickBooks Error at any point in time, Feel free to call now at quickbooks 24/7 support phone number: +1-800-496-0147 and get instant assistance from our technical experts.

    ReplyDelete