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

LinuxVDA on ubuntu 18.04 stopped working.


Henrik -

Question

I have an Ubuntu 18.04 which used to work and it just stopped working. I have checked the follow...

 

1. No firewall on Windows Controller

2. No firewall on Ubuntu VDA

3. Time is OK on both.

4. Computer account in domain is ok and auth works

5. DG and machinecatalog recreated and machine readded

6. DNS looks to point on the right IP if using ping from both machines.. controller to VDA and vicer versa.

7. Used cdftracer and found it errors out on SPN HOST/............ Should it really try to reach linuxVDA via SPN, isn't that Windows specific?

8. Here is log from VDA (looks about the same as CDF logtrace on broker)

 

[2020/08/27 15:43:07.9099358] [BrokerAgentAoTracing] [Information] BROKER AGENT -> HDX STACK Enumerate Sessions Request: Transaction unique ID: 94b46b0e-8433-40b6-8e14-9969532a3771, VDA IP: ::1, 127.0.0.1

[2020/08/27 15:45:36.5021036] [BrokerAgentAoTracing] [Information] BROKER AGENT TO PLUGIN Notify Registration Event: VDA IP: ::1, 127.0.0.1, Registration Event type: Deregistered

[2020/08/27 15:45:37.6745343] [BrokerAgentAoTracing] [Information] Get ComputerSID Successfully obtained Computer SID from AD: S-1-5-21-2341098062-2696000015-1289653397-3602

[2020/08/27 15:45:37.7060285] [BrokerAgentAoTracing] [Information] BROKER AGENT -> HDX STACK Enumerate Sessions Request: Transaction unique ID: 9367ec27-845f-43c4-97c3-b76312694124, VDA IP: ::1, 127.0.0.1

[2020/08/27 15:45:37.7198817] [BrokerAgentAoTracing] [Information] BROKER AGENT -> HDX STACK Set Stack Features Success: VDA IP: ::1, 127.0.0.1, Crypto Hash Method ID 2, Feature bitmap 0

[2020/08/27 15:45:42.8297868] [BrokerAgentAoTracing] [Information] REGISTRATION Registration request sending: SID: S-1-5-21-2341098062-2696000015-1289653397-3602, VDA IP: ::1, 127.0.0.1, Broker IP: 10.0.0.15, VDA Name: UBU0.domain.com, VDA capabilities: [Name=DesktopDelivery, Data=NULL_DATA, ExtensionData=NULL_EXTENSIONDATA],[Name=IcaProtocol, Data=NULL_DATA, ExtensionData=NULL_EXTENSIONDATA], Agent version: 20.06.0.14,  OS type: Ubuntu 18.04.4 LTS version: Ubuntu.18.04

[2020/08/27 15:45:42.8654593] [BrokerAgentAoTracing] [Information] BROKER AGENT -> HDX STACK Enumerate Sessions Request: Transaction unique ID: ce4c4867-ea12-444c-a764-e184c7523e04, VDA IP: ::1, 127.0.0.1

[2020/08/27 15:45:42.8749038] [BrokerAgentAoTracing] [Information] STATUS QUERY Query All Sessions Success: VDA machine SID: S-1-5-21-2341098062-2696000015-1289653397-3602, Transaction unique local ID: 09b848d4-e31e-4522-96c8-7295314870b9, Broker IP addresses: NULL_INFORMATIONMANAGER OR NULL_REGISTEREDDDCIP

[2020/08/27 15:45:43.0958267] [BrokerAgent] [Error] AttemptRegistrationWithSingleDdc: Registration with 'xen0.domain.com @ 10.0.0.15' failed. RejectionCode='AgentNotContactable'

[2020/08/27 15:45:43.1070171] [BrokerAgentAoTracing] [Error] REGISTRATION Failed registration: VDA machine SID: S-1-5-21-2341098062-2696000015-1289653397-3602, Broker: xen0.domain.com @ 10.0.0.15, Heartbeat period: 0 Error: AgentNotContactable

[2020/08/27 15:45:43.1211045] [BrokerAgent] [Error] RegistrationManager.AttemptRegistration: Could not register with any controllers. Waiting to try again in 16726 ms. Multi-forest - False

[2020/08/27 15:45:43.1245638] [BrokerAgentAoTracing] [Error] REGISTRATION Failed registration: VDA machine SID: S-1-5-21-2341098062-2696000015-1289653397-3602, Broker IP: UNKNOWN, Error: Could not register with any controllers. Waiting to try again in 16726 ms.

root@UBU0:/var/log/xdl#

Link to comment

4 answers to this question

Recommended Posts

  • 0

SPN seems to be OK too!

 

 

 

C:\Users\administrator.AD>SetSPN -L XEN0

Registered ServicePrincipalNames for CN=XEN0,CN=Computers,DC=domain,DC=com:

        UPM_SPN_7DC3CE86/XEN0

        WSMAN/XEN0

        WSMAN/XEN0.domain.com

        TERMSRV/XEN0

        TERMSRV/XEN0.domain.com

        RestrictedKrbHost/XEN0

        HOST/XEN0

        RestrictedKrbHost/XEN0.domain.com

        HOST/XEN0.domain.com

 

C:\Users\administrator.AD>SetSPN -L UBU0

Registered ServicePrincipalNames for CN=UBU0,CN=Computers,DC=domain,DC=com:

        RestrictedKrbHost/UBU0

        HOST/UBU0

        RestrictedKrbHost/UBU0.domain.com

        HOST/UBU0.domain.com

Link to comment
  • 0

Reply to chenxiangw:

 

Actually found it now. Somehow a systemupdate to ubuntu 18.04 added a service to port 80 fore redirecting https to 443. The service was not listening on 80 before but due to HSTS and security measures the developer added it and it got enable via dist-update.  Found it by using the netstat command right after the VDA tried to register.... (VDA could always start no problem there but the DDC could not contact the VDA on port 80 /found in broker logs/ ). To use netstat install it first with sudo apt install net-tools.

 

 

root@UBU0:~# netstat --numeric-hosts --numeric-ports --programs -u -t

Active Internet connections (w/o servers)

Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name    

tcp        0      0 127.0.0.1:55948         127.0.0.1:5432          ESTABLISHED 2390/dotnet         

tcp        0    180 10.0.0.24:22            10.0.0.50:50390         ESTABLISHED 7257/sshd: root@pts

tcp        0      0 127.0.0.1:5432          127.0.0.1:55926         ESTABLISHED 1563/postgres: 10/m

tcp        0      0 10.0.0.24:39894         10.0.0.10:389           ESTABLISHED 905/winbindd        

tcp        0      0 127.0.0.1:5432          127.0.0.1:55948         ESTABLISHED 2395/postgres: 10/m

tcp        0      0 127.0.0.1:5432          127.0.0.1:55950         ESTABLISHED 2429/postgres: 10/m

tcp        0      0 127.0.0.1:55950         127.0.0.1:5432          ESTABLISHED 2390/dotnet         

tcp        0      0 10.0.0.24:44912         10.0.0.10:49667         ESTABLISHED 905/winbindd        

tcp        0      0 10.0.0.24:59318         10.0.0.10:49671         ESTABLISHED 905/winbindd        

tcp6       0      0 127.0.0.1:55926         127.0.0.1:5432          ESTABLISHED 1308/java           

tcp6       0      0 10.0.0.24:52220         216.58.211.14:443       TIME_WAIT   -                   

udp        0      0 127.0.0.1:35011         127.0.0.1:35011         ESTABLISHED 738/postgres        

 

 

 

 

 

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...