CTX113860 - Why Licenses Are Not Recognized in NetScaler 8.0

CTX113860 - Why Licenses Are Not Recognized in NetScaler 8.0

This document was published at: http://support.citrix.com/article/CTX113860

Document ID: CTX113860, Created on: Jul 12, 2007, Updated: Jul 20, 2007

Products: Citrix Access Gateway 8.0 Enterprise Edition, Citrix NetScaler Application Delivery Software 8.0, Citrix Application Firewall Software 8.0

 

Symptoms

After being upgraded to release 8.0, the NetScaler does not recognize the licenses installed. One indication is the output of show ns feature and show ns license, where all features are shown as not available. The issue could be reported as a licensing issue where no licenses appear to be installed.

License status:
Web Logging: NO
Surge Protection: NO
Load Balancing: NO
Content Switching: NO
Cache Redirection: NO
Sure Connect: NO
Compression Control: NO
Delta Compression: NO
Priority Queuing: NO
SSL Offloading: NO
Global Server Load Balancing: NO
GSLB Proximity: NO
Http DoS Protection: NO
Dynamic Routing: NO
Content Filtering: NO
Integrated Caching: NO
SSL VPN: NO
OSPF Routing: NO
RIP Routing: NO
BGP Routing: NO
Rewrite: NO
IPv6 protocol translation: NO
Application Firewall: NO
Responder: NO
HTML Injection: NO
Done

The /var/log/license.log file will look similar to the one shown below.

root@ns# cat license.log
17:54:58 (lmgrd) -----------------------------------------------
17:54:58 (lmgrd) Please Note:
17:54:58 (lmgrd)
17:54:58 (lmgrd) This log is intended for debug purposes only.
17:54:58 (lmgrd) In order to capture accurate license
17:54:58 (lmgrd) usage data into an organized repository,
17:54:58 (lmgrd) please enable report logging. Use Macrovision's
17:54:58 (lmgrd) software license administration solution,
17:54:58 (lmgrd) FLEXnet Manager, to readily gain visibility
17:54:58 (lmgrd) into license usage data and to create
17:54:58 (lmgrd) insightful reports on critical information like
17:54:58 (lmgrd) license availability and usage. FLEXnet Manager
17:54:58 (lmgrd) can be fully automated to run these reports on
17:54:58 (lmgrd) schedule and can be used to track license
17:54:58 (lmgrd) servers and usage across a heterogeneous
17:54:58 (lmgrd) network of servers including Windows NT, Linux
17:54:58 (lmgrd) and UNIX. Contact Macrovision at
17:54:58 (lmgrd) www.macrovision.com for more details on how to
17:54:58 (lmgrd) obtain an evaluation copy of FLEXnet Manager
17:54:58 (lmgrd) for your enterprise.
17:54:58 (lmgrd)
17:54:58 (lmgrd) -----------------------------------------------
17:54:58 (lmgrd)
17:54:58 (lmgrd)
17:54:58 (lmgrd) The license server manager (lmgrd) running as root:
17:54:58 (lmgrd) This is a potential security problem
17:54:58 (lmgrd) and is not recommended.
17:54:58 (lmgrd) Using license file "/usr/local/flexlm/licenses/license.dat"
lmstat - Copyright (c) 1989-2006 Macrovision Europe Ltd. and/or Macrovision Corporation. All Rights Reserved.
Flexible License Manager status on Tue 7/3/2007 17:55

Error getting status: Cannot find license file. (-1,359:2 "No such file or directory")
<end of license.log>

The system could be experiencing a problem finding the local system, rather than the issue normally associated with this error message (that is, the file is either not installed or is not in the correct location).

Cause

To recognize the license file, the system must be able to locate the localhost correctly. In some cases the hosts file from an earlier kernel installation does not have the correct hosts entries and causes the license files to be ignored on an upgraded 8.0 system.

Resolution

Before upgrading to 8.0, first make sure the license file is in the correct location. With release 8.0 all license files must be in the /nsconfig/license directory in order to be recognized.

Next, check the hosts files in /nsconfig and in /etc, and make sure both include lines for localhost and for the NetScaler name as defined in the configuration and /nsconfig/rc.conf. A properly configured hosts file should look similar to the following (using nshost as the example name defined for this NetScaler).

127.0.0.1    localhost
127.0.0.1    nshost

Status

The lmgrd subroutine is called and runs when the NetScaler starts. If there is a conflict of NetScaler host name in either the /nsconfig/hosts or /etc/hosts file, the lmgrd process skips reading the license files in the /nsconfig/license directory. This limitation requires modifications to the lmgrd subroutine, and requires involvement of Macrovision. Resolution to this limitation is being tracked by Issue 29909.

More Information

It is common to refer to the local system as localhost, which is associated with a loopback address (127.0.0.1). When a system needs to address its own IP address, it determines the IP address which resolves to the localhost name. Thus, putting the 127.0.0.1 localhost line into the hosts file allows the NetScaler to properly find its own IP address.



Primary links

Custom Search

Who's new

  • Choodogek
  • zepsleltpap
  • layersepavy
  • moneytome12
  • maczugaher

Who's online

There are currently 0 users and 4 guests online.

KrissysCorner.com RuthSwensonLaw.com CreativeLizardProductions.com

DISCLAIMER:

None of this has anything to do with us, someone else is responsible for the entire thing, and we have no idea who or why. We do not know anything about it. It may be alien life forms for all we know: we haven't a clue. You cannot blame us for anything that may result from your visit. That was entirely your own personal choice, made by you of your own volition, and without our knowledge. We do not, after all, have any control over you and cannot by any stretch of the imagination be expected to accept or acknowledge, be it legally or morally, any accountability for decisions made by you on an independent basis, utilizing your own free will, and without our intervention. We are therefore in no way, shape, or form answerable to anyone for any consequences arising from the aforementioned or indeed any other actions, similar or otherwise, because it was not us that did, or did not do anything. It is not even remotely our fault, and we are in no way prepared or willing to accept any liability, not even slightly, ever. We are, in fact completely and utterly blameless, in that it is definitely not our concern, and no blame can possibly be laid at our doorstep, even if we had one, the possession of which we hereby reserve as being entirely our own free choice. The onus is not on us at all, and furthermore, never has been. The entire matter is wholly beyond our control, and completely out of our hands, each of which are washed scrupulously clean of the whole business. We are not accountable for anything at all, and we hereby categorically deny all responsibility for all that has ever, or will ever happen. Our innocence is therefore wholly beyond doubt and absolutely unimpeachable, and so cannot, under even the remotest or unlikeliest circumstances, be brought into question. By clicking either on a link on this site, clicking on a link that leads to this site, or by arriving at this site by natural or supernatural means, you are in effect accepting responsibility for the fact that it is all entirely your own fault, down to the most miniscule detail, and that you are wholly accountable for whatever outcome may arise as a consequence of the aforementioned action or actions insofar as they were undertaken personally by you on an entirely voluntary basis and without any persuasion, coercion or influence from any party or parties other than yourself. Don't come sniveling to us, we are only figments of your imagination. I also agree that if I am ever with a contributor to this website during mealtimes I agree to pay for any super-sizing of their meal, or at least a nice dessert or one of those foo-foo drinks with an umbrella or a monkey. By admitting to have seen the worthless spineless drivel on this website (also known as content)

I Agree Wholeheartedly and Without Reservation to the above. (Except maybe for that part about the monkey.)

All Your Base Are Belong To Us.

Soylent Green Is People!

Never make a bet with a Sicilian when Death is on the Line!

No. Really, I do agree.