安装好vac之后,在编译的时候提示“1506-507 (W) No licenses available. Contact your program supplier to add additional users. Compilation will proceed shortly”,这是因为没有正确配置LUM(License Use Management)引起的 。
cd /usr/opt/ifor/ls/os/aix/bin
./i4config
From a License Management point of view,
you can choose to configure this system as:
1) Network License Client
2) Nodelock License Server (and/or Network License Client)
3) Network (and/or Nodelock) License Server
4) Central Registry (and/or Network and/or Nodelock) License Server (*)
(*) Remember that one and only one Central Registry License Server (i4gdb daemon) can be active
in a Licensing domain.
Please indicate your choice [1,2,3,4]: 2
Do you want to disable remote administration of this Nodelock License
Server? [y,n]: y
You have to choose now which mechanism must be enabled
to locate this License Server:
1) NCS Namespace and Direct Binding (*)
2) Direct Binding only
(*) WARNING: Modifying NCS Namespace configuration may affect
any other application that use NCS on this system.
NCS Namespace is necessary to support old Netls, iFOR/LS Clients.
Please indicate your choice [1,2]: 2
Choose the desired Server(s) logging level
1) Default
2) All
3) Customized
Please indicate your choice [1,2,3]: 1
The default Log file(s) path is /var/ifor
Enter blank to accept default or specify a new path:直接回车
*******************************************************************************
Server configuration is complete.
Do you want to modify the list of remote Nodelock and/or Network License Servers
this system can connect to in direct binding mode (both for
Administration purposes and for working as Network License Client) ? [y,n]: n
Do you want the License Server(s) automatically start on this system
at boot time? [y,n]: y
*******************************************************************************
WARNING: Configuration is about to end.
This is your last chance to quit before your updates will be written.
Do you want to continue? [y,n]:y
*** Configuration file updated. ***
Do you want the License Server(s) start now? [y,n]: y
0513-059 The i4llmd Subsystem has been started. Subsystem PID is 18636.
‘Start Services’ has completed successfully
****************************************
* Configuration completed successfully *
****************************************
导入license
./i4blt -a -f /usr/vac/cforaix_cn.lic -R u -T 1000
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-10099: Product successfully enrolled
成功导入之后即可正常编译。


最近评论