5 Replies Latest reply on Mar 14, 2011 3:05 PM by Todd Little-Oracle

    WSNAT_CAT:1008: ERROR

    845754
      I have Tuxedo 9.1 installed in Win.. 2003.

      I have a problem with WSL server trying tmboot -y
      I have in my ubbfile the next line with

      "WSL" SRVGRP=LAB_GRP SRVID=100 RESTART=Y GRACE=0 MAXGEN=2
      CLOPT="-A -- -n //192.168.0.2:3150 -m 2 -M 10 -x 5"          

      I changed the line with this next and I don´t have the problem

      "WSL" SRVGRP=LAB_GRP SRVID=100 RESTART=Y GRACE=0 MAXGEN=2
      CLOPT="-A -- -n //127.0.0.1:3150 -m 2 -M 10 -x 5"

      I changed el port because the 3050 is busy

      I checked the "netstat" command, And the command show me the port 3150 in LISTENING and the tlistener is run

      I can test my clients in localhost, but I can not execute clients in another machine

      this is my evidence

      -------
      tmboot
      -------

      Booting admin processes ...
      exec BBL -A :
      process id=384 ... Started.
      Booting server processes ...
      exec WSL -A -- -n //192.168.0.2:3150 -m 2 -M 10 -x 5 :
      Failed.
      exec WSL -A -- -n //127.0.0.1:3150 -m 2 -M 10 -x 5 :
      process id=3896 ... Started.
                
      -------
      LOG
      -------
      121320.DELL!WSL.4040.3764.0: 03-08-2011: Tuxedo Version 9.1 with VS2005 v2, 32-bit
      121320.DELL!WSL.4040.3764.0: LIBTUX_CAT:262: INFO: Standard main starting
      121320.DELL!WSL.4040.3764.0: WSNAT_CAT:1008: ERROR: Could not establish listening address on network //192.168.0.2:3150
      121320.DELL!WSL.4040.3764.0: LIBTUX_CAT:250: ERROR: tpsvrinit() failed

      -------
      ubbfile
      -------
      IPCKEY     62762
      MASTER     LAB_LOCAL
      MAXACCESSERS     200
      MAXSERVERS     100
      MAXSERVICES     300
      MODEL          SHM

      *MACHINES
      "DELL"
           LMID=LAB_LOCAL
           TUXDIR="C:\bea\tuxedo"
           TUXCONFIG="C:\tuxedo\bin\tuxconfig"
           APPDIR="C:\tuxedo\bin"
           ULOGPFX="C:\tuxedo\log\LABORATORIO_ULOG"
           ENVFILE="C:\tuxedo\conf\env_lab_local"
           MAXWSCLIENTS=100
           TYPE="WinNT"
           UID=0
           GID=0
           
      *GROUPS
      LAB_GRP          GRPNO=10     LMID=LAB_LOCAL

      *SERVERS
      DEFAULT:
                CLOPT="-A" RESTART=Y GRACE=0 MAXGEN=2
      #"WSL" SRVGRP=LAB_GRP SRVID=100 RESTART=Y GRACE=0 MAXGEN=2
      #     CLOPT="-A -- -n //192.168.0.2:3150 -m 2 -M 10 -x 5"          
      "WSL" SRVGRP=LAB_GRP SRVID=101 RESTART=Y GRACE=0 MAXGEN=2
           CLOPT="-A -- -n //127.0.0.1:3150 -m 2 -M 10 -x 5"          

      LABS01 SRVGRP=LAB_GRP SRVID=10
                CLOPT="-A -- -v"
           
      *SERVICES

      Please help me regarding this.

      From Mexico City Greetings.
        • 1. Re: WSNAT_CAT:1008: ERROR
          Todd Little-Oracle
          Hi Chava,

          You say you run netstat and see that port 3150 is listening. On which interface is the port being listened on? If it is on the interface 192.168.0.2 then some other application is using that port. You'll either need to change the port you are using for the WSL on interface 192.168.0.2 or find the application that is already using that port and change the port it is using.

          If you can post the results of "netstat -an" that would let us give a little better advice.

          Regards,
          Todd Little
          Oracle Tuxedo Chief Architect
          • 2. Re: WSNAT_CAT:1008: ERROR
            845754
            ok, mi netstat comand show the next.

            -----------
            netstat -na
            -----------

            Proto Dirección local Dirección remota Estado
            TCP 0.0.0.0:135 0.0.0.0:0 LISTENING
            TCP 0.0.0.0:445 0.0.0.0:0 LISTENING
            TCP 0.0.0.0:5900 0.0.0.0:0 LISTENING
            TCP 127.0.0.1:1025 0.0.0.0:0 LISTENING
            TCP 127.0.0.1:3150 0.0.0.0:0 LISTENING
            TCP 127.0.0.1:4828 0.0.0.0:0 LISTENING
            TCP 127.0.0.1:4829 0.0.0.0:0 LISTENING
            TCP 127.0.0.1:5000 0.0.0.0:0 LISTENING
            TCP 127.0.0.1:5152 0.0.0.0:0 LISTENING
            TCP 127.0.0.1:12025 0.0.0.0:0 LISTENING
            TCP 127.0.0.1:12080 0.0.0.0:0 LISTENING
            TCP 127.0.0.1:12110 0.0.0.0:0 LISTENING
            TCP 127.0.0.1:12119 0.0.0.0:0 LISTENING
            TCP 127.0.0.1:12143 0.0.0.0:0 LISTENING
            TCP 127.0.0.1:12465 0.0.0.0:0 LISTENING
            TCP 127.0.0.1:12563 0.0.0.0:0 LISTENING
            TCP 127.0.0.1:12993 0.0.0.0:0 LISTENING
            TCP 127.0.0.1:12995 0.0.0.0:0 LISTENING
            TCP 192.168.0.3:139 0.0.0.0:0 LISTENING

            my question is, why in localhost is working ok?
            what do I need for boot the WSL and execute services from in the client machines?

            thanks for your help and regards.
            • 3. Re: WSNAT_CAT:1008: ERROR
              Todd Little-Oracle
              Hi Chava,

              OK, now I'm really confused! I'm hoping that this netstat was performed after Tuxedo was booted, otherwise I can't explain what you are seeing. 127.0.0.1:3150 shows as being in use in the output you provided. If Tuxedo wasn't booted, then I can't explain why your WSL on address 127.0.0.1:3150 booted. If the command was done after Tuxedo was booted, then I think it is a simple matter of a typo. The netstat command indicates that the local IP address of the machine is 192.168.0.3, yet your WSL command line options try to use address 192.168.0.2. Unless the machine has multiple IP addresses, i.e., multiple NICs, then you need to change the WSL line from:

              WSL" SRVGRP=LAB_GRP SRVID=100 RESTART=Y GRACE=0 MAXGEN=2
              CLOPT="-A -- -n //192.168.0.2:3150 -m 2 -M 10 -x 5"

              to:

              WSL" SRVGRP=LAB_GRP SRVID=100 RESTART=Y GRACE=0 MAXGEN=2
              CLOPT="-A -- -n //192.168.0.3:3150 -m 2 -M 10 -x 5"

              Note the difference in the IP address used.

              Regards,
              Todd Little
              Oracle Tuxedo Chief Architect
              • 4. Re: WSNAT_CAT:1008: ERROR
                845754
                Thanks for your help.

                the netstat was done after boot Tuxedo. I done the change for my IP in the WSL server and started OK, but I still can not call services in clients machines
                • 5. Re: WSNAT_CAT:1008: ERROR
                  Todd Little-Oracle
                  Hi Chava,

                  I'm not sure I understand when you say you cannot call services in client machines. Do you mean you can't call Tuxedo service "from" a client machine? If you are using the workstation protocol, you need to build the client with the -w switch to buildclient and specify the WSL host and port in the WSNADDR environment variable.

                  What error message(s) are you getting?

                  Regards,
                  Todd Little
                  Oracle Tuxedo Chief Architect