MEMORIAL DAY SALE: Save 15% on ALL BlackBerry accessories this weekend!
Join Our 3 MILLION+ Members Today! Register Here | Login
Go Back   BlackBerry Forums at CrackBerry.com > BlackBerry Professionals > BlackBerry Administrators

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
    Thread Author   #1  
Old 10-29-2009, 01:36 AM
CrackBerry Newbie
Device(s): 8310 (Curve)
Carrier: Optus
 
Join Date: Oct 2009
Posts: 3
Likes Received: 0
Thanked 0 Times in 0 Posts
Default BES 4.1.4 to 4.1.6 Upgrade query

Hi All,

I was wondering if anyone can assist with an issue I am experiencing when attempting to upgrade my BES from 4.1.4 to 4.1.6.

When I ran through the upgrade process an error was returned with the following" An attempt to upgrade the database was unsuccessful. An error occured while executing an SQL statement".

Below is what I found in the logs. Any ideas if this error could be because my BES system account does not have SYS admin rights to the BES config database? My SQL databse admins are a bit security concious!

Below is a copy of the log.

[30000] (10/14 21:28:09.259):{0xE44} Progress update 500. Current position is 8088 of 8088 = 100%

[30000] (10/14 21:28:09.259):{0xE44} Executing file [c:\Program Files\Research In Motion\BlackBerry Enterprise Server\Logs\Installer\BES_SQL_Generated\SchedulePu rgeJobsV091014212809.sql]

[30000] (10/14 21:28:09.259):{0xE44} SQL being executed:

/************************************************** **************************

SchedulePurgeJobs.sql



This SQL script will create the jobs that will remove old data



Procedure List:



(C) 1997-2004 Research In Motion Limited.

************************************************** **************************/



/*



Note - There is no easy of determining if these jobs exists unless one is a member of

sysadm (as queries would be needed against msdb tables and public doesn't have access).



Thus, the installer program running this script will suppress errors that get reported

when the job already exists.



*/



USE msdb

[30000] (10/14 21:28:09.259):{0xE44} SQL executed successfully

[30000] (10/14 21:28:09.259):{0xE44} SQL being executed:

/*+---------------------------------------------------------------------------

* RIMPurgeHistory - delete rows from ServerConfigHistory table

*+--------------------------------------------------------------------------*/

exec sp_add_job 'RIMPurgeHistoryBesMgmt',

@description = 'Remove old data from history table'

[20000] (10/14 21:28:09.259):{0xE44} [CBESDBInstaller::ExecuteDDL] COM Error 0x80040E09 - IDispatch error #3081 - Source: "Microsoft OLE DB Provider for SQL Server" - Description "The EXECUTE permission was denied on the object 'sp_add_job', database 'msdb', schema 'dbo'." Native error = 229

[20000] (10/14 21:28:09.259):{0xE44} [CBESDBInstaller::ExecuteDDL] SQL Error for /*+---------------------------------------------------------------------------

* RIMPurgeHistory - delete rows from ServerConfigHistory table

*+--------------------------------------------------------------------------*/

exec sp_add_job 'RIMPurgeHistoryBesMgmt',

@description = 'Remove old data from history table'

[30000] (10/14 21:29:50.137):{0xE44} [PIPTOOL]: Exiting PIPTool from DBInfoDlg.

====== END OF LOG ======
Reply With Quote Tip this Post
  #2  
Old 10-29-2009, 07:25 AM
CrackBerry Addict
Device(s): 9780 and Playbook
Carrier: Orange
 
Location: Up North...UK
Join Date: Sep 2008
Posts: 601
Likes Received: 8
Thanked 2 Times in 2 Posts
Default

I think you have already answered your own question rqi253. The error being
"The EXECUTE permission was denied on the object 'sp_add_job', database 'msdb', schema 'dbo'."

To me this says the the bes admin account doesnt have the require privileges on the msdb database. Have you sent this error to your SQL admin for his opinion?
__________________
Personal website and blog | Flickr photostream
We are what we repeatedly do. Excellence, therefore, is not an act but a habit - Aristotle
Reply With Quote Tip this Post
  #3  
Old 10-31-2009, 02:12 AM
CrackBerry Abuser
Device(s): 8520 (Curve)
Carrier: Vodafone
 
Join Date: Jul 2009
Posts: 123
Likes Received: 0
Thanked 0 Times in 0 Posts
Default

Check SQL Login credentials and permissions for BESAdmin over the SQL. Make sure that BESAdmin is in the Local Admin Group.
__________________
Those who like me raise their hands... Those who not raise their choice level...
Reply With Quote Tip this Post
    Thread Author   #4  
Old 11-03-2009, 04:57 AM
CrackBerry Newbie
Device(s): 8310 (Curve)
Carrier: Optus
 
Join Date: Oct 2009
Posts: 3
Likes Received: 0
Thanked 0 Times in 0 Posts
Default

Thanks all. It was do do with the privileges of my BES account. Once the account was given the SYS ADMIN privileges I had no further issues. It was good to bounce this off a couple of people!

Cheers
RQI253
Reply With Quote Tip this Post
  #5  
Old 11-03-2009, 11:18 AM
CrackBerry Addict
Device(s): 9780 and Playbook
Carrier: Orange
 
Location: Up North...UK
Join Date: Sep 2008
Posts: 601
Likes Received: 8
Thanked 2 Times in 2 Posts
Default

No problem rqi253, glad we could help.
__________________
Personal website and blog | Flickr photostream
We are what we repeatedly do. Excellence, therefore, is not an act but a habit - Aristotle
Reply With Quote Tip this Post
Reply
BlackBerry Forums at CrackBerry.com > > BlackBerry Professionals > BlackBerry Administrators   BES 4.1.4 to 4.1.6 Upgrade query

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes