Jump to content
Welcome to our new Citrix community!
  • 0

ubuntu 18 or ubuntu 16 install linux vda 2009 ctxvda service can not start


Wangqiang Shuai

Question

 ubuntu 18 or ubuntu 16 install Citrix_Virtual_Apps_and_Desktops_7_2009 ctxvda can not start,but ctxhdx can start

1、u01@u01vda:~$ sudo systemctl status ctxvda
● ctxvda.service - Citrix DotNet VDA Service
   Loaded: loaded (/etc/systemd/system/ctxvda.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since 二 2020-10-13 09:09:26 CST; 4s ago
  Process: 23702 ExecStart=/opt/Citrix/VDA/sbin/ctxvda (code=exited, status=1/FAILURE)
 Main PID: 23702 (code=exited, status=1/FAILURE)

10月 13 09:09:26 u01vda systemd[1]: Started Citrix DotNet VDA Service.
10月 13 09:09:26 u01vda systemd[1]: ctxvda.service: Main process exited, code=exited, status=1/FAILURE
10月 13 09:09:26 u01vda systemd[1]: ctxvda.service: Unit entered failed state.
10月 13 09:09:26 u01vda systemd[1]: ctxvda.service: Failed with result 'exit-code'.
u01@u01vda:~$ sudo systemctl status ctxhdx
● ctxhdx.service - Citrix HDX Service
   Loaded: loaded (/etc/systemd/system/ctxhdx.service; enabled; vendor preset: enabled)
   Active: active (running) since 二 2020-10-13 01:06:58 CST; 8h ago
 Main PID: 6259 (ctxhdx)
   CGroup: /system.slice/ctxhdx.service
           └─6259 /opt/Citrix/VDA/bin/ctxhdx

10月 13 01:06:58 u01vda systemd[1]: Started Citrix HDX Service.
10月 13 01:06:58 u01vda citrix-ctxhdx[6259]: Server started in locale C.

 

2、/var/log/xdl/jproxy.log:

2020-10-13 00:47:50.062 [INFO ] [1] - Java version "1.8.0_265". OpenJDK Runtime Environment. OpenJDK 64-Bit Server VM (build 25.265-b01, mixed mode)
2020-10-13 00:47:50.093 [INFO ] [1] - 7.5, 20.09.0.11
2020-10-13 00:47:52.337 [INFO ] [1] - DnsUtil.ldapServerReachable: LDAP Server: bbpdc.bb.cc, realm: bb.cc, connection time: 7 ms
2020-10-13 00:47:52.431 [INFO ] [1] - Krb5.conf: /etc/krb5.conf
2020-10-13 00:47:52.471 [INFO ] [1] - Dns name: u01vda.BB.CC
2020-10-13 00:47:52.472 [INFO ] [1] - Krb5.keytab: /etc/krb5.keytab
2020-10-13 00:47:52.472 [INFO ] [1] - Krb5 ticket cache file spec: /tmp/krb5cc_<uid>
2020-10-13 00:47:52.917 [INFO ] [17] - [VDA POLICY]: Start Ldap proxy Server.
2020-10-13 00:47:53.046 [WARN ] [13] - FASProxyServer.prepareFasServer failed to prepare FAS Server. please confirm if Addresses of FAS Servers are configured correctly. If you are not using Federated Authentication Credential Type, please ignore this warning.
2020-10-13 00:47:59.784 [INFO ] [27] - Listening on /var/xdl/.cbpcontroller for incoming data..
2020-10-13 00:47:59.784 [INFO ] [27] - Start CBP Proxy Server.
2020-10-13 00:47:59.785 [INFO ] [27] - Clean the sock file if it exist.
2020-10-13 00:47:59.785 [INFO ] [27] - Listening for incoming data..
2020-10-13 00:47:59.785 [INFO ] [27] - Modify sock file attr.
2020-10-13 01:02:18.897 [ERROR] [9] - CbpProxy.ClosedownService: An exception has occured while attempting to roll back controller. Error: null  #why this null
2020-10-13 01:07:00.738 [INFO ] [1] - Java version "1.8.0_265". OpenJDK Runtime Environment. OpenJDK 64-Bit Server VM (build 25.265-b01, mixed mode)
2020-10-13 01:07:00.749 [INFO ] [1] - 7.5, 20.09.0.11
2020-10-13 01:07:01.166 [INFO ] [1] - DnsUtil.ldapServerReachable: LDAP Server: bbpdc.bb.cc, realm: bb.cc, connection time: 2 ms
2020-10-13 01:07:01.192 [INFO ] [1] - Krb5.conf: /etc/krb5.conf
2020-10-13 01:07:01.205 [INFO ] [1] - Dns name: u01vda.BB.CC
2020-10-13 01:07:01.206 [INFO ] [1] - Krb5.keytab: /etc/krb5.keytab
2020-10-13 01:07:01.206 [INFO ] [1] - Krb5 ticket cache file spec: /tmp/krb5cc_<uid>
2020-10-13 01:07:01.349 [INFO ] [16] - [VDA POLICY]: Start Ldap proxy Server.
2020-10-13 01:07:01.433 [WARN ] [12] - FASProxyServer.prepareFasServer failed to prepare FAS Server. please confirm if Addresses of FAS Servers are configured correctly. If you are not using Federated Authentication Credential Type, please ignore this warning.
2020-10-13 01:07:05.505 [INFO ] [26] - Listening on /var/xdl/.cbpcontroller for incoming data..
2020-10-13 01:07:05.505 [INFO ] [26] - Start CBP Proxy Server.
2020-10-13 01:07:05.506 [INFO ] [26] - Clean the sock file if it exist.
2020-10-13 01:07:05.507 [INFO ] [26] - Listening for incoming data..
2020-10-13 01:07:05.508 [INFO ] [26] - Modify sock file attr.
 

 

Link to comment

4 answers to this question

Recommended Posts

  • 0

ctxvda service failed mostly because the dotnet was not installed correctly. Please check the path and version of your dotnet

Install .NET Core Runtime 2.1 as a prerequisite

Before installing the Linux VDA, install .NET Core Runtime 2.1 according to the instructions at https://docs.microsoft.com/en-us/dotnet/core/install/linux-package-managers.

After installing .NET Core Runtime 2.1, run the which dotnet command to find your runtime path.

Based on the command output, set the .NET Core runtime binary path. For example, if the command output is /aa/bb/dotnet, use /aa/bb as the dotnet binary path.

 

  • Like 1
Link to comment
  • 0

thanks,is right

[root@centos81vda ~]# dotnet --list-sdks
2.1.517 [/usr/lib64/dotnet/sdk]
3.1.107 [/usr/lib64/dotnet/sdk]

[root@centos81vda ~]# systemctl status ctxvda
● ctxvda.service - Citrix DotNet VDA Service
   Loaded: loaded (/etc/systemd/system/ctxvda.service; enabled; vendor preset: disabled)
   Active: active (running) since Tue 2020-10-13 20:43:24 CST; 49s ago
 Main PID: 3807 (ctxvda)
    Tasks: 24 (limit: 23655)
   Memory: 64.0M
   CGroup: /system.slice/ctxvda.service
           ├─3807 /bin/sh /opt/Citrix/VDA/sbin/ctxvda
           └─3811 /usr/bin/dotnet /opt/Citrix/VDA/lib64/BrokerAgentLinux.dll

Oct 13 20:43:24 centos81vda systemd[1]: Started Citrix DotNet VDA Service.
 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...