Centova Technologies Forum

Centova Cast v3 => Bugs and issues => Topic started by: danielgeorgian on August 15, 2012, 02:50:09 am

Title: Licensing error
Post by: danielgeorgian on August 15, 2012, 02:50:09 am
Hi,
I have this problem with license.  When I start centova cast v3 on the server I have this result:

   Failed to obtain license update from any licensing server; license update failed
   License update failed; product not licensed
   
**** WARNING ****
License validation failed.  Daemon will reject all connections until a valid
license is installed
**** WARNING ****

I check the file license.conf: the key is correct.

On the Centova Cast - Settings Management on the Licensing Test when I run the test:
Test result: PASSED - Centova Cast can successfully communicate with the Centova Technologies license servers.

Details:

Testing server license1.centova.com ...
Host license1.centova.com resolves to 72.55.159.213
Connection successful and correct response received

I have try to reissue the license on the server but with no luck.
Title: Re: Licensing error
Post by: Centova - Steve B. on August 15, 2012, 03:27:07 pm
Can you post the rest of the message you're getting when starting Centova Cast?  The actual reason for the licensing error is shown just above what you pasted here.
Title: Re: Licensing error
Post by: My Auto DJ on August 15, 2012, 03:37:12 pm
I have this same problem also Steve have tried several different things with no luck -- see http://forums.centova.com/index.php?topic=1789.0
Title: Re: Licensing error
Post by: danielgeorgian on August 15, 2012, 05:36:31 pm
Hi,
I have this problem with license.  When I start centova cast v3 on the server I have this result:

   Failed to obtain license update from any licensing server; license update failed
   License update failed; product not licensed
   
**** WARNING ****
License validation failed.  Daemon will reject all connections until a valid
license is installed
**** WARNING ****

I check the file license.conf: the key is correct.

On the Centova Cast - Settings Management on the Licensing Test when I run the test:
Test result: PASSED - Centova Cast can successfully communicate with the Centova Technologies license servers.

Details:

Testing server license1.centova.com ...
Host license1.centova.com resolves to 72.55.159.213
Connection successful and correct response received

I have try to reissue the license on the server but with no luck.

Update answer:
root@CRT:~#/usr/local/centovacast/sbin/update
Checking Centova Cast Common Files ...
Not updated, skipping
Checking Centova Cast Web Server ...
Not updated, skipping
Checking Centova Cast Control Daemon ...
Not updated, skipping

Start / restart centova full answer:

root@CRT:~# /etc/init.d/centovacast restart
Stopping Centova Cast: cc-ftpd cc-web cc-appserver cc-control cc-imaged
Starting Centova Cast: cc-control
License validation failed; log:
   Could not open license key file /usr/local/centovacast//etc/license/license.key
Trying to update license (this may take a minute or two) ...
License update failed at http://license1.centova.com/license/ (ERR INTERR): Internal error; reissue failed (Domain  crt is not valid: You must provide a valid domain name); trying next server ...
License update failed at http://license2.centova.com/license/ (ERR TMPFAIL): Master licensing server is temporarily  unavailable or declining key issuance; license reissuance deferred.; trying next server ...
License update failed at http://license3.centova.com/license/ (ERR TMPFAIL): Master licensing server is temporarily unavailable or declining key issuance; license reissuance deferred.; trying next server ...
No more licensing servers to try
Failed to obtain license update from any licensing server; license update failed
License update failed; product not licensed
   Trying to update license (this may take a minute or two) ...
   License update failed at http://license1.centova.com/license/ (ERR INTERR): Internal error; reissue failed (Domain crt is not valid: You must provide a valid domain name); trying next server ...
   License update failed at http://license2.centova.com/license/ (ERR TMPFAIL): Master licensing server is temporarily unavailable or declining key issuance; license reissuance deferred.; trying next server ...
  License update failed at http://license3.centova.com/license/ (ERR TMPFAIL): Master licensing server is temporarily unavailable or declining key issuance; license reissuance deferred.; trying next server ...
   No more licensing servers to try
   Failed to obtain license update from any licensing server; license update failed
   License update failed; product not licensed
**** WARNING ****
License validation failed.  Daemon will reject all connections until a valid
license is installed
**** WARNING ****
cc-appserver cc-web cc-ftpd cc-imaged

mentions: file from here: e /usr/local/centovacast//etc/license/license.key doesn't exist because i had issue error and i delete it in the try method of reissue.

Centova managment panel:

Account Information
License type:    Re-issuable - transferrable/refundable with periodic validation
License key:
XXXXXXX
License issued:    No
Licensed domain name:    cast.XXXX.com
So reissue was done first from website....

I also try to generate a valid license.key manually i don't know from where i have https.key or what password do i type when i run first line.
# generate HTTPS credentials
cd tree
openssl genrsa -aes256 -out https.key 1024
openssl req -new -nodes -key https.key -out https.csr
openssl x509 -req -days 365 -in https.csr -signkey https.key -out https.crt
cp https.key{,.orig}
openssl rsa -in https.key.orig -out https.key
....
Old style change date in past doesn't work either for v3 version.
Title: Re: Licensing error
Post by: Centova - Steve B. on August 15, 2012, 09:21:43 pm
It looks like your server's host name is set to "crt" instead of an actual fqdn. We should probably relax that restriction which I'll look into tomorrow but setting a valid for your server will allow your license to be processed.
Title: Re: Licensing error
Post by: danielgeorgian on August 15, 2012, 09:42:22 pm
I manage to generate a valid license key and validate it also
It is working fine now, anyway a good thing to know in future about the restriction by domain which can be chaged here : /etc/hostname/ into a valid ip address so you can validate the server
Have a nice day
Adrian A .
Title: Re: Licensing error
Post by: Centova - Steve B. on August 16, 2012, 06:34:13 pm
Just an update to all who're interested -- this domain name limitation has been removed.