License expiration warning for an active license

Question:

I'm using a re-issuable Centova Cast license and I just received a warning that has expired (or is about to expire), but it's a valid license and should not be expiring any time soon. What does this mean, and how do I correct it?

Answer:

To diagnose this problem, first, login to your client account here, then click on "Manage Product Licenses". Find your license in the list and click on it, then check the following items:

  1. Look for the Status: line to check the status of your license.

    If it shows Status: Suspended, it has likely been suspended for non-payment. Click Account Register to check your invoice and payment history. Are there any unpaid invoices?

    If you have made a payment and it does not show up in the account register, please contact us immediately and we will update your account.

  2. Scroll down and look for the Licensed issued: line. Does it say License issued: No? If so, you have never installed this license -- most likely you forget to install your new key when upgrading from a trial or previous license.

If you see Status: Active and License issued: Yes, then your license is active on our system and the problem must be on your server.

To troubleshoot the problem on your server, please check the following in order:

  1. Is there an outbound firewall on your server preventing it from contacting license1.centova.com, license2.centova.com, or license3.centova.com? If so, Centova Cast will not be able to contact our licensing servers to obtain key updates, and your license will eventually expire automatically.

    Note that the firewall may not be running on your server itself; many datacenters use hardware firewalls to block outbound connections for security reasons. Most datacenters will add exceptions upon request.

  2. Has your Centova Cast cron job been removed or altered? The cron job is responsible for keeping your license active, so your license will expire if the cron job does not run regularly.

    Login to your server via SSH as root and check /etc/crontab for the Centova Cast cron job. It should look something like the following (all on one line):

    */5 * * * * centovacast /home/centovacast/system/runascc/runascc exec ccmanage cronjob all >/dev/null

    The cron job is automatically set up by the installer, so if it does not exist then someone or something has removed it and you'll need to replace it.

  3. Is your cron daemon actually running the cron job? Even if the Centova Cast cron job is correctly configured in /etc/crontab, other mistakes in your /etc/crontab file may cause the cron daemon to fail to run the cron job.

    Check your cron log (usually /var/log/cron on Red Hat-based Linuxes) and search for the word centovacast. Find the most recent entry (near the bottom), check the date stamp and make sure it has been running within the past hour.

  4. Is your Centova Cast cron job working correctly? Try running the following command:

    /home/centovacast/system/runascc/runascc exec ccmanage cronjob all --debug
    

    If any of the lines begin with ERR, then there is a problem with your cron job which will need to be resolved.

    If you see an "Unable to contact licensing servers" error, please refer to this article.

    If you see errors regarding cronjob.lck, this likely indicates that your setuid binaries in /home/centovacast/system/runascc/ have lost their setuid bits and/or are owned by the wrong account.

  5. Is an error occurring when Centova Cast attempts to update your license? Try running the following command.

    /home/centovacast/system/runascc/runascc exec ccmanage reissuelicense @current
    

    If any of the lines begin with ERR, then there is a problem which will need to be resolved.

  6. If you have run all of the above tests and cannot determine the problem, please contact the support department and provide the output from the above two commands, and we will be pleased to assist.

NOTE: This article is for Centova Cast v2 only; an alternate version exists for Centova Cast v3.