Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

...

...

...

...

...

...

...

Problem

When installing SSO9 , install.cmd prints error: “A service specific error occurred: 4”

...

Code Block
cd "C:\Program Files\Ubisecure\ubilogin-sso\ubilogin\config\tomcat"
.\install.cmd

Error

Code Block
The UbisecureAccounting service is starting.
The UbisecureAccounting service could not be started.

A service specific error occurred: 4.

More help is available by typing NET HELPMSG 3547.

UbisecureAccounting updated at https://localhost:8442/accounting/
The UbiloginServer service is starting.
The UbiloginServer service could not be started.

A service specific error occurred: 4.

More help is available by typing NET HELPMSG 3547.

UbiloginServer updated at https://localhost:8443/ubilogin/


Solution

  • When JAVA11 is installed using Eclipse Adoptium exe, it creates JAVA_HOME variable in Windows machine with \ in the end ( C:\Program Files\Eclipse Adoptium\jdk-11.0.14.9-hotspot\ )

  • For successful SSO services installation, JAVA_HOME environment variable value should not end with \

  • Go to Control Panel → System and Security → System → Advanced system settings → Environment Variables → System Variables and remove \ from end of JAVA_HOME value.

    JAVA_HOME should look like as below :

...