Solved

BlackBerry Administration Service - Application Server/Native Code Container will not start

Posted on 2016-07-14
30
74 Views
Last Modified: 2016-07-22
BlackBerry Administration Service - Application Server & BlackBerry Administration Service - Native Code Container will not start


Services will not start and i am getting the error messages below - i have checked the java location and this matches in the registry
http://support.blackberry.com/kb/articleDetail?articleNumber=000025011

Any thing else i can check?


The description for Event ID 4098 from source BAS-AS cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

If the event originated on another computer, the display information had to be saved with the event.

The following information was included with the event:

BAS-AS
----------------------

The description for Event ID 4098 from source BAS-NCC cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

If the event originated on another computer, the display information had to be saved with the event.

The following information was included with the event:

BAS-NCC
0
Comment
Question by:Deepin
  • 15
  • 15
30 Comments
 
LVL 14

Accepted Solution

by:
Mike Sullivan earned 500 total points
ID: 41710885
Hi Deepin,

Firstly, which version of BES and which mail platform are you using?

Secondly, has this ever worked?

If it has, when did it stop working and what happened around that time that might have affected it?

If it hasn't, then the usual fix is to reinstall the BES software as there may be a corruption.

Regards,

Mike
0
 
LVL 5

Author Comment

by:Deepin
ID: 41711017
HI Mike,

That info would be helpful..

We are using BES5 with Exchange 2010

I've inherited the server so i actually don't know when
To reinstall i don't have SRP details - how can i get this info without the admin console?

I found an article from Blackberry but i can't get the second part  
http://support.blackberry.com/kb/articleDetail?articleNumber=000002632
0
 
LVL 14

Expert Comment

by:Mike Sullivan
ID: 41711078
OK, so if you've inherited the server, I think it's fair to say that it has been working in the past but isn't working now. Would you agree? So, when did the server stop working? Has anything changed on the server? I'm guessing either a Java update or some Windows Updates. Can you take a look and see when the last changes were made?

Thanks,

Mike
0
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

 
LVL 5

Author Comment

by:Deepin
ID: 41711118
Fair to say , its been working in the past, just not in the past few days

Java was updated which i have rolled back, i have checked the registry to make sure it matches to the current version installed 6.31
last time any windows updates have been applied were 23/06
0
 
LVL 14

Expert Comment

by:Mike Sullivan
ID: 41711810
Hi Deepin,

I appreciate that you've already followed a BlackBerry KB article and checked the registry. Can you quickly check this location:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\BlackBerryWebServices\Parameters\JVM Library

In there should be a path to a jvm.dll file on the local machine. Can you confirm that the EXACT path matches the location of the file. For example, if you copy and paste the path into explorer, does it find the file on the local machine?

NOTE: Instead of the BlackBerryWebServices container in the registry, it may also have the containers BAS-AS and BAS-NCC. Check both of those too.

Thanks,

Mike
0
 
LVL 5

Author Comment

by:Deepin
ID: 41712685
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\BlackBerryWebServices\Parameters\JVM Library
I don't have that location in the registry

C:\Program Files (x86)\Java\jre6\bin\client\jvm.dll is the path and yes i can see jym.dll in the folder for BAS-AS /BAS-NCC
0
 
LVL 14

Expert Comment

by:Mike Sullivan
ID: 41712968
Hi Deepin,

Just a shot in the dark but has the server run out of disk space? BAS will tend to write logs until it runs out of space then fail to load components.

If it is fine for disk space, please try to restart the BAS-AS service then look for the log files in C:\Program Files (x86)\Research In Motion\BlackBerry Enterprise Server\Logs

There will be a folder name with today's date that will contain the logs. Look for the two logs that start with BAS-AS and BAS-NCC. If you could post the contents of them (or attach them) then I'll take a look through them.

Regards

Mike
0
 
LVL 5

Author Comment

by:Deepin
ID: 41713051
Mike,

Not sure if if ever did - its a dedicated Bes server with a 100GB C drive only 44Gb used - doubt it did

ermm....there no logs for BAS-AS/BAS-NCC today, i can those files from previous days only
0
 
LVL 14

Expert Comment

by:Mike Sullivan
ID: 41713106
Files from a previous day will be fine.
0
 
LVL 5

Author Comment

by:Deepin
ID: 41713120
0
 
LVL 14

Expert Comment

by:Mike Sullivan
ID: 41713135
Thanks Deepin,

I can see some errors that lead me to this article:

http://support.blackberry.com/kb/articleDetail?articleNumber=000032435

Try this and let me know how you get on.

Regards

Mike
0
 
LVL 5

Author Comment

by:Deepin
ID: 41713248
All Blackberry services have started now
That has kept the services started... however i can't access BlackBerry Administration Service web console - cannot display webpage from ie and connnection refused from google chrome
0
 
LVL 14

Expert Comment

by:Mike Sullivan
ID: 41713253
Have a look in the Task Manager and let me know how much memory is in use by the BAS-AS service.
0
 
LVL 5

Author Comment

by:Deepin
ID: 41716326
If i try to access the webconsole i have noticed BAS-AS service stops and then starts again

it get's to 226,00k approx then service restarts
0
 
LVL 14

Expert Comment

by:Mike Sullivan
ID: 41716332
Hi Deepin,

Sounds like we are almost there. Can you post one of today's BAS-AS logs for me, please? You may find that multiple logs are now being spawned. Just let me have one of them - but not the last (it may not be a complete log).

Thanks,

Mike
0
 
LVL 5

Author Comment

by:Deepin
ID: 41716341
Hi Mike,

Indeed there are loads of BAS-AC logs,

I have added one for you

Thank you for all the help
VLE-BES-01_BBAS-AS_01_20160718_0001.txt
0
 
LVL 14

Expert Comment

by:Mike Sullivan
ID: 41716347
Hi Deepin,

Can you check to make sure the SQL server is running and the Blackberry instance is available?

Thanks

Mike
0
 
LVL 5

Author Comment

by:Deepin
ID: 41716350
SQL Server (Blackberry) is in a running state and set to startup automatically
0
 
LVL 14

Expert Comment

by:Mike Sullivan
ID: 41717012
Hi Deepin,

It looks like you are going to have to reinstall the BAS component of BES on that machine. The log files point to some serious JNDI errors. If Java is installed correctly and the registry points correctly to the jvm.dll file then reinstalling BAS is your only option.

Do not worry.

This won't kill your BES server or force you to reauthenticate, etc. This is just reinstalling the BAS console. Do you have install media for it? If you do not then you will have to download the latest service pack version from the Blackberry website and do a full upgrade of the BES server.

Regards

Mike
0
 
LVL 5

Author Comment

by:Deepin
ID: 41717072
I've still got the media for BES - is just a matter of next next all the way through the media to repair the install?
0
 
LVL 5

Author Comment

by:Deepin
ID: 41717195
Mike,

Just done a reinstall over the top of the current install - not good news. same issue BAS-AS/BAS-NCC services will not start
0
 
LVL 14

Expert Comment

by:Mike Sullivan
ID: 41717273
Hi Deepin,

In that case, update Java and make the necessary changes to the registry to point BAS to the correct location of jvm.dll.

It may be that the update and rollback broke the Java installation.

Regards

Mike
0
 
LVL 14

Expert Comment

by:Mike Sullivan
ID: 41720273
Hi Deepin,

Did you update Java?

Regards

Mike
0
 
LVL 5

Author Comment

by:Deepin
ID: 41720885
Hi Mike,

I didn't get a chance yesterday, however just updated java and this has stop BAS-AC/NCC and MDS services now

I've checked the JVM library for all 3 and they are pointing to the correct jvm.dll location
0
 
LVL 5

Author Comment

by:Deepin
ID: 41720969
I've uninstalled in latest version of java and reverted back to JR6.45 - JVM Library has been updated and services are now started
0
 
LVL 14

Expert Comment

by:Mike Sullivan
ID: 41720977
Does that mean you are able to log in?
0
 
LVL 5

Author Comment

by:Deepin
ID: 41720997
No BAS-AC service still restarting by itself
0
 
LVL 14

Expert Comment

by:Mike Sullivan
ID: 41721015
Ok, can you let me have a copy of the BAS-AS log and the BAS-NCC log from today, please?

Thanks

Mike
0
 
LVL 5

Author Comment

by:Deepin
ID: 41724936
Hi Mike,

I had to reinstall the BES server which resolved the issue.
I appreciate  all your help

FYI - i had the same issue with another client and BES, updating JVM location was the solution but you have to do it in both of the below locations.
 
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet002\Services\


Deepin Patel
1
 
LVL 14

Expert Comment

by:Mike Sullivan
ID: 41724976
Hi Deepin,

I was trying to avoid going down that route if possible. I feel that it is better to fix them rather than to simply reinstall but I'm glad you got it sorted. (I mentioned a reinstall of BES in my first post :-) )

Regards

Mike
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

With the release of BlackBerry Enterprise Server (BES) 5.0 and the large amount of new features on offer, many administrators, IT architects and professionals will be looking very seriously (if not already considering) at migrating to, or deploying,…
BlackBerry can provide (arguably) the best global email delivery solution. That is, until something goes wrong at which point it can be a nightmare to troubleshoot. The log files on a BES can only be decoded by an expert and some of the errors that …
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

806 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question