hello,
We recently upgraded our bitbucket server to v5.9.1. Today the installed bitbucket service stopped initializing.
It looked like a java upgrade may have caused the inconsistency. We managed to solve the
error pointing us to a non-existent jvm.dll path
The service then would just start and stop. Could you please assist on giving us a lead?
We have considered the following and have not helped or not applied to us.
1. java home environment variable
2. spacing in the environment variable
3. jvm mismatch although there clearly was one on first observation but later corrected
4. we even deleted the existing service and recreated a new one
from the logs we only see the following
StartServiceCtrlDispatcher for 'AtlassianBitbucket' failed
[2018-04-19 09:53:23] [error] [ 320] The service process could not connect to the service controller.
[2018-04-19 09:53:23] [error] [ 320] Commons Daemon procrun failed with exit value: 4 (Failed to run service)
[2018-04-19 09:53:23] [error] [ 320] The service process could not connect to the service controller.
[2018-04-19 09:53:52] [info] [ 564] Commons Daemon procrun (1.0.15.0 64-bit) started
Commons Daemon procrun (1.0.15.0 64-bit) started
[2018-04-19 12:02:38] [info] [ 5332] Running 'BITBUCKET' Service...
[2018-04-19 12:02:38] [info] [ 5864] Starting service...
[2018-04-19 12:02:39] [info] [ 5864] Service started in 1167 ms.
[2018-04-19 12:02:55] [info] [ 5332] Run service finished.
[2018-04-19 12:02:55] [info] [ 5332] Commons Daemon procrun finished
and from window event viewer
The Atlassian Bitbucket BITBUCKET service terminated with the following service-specific error:
Incorrect function.
bitbucket is running on a windows 2012 r2 box (64-bit)
we have installed a 64 bit java
java version "1.8.0_171"
Java(TM) SE Runtime Environment (build 1.8.0_171-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.171-b11, mixed mode)