BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 04-26-2013, 05:48 AM   #1
gbcwHolla
New Member
 
Join Date: Apr 2013
Model: 9800
PIN: N/A
Carrier: Dunno
Posts: 2
Unhappy Problems installing BES 5.0.4

Please Login to Remove!

Hi Guys,

I’ve come across an issue while trying to install BES 5.0.4, I hope you guys can help.
After three days of looking up KB articles and double checking documentation, I’m about to pull the last gray hair out!

This is a fresh install on brand new servers, here’s our setup.

Blackberry Enterprise Server is hosted on a VM running Windows Server 2008 R2.
The BESMgmt database is on a separate Windows Server 2008 R2 VM running SQL Server 2008 R2 Standard Edition.

The BES Admin account is an AD account setup according to the following KB article: KB02276-Assigning service account permissions for a BlackBerry Enterprise Server for Microsoft Exchange

The install goes fine until the very last stage where you are prompted to start the services.
I click on start services, and a progress bar appears, then, after a couple of seconds a “Error writing to Database” dialog appears.
When I click Ok, the installer shuts down.

I’ve checked the installer logs and the following lines are standing out:

{0xEBC} 1664: (#30000) CBASUtilitiesCon::Decode - About to run batch file command: ["C:\Program Files (x86)\Java\jre1.6.0_31\bin\java.exe" -cp "C:\Program Files (x86)\Research In Motion\BlackBerry Enterprise Server\BAS\lib\basServerSystem.jar" com.rim.bes.bas.system.Encoder decodeAES_HEX "XXXXXXXX" "XXXXXXXX"]
{0xEBC} 1665: (#10000) CBASUtilitiesCon::Execute - Exit code was [0]
{0xEBC} 1666: (#10000) CBASUtilitiesCon::Execute - Error with empty output file [C:\Program Files (x86)\Research In Motion\BlackBerry Enterprise Server\BAS\bin\basutility.tmp]
{0xEBC} 1667: (#10000) CBASUtilitiesCon::Decode - Failed to decode digest, return code [7]
{0xEBC} 1668: (#30000) CBASUtilitiesCon::QueryWebGenKeyPasswordRegistry failed to decode password, code [7], setting it to empty
{0xEBC} 1669: (#30000) CBASUtilitiesCon::QueryWebGenKeyPasswordRegistry result is [56]

And then further down the log is see this:

{0xB6C} 1979: (#20000) [ODBCRecord::DoCreateRecord] SQL error: [0x80040E2F Cannot insert duplicate key row in object 'dbo.BASTraits' with unique index 'UK_BASTraits_TriatIdPluginIdObjectIdsMetaDataSetI temId'. The duplicate key value is (1, 111, <NULL>, <NULL>, <NULL>, <NULL>).] Source: [Microsoft OLE DB Provider for SQL Server] SQL State: [23000] NativeError: [2601]
{0xB6C} 1980: (#20000) [ODBCRecord::DoCreateRecord] SQL error: [0x80040E2F The statement has been terminated.] Source: [Microsoft OLE DB Provider for SQL Server] SQL State: [01000] NativeError: [3621]
{0xB6C} 1981: (#20000) [ODBCRecord::DoCreateRecord] COM Error 0x80040E2F - IDispatch error #3119 - Source: "Microsoft OLE DB Provider for SQL Server" - Description "Cannot insert duplicate key row in object 'dbo.BASTraits' with unique index 'UK_BASTraits_TriatIdPluginIdObjectIdsMetaDataSetI temId'. The duplicate key value is (1, 111, <NULL>, <NULL>, <NULL>, <NULL>)."
{0xB6C} 1982: (#20000) [ODBCRecord::DoCreateRecord] SQL = "SET NOCOUNT ON; INSERT INTO BASTraits (Value, TraitId, PluginId) VALUES (?, ?, ?) ; SELECT SCOPE_IDENTITY(); SET NOCOUNT OFF".
{0xB6C} 1983: (#20000) [ODBCRecord::DoCreateRecord] DATA = "Value[MYDOMAIN.COM] TraitId[1] PluginId[111] ".
{0xB6C} 1984: (#10000) ADSettings could not write user domain [MYDOMAIN.COM] to the database
{0xB6C} 1985: (#10000) [PIPTOOL]: Start Service failed to update AD Settings, code [13]

I tried the fix suggested in KB26624 but to no avail. KB26624-"Error writing to database" is displayed after clicking on "Start Services" when installing the BlackBerry Enterprise Server
Also, the BESAdmin password contains no special characters.

Anybody out there got any ideas?

Cheers...
Offline  
Old 04-28-2013, 09:27 AM   #2
nobody7290
BlackBerry Extraordinaire
 
Join Date: Mar 2006
Model: 9700
Carrier: t-mobile Germany
Posts: 1,381
Default Re: Problems installing BES 5.0.4

This looks like two different problems. Something is wrong with the database and something is probably wrong with the java runtime.
Uninstall the blackberry server. Remove all instances of jre you have on the computer if possible.

If the Database is on a different server, make sure, the besadmin account has local administrator priviliedges there and, give him all rights to the sql server.
unstall the Server, remove the database, install again.
Or: creat the datbase with the script which comes with the BES installer locally on the SQL-Server.
Then try a new BES installation.

Last edited by nobody7290; 04-28-2013 at 10:34 AM..
Offline  
Old 05-01-2013, 08:18 AM   #3
gbcwHolla
New Member
 
Join Date: Apr 2013
Model: 9800
PIN: N/A
Carrier: Dunno
Posts: 2
Default Re: Problems installing BES 5.0.4

Well, after many hours trying to figure out what the problem was, I just re-installed SQL Server. The install was exactly the same as before as were the permissions assigned and it worked. BES 5.0.4 successfully installed. Very weird.
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads for: Problems installing BES 5.0.4
Thread Thread Starter Forum Replies Last Post
BES 10 Installation Problems GrandMstrBud BES Admin Corner 16 06-04-2013 02:02 PM
BES Express 5.0.4 and language folders juanjillo BES Admin Corner 2 12-14-2012 07:07 AM
Problems activating a user on BES 4.0.4.8 ldoherty General BlackBerry Discussion 3 08-08-2007 03:54 PM
Problems after fresh installation Domel BES Admin Corner 18 05-18-2007 11:14 AM
Problems installing Blackberry Manager after upgrade to SP2 on BES Further BES Admin Corner 2 12-21-2006 05:52 PM


Schneider Electric Energy Server EBX510 Server For Energy Management- picture

Schneider Electric Energy Server EBX510 Server For Energy Management-

$4350.00



Wittmann Material Conveyance System Line Server picture

Wittmann Material Conveyance System Line Server

$550.00



MOXA NPort 5410 4 Port Serial Device Server picture

MOXA NPort 5410 4 Port Serial Device Server

$65.00



Server Books for Waitress PU Leather Waitress Book with Money Pocket Black Serve picture

Server Books for Waitress PU Leather Waitress Book with Money Pocket Black Serve

$13.14



MEDIA SERVER DOLBY IMS2000 MSIP-REM-DIB-IMS2000 picture

MEDIA SERVER DOLBY IMS2000 MSIP-REM-DIB-IMS2000

$799.99



Weidmüller WI-MOD-945-E (6720005015) Wireless Ethernet & Serial Device Server picture

Weidmüller WI-MOD-945-E (6720005015) Wireless Ethernet & Serial Device Server

$129.99







Copyright © 2004-2016 BlackBerryForums.com.
The names RIM © and BlackBerry © are registered Trademarks of BlackBerry Inc.