php - CentOS Ioncube make_license 每次我尝试执行时都是 "Killed"

标签 php unix licensing centos ioncube

我正在尝试使用 ioncube 为 Unix 系统提供的“make_license”生成器生成 ioncube 许可证。它适用于我的桌面 Ubuntu 系统,但不适用于我的 CentOS 网络服务器。

每次我尝试运行该文件时,我都会在终端中收到“Killed”消息,所以它看起来像这样:

[root@myserver test]# ./make_license --passphrase 'secret' --expire-in 20d > 'license.txt'
Killed
[root@myserver test]#

在我执行文件后只是一个奇怪的消息“被杀死”,没有别的。我还尝试将“sudo”放在“./make_license --passphrase .....”前面,它起作用了,但许可证文件生成为空(0 字节)。

我已经尝试 chmod 755 和 777 来“make_license”,但它没有帮助。我也尝试停止“/etc/init.d/amavisd”,以防万一它是防病毒软件,但同样的事情。

我的服务器配置是:CentOS-6.2 64bit + Nginx, PHP-FPM, APC, php-ioncube-loader-4.2.2-2.el6.art.x86_64

我在 Ioncube 论坛上发现了同样的问题,但没有答案:
http://forum.ioncube.com/viewtopic.php?t=3909&sid=8d595f7005f5b851479a00d387635ad7

请分享您可能有的任何想法。

最佳答案

所以我联系了 ioncube 支持,他们是这样回答的:

There are two things to check here:-

  1. That you have uploaded the make_license program to your server in binary mode and not in ASCII mode.
  2. You have the 32-bit compatibility libraries installed (as make_license, like the Encoder, is a 32-bit program).

The loader does not matter in this case as it has nothing to do with the problem with make_license.

You may need to install the 32-bit compatibility libraries for CentOS for make_license to work as that is a 32-bit program.

The make_license file will be a binary in any case but if you uploaded to your server via FTP in ASCII mode rather than binary then that might corrupt the file and cause the "killed" message. So please upload make_license again, making sure to choose binary mode in your FTP client.



所以我检查了我的 make_license 文件:
[root@localhost test]# file make_license

make_license: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), statically linked, stripped

它说该文件是“可执行的”,我认为它是=“二进制”。

但显然它不是二进制的。因为在我再次上传它之后,确保我的 FTP 客户端中的传输模式是“二进制” - 一切正常。不再生成“已终止”消息和许可证。

希望这可以帮助某人。

关于php - CentOS Ioncube make_license 每次我尝试执行时都是 "Killed",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15395293/

相关文章:

php - 找不到类 'FFMpeg\FFMpeg\Coordinate\Dimension'

php - 如何将时间选择器添加到jquery jtable?

perl - 如何在 unix 环境中的任何地方运行 perl 脚本?

c++ - 使用 select() 时无法捕获 SIGINT 信号

java - 安卓唯一ID

open-source - Go 代码贡献 : license and patent implications?

php - 捕获 mysql_query 错误

php - 汉字问题

c - UNIX:程序中的最大线程数

c++ - 用于 linux 的 c 程序,用于获取设备的序列号,用于非 root 用户