Installing XLR as a service

Hello,

I upgraded XLR from v9.7.6 to v10.0.0 and due to some issues i have to revert back to v9.7.6 and I have been trying to install v9.7.6 as a service and getting the below message and service is not installed and started

sudo ./install-service.sh
Installing into /opt/apps/xebialabs/xl-release/xl-release-9.7.6-server
Please provide the user that will run XL Release Server: xlrelease
YAJSW: yajsw-stable-12.14
OS : Linux/3.10.0-1160.25.1.el7.x86_64/amd64
JVM : Oracle Corporation/1.8.0_251//opt/apps/xebialabs/xl-release/jdk1.8.0_251/jre/64
************* INSTALLING xl-release ***********************

java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.rzo.yajsw.boot.WrapperExeBooter.main(WrapperExeBooter.java:49)
Caused by: java.lang.NullPointerException
at java.io.File.(File.java:277)
at org.rzo.yajsw.os.posix.PosixService.state(PosixService.java:662)
at org.rzo.yajsw.wrapper.WrappedService.state(WrappedService.java:618)
at org.rzo.yajsw.wrapper.WrappedService.isInstalled(WrappedService.java:375)
at org.rzo.yajsw.WrapperExe.doInstall(WrapperExe.java:371)
at org.rzo.yajsw.WrapperExe.executeCommand(WrapperExe.java:166)
at org.rzo.yajsw.WrapperExe.main(WrapperExe.java:124)
… 5 more
YAJSW: yajsw-stable-12.14
OS : Linux/3.10.0-1160.25.1.el7.x86_64/amd64
JVM : Oracle Corporation/1.8.0_251//opt/apps/xebialabs/xl-release/jdk1.8.0_251/jre/64
************* STARTING xl-release ***********************

java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.rzo.yajsw.boot.WrapperExeBooter.main(WrapperExeBooter.java:49)
Caused by: java.lang.NullPointerException
at java.io.File.(File.java:277)
at org.rzo.yajsw.os.posix.PosixService.start(PosixService.java:565)
at org.rzo.yajsw.wrapper.WrappedService.start(WrappedService.java:402)
at org.rzo.yajsw.WrapperExe.doStart(WrapperExe.java:488)
at org.rzo.yajsw.WrapperExe.executeCommand(WrapperExe.java:158)
at org.rzo.yajsw.WrapperExe.main(WrapperExe.java:124)
… 5 more

Please make sure the server is configured so that it can start without input from the user
(e.g. if a repository keystore password is required then it should be provided in xl-release.conf).

Does this happened to someone in the group and can assist with valuable comment

I come to find out that the file “wrapper.daemon.vm” was not in the conf directory due to which the installation as service was throwing exception.

Rollback is not possible in XL products as of now. Unless you have a backup of DB before the Upgrade attempt, you can’t go back as DB is already upgraded. You can also confirm DB status from table name XL_VERSION and look for component xl-release

Hello @UMA, is the problem solved and the services started ?
Please also note, for such questions better use the official support ticket system, so we can better track progress and help faster: https://support.digital.ai/ . Support is included in your product subscription license!