BES--Blackberry Controller Service won't start

PC4N6 used Ask the Experts™
I recently did a VM conversion to a SBS 2003 server and after I can't restart the Blackberry Controller Service.  Im getting the error:

Event Type:      Error
Event Source:      Service Control Manager
Event Category:      None
Event ID:      7024
Date:            8/8/2011
Time:            11:09:37 AM
User:            N/A
Computer:      XXXXXX
The BlackBerry Controller service terminated with service-specific error 5003 (0x138B).

For more information, see Help and Support Center at

Any ideas?
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®


I was able to get this going again.  The service accounts were wrong.  Now my end user is saying that red X's are still appearing.  The server is up and running.  What do I need to do to re-push data and get his phone back online?  I have version


Make sure the service account you are using has the correct Exchange Permissions - these vary dependiing on which version of Exchange you are using but can be found at the front of the Installation & Configuration Guide.




I was told by Verizon that the account should be deleted and then recreated and sent the new pin.  When I delete the account and try to add it again I get an error that says there is not an available license.  I looked online and found the command line of deleting the user, but when I type in
osql -E it returns an error and says:
server does not exist or access denied

Please help, I need to get this user readded and getting emails
@ Login to the server with the account (besadmin or etc) under which the blackberry services are running.
@ check the permissions properly assigned or not by following the below KB:

@ Next check whether you have the proper licenses are not?
@  Try using this command sequence to manually initiate the purging of deleted users, so that you can add them again:

-open command prompt
osql -E
1>use BESMgmt
2>select DisplayName from UserConfig

This will (should) give you an output with all the DisplayName's in your database. Locate the user in question, and then follow the next steps:

-still in the command prompt
1>use BESMgmt
2>delete from UserConfig where DisplayName=xxx8221;name from last stepxxx8221;

If the user is in Pending State

1. Open command prompt
2. Type "osql -E"

3. 1>use BESMgmt
4. 2>go
5. 1>delete from userconfig where mailboxsmtpaddr=''<email address>''
6. 2>go

where BESMgmt is BlackBerry Database.
If once you are able to add the user (have to add the user by login to the server with besadmin or under which the services running.)

Sorry to post again:
For the Controller issue, which is not starting
please check whether the port 4070 and 4071 are open or not?

To work around this issue, complete the following tasks:
1.Reserve the port that is being utilized by the other application.
For instructions on reserving the ports that are required by BlackBerry Enterprise Server services, please see MicroSoft KB812873, for "How to reserve a range of ephemeral ports on a computer that is running Windows Server 2003 or Windows 2000 Server". For this particular issue with starting the BlackBerry Controller service, reserve ports 4070 and 4071

Warning: Changes to the registry can cause substantial damage to the Windows operating system. Document and back up the registry entries before implementing any changes.

2.Change the value of the Syslog User Datagram Protocol (UDP) port using the following two registry keys to use the same ports that were reserved (4070 and 4071).  
•HKEY_LOCAL_MACHINE\SOFTWARE\Research In Motion\BlackBerry Enterprise Server\Agents\SysLogHost
•HKEY_LOCAL_MACHINE\SOFTWARE\Research In Motion\BlackBerry Enterprise Server\Logging Info\Mailbox Agent\SysLogHost
Note: These keys are entered as a String value like "localhost:4071,localhost:4070" without quotations.
3.Restart the BlackBerry Enterprise Server.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial