在 Ubuntu 上使用的 IBM Informix 数据库,授权(License)主要涉及 版本授权 和 用户/连接授权。下面按常见场景说明。
Informix 常见授权方式包括:
按版本授权
按 CPU / 核心授权
按用户或连接数授权
Informix 的授权不是通过 Ubuntu 系统完成的,而是通过 Informix 自身的 License 机制。
onstat -l
或者更常用:
onstat -m
查看启动日志中是否有 License 信息。
更详细:
onstat -a | grep -i license
如果你安装的是以下版本,默认已授权:
✅ 不需要额外输入 License Key
✅ 可直接用于开发或小规模生产
验证:
onstat -
输出中通常会显示版本和授权类型。
如果是 Enterprise Edition,需要:
IBM 会提供:
.lic)常见方式:
cd $INFORMIXDIR
./install/installer
或:
./install/installer -i console
按提示输入 License Key。
oninit 重新启动oninit -vy
部分版本支持 临时试用授权(Trial License):
查看是否到期:
onstat -m
示例错误:
License verification failed
解决:
IBM Informix 官方主要支持 RHEL / SLES
在 Ubuntu 上:
✅ 不影响授权本身
| 场景 | 是否需要授权 |
|---|---|
| 开发测试 | ❌(Developer Edition) |
| 小型生产 | ❌(Innovator-C) |
| 企业级生产 | ✅(Enterprise License) |
| 试用 | ✅(Trial License) |
你可以把以下信息发我,我可以帮你判断:
onstat -
我可以直接告诉你 是否需要购买 License,以及如何激活。