BlackBerryForums.com : Your Number One BlackBerry Community  
   

»Sponsored Links



Reply
 
LinkBack Thread Tools
  (#1 (permalink)) Old
merlin Offline
Thumbs Must Hurt
 
Posts: 109
Join Date: Jan 2005
Location: Yorkshire, England
Model: 8800
PIN: 2059E07F
Carrier: O2 UK
Default Strange error since 4.1.6 on one BES - 07-21-2008, 01:54 PM

Hi all
I have 2 BES servers, BBBES1 and BBBES2, both using the same SQL database on a seperate SQL server. These are running on Win 2k3 with Exchange 2003.

Everything was working well, and I tested and then upgraded both to SP6.

Since then, BBBES2 has been fine. However, BBBES1 is generating errors....They start at about 4am and continue 60 or 70 every minute and the only way to stop them is rebooting.

the errors say

<N/A> | BlackBerry Messaging Agent BBBES1 Agent 1 (Application Event Log on BBBES1) | 07/21/2008 04:11:29 (EFFF2710) -> [DIAG] Error telling the debug trace file position : Permission denied (error : 13)

I have looked at what is running and between 4 and 6am I backup the SQL database. I am pretty sure it isn't this as (a) if I backup during the day it works without the errors and (b) BES2 doesn't complain at all.

The downside is I have the server emailing me when there is an error, and I got about 25000 emails this morning which took ages to delete!

Does anyone have any idea what the error is, where I could look or any handy hints!

Thanks
Merlin
   
Reply With Quote
Sponsored Links
Please Login or Register to Remove these Advertisements!

  (#2 (permalink)) Old
merlin Offline
Thumbs Must Hurt
 
Posts: 109
Join Date: Jan 2005
Location: Yorkshire, England
Model: 8800
PIN: 2059E07F
Carrier: O2 UK
Default 07-21-2008, 04:15 PM

Quick update, I have searched the logs again and notice the first error is:

(EFFF2710) -> [DIAG] Error flushing the debug trace file : Permission denied (error : 13)
   
Reply With Quote
  (#3 (permalink)) Old
knottyrope Offline
CrackBerry Addict
 
knottyrope's Avatar
 
Posts: 615
Join Date: Jan 2008
Location: Massachusetts
Model: I607
OS: 5.1.342
PIN: BlackJacks's don't have PINs
Carrier: Cingular/AT&T
Default 07-21-2008, 04:21 PM

Looks like you have a permissions error.
ODBC set correct?


I have NO , but my kids do w/o sim
BES 4.1.6 with SQL 2005 for 45+ users with EXCH 2003 SP2
I have BlackJack and no data plan
   
Reply With Quote
  (#4 (permalink)) Old
Spydertech Offline
Knows Where the Search Button Is
 
Posts: 43
Join Date: Nov 2006
Model: 8310
Carrier: AT&T
Default 07-22-2008, 01:49 PM

I'm having the exact same issue. Several emails a minute - over 9000 emails since 12:47 am last night.

I did the Service Pack 6 update about 3 hours before this started. I verified the SQL authentication is correct. Everything is working, just BESAlert.exe is going nuts and sending this error out constantly....

Any ideas on where to look? I have disabled the BES Alert service in the meantime.

Thanks,
Spydertech
   
Reply With Quote
  (#5 (permalink)) Old
Spydertech Offline
Knows Where the Search Button Is
 
Posts: 43
Join Date: Nov 2006
Model: 8310
Carrier: AT&T
Default 07-22-2008, 02:24 PM

Just to add, Blackberry Controller log file is over 5 gigs in size since last night!

And the Windows app log is completely filled with over 58000 events. All of them identical.

Event Type: Error
Event Source: BlackBerry Controller
Event Category: None
Event ID: 10000
Date: 7/22/2008
Time: 2:19:04 PM
User: N/A
Computer: BB Server
Description:
[DIAG] Error telling the debug trace file position : Invalid argument (error : 22)


I am searching and searching, but not getting very far.

Spydertech
   
Reply With Quote
  (#6 (permalink)) Old
Orinoko Offline
Thumbs Must Hurt
 
Orinoko's Avatar
 
Posts: 54
Join Date: Mar 2007
Location: UK
Model: 8800
Carrier: O2
Default 07-23-2008, 11:52 AM

I will be eagerly following this thread as I am planning the update and I have a similar setup!
   
Reply With Quote
  (#7 (permalink)) Old
Highfall Offline
Knows Where the Search Button Is
 
Posts: 23
Join Date: Feb 2007
Location: Columbus
Model: 7130e
Carrier: Verizon
Default Permissions issue - 07-23-2008, 12:27 PM

Are you using Windows or SQL Authentication? We hit a weird issue with 4.1.5 and it was very similar. I moved to SQL authentication to see if that worked and it fixed our issues entirely.
   
Reply With Quote
  (#8 (permalink)) Old
Spydertech Offline
Knows Where the Search Button Is
 
Posts: 43
Join Date: Nov 2006
Model: 8310
Carrier: AT&T
Default 07-23-2008, 01:44 PM

I believe I solved our problem.

First, during the SP 6 install I chose Windows Authentication. I know for a fact all previous updates were installed using SQL Authentication.

So, I shut down BESAlert.exe (to stop the emails), Started the BES Server Configuration utility and switched back to SQL Authentication - but the password failed. Shut down all the BB services. Open SQL Enterprise Manager (we use MSDE for BES, but I have SQL servers throughout the network, so I have access to the SQL Ent. Mgr) and change the SQL user password for the user for BES. Go back into the BES Server Configuration utility and set the SQL login info. Test connection, and it passed.

Reboot everything for good measure. Everything works, except I'm still getting those errors in the Application Event Log.
Code:
<N/A> | BlackBerry Controller (Application Event Log on BESSERVER) | 07/22/2008 13:33:17  (EFFF2710) -> [DIAG] Error telling the debug trace file position : Invalid argument (error : 22)
I look at the log files for the day, and the CTRL log is over 5 gigs! Just a hunch, but I think that is going to be a problem.

Shut down all the BB services again. Rename the folder for the daily log files. Reboot the server so that a new folder is created.

Everything is working fine now.....

I still need to move the BES server off the MSDE to a proper SQL server, but not today....

Thanks!
Spydertech
   
Reply With Quote
  (#9 (permalink)) Old
Face Offline
New Member
 
Posts: 4
Join Date: Jan 2006
Model: 8310
Carrier: Rogers
Default 07-24-2008, 12:32 PM

Hmmm...interesting....haven't run into this yet as im still running SP5. Out of curiosity, are you using UNC path for the log location? Looking at the error online i think it might be related to connecting to a shared location but might be wrong here. I think that error is returned by the OS...not 100 percent certain though. I'll be going to SP6 this weekend so ill reply here if i get the same error.

Last edited by Face : 07-24-2008 at 12:36 PM.
   
Reply With Quote
  (#10 (permalink)) Old
Spydertech Offline
Knows Where the Search Button Is
 
Posts: 43
Join Date: Nov 2006
Model: 8310
Carrier: AT&T
Default 07-24-2008, 12:42 PM

Nope on the UNC path for logs...

Everything is on one server.

Spydertech
   
Reply With Quote
  (#11 (permalink)) Old
Face Offline
New Member
 
Posts: 4
Join Date: Jan 2006
Model: 8310
Carrier: Rogers
Default 07-24-2008, 12:53 PM

Well ..there goes that idea
   
Reply With Quote
  (#12 (permalink)) Old
mmciver Offline
New Member
 
Posts: 1
Join Date: May 2008
Model: 8310
PIN: N/A
Carrier: Vodafone
Default Same Issue - 07-24-2008, 05:51 PM

I’m experiencing exactly the same issue...it doesn’t appear to be affecting message delivery however CPU is maxing out and server is nearly unresponsive.
Restarting BES and SQL services resolves issues temporarily ~24 Hours...
Please HELP!!!!
   
Reply With Quote
  (#13 (permalink)) Old
Spydertech Offline
Knows Where the Search Button Is
 
Posts: 43
Join Date: Nov 2006
Model: 8310
Carrier: AT&T
Default 07-25-2008, 05:26 PM

Have you tried the steps I did to fix my BES?

I haven't had any issues since...

Spydertech
   
Reply With Quote
  (#14 (permalink)) Old
alex555550 Offline
Knows Where the Search Button Is
 
Posts: 44
Join Date: Oct 2006
Model: 8100
Carrier: TIM Germany
Exclamation 07-27-2008, 07:06 AM

Hy,

you can download the SQL Manager 2005 from MS for free.
Download


Edit:(They renamed it in SQL 2005)

Install it on another PC or on you`re BB Server, and connect to the MSDE. You should use Winodws Authentification. With the Manager you can browse for Errors and backup the DB.
   
Reply With Quote
  (#15 (permalink)) Old
Keyscan Offline
Thumbs Must Hurt
 
Keyscan's Avatar
 
Posts: 137
Join Date: Aug 2007
Model: 8800
PIN: N/A
Carrier: Rogers
Default 07-27-2008, 10:16 PM

A better link would be: http://www.microsoft.com/downloads/d...displaylang=en

It is the management studio express which can connect directly to MSDE 2000


BES 4.1.4 - Exchange 2003
8800 and my trusty 8700r.
To change your PIN to FFFFFFFF, drop the BB in a lake.
   
Reply With Quote
  (#16 (permalink)) Old
cschrage Offline
Talking BlackBerry Encyclopedia
 
cschrage's Avatar
 
Posts: 224
Join Date: Apr 2005
Location: New Jersey
Model: 9000
OS: 4.6.0.156
Carrier: AT&T
Default 07-28-2008, 07:29 AM

I am in the same boat -> big problem after upgrading to SP6

<N/A> | BlackBerry Dispatcher BESXXX(Application Event Log on BESXXX) | 07/25/2008 19:49:06 (EFFF2710) -> [DIAG] Error telling the debug trace file position : Permission denied (error : 13)
   
Reply With Quote
  (#17 (permalink)) Old
Spydertech Offline
Knows Where the Search Button Is
 
Posts: 43
Join Date: Nov 2006
Model: 8310
Carrier: AT&T
Default 07-28-2008, 12:38 PM

Well.... Everything was fine until Saturday at 12:48 am.

It started doing it again - I got the
Code:
[DIAG] Error telling the debug trace file position : Permission denied (error : 13)
again....

25000 emails, full event log, slow response on console of server, but mail delivery is fine...

Looking at todays CTRL log - I get this error constantly:

Code:
[20000] (07/27 23:59:59.877):{0xBBC} AnalyzeEntry: Unable to retrieve event id
What is going on?

Spydertech
   
Reply With Quote
  (#18 (permalink)) Old
tduffy Offline
Knows Where the Search Button Is
 
Posts: 33
Join Date: Jul 2007
Model: 8830
PIN: N/A
Carrier: Verizon Wireless
Default 07-28-2008, 12:50 PM

Is it best to wait on this upgrade?
   
Reply With Quote
  (#19 (permalink)) Old
Spydertech Offline
Knows Where the Search Button Is
 
Posts: 43
Join Date: Nov 2006
Model: 8310
Carrier: AT&T
Default 07-28-2008, 01:30 PM

If I had another server to upgrade, I wouldn't do it. Not until I figure out what went wrong.

I don't know if it was something I did, something I have configured incorrectly, or just plain dumb luck (bad) at this point.

I know I have performed many other updates and upgrades, and never had a problem until now....

Then again, I never had a car accident, until my first screw up...;)

Spydertech
   
Reply With Quote
  (#20 (permalink)) Old
Spydertech Offline
Knows Where the Search Button Is
 
Posts: 43
Join Date: Nov 2006
Model: 8310
Carrier: AT&T
Default 07-28-2008, 01:34 PM

OK. I noticed that the BES Alert Service was in a stopped state. I had it logging on using the BES Admin account. I changed it to Local Service and allowed Interact with Desktop. Restarted the service, and haven't had any more error notifications.

I have no idea if this fixed anything yet.... That Permission denied when access trace file is what has me thrown. From what I can tell, it is a file permissions error that occurs because the "account" that builds the file, isn't the "account" that is accessing the file. At least that is what my understanding of that type of trace error.


Spydertech
   
Reply With Quote
  (#21 (permalink)) Old
cschrage Offline
Talking BlackBerry Encyclopedia
 
cschrage's Avatar
 
Posts: 224
Join Date: Apr 2005
Location: New Jersey
Model: 9000
OS: 4.6.0.156
Carrier: AT&T
Default 07-28-2008, 02:38 PM

I totally agree with Spydertech...wait to all the bugs are ironed out.
BTW - this is my first issue with a BES SP...going all the way back to V3.6
Quote:
Originally Posted by Spydertech View Post
If I had another server to upgrade, I wouldn't do it. Not until I figure out what went wrong.

I don't know if it was something I did, something I have configured incorrectly, or just plain dumb luck (bad) at this point.

I know I have performed many other updates and upgrades, and never had a problem until now....

Then again, I never had a car accident, until my first screw up...;)

Spydertech
   
Reply With Quote
  (#22 (permalink)) Old
merlin Offline
Thumbs Must Hurt
 
Posts: 109
Join Date: Jan 2005
Location: Yorkshire, England
Model: 8800
PIN: 2059E07F
Carrier: O2 UK
Default 07-28-2008, 05:10 PM

Does anyone getting these errors use BackupExec (or similar) and a remote agent to backup their BES directories -the folders on the BES server, not the databases on a seperate SQL box?

I am still getting these errors everyday, BUT ONLY if I schedule my Backup server to backup the BES server(s) using BackupExec...

If I get backupexec to skip the folders on the BES server then I don't get the errors - so at the moment I am only backing up the SQL server and nothing on the BES'es...

Merlin
   
Reply With Quote
  (#23 (permalink)) Old
BESAdminOSI Offline
New Member
 
Posts: 1
Join Date: Jul 2008
Model: 8310
OS: 4.2.2
PIN: N/A
Carrier: AT&T
Default 07-28-2008, 09:46 PM

I am using Backup Exec 12d to perform backups of the file system on my BES server. The database is backed up via NetApp SAN. I too did not have this problem until I applied SP6 last week. It's fine except for the fact that I get over 20K emails a night. I have removed all email settings now so I don't get alerted until there is a fix for this. Was not able to find anything on RIM's support site yet...
   
Reply With Quote
  (#24 (permalink))