You can't deny you have not read the install/upgrade guides and admin manuals. Bad.
DB2 is not supported for BES Configuration database.
<snip>
[30000] (01/04 21:24:51.929):{0x1D30} <4>Jan 04 21:24:51 BLACKBERRYSERVER {0x1CC4} 0198: (#25000) ConnectionItem::ConnectToDB: COM Error 0x80040E4D - IDispatch error #3149 - Source: "IBM OLE DB Provider for DB2" - Description " SQL1013N The database alias name or database name "BESMGMT" could not be found. SQLSTATE=42705 " - Command "Provider=IBMDADB2;DSN=BESMgmt;"
[30000] (01/04 21:24:51.929):{0x1D30} <5>Jan 04 21:24:51 BLACKBERRYSERVER {0x1CC4} 0199: (#35028) {ConnectionPool::InitializePool()} Pool Initialization failed for attempt 1 of 5
[30000] (01/04 21:25:01.929):{0x1D30} <5>Jan 04 21:25:01 BLACKBERRYSERVER {0x1CC4} 0200: (#35028) {ConnectionPool::InitializePool()} Pool Initialization failed for attempt 2 of 5
[30000] (01/04 21:25:11.945):{0x1D30} <5>Jan 04 21:25:11 BLACKBERRYSERVER {0x1CC4} 0201: (#35028) {ConnectionPool::InitializePool()} Pool Initialization failed for attempt 3 of 5
[30000] (01/04 21:25:21.961):{0x1D30} <5>Jan 04 21:25:21 BLACKBERRYSERVER {0x1CC4} 0202: (#35028) {ConnectionPool::InitializePool()} Pool Initialization failed for attempt 4 of 5
[30000] (01/04 21:25:31.961):{0x1D30} <5>Jan 04 21:25:31 BLACKBERRYSERVER {0x1CC4} 0203: (#35028) {ConnectionPool::InitializePool()} Pool Initialization failed for attempt 5 of 5
[30000] (01/04 21:25:31.961):{0x1D30} <3>Jan 04 21:25:31 BLACKBERRYSERVER {0x1CC4} 0204: (#10000) VerifyVersions: Failed to connect to database.
[30000] (01/04 21:25:31.961):{0x1D30} <3>Jan 04 21:25:31 BLACKBERRYSERVER {0x1CC4} 0205: (#10000) The setup application found one or more instances of BlackBerry® Enterprise Server version 4.1.2 or earlier, which is not compatible with BlackBerry Enterprise Server version 5.0 or later. You must upgrade or remove the incompatible BlackBerry Enterprise Server instances, or create a new BlackBerry Domain for the BlackBerry Enterprise Server that you are installing.
[30000] (01/04 21:25:48.195):{0x1D30} <5>Jan 04 21:25:48 BLACKBERRYSERVER {0x1CC4} 0206: (#30000) [PIPTOOL]: Cancelling PIPTool from CDBInfoDlg.
[30000] (01/04 21:25:48.195):{0x1D30} <3>Jan 04 21:25:48 BLACKBERRYSERVER {0x1CC4} 0207: (#10000) [PIPTOOL]: Executing stop from CDBInfoDlg.
</snip>
BES 5.0 SP1 not supported already, don't need to consider version 5.0.
<quote>
The BlackBerry Enterprise Server version 5.0 SP1 and BlackBerry Enterprise Server components do not support IBM DB2 UDB.
</quote>
Source:
Unsupported environments