Author Topic: problem while upgrading from atk-12.2.2 to atk-12.8.2  (Read 12827 times)

0 Members and 1 Guest are viewing this topic.

Offline lidanyt

  • Regular QuantumATK user
  • **
  • Posts: 6
  • Country: cn
  • Reputation: 0
    • View Profile
problem while upgrading from atk-12.2.2 to atk-12.8.2
« on: September 18, 2013, 08:40 »
Dear atk team:

We are currently running atk-12.2.2 with a license server (lmxtools-3.6.3). We wish to upgrade it to 12.8.2. We had install the atk-12.8.2-linux64.bin and lmxtools-4.4.2-linux64.bin files. And we had run "#lmx-serv -b -l license.lic.

We are getting the following error on runing "#atkpython  *.py"

License Error: (Internal: 825 Feature: VNL)

(Err: 9) Feature not found

License configuration (environment variables) in use:
---------------------------------------------------------------------------
QUANTUM_LICENSE_PATH = 6200@
QUANTUM_AUTOMATIC_SERVER_DISCOVERY = 1
---------------------------------------------------------------------------
*** Make sure to include the information above when contacting support ***


Kindly tell what's the solution to this issue.



Offline lidanyt

  • Regular QuantumATK user
  • **
  • Posts: 6
  • Country: cn
  • Reputation: 0
    • View Profile
Re: problem while upgrading from atk-12.2.2 to atk-12.8.2
« Reply #1 on: September 18, 2013, 08:58 »
Dear atk team:

If we should modify the /etc/rc.local file.  At present, the content of the document is:
/PATH/lmxtools-3.6.3/servertools/lmx-serv-quantum -b -l /PHAT/license.lic



Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5574
  • Country: dk
  • Reputation: 96
    • View Profile
    • QuantumATK at Synopsys
Re: problem while upgrading from atk-12.2.2 to atk-12.8.2
« Reply #2 on: September 18, 2013, 10:37 »
Regarding the first question, for the benefit of other users, you should never have QUANTUM_LICENSE_PATH set to 6200@ since LM-X will interpret this as a filename. Either it should be empty, in which case QUANTUM_AUTOMATIC_SERVER_DISCOVERY=1 is often enough, or it should be 6200@hostname.

Offline lidanyt

  • Regular QuantumATK user
  • **
  • Posts: 6
  • Country: cn
  • Reputation: 0
    • View Profile
Re: problem while upgrading from atk-12.2.2 to atk-12.8.2
« Reply #3 on: September 18, 2013, 11:11 »
Sorry, I don't know how to removing the 6200@ from the license variable QUANTUM_LICENSE_PATH. I don't know which file I should modify. Thank you!

Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5574
  • Country: dk
  • Reputation: 96
    • View Profile
    • QuantumATK at Synopsys
Re: problem while upgrading from atk-12.2.2 to atk-12.8.2
« Reply #4 on: September 18, 2013, 11:15 »
About rc.local: Change the version number to reflect the new installation directory, and the new binary name "lmx-server". However, I would strongly recommend to also use a logfile (-lf /PATH/lmx.log) to catch errors etc for the license server.

As for the license variable, you can edit either .bashrc in your home directory (on Linux), or use the Control Panel on Windows.

Easiest is however to run the atk_license_config utility which is provided in the most recent LM-X 4.4.2 server package (you may not have the most recent, it was updated today!) or in 13.8 (any version). The problem is actually that the old license utility from 12.2 and 12.8 had a bug which set the variable incorrectly to 6200@ if you didn't set a hostname.

Alternatively, you can just run atk_license_config (from any version) and set the license host to the actual license server hostname.
« Last Edit: September 18, 2013, 11:20 by Anders Blom »

Offline lidanyt

  • Regular QuantumATK user
  • **
  • Posts: 6
  • Country: cn
  • Reputation: 0
    • View Profile
Re: problem while upgrading from atk-12.2.2 to atk-12.8.2
« Reply #5 on: September 18, 2013, 11:36 »
I had run "./atk_license_config.bin " and set the license host to the actual license server hostname. Then run " lmx-serv -b -l PATH/license.lic".
But i get the following error on runing atkpython.
License Error: (Internal: 825 Feature: ATKPython)

(Err: 9) Feature not found

License configuration (environment variables) in use:
---------------------------------------------------------------------------
QUANTUM_LICENSE_PATH =
QUANTUM_AUTOMATIC_SERVER_DISCOVERY =
---------------------------------------------------------------------------
*** Make sure to include the information above when contacting support ***

Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5574
  • Country: dk
  • Reputation: 96
    • View Profile
    • QuantumATK at Synopsys
Re: problem while upgrading from atk-12.2.2 to atk-12.8.2
« Reply #6 on: September 18, 2013, 11:43 »
The changes to the environment only take effect if you start a new shell (a new terminal window). Or, log out and in again (if you want the desktop icon to work.

Offline lidanyt

  • Regular QuantumATK user
  • **
  • Posts: 6
  • Country: cn
  • Reputation: 0
    • View Profile
Re: problem while upgrading from atk-12.2.2 to atk-12.8.2
« Reply #7 on: September 18, 2013, 11:51 »
I log out and again start a new terminal window.
Then run atkpython, get errors as follow:

License Error: (Internal: 825 Feature: ATKPython)

(Err: 9) Feature not found

License configuration (environment variables) in use:
---------------------------------------------------------------------------
QUANTUM_LICENSE_PATH = 6200@XX.XX.XX.XX
QUANTUM_AUTOMATIC_SERVER_DISCOVERY = 1
---------------------------------------------------------------------------

Moderator edit: Remove private information
« Last Edit: September 18, 2013, 13:04 by Anders Blom »

Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5574
  • Country: dk
  • Reputation: 96
    • View Profile
    • QuantumATK at Synopsys
Re: problem while upgrading from atk-12.2.2 to atk-12.8.2
« Reply #8 on: September 18, 2013, 12:01 »
After logging out and in, is the license server running? Was it, in fact, running even before, did you check in the logfile that it started up properly?

You can also check "lmxendutil -licstat" to see if the license server is running.

Offline lidanyt

  • Regular QuantumATK user
  • **
  • Posts: 6
  • Country: cn
  • Reputation: 0
    • View Profile
Re: problem while upgrading from atk-12.2.2 to atk-12.8.2
« Reply #9 on: September 18, 2013, 12:06 »
I run "lmxendutil - licstat", then get as follow
LM-X End-user Utility v3.6.3
Copyright (C) 2002-2011 X-Formation. All rights reserved.

Searching all license paths and performing automatic server discovery...

++++++++++++++++++++++++++++++++++++++++
LM-X License Server on 6200@XXXXXXX:

Server version: v3.6.3 Uptime: 104 day(s) 20 hour(s) 50 min(s) 3 sec(s)
----------------------------------------
Feature: atkmaster Version: 12.8 Vendor: QUANTUM
Start date: NONE Expire date: NONE
Key type: EXCLUSIVE

1 of 1 license(s) used:

1 license(s) used by XXXXXXXXXXXXXXXX
  Login time: 2013-09-18 15:05   Checkout time: 2013-09-18 15:05
----------------------------------------
Feature: vnl Version: 12.8 Vendor: QUANTUM
Start date: NONE Expire date: NONE
Key type: EXCLUSIVE

0 of 1 license(s) used

++++++++++++++++++++++++++++++++++++++++
Trial features on:
----------------------------------------
Feature: ATKDFT Version: 12.2 Vendor: QUANTUM
Key type: EXCLUSIVE Trial expire date: 2012-07-10 21:58
----------------------------------------
Feature: ATKMaster Version: 12.2 Vendor: QUANTUM
Key type: EXCLUSIVE Trial expire date: 2012-07-10 21:58
----------------------------------------
Feature: ATKPython Version: 11.2 Vendor: QUANTUM
Key type: EXCLUSIVE Trial expire date: 2012-07-10 21:56
----------------------------------------
Feature: ATKPython Version: 12.2 Vendor: QUANTUM
Key type: EXCLUSIVE Trial expire date: 2012-09-26 15:05
----------------------------------------
Feature: VNL Version: 11.2 Vendor: QUANTUM
Key type: EXCLUSIVE Trial expire date: 2012-07-10 21:51
« Last Edit: September 18, 2013, 13:04 by Anders Blom »

Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5574
  • Country: dk
  • Reputation: 96
    • View Profile
    • QuantumATK at Synopsys
Re: problem while upgrading from atk-12.2.2 to atk-12.8.2
« Reply #10 on: September 18, 2013, 13:03 »
So it's pretty obvious then - you have an older server still running, and that can't be used to run 12.8, you need to upgrade it to 4.4.2 (which I understand is what you have been trying to do). BUT, only one LM-X server can run on the same machine at once, so you must kill the old one first. As I mentioned before, you really should have a logfile (-lf option). Since you didn't, you probably didn't notice that the new server never actually started.

(I will edit your post above a bit to remove private information.)