1 Reply Latest reply: May 3, 2012 1:01 PM by Toby H Ferguson -Oracle RSS

    VDI 3.4 - cannot get OVDC to connect

    Toby H Ferguson -Oracle
      I've installed VDI 3.4 on a local linux server, everything on one machine, except the openldap server, which is on another Oracle Linux 5.7 server. That all seems to work.

      I installed ovdc 3.1.0.16 (the latest I could find) and attempted to open up a client session. But it just doesn't connect, even when I use the IP address.

      I've had a good look at the logs but I haven't (yet) figured out exactly what's not working.

      The client log says:

      SESSION     (11bc/140.725): alpSessionSetState: error -> uninitialized
      NETWORK     (11bc/140.725): Stopping net thread
      NETWORK     (11bc/140.725): Stopping net thread
      SESSION     (11bc/140.725): alpSessionSetState: uninitialized -> connectconfig
      SESSION     (11bc/140.725): Adding server 192.168.1.231
      SESSION     (11bc/140.725): alpSessionSetState: connectconfig -> connectdnslookup
      SESSION     (11bc/140.725): alpSessionDNSLookup : family =AF_INET(4), str = 192.168.1.231
      SESSION     (11bc/140.725): alpSessionDNSLookup: getaddrinfo(192.168.1.231, 7009, hints.ai_family = 2, hints.ai_flags = 2, hints.ai_socktype =1
      SESSION     (11bc/140.725): alpSessionDNSLookup : getaddrinfo OK : addr=192.168.1.231, port=7009
      SESSION     (11bc/140.725): alpSessionSetState: connectdnslookup -> connectingtcp
      SESSION     (11bc/140.725): Initiating connection to server... fd=1588
      SESSION     (11bc/140.740): alpSessionSetState: connectingtcp -> disconnected
      SESSION     (11bc/140.741): alpSessionClientAuthReset: Initing SHA1 context
      SESSION     (11bc/140.741): alpSessionResetAuthEncState
      SESSION     (11bc/140.742): alpSessionClientAuthReset: Initing SHA1 context
      SESSION     (11bc/140.742): alpSessionResetAuthEncState
      SESSION     (11bc/140.742): alpSessionClientAuthCollect: collecting data "sessionReq _=1 realIP=c0a8015a tokenSeq=7 MTU=1500 startRes=1536x960:1536x960 clientRand=j8xGjREDXTIgnEEPF.Z0865Cpmat1FDMaas6Nv/ITYq firstServer=c0a801e7 initState=1 keyTypes=dsa-sha1-x1,dsa-sha1 cause=insert event=insert id=a6001aad934f4c42baa2b18218fbe3b2 sw=Oracle:SunRayS1:MINGW32_NT-5.1:3.1.0 hw=SunRayS1 type=pseudo namespace=MD5 pn=-1 sn=a6001aad934f4c42baa2b18218fbe3b2 SCHD=2 state=disconnected
      ", length 404
      SESSION     (11bc/140.742): Writing: sessionReq _=1 realIP=c0a8015a tokenSeq=7 MTU=1500 startRes=1536x960:1536x960 clientRand=j8xGjREDXTIgnEEPF.Z0865Cpmat1FDMaas6Nv/ITYq firstServer=c0a801e7 initState=1 keyTypes=dsa-sha1-x1,dsa-sha1 cause=insert event=insert id=a6001aad934f4c42baa2b18218fbe3b2 sw=Oracle:SunRayS1:MINGW32_NT-5.1:3.1.0 hw=SunRayS1 type=pseudo namespace=MD5 pn=-1 sn=a6001aad934f4c42baa2b18218fbe3b2 SCHD=2 state=disconnected

      And the corresponding section of the server log says:

      May 1 15:30:50 dell-server-1 utstoraged[3768]: Restarting ...
      May 1 15:31:02 dell-server-1 java: utadt:: username={root} hostname={dell-serv\
      er-1.toby.net} service={Admin} cmd={} message={Restarted services using cold re\
      start for host(s) [dell-server-1.toby.net]} status={0} return_val={0}
      May 1 15:31:25 dell-server-1 last message repeated 7 times
      May 1 15:31:49 dell-server-1 utauthd: Worker3 NOTICE: whichServer pseudo.a6001\
      aad934f4c42baa2b18218fbe3b2:
      May 1 15:31:49 dell-server-1 utauthd: Worker3 NOTICE: CLAIMED by StartSession.\
      m5 NAME: pseudo.a6001aad934f4c42baa2b18218fbe3b2 PARAMETERS: {stealProtected=tr\
      ue, terminalIPA=192.168.1.90, type=pseudo, state=disconnected, cause=insert, do\
      amgh=true, lockaction=disconnect, rawId=a6001aad934f4c42baa2b18218fbe3b2, termi\
      nalCID=MD5.a6001aad934f4c42baa2b18218fbe3b2, MTU=1500, tokenSeq=1, firstServer=\
      c0a801e7, namespace=MD5, keyTypes=dsa-sha1-x1,dsa-sha1, sw=Oracle:SunRayS1:MING\
      W32_NT-5.1:3.1.0, id=a6001aad934f4c42baa2b18218fbe3b2, clientRand=sKWEygGtqLLsI\
      OBMILUhRAfWb/9Pej0Bs4OHHJi3al0, realIP=c0a8015a, startRes=1536x960:1536x960, us\
      eReal=true, event=insert, sn=a6001aad934f4c42baa2b18218fbe3b2, rawType=pseudo, \
      hw=SunRayS1, initState=1, usersession=false, _=1}
      May 1 15:31:49 dell-server-1 utauthd: Worker3 NOTICE: CONNECT MD5.a6001aad934f\
      4c42baa2b18218fbe3b2, pseudo.a6001aad934f4c42baa2b18218fbe3b2, all connections \
      allowed
      May 1 15:31:51 dell-server-1 utauthd: Worker3 NOTICE: MTU = 1500
      May 1 15:31:51 dell-server-1 utauthd: Worker3 NOTICE: SessionManager.getSessio\
      nManager: Initiate callback to utsessiond at localhost:7007
      May 1 15:31:51 dell-server-1 utauthd: Worker3 NOTICE: SessionManager.initiateC\
      allback localhost:7010 established communication
      May 1 15:31:51 dell-server-1 utdtsession: Add (11,pseudo.a6001aad934f4c42baa2b\
      18218fbe3b2,normal)
      May 1 15:31:50 dell-server-1 last message repeated 5 times
      May 1 15:31:51 dell-server-1 utseriald[3565]: Serial service can't use device \
      2
      May 1 15:31:55 dell-server-1 xinetd[3331]: START: utrcmd pid=4260 from=192.168\
      .1.231
      May 1 15:31:55 dell-server-1 utstoraged[3768]: Restarting ...
      May 1 15:31:55 dell-server-1 xinetd[3331]: EXIT: utrcmd status=0 pid=4260 dura\
      tion=0(sec)
      May 1 15:32:00 dell-server-1 utstoraged[3768]: Restarting ...
      May 1 15:32:00 dell-server-1 java: ut_getCurrentList(): poll timed out
      May 1 15:32:05 dell-server-1 java: getAuthMgrRecords(): poll timed out
      May 1 15:32:05 dell-server-1 java: set_state(): failed to contact authd (Authe\
      ntication Manager timeout)
      May 1 15:32:35 dell-server-1 last message repeated 7 times

      It would appear that there's a failure to communicate to the authd server - I'm just not sure how to get that communication going.

      Any ideas on how best to proceed?

      Toby Ferguson
      Oracle
        • 1. Re: VDI 3.4 - cannot get OVDC to connect
          Toby H Ferguson -Oracle
          I've tried a couple of ideas out and checked that my Sun Ray Server is configured to allow OVDC client connections:

          [root@dell-server-1 ~]# utpolicy
          # Current Policy:
          -a -g -z both -m -k both -u both

          so that looks OK.

          I did find that my server was at runlevel 3, not 5, and I fixed that (not that it helped - I still have to start the database, vdi web service and sun ray admin service by hand - who knows what else I'm missing!).

          So this still doesn't connect up.

          Any ideas?