QNX RTOS v4 Knowledge Base
QNX RTOS v4 Knowledge Base
Title |
"no license" error |
Ref. No. |
QNX.000005571 |
Category(ies) |
Installation |
Issue |
We installed Photon Application Builder 1.13 onto our QNX4.24 machine and everytime we reboot our system, it says: "no license" until we run the command: license -r How can we avoid this?
|
Solution |
Ensure that 'nameloc' is running on the network, as 'nameloc' is the license server. There should only be 2-3 copys running on a small to moderate sized QNX network.
If this is a node that will be a name server (or standalone) then simply start it in the background. x09ex. x09x09nameloc &
If this is not a node that will be a name server (remember only 2-3 name servers on a small to medium sized network) then have nameloc "kick" one of the existing, running name servers. x09ex. Name server is on node 1, this is node 3 x09x09nameloc -k1 &
To test it, try using this command instead of the license -r command when ph won't start.
Generally, this is done in the /etc/config/sysinit.(node#) file. Putting the line near the netmap line is generally safe.
The reason for avoiding having too many copies running is that this is the only official QNX program that polls around the network. If every single node was polling all other nodes once every couple of seconds, this would really kill the performance of the network.
|
|