[SOLVED] Unable to start all of the blackberry services

Are you using the Zimbra Connector for BlackBerry? Post your comments and questions here.
Post Reply
scasperson
Posts: 7
Joined: Sat Sep 13, 2014 1:37 am

[SOLVED] Unable to start all of the blackberry services

Post by scasperson »

Hi Everyone
Im having an issue with our blackberry server not starting up completely. I have only recently had it setup, and working with only a single blackberry for a few days, then suddenly it all stopped working.
I am running Server 2008r2 with office 2007 sp2 and the blackberry enterprise server express 5.0.2 using the 6.5 zimbra connector talking to a 6.0.8 zimbra server running on cent-os 5.5 x64.
I believe I have set it up correctly using the zimbra documentation since I had it working for a few days, but after doing some screwing around on the phone itself, it suddenly stopped working. No emails come in to the phone and no emails go out.
When I look at the services on the machine the following are running

Administration Service - Application Server

Administration Service - Native Code Container

Alert

Dispacher

MDS Connection Service

Router
When I start the controller service, the rest of the blackberry services start, then after a few seconds, they all stop.
The only thing I have done on the phone from when it was working to when it all fell apart was try to disable send email to handheld, and re-enable it, and also try to get the phone to sync sub folders of the mailbox.
So far on the server, I have recreated the outlook profiles again, and used the IEMSTest utility to open them up which seem to work ok. And I've changed the SRP keys on the server to a different one (I applied for 9 keys when I registered for the express server)
Here is a dump of the MAGT log since it think it may be usefull
Current Date: 2010/10/22

[DIAG] EVENT=Thread_report, THREADID=0x110C, THREADNAME="DebugLogger"

[ENV] Current Process: C:Program Files (x86)Research In MotionBlackBerry Enterprise ServerBlackBerryAgent.exe

[ENV] Current Process logged on as: HOBESAdmin, Start Time: Oct 22 2010 09:19:11, Uptime (seconds): 0

[ENV] Current Process id: 5072

[ENV] Computer Host Name: crackleberry-2008r2, OS Version: 6.1, Build number 7600, ServicePack Major 0, ServicePack Minor 0

[ENV] Processor Identifier: Intel64 Family 6 Model 44 Stepping 2

[ENV] Processor Vendor Identifier: GenuineIntel

[ENV] Processor Name String: Intel(R) Xeon(R) CPU X5650 @ 2.67GHz

[ENV] Number of Processors: 1

[ENV] 21 percent of memory in use.

[ENV] Total size of physical memory: 4193848 KB

[ENV] Size of physical memory available: 3272868 KB

[ENV] Size of the committed memory limit: 8385796 KB

[ENV] Size of available memory to commit: 7117396 KB

[ENV] Total size of the user mode portion of the virtual address space of the BES process: 2097024 KB

[ENV] Size of unreserved and uncommitted memory in the user mode portion of the virtual address space of the BES process: 2047744 KB

[ENV] Size of private memory of the BES process: 4512 KB

[ENV] Total HD bytes: 42842714112, Total free bytes = 22554488832

[ENV] System up time: 0 days 00 hrs 01 mins 17 secs

[ENV] Local Time Zone: E. Australia Daylight Time (GMT+10:00)

[ENV] TCP/IP provider (Winsock) File Version: 6.1.7600.16385 (C:WindowsSystem32wsock32.dll)

[ENV] Local machine IP Address = 192.0.1.233

[ENV] Winsock2 file: @%SystemRoot%system32
lasvc.dll,-1000, Version: 6.1.7600.16385 (C:Windowssystem32NLAapi.dll)

[ENV] Winsock2 file: @%SystemRoot%system32wshtcpip.dll,-60103, Version: 6.1.7600.16385 (C:WindowsSystem32mswsock.dll)

[ENV] Winsock2 file: NTDS, Version: 6.1.7600.16385 (C:WindowsSystem32winrnr.dll)

[ENV] Winsock2 file: @%SystemRoot%system32
apinsp.dll,-1000, Version: 6.1.7600.16385 (C:Windowssystem32
apinsp.dll)

[ENV] Microsoft XML Parser 6.0: C:WindowsSystem32msxml6.dll, Version: 6.30.7600.16385

[ENV] MSSQL OLEDB provider is available: [SQLOLEDB]

[ENV] SQLCLI provider is available: [SQLNCLI]

[ENV] SQLCLI provider is available: [SQLNCLI10]

[ENV] MDAC version: 6.1.7600.16385

[ENV] MSADO15.DLL: C:Program Files (x86)Common FilesSystemadomsado15.dll, Version: 6.1.7600.16385

[ENV] Running Process: System, ID: 4

[ENV] Running Process: smss.exe, ID: 216

[ENV] Running Process: csrss.exe, ID: 320

[ENV] Running Process: wininit.exe, ID: 372

[ENV] Running Process: csrss.exe, ID: 380

[ENV] Running Process: winlogon.exe, ID: 416

[ENV] Running Process: services.exe, ID: 476

[ENV] Running Process: lsass.exe, ID: 484

[ENV] Running Process: lsm.exe, ID: 492

[ENV] Running Process: svchost.exe, ID: 636

[ENV] Running Process: svchost.exe, ID: 724

[ENV] Running Process: LogonUI.exe, ID: 800

[ENV] Running Process: svchost.exe, ID: 808

[ENV] Running Process: svchost.exe, ID: 844

[ENV] Running Process: svchost.exe, ID: 888

[ENV] Running Process: svchost.exe, ID: 936

[ENV] Running Process: svchost.exe, ID: 980

[ENV] Running Process: svchost.exe, ID: 316

[ENV] Running Process: spoolsv.exe, ID: 1172

[ENV] Running Process: Microsoft.ActiveDirectory.WebServices.exe, ID: 1204

[ENV] Running Process: BAS-NCC.exe, ID: 1280

[ENV] Running Process: BBAttachServer.exe, ID: 1304

[ENV] Running Process: BlackBerryController.exe, ID: 1324

[ENV] Running Process: BlackBerryDispatcher.exe, ID: 1364

[ENV] Running Process: bmds.exe, ID: 1432

[ENV] Running Process: BlackberryRouter.exe, ID: 1488

[ENV] Running Process: BESAlert.exe, ID: 1728

[ENV] Running Process: dfsrs.exe, ID: 1824

[ENV] Running Process: dns.exe, ID: 1872

[ENV] Running Process: BlackBerryExtension.exe, ID: 1884

[ENV] Running Process: conhost.exe, ID: 1916

[ENV] Running Process: ismserv.exe, ID: 1976

[ENV] Running Process: mdm.exe, ID: 2040

[ENV] Running Process: sqlservr.exe, ID: 1540

[ENV] Running Process: vdsldr.exe, ID: 2036

[ENV] Running Process: svchost.exe, ID: 1808

[ENV] Running Process: sppsvc.exe, ID: 1584

[ENV] Running Process: sqlbrowser.exe, ID: 1252

[ENV] Running Process: sqlwriter.exe, ID: 2052

[ENV] Running Process: vmtoolsd.exe, ID: 2128

[ENV] Running Process: wlms.exe, ID: 2236

[ENV] Running Process: BBAttachMonitor.exe, ID: 2528

[ENV] Running Process: conhost.exe, ID: 2552

[ENV] Running Process: BBConvert.exe, ID: 2572

[ENV] Running Process: conhost.exe, ID: 2580

[ENV] Running Process: BBConvert.exe, ID: 2620

[ENV] Running Process: conhost.exe, ID: 2628

[ENV] Running Process: BBConvert.exe, ID: 2652

[ENV] Running Process: conhost.exe, ID: 2660

[ENV] Running Process: BBConvert.exe, ID: 2684

[ENV] Running Process: conhost.exe, ID: 2692

[ENV] Running Process: BAS-AS.exe, ID: 1784

[ENV] Running Process: dfssvc.exe, ID: 3096

[ENV] Running Process: VMUpgradeHelper.exe, ID: 3168

[ENV] Running Process: dllhost.exe, ID: 4044

[ENV] Running Process: vds.exe, ID: 4348

[ENV] Running Process: svchost.exe, ID: 4484

[ENV] Running Process: taskhost.exe, ID: 4496

[ENV] Running Process: WmiPrvSE.exe, ID: 4552

[ENV] Running Process: dllhost.exe, ID: 4588

[ENV] Running Process: BlackBerrySyncServer.exe, ID: 4748

[ENV] Running Process: BlackBerryMailStoreSrvr.exe, ID: 4832

[ENV] Running Process: BlackBerryPolicyServer.exe, ID: 5028

[ENV] Running Process: dllhost.exe, ID: 5064

[ENV] Running Process: BlackBerryAgent.exe, ID: 5072

[ENV] Running Process: conhost.exe, ID: 5092

[DIAG] EVENT=Syslog_connected, EVENTMSG="Connected to 127.0.0.1"

Starting BlackBerry Mailbox Agent 1 for Server crackleberry - Version 5.0.2.15

[DIAG] EVENT=Register_thread, THREADID=0x1178, THREADNAME="ExtUDPLogThread"

Waiting for external UDP log messages on port 4085

Controller: This BES Agent is under control of BlackBerry Controller

Controller: Extension Process Configuration id 1

Proxy specified for unnamed extension with id 1

Controller: End of Extension Configuration

Waiting for Controller to provide Extension configuration information

BES Cryptographic Kernel module is initialized and working properly

More cache hit rate: 0.0%, requests: 0, adds: 0, size: 0.0/30.0 Mb

ExtMore cache hit rate: 0.0%, requests: 0, adds: 0, size: 0/20000

Attachment cache hit rate: 0.0%, requests: 0, adds: 0, size: 0.0/30.0 Mb

Address cache hit rate: 0.0%, requests: 0, adds: 0, size: 0

Failed cache hit rate: 0.0%, requests: 0, adds: 0, size: 2

Starting Database

ADO ConnectionTimeout value = 30s

ADO ConnectionTimeout for re-initalizing the pool = 45s

{ConnectionPool::PostConnectWork()}: Using connection pool with limit of 100 connections

[ENV] [DB] Connection String = Server=CRACKLEBERRY-2008R2BLACKBERRY;Database=BESMgmt;Network=dbmssocn;Trusted_Connection=Yes

[ENV] [DB] DBMS Name = Microsoft SQL Server; DBMS Version = 09.00.4053; Provider Name = sqlncli.dll; Provider Friendly Name = Microsoft SQL Native Client; OLE DB Version = 02.80; Provider Version = 9.00.4035.00; Failover Partner =

[ENV] [DB] Database Schema Version: 5.0.2

ADO ConnectionTimeout value = 30s

ADO ConnectionTimeout for re-initalizing the pool = 45s

AddPagerToList(scasperson@betterequine.com.au) - UserId=2

AddPagerToList(kpatel@betterequine.com.au) - UserId=3

[CFG] 3DES encryption keys are ENABLED on this server

[CFG] AES256 encryption keys are ENABLED on this server

Starting Message System

Using MAPI profile BlackBerryServer

MailboxManager::SubsystemInitialize - Using MAPI profile 'BlackBerryServer'

Controller: closing

Controller: Requested to stop

MailboxManager::TestOpenMsgStore - OpenMsgStore (0x8004011d)

MailboxManager::SetProfileProp - HrSetOneProp(BlackBerryServer_Agent1,0x66040003) Value=36868

MailboxManager::TestOpenMsgStore - OpenMsgStore (0x8004011d)

MailboxManager::SetProfileProp - HrSetOneProp(BlackBerryServer_Agent1,0x66190003) Value=10

MailboxManager::SetProfileProp - HrSetOneProp(BlackBerryServer_Agent1,0x66040003) Value=4100

MailboxManager::TestOpenMsgStore - OpenMsgStore (0x8004011d)

MailboxManager::SetProfileProp - HrSetOneProp(BlackBerryServer_Agent1,0x66040003) Value=36868

MailboxManager::TestOpenMsgStore - OpenMsgStore (0x8004011d)

MailboxManager::SetProfileProp - HrSetOneProp(BlackBerryServer_Agent1,0x66190003) Value=9

MailboxManager::SetProfileProp - HrSetOneProp(BlackBerryServer_Agent1,0x66040003) Value=4100

MailboxManager::TestOpenMsgStore - OpenMsgStore (0x8004011d)

MailboxManager::SetProfileProp - HrSetOneProp(BlackBerryServer_Agent1,0x66040003) Value=36868

MailboxManager::TestOpenMsgStore - OpenMsgStore (0x8004011d)

MailboxManager::TestOpenMsgStore - OpenMsgStore (0x8004011d)

MailboxManager::SetProfileProp - HrSetOneProp(BlackBerryServer_Agent1,0x66040003) Value=4100

MailboxManager::TestOpenMsgStore - OpenMsgStore (0x8004011d)

MailboxManager::SetProfileProp - HrSetOneProp(BlackBerryServer_Agent1,0x66190003) Value=10

MailboxManager::SetProfileProp - HrSetOneProp(BlackBerryServer_Agent1,0x66040003) Value=36868

MailboxManager::TestOpenMsgStore - OpenMsgStore (0x8004011d)

MailboxManager::SetProfileProp - HrSetOneProp(BlackBerryServer_Agent1,0x66040003) Value=4100

MailboxManager::TestOpenMsgStore - OpenMsgStore (0x8004011d)

MailboxManager::SetProfileProp - HrSetOneProp(BlackBerryServer_Agent1,0x66190003) Value=9

MailboxManager::SetProfileProp - HrSetOneProp(BlackBerryServer_Agent1,0x66040003) Value=36868

MailboxManager::TestOpenMsgStore - OpenMsgStore (0x8004011d)

MailboxManager::SetProfileProp - HrSetOneProp(BlackBerryServer_Agent1,0x66040003) Value=4100

MailboxManager::TestOpenMsgStore - OpenMsgStore (0x8004011d)

MailboxManager::SubsystemInitialize - OpenMsgStore (0x8004011d)

[ENV] MAPI32.DLL: C:Windowssystem32MAPI32.dll, Version: 1.0.2536.0

[ENV] CDO.DLL: C:Program Files (x86)Common FilessystemMSMAPI3081\cdo.dll, Version: 6.5.8153.0

[ENV] Microsoft Management Console (MMC): C:Windowssystem32mmc.exe, Version: 6.1.7600.16385

[ENV] Failed to read 001e6602 reg value from the BlackBerry MAPI profile.

[ENV] BlackBerry Mailbox Agent 1 - BESX Version 5.0.2.15

[ENV] BES Service Name: BlackBerry Mailbox Agent

[ENV] BlackBerry Dispatcher: C:Program Files (x86)Research In MotionBlackBerry Enterprise ServerBlackBerryDispatcher.exe, Version: 5.0.2.12

[ENV] BlackBerry User Administration Service: NOT FOUND

[ENV] BlackBerry MDS Connection Service: C:Program Files (x86)Research In MotionBlackBerry Enterprise ServerMDSinmds.exe, Version: 5.0.2.22

[ENV] BlackBerry Database Consistency Service: NOT FOUND

[ENV] BlackBerry Policy Service: C:Program Files (x86)Research In MotionBlackBerry Enterprise ServerBlackBerryPolicyServer.exe, Version: 5.0.2.15

[ENV] BlackBerry Synchronization Service: C:Program Files (x86)Research In MotionBlackBerry Enterprise ServerSyncServerBlackBerrySyncServer.exe, Version: 5.0.2.12

[ENV] BlackBerry Router: C:Program Files (x86)Research In MotionBlackBerry Enterprise ServerBypassRouterBlackberryRouter.exe, Version: 5.0.2.12

[ENV] BlackBerry Controller: C:Program Files (x86)Research In MotionBlackBerry Enterprise ServerBlackBerryController.exe, Version: 5.0.2.15

[ENV] BlackBerry Alert: C:Program Files (x86)Research In MotionBlackBerry Enterprise ServerBESAlert.exe, Version: 5.0.2.15

[ENV] BlackBerry Attachment Service: C:Program Files (x86)Research In MotionBlackBerry Enterprise ServerAttachServerBBAttachServer.exe, Version: 5.0.2.14

[ENV] Total number of requests for connections: 22

[ENV] Number of waits for connections since service was started: 0

[ENV] [DB] Database Schema Version: 5.0.2

[ENV] [DB] Connection String = Server=CRACKLEBERRY-2008R2BLACKBERRY;Database=BESMgmt;Network=dbmssocn;Trusted_Connection=Yes

[ENV] [DB] DBMS Name = Microsoft SQL Server; DBMS Version = 09.00.4053; Provider Name = sqlncli.dll; Provider Friendly Name = Microsoft SQL Native Client; OLE DB Version = 02.80; Provider Version = 9.00.4035.00; Failover Partner =

[CFG] BES failover mode is ACTIVE

[CFG] Address Lookup is enabled

[CFG] LDAP search is disabled, LDAP PIM search is disabled, LDAP ALP search is disabled

[CFG] Using up to 10 external CDO Helpers in keep-alive mode

[CFG] AddOwnerApptID is disabled

[CFG] SetLocaleIDs is disabled

[CFG] OTAFM hard-delete server support is disabled, rescans are 0x00

[CFG] vCard conversion support has been enabled

[CFG] GlobalRescan config: messaging:O, calendar:O, pim:O

[CFG] EnableExceptionStackTrace is disabled

[CFG] MAPI Encoding is 1

BlackBerry Messaging Agent crackleberry Agent 1 failed to start. Error code 5305

Stopping BlackBerry Mailbox Agent 1 for Server crackleberry

[DIAG] EVENT=Register_thread, THREADID=0x17B0, THREADNAME="TimerThread"

[DEBUG] EVENTMSG="TimerThread thread started"

ExtUDPLogThread: Code on closing = 0

[DIAG] EVENT=Unregister_thread, THREADID=0x1178, THREADNAME="ExtUDPLogThread"

BlackBerry server terminated as it failed to shutdown in 40 seconds

Any idea on why this might be failing :confused:
scasperson
Posts: 7
Joined: Sat Sep 13, 2014 1:37 am

[SOLVED] Unable to start all of the blackberry services

Post by scasperson »

UPDATE:
I also have tried the startup and shutdown service sequence, but when I start up the controller service, it automatically kicks up the remaining services, and then shuts them all down.
When I start the controller service, the following start up (in that order I think)
Mail Store Service

Synchronization Service

Policy Service
Then these services stop with the controller service.
I dont know if I am able to follow the guidelines on starting and stopping services when the controller services does these actions.
eugener
Advanced member
Advanced member
Posts: 187
Joined: Fri Sep 12, 2014 11:57 pm

[SOLVED] Unable to start all of the blackberry services

Post by eugener »

Perhaps repair of zcb connector will help (Add/Remove programs->focus on zcb connector)->Repair.
scasperson
Posts: 7
Joined: Sat Sep 13, 2014 1:37 am

[SOLVED] Unable to start all of the blackberry services

Post by scasperson »

That worked a treat! I was baning my head against a wall for hours trying to figure why it wasn't working. :)
nexed
Posts: 4
Joined: Sat Sep 13, 2014 12:40 am

[SOLVED] Unable to start all of the blackberry services

Post by nexed »

This solution works... but why?
Repairing the Zimbra BES connector each time the BlackBerry Controller fails to remain started is clearly a problem...


Any permenant fixes for this?
ebory
Posts: 7
Joined: Fri Sep 12, 2014 11:55 pm

[SOLVED] Unable to start all of the blackberry services

Post by ebory »

[quote user="scasperson"]That worked a treat! I was baning my head against a wall for hours trying to figure why it wasn't working. :)[/QUOTE]
WOW ... me too !

thank !
profion
Posts: 1
Joined: Sat Sep 13, 2014 1:06 am

[SOLVED] Unable to start all of the blackberry services

Post by profion »

OK, this is really serious problem..
Zimbra didn't fix that issue on old connector, and didn't fix that on new one for BES express...
WHY?!? - I spent today 3hrs for nothing.. All I had to do is repair connector..
Why this happend after 1.5month of smooth run?
:mad::mad::mad:
xeon
Outstanding Member
Outstanding Member
Posts: 208
Joined: Fri Sep 12, 2014 11:50 pm

[SOLVED] Unable to start all of the blackberry services

Post by xeon »

Could have been a Windows Update that caused a change in the ZCB DLLs. Its recommended to turn off Windows Updates. Not sure if this is official word, but after I apply Windows Updates (in a maintenance window of course) I update/repair ZCB, just in case.
15127Michi
Posts: 10
Joined: Sat Sep 13, 2014 2:20 am

[SOLVED] Unable to start all of the blackberry services

Post by 15127Michi »

the repair tipp worked for me to, but this can´t be the solution?
Post Reply