Yesterday afternoon our BES 4.0 (local MSDE database) was not allowing new users to be added. Blackberry Manager error message is attached.
I could also not add users to a policy. No error was given, but the # of users on the policy didn't increase when I added a person and their account still showed the old policy.
All the services were stopped and started and still the problem occurred. So we had to reboot last night and that's where the true problem revealed itself.
The Dispatcher service failed to start on reboot, so I checked the Dispatcher log. Here's an excerpt of what I found:
Stopping BlackBerry
[30065] (04/25 20:46:37):{0xFBC} Shutdown complete
[50075] (04/25 21:07:41):{0x1038} Starting BlackBerry Dispatcher mail14 - Version 4.0.0.99
[30221] (04/25 21:07:41):{0x1038} BES Cryptographic Kernel module is initialized and working properly.
[30058] (04/25 21:07:41):{0x1038} Starting Database
[30000] (04/25 21:07:42):{0x1038} CheckConfigurationChanges: SRPKey is "intentionally edited from this message"
[30189] (04/25 21:07:42):{0x1038} External Services ENABLED on this BlackBerry Server
[30231] (04/25 21:07:42):{0x1038} 3DES encryption keys are ENABLED on this server
[30231] (04/25 21:07:42):{0x1038} AES256 encryption keys are DISABLED on this server
[10221] (04/25 21:07:42):{0x1038} UpdateAgentId: COM exception.
[10226] (04/25 21:07:42):{0x1038} COM Error 0x45B680 in UpdateAgentId - Could not allocate space for object 'ServerConfigHistory' in database 'besmgmt' because the 'PRIMARY' filegroup is full. - IDispatch error #3092
[10224] (04/25 21:07:42):{0x1038} Database error in UpdateAgentId (err=0x80040E14, native err=1105) - Could not allocate space for object 'ServerConfigHistory' in database 'besmgmt' because the 'PRIMARY' filegroup is full.
[10260] (04/25 21:07:42):{0x1038} Optimization of BES Agents usage failed
[50004] (04/25 21:07:42):{0x1038} Stopping BlackBerry
[30065] (04/25 21:07:42):{0x1038} Shutdown complete
The database was apparently full, even though the actual size was only 97MB and MSDE has a 2GB database limit. Well, it does have a 2GB limit, but not "out of the box" apparently. Called RIM and was given this command to increase the maximum size of the database. Actually the tech told me to use "brackets" in the command and I was put on hold when I got errors running the command. I Googled the command and found that it was actually parenthesis instead.
We have 690 users and just went over a 100MB database size. Some of you may not even be close to that, so I'm posting this message so it's available for future reference. We'll be moving the database to a SQL server in the future, but are waiting for new hardware to arrive.
To INCREASE THE MAXIMUM SIZE of the databse, do the
following:
1. Open a command prompt from the machine running MSDE.
2. Type osql -E and press enter; 1> is displayed.
3. Type alter database besmgmt modify file (name=besmgmt, maxsize=2gb) and press enter; 2> is displayed.
4. Type go and press enter; 1> is displayed.
5. Type exit and press enter to exit out of osql command.
6. Restart the Dispatcher service.