Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 196
  • Last Modified:

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

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
Deepin
Asked:
Deepin
  • 15
  • 15
1 Solution
 
Mike SullivanDirectorCommented:
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
 
DeepinInfrastructure Engineer Author Commented:
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
 
Mike SullivanDirectorCommented:
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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
DeepinInfrastructure Engineer Author Commented:
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
 
Mike SullivanDirectorCommented:
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
 
DeepinInfrastructure Engineer Author Commented:
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
 
Mike SullivanDirectorCommented:
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
 
DeepinInfrastructure Engineer Author Commented:
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
 
Mike SullivanDirectorCommented:
Files from a previous day will be fine.
0
 
DeepinInfrastructure Engineer Author Commented:
0
 
Mike SullivanDirectorCommented:
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
 
DeepinInfrastructure Engineer Author Commented:
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
 
Mike SullivanDirectorCommented:
Have a look in the Task Manager and let me know how much memory is in use by the BAS-AS service.
0
 
DeepinInfrastructure Engineer Author Commented:
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
 
Mike SullivanDirectorCommented:
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
 
DeepinInfrastructure Engineer Author Commented:
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
 
Mike SullivanDirectorCommented:
Hi Deepin,

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

Thanks

Mike
0
 
DeepinInfrastructure Engineer Author Commented:
SQL Server (Blackberry) is in a running state and set to startup automatically
0
 
Mike SullivanDirectorCommented:
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
 
DeepinInfrastructure Engineer Author Commented:
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
 
DeepinInfrastructure Engineer Author Commented:
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
 
Mike SullivanDirectorCommented:
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
 
Mike SullivanDirectorCommented:
Hi Deepin,

Did you update Java?

Regards

Mike
0
 
DeepinInfrastructure Engineer Author Commented:
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
 
DeepinInfrastructure Engineer Author Commented:
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
 
Mike SullivanDirectorCommented:
Does that mean you are able to log in?
0
 
DeepinInfrastructure Engineer Author Commented:
No BAS-AC service still restarting by itself
0
 
Mike SullivanDirectorCommented:
Ok, can you let me have a copy of the BAS-AS log and the BAS-NCC log from today, please?

Thanks

Mike
0
 
DeepinInfrastructure Engineer Author Commented:
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
 
Mike SullivanDirectorCommented:
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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 15
  • 15
Tackle projects and never again get stuck behind a technical roadblock.
Join Now