LVDA 1912 CU2 : ctxvda service fails to start

LVDA 1912 CU2 : ctxvda service fails to start

book

Article ID: CTX331555

calendar_today

Updated On:

Description

- LVDA 1912 : ctxvda service fails to start and no vda.log files are generated
- As the VDA service it self is not running the L:VDA fails o register with the DDC

We would see something similar to this in the OS logs or in the ctxvda service status:

● ctxvda.service - Citrix DotNet VDA Service
Loaded: loaded (/etc/systemd/system/ctxvda.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Tue 2020-01-21 16:29:56 EST; 14s ago
Process: 6608 ExecStart=/opt/Citrix/VDA/sbin/ctxvda (code=exited, status=1/FAILURE)
Main PID: 6608 (code=exited, status=1/FAILURE)

Jan 21 16:29:56 hostname.example.com systemd[1]: Started Citrix DotNet VDA Service.
Jan 21 16:29:56 hostname.example.com systemd[1]: ctxvda.service: main process exited, code=exited, status=1/FAILURE
Jan 21 16:29:56 hostname.example.com systemd[1]: Unit ctxvda.service entered failed state.
Jan 21 16:29:56 hostname.example.com systemd[1]: ctxvda.service failed.

Resolution

- The ctxvda service is dependent on the Dot Net package installed on the OS
- The OS had an incorrect version (3.1) of Dot Net package installed 
- LVDA 1912 CU2 needs .NET Core Runtime 2.1
- Post installing .NET Core Runtime 2.1 the ctxvda service started up without any issues
- The LVDA registered fine as well with the DDC

NOTE: The .NET Core Runtime dependency is different for different version of the Linux VDA.
Please refer to the appropriate docs to check the Dot Net requirement.
Ref URL for LVDA 1912 CU3 which needs Dot Net 3.1 : https://docs.citrix.com/en-us/linux-virtual-delivery-agent/1912-ltsr/system-requirements.html#linux-distributions

Problem Cause

- LVDA 1912 CU2 needs .NET Core Runtime 2.1 for the ctxvda service
- The machine had .NET Core Runtime 3.1 installed on it because of which the ctxvda service was failing to start

Additional Information

NOTE: The .NET Core Runtime dependency is different for different version of the Linux VDA.
Please refer to the appropriate docs to check the Dot Net requirement.

Ref URL for LVDA 1912 CU3 which needs Dot Net 3.1 : https://docs.citrix.com/en-us/linux-virtual-delivery-agent/1912-ltsr/system-requirements.html#linux-distributions