License problem loading Socket

Hello,
I have a network of embedded computers from RTP Corp. (RTP6800s)
running 4.24 of QNX. The are supposed be configured by the vendor
with the necessary licenses. But the script that starts the network
makes the call:

license -R1

to refresh the licenses from Node 1. This is odd and I am not sure what
the vendor’s intent is. In our configuration, Node 1 will be a
development QNX PC which will NOT be connected to the network all the
time. So I can’t rely on this command.

With out this line in the script, the licinfo command reports:

tcprt 1/1 1

And when I try to load Socket, it fails with the error message:
“No License”.

Then if I run the ‘license -R1’ command (with Node 1 connected to the
network), licinfo reports:

tcprt 2/6 1 5

And the Socket process loads fine.

Shouldn’t one tcprt license should be sufficient to allow me
to run Socket? Node 1 has the tcptk license as well as a lot
of others. I could copy the licenses from Node 1 onto the RTP6800
computer but it may not be legal and I think I should not have to.

Thank you for any guidance on this. -Shawn

Hi Shawn

The “license -R1” line is saying refresh license information from node #1.
The assumption is that node 1 is a file server node that has all of the
licenses.

If this is not the case for you, then you want to make sure that either A)
some node is the license server and just change the ‘1’ in the line about to
that node number, or B) every node that needs to use a licensed product has
ALL of the available licenses for that product.

Example: If you have 2 node, 1 and 2. And two compiler licenses with 1
installed on node 1 and 1 installed on node 2, you can NOT compile on both
nodes. Whichever node you try to compile on first will “consume” that
license. When you try to compile on the second node it will see that one
compiler license is consumed and that only 1 compiler license is available
(on that node). It doesn’t know or care that the other node had it’s own
license.

So, to make sure that each node has all available licenses you need to copy
all license information to all nodes that require it. There are old style
licenses and new style licenses. The new style licenses are simply text
files. You can use your favorite text editor to copy the necessary lines
from one node to another. The license file will be in the root directory
with the name /.licenses

Note: You can not just copy old style licenses. You must use the license
utility to install them. To copy old style licenses use the command:

license //x/etc/licenses //y/etc/licenses

where x and y are node numbers.

Hope this helps.

Bill Caroselli


“Shawn” <smdhome@yahoo.com> wrote in message
news:MPG.15a6677b622f0588989682@inn.qnx.com

Hello,
I have a network of embedded computers from RTP Corp. (RTP6800s)
running 4.24 of QNX. The are supposed be configured by the vendor
with the necessary licenses. But the script that starts the network
makes the call:

license -R1

to refresh the licenses from Node 1. This is odd and I am not sure what
the vendor’s intent is. In our configuration, Node 1 will be a
development QNX PC which will NOT be connected to the network all the
time. So I can’t rely on this command.

With out this line in the script, the licinfo command reports:

tcprt 1/1 1

And when I try to load Socket, it fails with the error message:
“No License”.

Then if I run the ‘license -R1’ command (with Node 1 connected to the
network), licinfo reports:

tcprt 2/6 1 5

And the Socket process loads fine.

Shouldn’t one tcprt license should be sufficient to allow me
to run Socket? Node 1 has the tcptk license as well as a lot
of others. I could copy the licenses from Node 1 onto the RTP6800
computer but it may not be legal and I think I should not have to.

Thank you for any guidance on this. -Shawn