cancel
Showing results for 
Search instead for 
Did you mean: 

License error: Error in LICEXT file - invalid license block length

Moderator

License error: Error in LICEXT file - invalid license block length

License error: Error in LICEXT file - invalid license block length

 

Tags (2)
1 REPLY 1
Moderator

Re: License error: Error in LICEXT file - invalid license block length

License error: Error in LICEXT file - invalid license block length

You can run into this problem on some Unix/Linux systems (believe this mainly affects Linux):

License error:
Error in LICEXT file - invalid license block length

We discovered that, during an FTP connection, Linux pretends to allow ASCII mode but will in fact ignore the request. Due to this incorrect ascii file processing, Prognosis will not be able to interpret the license files correctly, and generate the following error on wvlog:

error in LICEXT file - invalid license block length.

(Please note, this problem only happens if you are replacing the old license with a new one. This doesn't happen on new installation because our installation script will translate the license files to ascii)

There are 2 ways to solve this problem:

1) To enable the ASCII mode, please open /etc/vsftpd.conf and look for the following section:

#Turn on the below options to have the server actually do ASCII
# mangling on files when in ASCII mode.
# Beware that turning on ascii_download_enable enables malicious remote parties
# to consume your I/O resources, by issuing the command "SIZE /big/file" in
# ASCII mode.
# These ASCII options are split into upload and download because you may wish
# to enable ASCII uploads (to prevent uploaded scripts etc. from breaking),
# without the DoS risk of SIZE and ASCII downloads. ASCII mangling should be
# on the client anyway..
#
#ascii_upload_enable=YES
#ascii_download_enable=YES

(note the the 'enable' entries are commented and the default is to disable)

2) We also have a script which translates the license file so that it can be recognized by Prognosis. This script is used for translating the license file only, so that the line terminator 'crlf' (in Windows/MS-DOS) can be transform to 'lf' (in Unix/Linux).

How to Run
-----------------
Run tnslicense.sh from a directory that includes the license file, the
recommended way to run this is:

cd /tmp #assuming /tmp is the directory which contains the license file
chmod +x tnslicense.sh
./tnslicense.sh

Blog: What Optimal Transaction Performance Means

A number of our customers use Prognosis to monitor the health of their payment systems. As part of this, they monitor the transactions flowing through the system ...

Read blog