Mobicontrol Search - Stopped

Jan Široký
Siemens - DI MC LVM EU MF-MOH DF DT

Hello,

my advanced mobicontrol search stopped to work (after some update from our enviroment - I guess that JAVA). I strongly dont want to reinstall whole enviroment.

 I found this issue:

[2021-05-31 12:12:39] [info] [ 9148] Commons Daemon procrun (1.0.15.0 64-bit) started

[2021-05-31 12:12:39] [info] [ 9148] Running 'mobicontrolsearch-service' Service...

[2021-05-31 12:12:39] [info] [12276] Starting service...

[2021-05-31 12:12:39] [error] [12276] Failed creating java C:\Program Files (x86)\Java\jre1.8.0_291\bin\server\jvm.dll

[2021-05-31 12:12:39] [error] [12276] The system cannot find the path specified.

[2021-05-31 12:12:39] [error] [12276] ServiceStart returned 1

[2021-05-31 12:12:39] [error] [12276] The system cannot find the path specified.

[2021-05-31 12:12:39] [info] [ 9148] Run service finished.

[2021-05-31 12:12:39] [info] [ 9148] Commons Daemon procrun finished

Do you know how to repair this? I have last version of SOTI

Thank you

4 years ago
SOTI MobiControl
ANSWERS
A
ANKMOD@SOTI
4 years ago

Hello Jan

Greetings

Thanks for your post to Soti central!!

Please try the below to try resolve the issue.

  1. Ensure 64bit Java version is installed (should be in java about section) 
  2. Firstly  verify the MC_JAVA_HOME path by going under Environmental variables through system properties>advanced settings> Environmental Variable(screenshot is attached). MC_java_Home path should match with Your  actual java installation path. In case Its not matching change MC_JAVA_HOME path  similar to actual path.

4. You can also try to uninstall Java completely and install it again if possible  and try to start search again.

Kindly let us know after testing and  share your Mobicontrol version along with build no if it did not work.

Regards

Jan Široký
4 years ago

Hello thank you,

path is correct I checked it but in the folder of java.....bin\ is missing completly \server\jvm.dll after last update:

[2021-06-04 09:11:01] [info] [ 2204] Commons Daemon procrun (1.0.15.0 64-bit) started
[2021-06-04 09:11:02] [info] [ 2204] Running 'mobicontrolsearch-service' Service...
[2021-06-04 09:11:02] [info] [11588] Starting service...
[2021-06-04 09:11:02] [error] [11588] %1 is not a valid Win32 application.
[2021-06-04 09:11:02] [error] [11588] Failed creating java C:\Program Files (x86)\Java\jre1.8.0_291\bin\server\jvm.dll
[2021-06-04 09:11:02] [error] [11588] %1 is not a valid Win32 application.
[2021-06-04 09:11:02] [error] [11588] ServiceStart returned 1

we have soti version 15.3.0.6713

A
ANKMOD@SOTI
4 years ago (edited 4 years ago)

Hello Jan

Greetings

Thanks for your reply.

Even path is correct then also if you havenot tried to uninstall and reinstall  Java (64 bit)  so kindly do it and verify the path of instalaltion foldder with MC_JAVA_HOME PATH under environmental variable.

Kindly also verify if you are able to see server\jvm.dll under bin folder.

Secondly if you already finsihed with installation  and not able to find server\jvm.dll  under bin folder then kindly try to do following and let us update.

  • Open cmd prompt as administrator and type the commands mentioned below:
  • Cd C:\Program Files\SOTI\MobiControl\Search\bin
  • elasticsearch-service.bat manager
  • It will open elastic search manager and verify if java virtual machine  path is same as shown below

                                                                         

  • If JVM  path is different than kindly try to change the path as shown above  and try to reboot your server and see if search works.
  • If search does not work even after that  thenfor further investigation  i will recommend you to please raise a support case (click here) or call SOTI Support team (click here) to assist you better?

  Regards

A
ANKMOD@SOTI
4 years ago

Hello Jan

Greetings

Kindly let us know if the issue is resolved or still exisisting ? Any update on this will be appreciated.

Regards

Jan Široký
4 years ago

Hello, I updated version of Soti to the newest one and its back and working. I really dont know why this happend its 2nd time after windows udate

RC
Raymond Chan Diamond Contributor
4 years ago

As of today (23 Jun 2021), the lastet MobiControl version was v15.3.2 Build 1072, which was released on 26 May 2021.   Did you actually mean "reinstall" when you said "updated version to the newest one"  in your last post?  Or Did you use version earlier than v15.2.3.1072 when you first started this discussion?

What is the version/build of your Microsoft Windows Server running on the hardware hosting your MobiControl servers? What particular update(s)/patch(es) did you apply after which you encounter your "MobiControl Search" problem?

A
ANKMOD@SOTI
4 years ago

Hello Jan

Greetings

Thanks for your reply to Soti central!!

It is nice to hear that your issue is resolved after upgrading to latest Mobicontrol version which is 15.3.2  and Secondly Elastic search seems to be related with many factors but one of them is java update and After any java update make sure environment variable is pointing to the correct java binaries as mentioned above too. In you case , after seeing your logs , it seems that bin\server\jvm.dll path was missing and mainly in this sceanrio, we can also do the following.

Try to verify MC_JAVA HOME path with actual java installation path

Try to verify the path from elastic search service manager under java as shown above also.

Try to reinstall java and Mobicontrol same version is a quick fix for this but we need to make sure proper snapshot and backup of server is done before doing this.

Also, if any of mentioned  post has helped you in solving your inquiry, I would request you to mark the particular comment as "is solution", so others may benefit from this information.

Regards

BP
Bruno P.
3 years ago

Hi,

I've got the same issue twice, on 2 differents servers, with the following configuration : 

- Soti v15.5.0

- Windows Serveur 2019

- Oracle Java 11.

In my case, on the Mobicontrol Search Properties's window shown in the post, the amout of intial memory pool and mamimum memory pool was set to 512 MB by default. I changed to 1024 MB and after the mobicontrol search service is able to start properly.

Regards.