Link to home
Start Free TrialLog in
Avatar of David Elebute
David ElebuteFlag for United States of America

asked on

BES Server 5.04 Phone Not Receiving Messages

just completed SBS migration from 2003 to 2011; thanks again ALL for the help in resolving the issues we ran into
we have removed the old BES server that was working with the SBS2003 server
added the new BES server (separate from the SBS2011 and Exchange box)
setup users on the BES and all looked good up until a few hours ago! now the user mailbox is functioning without problems, we are getting all mail going to the mailbox and able to send and receive without issue
we checked the BES server and it showed last communication with the just minutes ago! but nothing is showing up on the phone but getting messages that were sent from the phone
I need help trying to find where the break is as I have restarted the BES server and still nothing
Need Help! All help is greatly appreciated! I will keep trying on my end to find resolution
thank you
delebute
Avatar of David Elebute
David Elebute
Flag of United States of America image

ASKER

added info
after BES server was restarted we saw a few messages
then it stopped working!
checking firewall settings etc. too; but strange that it only happened today at around noon for the blackberry phone to stop functioning properly after receiving a few messages
SOLUTION
Avatar of Mike Sullivan
Mike Sullivan
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
sorry mike was looking into the logs from the BES
where do I find the utility? in the BES or Exchange install path?
delebute
disregard Mike my bad; wasn't thinking properly

here is the output

User: Mailbox opened successfully
User: Root Folder opened successfully
User: Folder created successfully
User: Test folder deleted successfully
User: MAPI test completed successfully
User: CDO Server Name: SERVER
User: CDO logon successful
User: Get default calendar folder successful
User: Get calendar folder name successful: 'Calendar'
User:CDO test completed successfully
User: No Send As permission for the {DOMAIN\BESAdmin} account operator.
User: Initializing EWS Proxy... successful
User: Configuring User... successful
User: EWS calendar find request... failed

I see the two problems
tackling the first via EMC and manually adding the BESAdmin account to User mailbox; with full mailbox and send as permissions
searching for EWS settings now

thanks again and sorry being so stupid with the previous post!
delebute
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ok here is where I am at tonight with this Mike
yesterday I tried what you sent but was getting some syntax errors, cleared them and added a MaxSessionsPerUser = 100000 line in a config file from my searches via the experts-exchange database
rebooted the servers and called it a night
well this morning the BEs and Exchange seemed to working well; email and calendars were flowing no problem; then all stopped around noon and hasn't worked again since

did all the above but getting the following error:

Get-Mailbox -Server "<SERVER01.local" | Set-CalendarProcessing -ProcessExternalMeetingMessages $true


Cannot process argument transformation on parameter 'Server'. Cannot convert value "<SERVER01.local" to type "Microsoft.Exchange.Configuration.Tasks.ServerIdParameter". Error: "'<SERVER01.local' is not a valid value for the identity.
Parameter name: identity"
    + CategoryInfo          : InvalidData: (:) [Get-Mailbox], ParameterBindin...mationException
    + FullyQualifiedErrorId : ParameterArgumentTransformationError,Get-Mailbox

[PS] C:\Windows\system32>

I have tried without the .local and still same error

all help is greatly appreciated
delebute
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
thanks again Mike
I am in the process of checking and rechecking the settings and permissions as per your previous question referenced above
it happened again last night; left the server as is and found that it seemed to function again until this morning again at 8am stopped getting messages to phone
I have even tried stopping and disabling the throttling service for exchange
we have exchange 2010 no SP
delebute
sorry using the Exchange Shell
removed the < in front of the server name and that finally worked
but still no messages
on my exchange server the MaxSessionsPerUser = 100000 l
 From your previous question concerning:
"\Program Files\Microsoft\Exchange Server\V14\Bin" and open the microsoft.exchange.addressbook.service.exe.config file with Notepad

in the file when in Notepad did not see a MaxSessionsPerUser field so I added it manually
here is what the file looks like currently

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
    <runtime>
        <gcServer enabled="true" />
        <generatePublisherEvidence enabled="false"/>
    </runtime>
    <appSettings>
        <!-- Enables and disables the logging for the address book service. -->
        <add key="ProtocolLoggingEnabled" value="true" />

        <!-- Specifies the folder in which log files will be generated. -->
        <add key="LogFilePath" value="C:\Program Files\Microsoft\Exchange Server\V14\Logging\AddressBook Service\" />

        <!-- Specifies the max size that a single log file can grow to before a new one is generated. -->
        <add key="PerFileMaxSize" value="100MB" />

        <!-- Specifies the max size that the entire directory of logs can grow to before the oldest log is deleted. -->
        <add key="MaxDirectorySize" value="20GB" />

      <!-- Added By D.Tech. -->
        <add key="MaxSessionsPerUser" value="100000" />

        <!-- Specifies length of time in hours log files will be retained before being deleted. -->
        <add key="MaxRetentionPeriod" value="720" />

        <!-- Specifies if we need to switch log file each hour. -->
        <add key="ApplyHourPrecision" value="true" />
    </appSettings>
</configuration>

I also did some digging and there is a utility bbsrptest.exe that is used to test these type of problems; the file does not exist on BES server installation, have you used this before?
getting frustrated without a way to pinpoint exactly where it is failing, when and how to mitigate this behavior
I have been thinking of periodic server reboots as this seems to get things going for a few hours before we crash to a halt again
All help is needed and GREATLY appreciated
delebute
Hi delebute,

Did you go through the process of implementing the changes to Throttling policies?

Mike
Yes I did
still same behavior, should I delete them and recreate them?

delebute
Hi delebute,

Did you use the pre-Service Pack 1 process or the post-SP1 process?

Mike
Hi Mike,

pre service pack 1 process
haven't had this server running for more than a week
wanted to wait before I did the exchange SP
SBS2011 has a windows 2008 SP install in windows update, but I haven't installed that yet either

delebute
OK, so to recap:

When the server first starts, the BES works perfectly well for a period of time. Handsets can send and receive without a problem. Then, after a period of time, all handsets appear to stop receiving incoming mail even though the mail server is still receiving correctly. The handsets are still able to send emails without a problem.

Is that correct?

Mike
Almost
we setup one handset and communication fine
ran for several hours then stopped
began the troubleshooting process and made changes from BB install guide KB and from EE - Mike
then I would reboot both BES and SBS 2011 servers and nothing would happen then after several hours we were able to send and receive emails, calendar was in sync, contacts etc.
then would stop again and more troubleshooting
now I have rebooted both server after the issues today and now I cannot get phone to work at all

delebute
happened again just now!
rebooted BES after SBS2011 and Exchange 2010 (same box) running for a while, Outlook mailbox are all good for BB phone user
after reboot nothing happening, for giggles I reseated the battery on the BB phone
all of a sudden all messages are coming through!
but then as I am still writing this, no more phone updates
just forwarded a message from the phone to a user on exchange but not BB device
nothing, not even a bounce back
internal email message should be other users mailbox immediately, nothing in outlook for either (check sent items for sent message from BB phone and nothing)
well ok now; getting mail back to phone!
email from phone to local user just received (15-20 minute delay)
messages seem to be trickling in again
I am so upset right now; this should be the easy part!

delebute
at this time 3:47pm EST January 29th 2014
all working to BB device and mail flowing

keeping an eye and log to see if/when fails again
Mike I wanted to thank you again directly on this post
your review and replies are well received and appreciated!
thanks again!

delebute
4:07pm EST no communication with BB phone!
event viewer shows router error
restarted BB router
restarted BB controller, BB mail store and BB dispatcher
getting BIPP connection error in event viewer calling localhost (127.0.0.1)
nothing from phone
4:12pm nothing to phone yet, removing and reseating BB phone battery
event viewer BIPP using default BIPP shared secret

delebute
4:20PM rebooted phone and still nothing
checking event viewer on exchange server
nothing jumping out at me
going to take a break for a bit this is driving me out of my to find and resolve

delebute
This is going to turn into a request for a zipped copy of today's BES logs. That way I can search for errors. The BIPP message is irrelevant.

Do you know where the full BES logs are kept? Can you zip up all of the logs for today and post them in here?

Mike
ok will work on that
but scenario currently is if I reboot the BES I get approx. 3 hours of functionality
then I am seeing BB Router Event Viewer Errors right around the time things stop working

delebute
Ended up blowing out the BES Box and recreating using MikeTheRelic's posts
all working now
thanks again Mike for ALL your help!

delebute