Skip to content
Menu
Know Citrix
  • About me
  • Miscellaneous
    • SSL certificates
Know Citrix

Citrix ADC license errors on boot

Posted on June 29, 2022June 29, 2022
0
(0)

Issue: We had to reboot our ADC. We were not able to save the configuration both from GUI and command line in ADC. We did a force reboot. When powering on, we observed lot of license related errors like “The license info cannot be fetched” ” No licenses were found” etc.. But after logging in, we were able to see the license file. After netscaler is powered on, we were not able to login through GUI and ssh. In GUI it was “Connection refused” error and in ssh it was “Access denied” error. After long time we were able to login to the netscaler but immediately we got, “Appliance license expired” error after logging in.

Troubleshooting: If your netscaler shows license errors, check cat /var/log/license.log. If the license log contains, “lmgrd will now shut down all vendor daemons” means web portal, and no other option will work immediately. You have to wait for long time for it to work and licenses wont work.

license.log errors:

Error getting status: Cannot find license file. (-1,359:2 “No such file or directory”)
(CITRIX) TCP_NODELAY NOT enabled
(lmgrd) lmgrd will now shut down all the vendor daemons
(lmgrd) Shutting down CITRIX pid=1111 because of signal 15
(lmgrd) Can’t connect to the license server system. Shutdown CITRIX failed.
(lmgrd) No socket connection to license server manager. (-7,10015:36 “Operation now in progress”)
(CITRIX) daemon shutdown requested – shutting down
(lmgrd) CITRIX exited with status 46 (lmgrd requested vendor daemon down)
(lmgrd) EXITING DUE TO SIGNAL 15

These messages basically indicate that the ADC was not able to find the location of the license file as the license server daemon was not starting. When we looked at /etc/hosts file, it was empty. But normally it should be like Hostname=”ADC-Fqdn”. Same value should be shown in /etc/rc.conf file and /nsconfig/rc.conf. There were lot of garbage values in these files which caused huge delay in reboot process.

Resolution:

  • From working ADC, copied /etc/hosts file to the non working ADC and changed the hostname in it.
  • Deleted existing /etc/rc.conf and /nsconfig/rc.conf files. From working ADC, copied the rc.conf file into /etc/ folder and changed the hostname in it. We did not copy rc.conf file into /nsconfig folder.

With this, license errors were removed and reboot was very quick as expected.

Rate this article

Categories

  • About Home Lab (2)
  • Ansible (1)
  • Architecture – XA and XD (21)
    • Netscaler Architecture (9)
  • AWS (2)
  • Azure (10)
    • Azure Definitions (7)
  • Best Practices (14)
  • Citrix Cloud (6)
    • Workspace Environment Management WEM (1)
  • Citrix Managed Desktops (1)
  • citrix ports (1)
  • Citrix Provisioning (18)
  • Citrix Provisioning Issues (4)
  • Citrix Tools and Scripts (15)
  • Definitions (9)
  • Downloads (1)
  • General Citrix Information (29)
  • Get Started (19)
  • IMP Posts (15)
  • Legacy Citrix Software (1)
  • My TroubleShooting (62)
  • NetScaler (57)
    • GSLB (2)
  • Other Citrix softwares (1)
  • PowerShell (2)
  • Prerequisites (6)
  • Scripts/Automation (7)
  • Tech Articles (13)
  • Terminology (4)
  • Version Differences (5)
  • Why Prerequisites (1)
  • XenApp 5 (38)
  • XenApp 6 (22)
  • XenApp 6.5 (32)
  • XenApp and XenDesktop 7.X (88)
  • XenApp Installation Scripts (3)
  • XenApp Migration (5)
  • XenApp5 Issues (1)
  • XenDesktop 5.X (27)
  • XenDesktop 7.X Issues and troubleshooting (10)
  • XenMobile (1)
  • XenServer 6 (57)

RSS Updates from Citrix Blogs

  • Overcoming observed challenges when adopting a zero trust architecture January 25, 2023
    Zero trust has become a crucial component in the cybersecurity strategy of organizations everywhere. More and more enterprises are finding themselves turning toward zero trust architecture to keep their data, infrastructure, and other assets safe. As a result, this concept … The post Overcoming observed challenges when adopting a zero trust architecture first appeared on […]
    James Schulman
  • Citrix Endpoint Management now supports IdP enrollment for MAM January 20, 2023
    At the start of every year, many people make resolutions to help them reach personal and professional goals. This year, the Citrix Endpoint Management team is focusing on enhancing our agility and regularly providing new features for our customers. We … The post Citrix Endpoint Management now supports IdP enrollment for MAM first appeared on […]
    Chetan Thakker
©2023 Know Citrix | Powered by WordPress and Superb Themes!