AIX编译报错 "No licenses available" 如何解决?

本文介绍了如何通过重启许可服务解决C编译过程中遇到的许可不足的问题。通过使用i4cfg工具停止并重新启动相关子系统,使得编译过程恢复正常。

1506-507 (W) No licenses available. Contact your program supplier to add additional users. Compilation will proceed shortly.

/ >cd usr/opt/ifor/bin
/usr/opt/ifor/bin >./i4blt -sl cn


i4blt Version 4.6.8 AIX -- LUM Basic License Tool
(c) Copyright 1995-2004, IBM Corporation, All Rights Reserved
US Government Users Restricted Rights - Use, duplication or disclosure
restricted by GSA ADP Schedule Contract with IBM Corp.
(c) Copyright 1991-1997 Gradient Technologies Inc., All Rights Reserved
(c) Copyright 1991,1992,1993, Hewlett-Packard Company, All Rights Reserved

ADM-10037: There are no active license servers

/usr/opt/ifor/bin >lssrc -a |grep ifor
llbd             iforncs                       inoperative
glbd             iforncs                       inoperative
i4lmd            iforls                        inoperative
i4glbcd          iforncs                       inoperative
i4gdb            iforls                        inoperative
i4llmd           iforls                        inoperative

【解决方法】

/usr/opt/ifor/bin >./i4cfg -stop
i4cfg Version 4.6.8 AIX -- LUM Configuration Tool
(c) Copyright 1995-2004, IBM Corporation, All Rights Reserved
US Government Users Restricted Rights - Use, duplication or disclosure
restricted by GSA ADP Schedule Contract with IBM Corp.

/usr/opt/ifor/bin >./i4cfg -start
i4cfg Version 4.6.8 AIX -- LUM Configuration Tool
(c) Copyright 1995-2004, IBM Corporation, All Rights Reserved
US Government Users Restricted Rights - Use, duplication or disclosure
restricted by GSA ADP Schedule Contract with IBM Corp.

0513-059 The i4llmd Subsystem has been started. Subsystem PID is 823524.

'Start Services' has completed successfully

/usr/opt/ifor/bin >lssrc -a |grep ifor
i4llmd           iforls           823524       active
llbd             iforncs                       inoperative
glbd             iforncs                       inoperative
i4lmd            iforls                        inoperative
i4glbcd          iforncs                       inoperative
i4gdb            iforls                        inoperative

问题解决,c编译不再报错。

评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值