QuantumATK Forum

QuantumATK => Installation and License Questions => Topic started by: hejun8035 on February 26, 2009, 10:30

Title: Problem with installing atk2008.10.0
Post by: hejun8035 on February 26, 2009, 10:30
I'm encounter a problem when installing atk .the error details is that:

[bx2009@node11 bin]$ export ATOMIST_LICENSE_FILE=27000@node11
[bx2009@node11 bin]$ atk --version
ERROR: license feature checkout failed: License server machine is down or not responding.
 See the system adminstrator about starting the license server system, or
 make sure you're referring to the right host (see LM_LICENSE_FILE).
Feature:       ATKmaster
Hostname:      node11
License path:  27000@node11:/home/bx2009/atk-2008.10.0/bin/license.lic
FLEXnet Licensing error:-96,7.  System Error: 2 "No such file or directory"
For further information, refer to the FLEXnet Licensing End User Guide,
available at "www.macrovision.com".
Traceback (most recent call last):
NLError: License required - contact Atomistix.
[bx2009@node11 bin]$ atk --version

16:09:04 (lmgrd) -----------------------------------------------
16:09:04 (lmgrd)   Please Note:
16:09:04 (lmgrd)
16:09:04 (lmgrd)   This log is intended for debug purposes only.
16:09:04 (lmgrd)   In order to capture accurate license
16:09:04 (lmgrd)   usage data into an organized repository,
16:09:04 (lmgrd)   please enable report logging. Use Macrovision's
16:09:04 (lmgrd)   software license administration  solution,
16:09:04 (lmgrd)   FLEXnet Manager, to  readily gain visibility
16:09:04 (lmgrd)   into license usage data and to create
16:09:04 (lmgrd)   insightful reports on critical information like
16:09:04 (lmgrd)   license availability and usage. FLEXnet Manager
16:09:04 (lmgrd)   can be fully automated to run these reports on
16:09:04 (lmgrd)   schedule and can be used to track license
16:09:04 (lmgrd)   servers and usage across a heterogeneous
16:09:04 (lmgrd)   network of servers including Windows NT, Linux
16:09:04 (lmgrd)   and UNIX. Contact Macrovision at
16:09:04 (lmgrd)   www.macrovision.com for more details on how to
16:09:04 (lmgrd)   obtain an evaluation copy of FLEXnet Manager
16:09:04 (lmgrd)   for your enterprise.
16:09:04 (lmgrd)
16:09:04 (lmgrd) -----------------------------------------------
16:09:04 (lmgrd)
16:09:04 (lmgrd)
16:09:04 (lmgrd) Unknown host: node11
16:09:04 (lmgrd) EXITING DUE TO SIGNAL 33


who can give me help?  thanks!
Title: Re: Problem with installing atk2008.10.0
Post by: Anders Blom on February 26, 2009, 12:29
A couple of fundamental questions:

Title: Re: Problem with installing atk2008.10.0
Post by: hejun8035 on February 27, 2009, 02:36
thank you reply!
we have the licence look like you say,but how to started the license daemon (lmgrd) on node11 ?
(we only install licence according to the ATK manual 2008.10.0
Title: Re: Problem with installing atk2008.10.0
Post by: Anders Blom on February 27, 2009, 08:39
Installation of the license daemon lmgrd is described in the manual:
http://quantumwise.com/documents/manuals/ATK-2008.10/chap.license.html#sect2.license.floating

Simply put, you give the command

Code
lmgrd -c license.lic -l log &

but there are some things to keep in mind, like


These things are discussed in the manual.
Title: Re: Problem with installing atk2008.10.0
Post by: hejun8035 on February 27, 2009, 09:22
the command "lmgrd -c license.lic -l log &" we have executed,and the log file paste above!
there is something wrong!
Title: Re: Problem with installing atk2008.10.0
Post by: Anders Blom on February 27, 2009, 09:36
It seems your system cannot resolve the hostname "node11". Can you do "ping node11" and "ssh node11" from any machine? Either you have to check your hostname lookup tables (/etc/hosts, or something similar depending on your Linux distribution), or perhaps you can specify the full name of node11 in the license file, like "node11.myuniversity.edu.com", or simply it's IP number (like 123.124.125.126).
Title: Re: Problem with installing atk2008.10.0
Post by: hejun8035 on February 27, 2009, 15:25
I can't ping node11 from another machine,it shows "no route to host".
what should I do next?
Title: Re: Problem with installing atk2008.10.0
Post by: Anders Blom on February 27, 2009, 17:14
The exact solution to the problem depends on the precise details of your cluster configuration. You need to consult your system administrator, this is a general problem with your cluster, and not related to ATK a priori. Once you have set up your host table, so you can ssh between the nodes properly, etc, ATK and lmgrd should work fine too.

Is there a particular reason lmgrd should run on a compute node? It is more common that the license server runs on the head node.
Title: Re: Problem with installing atk2008.10.0
Post by: hejun8035 on February 28, 2009, 03:36
I'm the system administrator,we have set up our host table, we can ssh between the nodes properly now.

The errors listed above is lmgrd runned on a compute node.

can license modify hostname?
Title: Re: Problem with installing atk2008.10.0
Post by: Anders Blom on February 28, 2009, 22:12
Yes, you are free to edit the hostname of the license server. You can not, modify the MAC address, so if the current specification in the license file refers to node11, you are locked to this node. Is this the MAC you specified when you applied for the license? We can modify that, if you contact us by email with customer details (university name etc).
Title: Re: Problem with installing atk2008.10.0
Post by: hejun8035 on March 2, 2009, 06:58
when we ping node11,it shows unkown hostname,but it can ping 1.0.0.11 propertly.Now,we set the hostname as 1.0.0.11,the false shows:

13:16:09 (lmgrd) -----------------------------------------------
13:16:09 (lmgrd)   Please Note:
13:16:09 (lmgrd)
13:16:09 (lmgrd)   This log is intended for debug purposes only.
13:16:09 (lmgrd)   In order to capture accurate license
13:16:09 (lmgrd)   usage data into an organized repository,
13:16:09 (lmgrd)   please enable report logging. Use Acresso Software Inc.'s
13:16:09 (lmgrd)   software license administration  solution,
13:16:09 (lmgrd)   FLEXnet Manager, to  readily gain visibility
13:16:09 (lmgrd)   into license usage data and to create
13:16:09 (lmgrd)   insightful reports on critical information like
13:16:09 (lmgrd)   license availability and usage. FLEXnet Manager
13:16:09 (lmgrd)   can be fully automated to run these reports on
13:16:09 (lmgrd)   schedule and can be used to track license
13:16:09 (lmgrd)   servers and usage across a heterogeneous
13:16:09 (lmgrd)   network of servers including Windows NT, Linux
13:16:09 (lmgrd)   and UNIX. Contact Acresso Software Inc. at
13:16:09 (lmgrd)   www.acresso.com for more details on how to
13:16:09 (lmgrd)   obtain an evaluation copy of FLEXnet Manager
13:16:09 (lmgrd)   for your enterprise.
13:16:09 (lmgrd)
13:16:09 (lmgrd) -----------------------------------------------
13:16:09 (lmgrd)
13:16:09 (lmgrd)
13:16:09 (lmgrd) Failed to open the TCP port number in the license.

what's this mean?
Title: Re: Problem with installing atk2008.10.0
Post by: Anders Blom on March 2, 2009, 10:36
Most modern Linux setups are for security reasons configured with all ports closed, for instance using the pfilter packet filtering system (kind of like a local firewall), unless you explicitly open them.

So, you need to open port 27000 before FLEXlm can use it. If you use pfilter, then you open the port by opening the file /etc/pfilter.conf and adding the lines:
Code
# For Atomistix ToolKit
OPEN tcp 27000:27009
OPEN udp 27000:27009

Finally you must restart the service:
Code
service pfliter restart

Your system setup might be different, and you may have to use different commands / edit different files.

Also note that the vendor daemon opens a random port each time. If your system is setup with a very tight security, these ports are probably also blocked. If the port is random it's hard to add it to the pfilter configuration, but you can lock the port to a particular value by editing the license file. Let's say we want to use port 27003 for the vendor daemon:

Code
VENDOR atomist port=27003

In this case the port is already open, by the additions to "pfilter.conf" above. If you choose a different port, you need to add it to "pfilter.conf" as well.
Title: Re: Problem with installing atk2008.10.0
Post by: hejun8035 on March 2, 2009, 16:07
thank you reply ,but we can't find pfilter.conf in /etc ,is any error?
Title: Re: Problem with installing atk2008.10.0
Post by: Anders Blom on March 2, 2009, 16:12
First, which Linux (distribution/version) do you use?

There are two possibilities: either the file is somewhere else on your Linux (which we can figure out when we know which Linux it is), or the file is not yet created because there was so far no need for it. In the latter case, just create the file first, and then enter the info into it.
Title: Re: Problem with installing atk2008.10.0
Post by: renren123123 on March 3, 2009, 01:53
CENTOS 5.2
Title: Re: Problem with installing atk2008.10.0
Post by: renren123123 on March 3, 2009, 02:32
for centOS 5.2, we dont find the file "pfilter.conf" and any simillar one, then we create a file and rename it as "pfilter.conf", which says:
OPEN tcp 27000:27009
OPEN udp 27000:27009
However I dont open "service pfliter restart" latter?
Faced to the problem, how can we do?Thank you very much!
we are worried about it for server weeks in ATK installation!
Title: Re: Problem with installing atk2008.10.0
Post by: Anders Blom on March 3, 2009, 10:03
In CentOS 5 (and most other modern Linux distros), the firewall is handled by iptables, not pfilter as I suggested before. To open ports with iptables, open the file /etc/sysconfig/iptables in an editor and add rules for FLEXlm as follows:

Code
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 27000:27009 -j ACCEPT

After saving and closing the file, restart the iptables service

Code
/etc/init.d/iptables restart

You need to be root for all these operations.

There are many options for iptables, for instance you may want to consider limiting access to the license server to computers within a particular IP range, etc. Please refer to the manual for this and further options.

Don't forget to also set the port for the vendor daemon as suggested above, and open the corresponding port (if you chose a different port than somewhere in the range 27000-27009).
Title: Re: Problem with installing atk2008.10.0
Post by: renren123123 on March 3, 2009, 11:44
Our system CENTOS 5.2 only consists of "/etc/iptable-conf"
and I add above sentence
"-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 27000:27009 -j ACCEPT"
to its end, however, it display language error for "-A" when we restart iptable,why? how to solve ?
Title: Re: Problem with installing atk2008.10.0
Post by: Anders Blom on March 3, 2009, 13:06
I must admit, I don't have a CentOS machine to test on, so I'm putting things together from Googling etc  :-\

On my Ubuntu, I had some success using the COMMAND (not editing any file)

Code
iptables -A INPUT -m state --state NEW -m tcp -p tcp --dport 27000:27009 -j ACCEPT

Here, the name INPUT comes from inspecting the iptables via

Code
iptables -L

which showed 3 "chains": INPUT, FORWARD, and OUTPUT. If you have other listings, choose accordingly.

According to the CentOS 5 administration guide (http://www.linuxtopia.org/online_books/centos5/centos5_administration_guide/centos5_ch-sysconfig.html#s2-sysconfig-iptables), the above approach should work for CentOS too.

Once the rule is added, the CentOS guide tells us that we need to save the rule by

Code
/sbin/service iptables save

This command is not available on Ubuntu, but there are similar instructions in the Ubuntu Help (https://help.ubuntu.com/community/IptablesHowTo).

I hope this brings you further. It's a bit hard when I cannot test myself... The iptables command is extremely feature-rich, and I'm not about what all the options above mean (perhaps some are not needed), but if it works it works... :)
Title: Re: Problem with installing atk2008.10.0
Post by: hejun8035 on March 3, 2009, 13:43
when we run "iptables -L" it shows an error "iptables:command not found"
Title: Re: Problem with installing atk2008.10.0
Post by: Anders Blom on March 3, 2009, 13:48
This command is only available for superusers / root.
Title: Re: Problem with installing atk2008.10.0
Post by: renren123123 on March 4, 2009, 09:43
it remains even if for root
Title: Re: Problem with installing atk2008.10.0
Post by: Anders Blom on March 4, 2009, 10:25
Hmm, well, if you are not running any firewall, then that's hardly the cause of the problem.

Is it possible that you have another FLEXlm / lmgrd process running already on port 27000? Try changing the port number to, say, 27002, and also make sure all other lmgrd daemons are terminated (use the lmstat command to find running lmgrd processes, you can download this utility from

Also I read here (http://www.edaboard.com/ftopic178516.html) that the file /etc/hosts must contain a specification for localhost, like

Code
127.0.0.1 localhost

Title: Re: Problem with installing atk2008.10.0
Post by: hejun8035 on March 6, 2009, 03:39
Anders Blom thank you help!
According to you saying,we try again.Now,the new error is that:

[bx2009@node11 bin]$ export ATOMIST_LICENSE_FILE=27000@node11
[bx2009@node11 bin]$ ./lmgrd -c license.lic -l log &
[1] 8563
[bx2009@node11 bin]$ atk --version
ERROR: license feature checkout failed: Cannot connect to license server system.
 The license server manager (lmgrd) has not been started yet,
 the wrong port@host or license file is being used, or the
 port or hostname in the license file has been changed.
Feature:       ATKmaster
Server name:   node11
License path:  27000@node11:/home/bx2009/atk-2008.10.0/bin/license.lic
FLEXnet Licensing error:-15,570.  System Error: 115 "Operation now in progress"
For further information, refer to the FLEXnet Licensing End User Guide,
available at "www.macrovision.com".
Traceback (most recent call last):
NLError: License required - contact Atomistix.
[1]+  Done                    ./lmgrd -c license.lic -l log


what's this mean? need for help!
Title: Re: Problem with installing atk2008.10.0
Post by: Anders Blom on March 6, 2009, 09:39
It looks like the lmgrd process never really got started (the last line of your output shows that it terminated). Look in the "log" file for details.

Your supplier has been notified of your case and will also try to provide assistance.
Title: Re: Problem with installing atk2008.10.0
Post by: hejun8035 on March 7, 2009, 03:53
The log file is the same as previous,shows that

13:16:09 (lmgrd) -----------------------------------------------
13:16:09 (lmgrd)   Please Note:
13:16:09 (lmgrd)
13:16:09 (lmgrd)   This log is intended for debug purposes only.
13:16:09 (lmgrd)   In order to capture accurate license
13:16:09 (lmgrd)   usage data into an organized repository,
13:16:09 (lmgrd)   please enable report logging. Use Acresso Software Inc.'s
13:16:09 (lmgrd)   software license administration  solution,
13:16:09 (lmgrd)   FLEXnet Manager, to  readily gain visibility
13:16:09 (lmgrd)   into license usage data and to create
13:16:09 (lmgrd)   insightful reports on critical information like
13:16:09 (lmgrd)   license availability and usage. FLEXnet Manager
13:16:09 (lmgrd)   can be fully automated to run these reports on
13:16:09 (lmgrd)   schedule and can be used to track license
13:16:09 (lmgrd)   servers and usage across a heterogeneous
13:16:09 (lmgrd)   network of servers including Windows NT, Linux
13:16:09 (lmgrd)   and UNIX. Contact Acresso Software Inc. at
13:16:09 (lmgrd)   www.acresso.com for more details on how to
13:16:09 (lmgrd)   obtain an evaluation copy of FLEXnet Manager
13:16:09 (lmgrd)   for your enterprise.
13:16:09 (lmgrd)
13:16:09 (lmgrd) -----------------------------------------------
13:16:09 (lmgrd)
13:16:09 (lmgrd)
13:16:09 (lmgrd) Failed to open the TCP port number in the license.
Title: Re: Problem with installing atk2008.10.0
Post by: Anders Blom on March 7, 2009, 21:09
Obviously this is the same error as before.

I don't think we can solve this problem (which probably has a very simple solution, it's finding the solution which is tricky) over emails. We will contact you via your supplier, to arrange a different approach to solve the issue.