Announcement

Collapse
No announcement yet.

V-Ray 2.0 for Maya Beta 2

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    You have something listening on port 20207
    Code:
    tcp4 0 0 *.20207 *.* LISTEN
    This application prevents vray standalone to start as a server. You should find it and stop it.
    You can see which process has opened the port with "lsof -i -P | grep 202" (I've tried this on 10.6.x and 10.5.x).
    V-Ray developer

    Comment


    • #17
      Great! I feel we are almost there. the app that was hogging the port was DropBox. I shut it down, but the stand alone still wont start. I still get the same error.

      [2011/Apr/20|07:50:43] error: Failed to start network server: Failed to open listening port (4
      [2011/Apr/20|07:50:43] Exiting server mode.
      [2011/Apr/20|07:50:43] Closing log - 1 error(s), 0 warning(s).

      So what is listening port (48 ) and how do I find out what is clogging it up?

      Again thanks This stuff is way over my head. so your patience is much appreciated.
      Cheers!
      Brad J Hayes
      VFX Supervisor
      Brand New School

      Comment


      • #18
        Can you paste the output of "lsof -i -P | grep 202" just before you start the vray standalone?

        48 is the error returned by the OS, in your case it is EADDRINUSE.
        V-Ray developer

        Comment


        • #19
          Tomorrowland:~ drkollossus$ lsof -i -P | grep 202
          Tomorrowland:~ drkollossus$ /Applications/Autodesk/maya2012/Maya.app/Contents/vray/bin/vray -server -portNumber=20207
          [2011/Apr/20|07:59:02] Reading configuration from "/Applications/Autodesk/maya2012/Maya.app/Contents/vray/bin//vrayconfig.xml"
          [2011/Apr/20|07:59:02] ===============================================
          [2011/Apr/20|07:59:02] V-Ray Standalone, version 1.5.01 for x64
          [2011/Apr/20|07:59:02] Copyright (C) 2000-2010 Chaos Group Ltd. All rights reserved.
          [2011/Apr/20|07:59:02] Use -credits option for additional third-party copyright notices.
          [2011/Apr/20|07:59:02]
          [2011/Apr/20|07:59:02] Build from Apr 12 2011, 12:44:32
          [2011/Apr/20|07:59:02] Compiled with GCC-compatible compiler, version 4.2
          [2011/Apr/20|07:59:02] Operating system is Mac OS X
          [2011/Apr/20|07:59:02]
          [2011/Apr/20|07:59:02] V-Ray core version is 2.00.01
          [2011/Apr/20|07:59:02] ===============================================
          [2011/Apr/20|07:59:02]
          [2011/Apr/20|07:59:02] Loading plugins from "/Applications/Autodesk/maya2012/Maya.app/Contents/vray/vrayplugins/libvray_*.so"
          [2011/Apr/20|07:59:03] 101 plugin(s) loaded successfully
          [2011/Apr/20|07:59:03] Finished loading plugins.
          [2011/Apr/20|07:59:03] error: Failed to start network server: Failed to open listening port (4
          [2011/Apr/20|07:59:03] Exiting server mode.
          [2011/Apr/20|07:59:03] Closing log - 1 error(s), 0 warning(s).
          Clearing command queue.
          Cheers!
          Brad J Hayes
          VFX Supervisor
          Brand New School

          Comment


          • #20
            And if you don't use grep, the command is "lsof -i -P"?
            V-Ray developer

            Comment


            • #21
              Tomorrowland:~ drkollossus$ lsof -i -P
              COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
              compresso 145 drkollossus 6u IPv4 0x147a7b18 0t0 TCP *:49165 (LISTEN)
              compresso 145 drkollossus 9u IPv6 0x1471d830 0t0 TCP *:49165 (LISTEN)
              qmasterta 146 drkollossus 6u IPv4 0x147a9378 0t0 TCP *:49159 (LISTEN)
              qmasterta 146 drkollossus 9u IPv6 0x1471e6d0 0t0 TCP *:49159 (LISTEN)
              qmasterta 147 drkollossus 6u IPv4 0x147a8b58 0t0 TCP *:49161 (LISTEN)
              qmasterta 147 drkollossus 9u IPv6 0x1471e1f0 0t0 TCP *:49161 (LISTEN)
              qmasterta 148 drkollossus 6u IPv4 0x147a9b98 0t0 TCP *:49157 (LISTEN)
              qmasterta 148 drkollossus 9u IPv6 0x1471ebb0 0t0 TCP *:49157 (LISTEN)
              qmasterta 149 drkollossus 6u IPv4 0x147a8338 0t0 TCP *:49163 (LISTEN)
              qmasterta 149 drkollossus 9u IPv6 0x1471dd10 0t0 TCP *:49163 (LISTEN)
              qmasterta 150 drkollossus 6u IPv4 0x147a8f68 0t0 TCP *:49160 (LISTEN)
              qmasterta 150 drkollossus 9u IPv6 0x1471e460 0t0 TCP *:49160 (LISTEN)
              qmasterta 151 drkollossus 6u IPv4 0x147a7f28 0t0 TCP *:49164 (LISTEN)
              qmasterta 151 drkollossus 9u IPv6 0x1471daa0 0t0 TCP *:49164 (LISTEN)
              qmasterta 152 drkollossus 6u IPv4 0x147a8748 0t0 TCP *:49162 (LISTEN)
              qmasterta 152 drkollossus 9u IPv6 0x1471df80 0t0 TCP *:49162 (LISTEN)
              qmasterta 153 drkollossus 6u IPv4 0x147a9788 0t0 TCP *:49158 (LISTEN)
              qmasterta 153 drkollossus 9u IPv6 0x1471e940 0t0 TCP *:49158 (LISTEN)
              SystemUIS 334 drkollossus 10u IPv4 0x16e91f28 0t0 TCP localhost:59732->localhost:5204 (ESTABLISHED)
              SystemUIS 334 drkollossus 12u IPv4 0x15ad9688 0t0 TCP localhost:59733->localhost:5204 (ESTABLISHED)
              SystemUIS 334 drkollossus 13u IPv4 0x1e102688 0t0 TCP localhost:59734->localhost:5204 (ESTABLISHED)
              SystemUIS 334 drkollossus 15u IPv4 0x1e4456c8 0t0 TCP localhost:59735->localhost:5204 (ESTABLISHED)
              SystemUIS 334 drkollossus 16u IPv4 0x1e08f688 0t0 TCP localhost:59736->localhost:5204 (ESTABLISHED)
              AppleVNCS 380 drkollossus 8u IPv6 0x12f37830 0t0 TCP *:5900 (LISTEN)
              netsessio 396 drkollossus 6u IPv4 0x15add378 0t0 TCP localhost:9421 (LISTEN)
              netsessio 396 drkollossus 8u IPv4 0x15adcb58 0t0 TCP localhost:9422 (LISTEN)
              netsessio 396 drkollossus 9u IPv4 0x15adc338 0t0 TCP localhost:9423 (LISTEN)
              netsessio 396 drkollossus 10u IPv4 0x12d85ce4 0t0 UDP localhost:50581
              netsessio 396 drkollossus 11u IPv4 0x13867898 0t0 UDP localhost:55553
              FileSyncA 429 drkollossus 9u IPv4 0x1dad6b58 0t0 TCP 192.168.0.11:61809->a184-24-29-205.deploy.akamaitechnologies.com:443 (CLOSE_WAIT)
              aosnotify 451 drkollossus 5u IPv4 0x1e105b58 0t0 TCP 192.168.0.11:61880->aosnotify.me.com:5223 (ESTABLISHED)
              iTunes 526 drkollossus 16u IPv4 0x16e92748 0t0 TCP *:3689 (LISTEN)
              iTunes 526 drkollossus 19u IPv6 0x12f386d0 0t0 TCP *:3689 (LISTEN)
              Mail 1468 drkollossus 18u IPv4 0x1dad3278 0t0 TCP 192.168.0.11:61680->209.249.171.141:993 (ESTABLISHED)
              Mail 1468 drkollossus 21u IPv4 0x1e1032b8 0t0 TCP 192.168.0.11:61536->nk11b01-mail3.me.com:993 (ESTABLISHED)
              Mail 1468 drkollossus 25u IPv4 0x1e10b378 0t0 TCP 192.168.0.11:62091->pop.everyone.net:993 (ESTABLISHED)
              Mail 1468 drkollossus 26u IPv4 0x16e92338 0t0 TCP 192.168.0.11:62093->pv-in-f109.1e100.net:993 (ESTABLISHED)
              Mail 1468 drkollossus 27u IPv4 0x15ada6c8 0t0 TCP 192.168.0.11:61875->nk11b01-mail3.me.com:993 (ESTABLISHED)
              Mail 1468 drkollossus 28u IPv4 0x1dad7b98 0t0 TCP 192.168.0.11:60671->pw-in-f109.1e100.net:993 (ESTABLISHED)
              Mail 1468 drkollossus 29u IPv4 0x15adc748 0t0 TCP 192.168.0.11:61796->209.249.171.141:993 (ESTABLISHED)
              Mail 1468 drkollossus 30u IPv4 0x16e92b58 0t0 TCP 192.168.0.11:53094->a184-24-29-206.deploy.akamaitechnologies.com:80 (ESTABLISHED)
              Mail 1468 drkollossus 31u IPv4 0x16e912f8 0t0 TCP 192.168.0.11:61876->pw-in-f109.1e100.net:993 (ESTABLISHED)
              Mail 1468 drkollossus 32u IPv4 0x1e093788 0t0 TCP 192.168.0.11:61844->nk11b01-mail5.me.com:993 (ESTABLISHED)
              Mail 1468 drkollossus 33u IPv4 0x1e11e338 0t0 TCP 192.168.0.11:61979->pv-in-f109.1e100.net:993 (ESTABLISHED)
              Mail 1468 drkollossus 34u IPv4 0x147a5ea8 0t0 TCP 192.168.0.11:61688->mail.me.com:993 (ESTABLISHED)
              firefox-b 1519 drkollossus 27u IPv4 0x1e0f8788 0t0 TCP 192.168.0.11:62131->24.143.195.18:80 (ESTABLISHED)
              firefox-b 1519 drkollossus 34u IPv4 0x16e91b18 0t0 TCP 192.168.0.11:62141->74.125.224.219:80 (ESTABLISHED)
              firefox-b 1519 drkollossus 46u IPv4 0x1e107688 0t0 TCP 192.168.0.11:62143->74.125.224.219:80 (ESTABLISHED)
              firefox-b 1519 drkollossus 51u IPv4 0x1e11ef68 0t0 TCP 192.168.0.11:62124->216.156.147.67.ptr.us.xo.net:80 (ESTABLISHED)
              firefox-b 1519 drkollossus 53u IPv4 0x1e11e748 0t0 TCP 192.168.0.11:62154->24.143.195.82:80 (ESTABLISHED)
              firefox-b 1519 drkollossus 56u IPv4 0x1dad4ad8 0t0 TCP 192.168.0.11:62117->72.21.92.20:80 (ESTABLISHED)
              firefox-b 1519 drkollossus 58u IPv4 0x15adaad8 0t0 TCP 192.168.0.11:62115->72.21.92.20:80 (ESTABLISHED)
              firefox-b 1519 drkollossus 59u IPv4 0x1dad5708 0t0 TCP 192.168.0.11:62144->74.125.224.219:80 (ESTABLISHED)
              firefox-b 1519 drkollossus 64u IPv4 0x1e1082b8 0t0 TCP 192.168.0.11:62157->74.125.224.187:80 (ESTABLISHED)
              firefox-b 1519 drkollossus 85u IPv4 0x1e103ee8 0t0 TCP 192.168.0.11:62142->74.125.224.219:80 (ESTABLISHED)
              firefox-b 1519 drkollossus 87u IPv4 0x1dad46c8 0t0 TCP 192.168.0.11:62168->74.125.224.206:80 (ESTABLISHED)
              plugin-co 1524 drkollossus 21u IPv4 0x1e10ab58 0t0 TCP 192.168.0.11:59843->24.143.207.190:80 (CLOSED)
              Tomorrowland:~ drkollossus$
              Cheers!
              Brad J Hayes
              VFX Supervisor
              Brand New School

              Comment


              • #22
                Do you have a line like "tcp4 0 0 *.20207 *.* LISTEN" in the output of "netstat -an | grep 202", just before you execute VRay standalone?
                V-Ray developer

                Comment


                • #23
                  Yes

                  Tomorrowland:~ drkollossus$ netstat -an | grep 202
                  tcp4 0 0 *.20207 *.* LISTEN
                  tcp4 0 0 192.168.0.11.62480 207.46.202.15.80 TIME_WAIT
                  udp4 0 0 192.168.0.11.49980 255.255.255.255.20205
                  Tomorrowland:~ drkollossus$
                  Cheers!
                  Brad J Hayes
                  VFX Supervisor
                  Brand New School

                  Comment


                  • #24
                    Argh, my mistake, you need to use "sudo lsof -i -P | grep 202", because "lsof -i -P" prints only the ports for the current user.
                    V-Ray developer

                    Comment


                    • #25
                      no worries, here is the output of "sudo lsof -i -P | grep 202"

                      Tomorrowland:~ drkollossus$ sudo lsof -i -P | grep 202
                      Password:
                      vray.exe 304 root 3u IPv4 0x147a5278 0t0 TCP *:20207 (LISTEN)
                      vray.exe 304 root 4u IPv4 0x12d85c08 0t0 UDP 192.168.0.11:49980->broadcasthost:20205
                      Cheers!
                      Brad J Hayes
                      VFX Supervisor
                      Brand New School

                      Comment


                      • #26
                        Hm, seem the vrayslave has been registered as service/daemon, and it is running, but for some reason maya doesn't try to connect to it, but starts another instance.
                        Can you try to reinstall and when the installer asks you if you want to register the VRaySlave daemon, to say no?
                        Another option is to kill the vray.exe using the activity monitor.
                        V-Ray developer

                        Comment


                        • #27
                          sorry that took me a day... but it worked... Since we found that DropBox was using the same port I shut it down before I did the reinstall, I don't know if that was the trick, but it works great now. Thank you so much for your help.
                          Cheers!
                          Brad J Hayes
                          VFX Supervisor
                          Brand New School

                          Comment

                          Working...
                          X