ionCube Logo
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


 
Post new topic   Reply to topic    ionCube Forum Index -> ionCube PHP Encoder

encoder license restricted to absolut path ?

Author Message
bouda



Joined: 20 Dec 2005
Posts: 2

PostPosted: Tue Jan 03, 2006 7:43 pm    Post subject: encoder license restricted to absolut path ? Reply with quote

Hi, I am running the Linux version of the encoder, I've requested via --license-request my encoder license under being root from within a temporary directory. Everything is running smoothly when I continue to use the encoder from this temporary directory.

Now I want to move the encoder to a more appropriate location (eg. /usr/local/ioncube), to encrypt from within the web server (apache). I've copied all the files from the temporary directory to the new location. (on the same machine of course)

But the encoder abort immediately with the following error (Even run under the root account !!):
"Error: Encoder license error [20007]"

Is the encoder license bound to the original directory? If so, do I have to request a new license (and revoking the old one)?

Many thanks in advance

Best regards
Back to top
View user's profile Send private message
tino



Joined: 03 Jan 2006
Posts: 4

PostPosted: Tue Jan 03, 2006 8:35 pm    Post subject: Reply with quote

I got this info:

By default the Encoder will read license data from a file called licdata.txt in the same directory as the Encoder program. Alternatively use either the Encoder --license-file option to specify the license file, or set the IONCUBE_ENCODER_LICENSE_FILE environment variable to the path of the license file path.
Back to top
View user's profile Send private message Send e-mail
liaison
ionCube Support


Joined: 16 Dec 2004
Posts: 2788

PostPosted: Tue Jan 03, 2006 9:00 pm    Post subject: Reply with quote

Hi

On Linux, the installation is sensitive to being copied, and in some cases being moved, and this is part of the product licensing protection mechanism. Due to differences in Windows, the Windows version is not sensitive to being moved.

Just run the Encoder with the --revoke-license option in your original temporary directory, and this will create a revoke file in the same directory. Send the revoke file to licenses@ioncube.com and also a new license request from the new installation directory and we can process that. The revoke feature was added particularly to make moving the software to new machines easy, and provided that the procedure of "revoke on old machine/license request on new machine (or location)" is followed, then reissuing the license is very straightforward. If you have any problems please contact licenses@ioncube.com
_________________
Community Admin
Back to top
View user's profile Send private message
bouda



Joined: 20 Dec 2005
Posts: 2

PostPosted: Wed Jan 04, 2006 2:57 pm    Post subject: finaly resolved Reply with quote

Finaly, after several emails, everything is running smoothly.

To resume, for the linux version:
1.: you have to request the encoder license from the final installation directory.
2.: set READ AND WRITE access for EVERYBODY to this two files: ".sf-lock" and " .state-file.dat" inside this directory.

Hope this helps, if somebody has the same issues.
Back to top
View user's profile Send private message
liaison
ionCube Support


Joined: 16 Dec 2004
Posts: 2788

PostPosted: Wed Jan 04, 2006 3:28 pm    Post subject: Reply with quote

Just to clarify, this is actually done automatically for the state file, and in release 6.5 and above is handled automatically for the lock file.

Moving a Unix Encoder installation will work and not cause problems if you move (rename) the parent directory and are not crossing a filesystem, but if a copy is made or a move across a filesystem then a new license request will need to be made.
_________________
Community Admin
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    ionCube Forum Index -> ionCube PHP Encoder All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum