We had a licensing issue on one of our servers. We are using Sun Workshop compilers and the Flex license manager. The Sun Workshop compilers are EOL by Sun and Sun no longer supports this product. The compilers seem to use Flexlm for getting their licenses.
Sun has a procedure for granting unending any node license to those still using the compilers, I followed the procedure set by Sun at:
http://www.sun.com/software/licensingcenter/sundev.xml it does not seem to work because the license manager gives errors. The users however are able to run their compiles on the system. I am concerned that this may be a temporary success.
We have an existing solaris 2.6 server on which the compiler and license manager work without issues. All files were copied from there and moved to a solaris 10 system. Since Sun provides any node unending demo licenses the licensing should work on the new system, the license manager however gives errors(see below)
Here is some output:
# ./lmver suntechd
lmver - Copyright (C) 1989-1998 Globetrotter Software, Inc.
FLEXlm 6.1b (libmgr_as.a), Copyright (C) 1988-1998 Globetrotter Software, Inc.
FLEXlm 6.1b (libmgr_s.a), Copyright (C) 1988, 1998 Globetrotter Software, Inc.
FLEXlm 6.1b (liblmgr.a), Copyright (C) 1988-1998 Globetrotter Software, Inc.
# ./lmver lmgrd.ste
lmver - Copyright (C) 1989-1998 Globetrotter Software, Inc.
FLEXlm Copyright 1988-1998, Globetrotter Software, Inc.
FLEXlm 6.1b (libmgr_s.a), Copyright (C) 1988, 1998 Globetrotter Software, Inc.
FLEXlm 6.1b (liblmgr.a), Copyright (C) 1988-1998 Globetrotter Software, Inc.
#
# pwd
/opt/SUNWspro/license_dir
# ls -al
total 17
drwxrwxr-x 2 root sys 7 Sep 16 10:30 .
drwxrwxr-x 17 root sys 18 Sep 14 10:17 ..
-rw------- 1 root other 881 Sep 14 11:01 nohup.out
-rw-r--r-- 1 root other 151 Sep 13 11:32 sunpro.lic,1
-rw-r--r-- 1 root other 274 Sep 14 16:37 sunpro.lic,2
-rw-r--r-- 1 root other 151 Sep 16 10:30 sunpro.lic,demo1
-rw-r--r-- 1 root other 151 Sep 14 17:23 sunpro.lic,node
#
# more sunpro.lic,2
SERVER mf-ny 80a2333c 7588
DAEMON suntechd /etc/opt/licenses/suntechd /etc/opt/licenses/daemon_options INCREMENT sunpro.cc suntechd 4.200 01-jan-00 3 2B2A2011BD5E3D0BF08A VENDOR_STRING="0"
INCREMENT sunpro.c suntechd 4.200 01-jan-00 3 CBEA70015D15A6A95534 VENDOR_STRING="0"
# more sunpro.lic,demo1
INCREMENT sunpro.cc suntechd 4.200 01-jan-0 0 EB2A50F1AEAA11C77DC8 "0" DEMO INCREMENT sunpro.c suntechd 4.200 01-jan-0 0 5BCA20A1162D9A7D5CCE "0" DEMO #
# cd /usr/tmp
# more license_log
10:31:10 (lmgrd) -----------------------------------------------
10:31:10 (lmgrd) Please Note:
10:31:10 (lmgrd)
10:31:10 (lmgrd) This log is intended for debug purposes only.
10:31:10 (lmgrd) There are many details in licensing policies
10:31:10 (lmgrd) that are not reported in the information logged
10:31:10 (lmgrd) here, so if you use this log file for any kind
10:31:10 (lmgrd) of usage reporting you will generally produce
10:31:10 (lmgrd) incorrect results.
10:31:10 (lmgrd)
10:31:10 (lmgrd) -----------------------------------------------
10:31:10 (lmgrd)
10:31:10 (lmgrd)
10:31:10 (lmgrd) FLEXlm (v6.1b) started on mf-ny (Sun) (9/16/2010)
10:31:10 (lmgrd) FLEXlm Copyright 1988-1998, Globetrotter Software, Inc.
10:31:10 (lmgrd) US Patents 5,390,297 and 5,671,412.
10:31:10 (lmgrd) World Wide Web:
http://www.globetrotter.com10:31:10 (lmgrd) License file(s): /etc/opt/licenses/licenses_combined
10:31:10 (lmgrd) lmgrd tcp-port 7588
10:31:10 (lmgrd) Starting vendor daemons ...
10:31:10 (lmgrd) Started suntechd (internet tcp_port 50989 pid 18143)
10:31:10 (suntechd) FLEXlm version 6.1b
10:31:10 (suntechd) Using options file: "/etc/opt/licenses/daemon_options"
10:31:10 (suntechd) Server started on mf-ny for: sunpro.cc
10:31:10 (suntechd) sunpro.c
10:31:10 (suntechd) Wrong hostid on SERVER line for license file:
10:31:10 (suntechd) /etc/opt/licenses/licenses_combined
10:31:10 (suntechd) SERVER line says 80a2333c, hostid is 85050476
10:31:10 (suntechd) Invalid hostid on SERVER line
10:31:10 (suntechd) Disabling 3 licenses from feature sunpro.cc(2B2A2011BD5E3D0BF08A)
10:31:10 (suntechd) Disabling 3 licenses from feature sunpro.c(CBEA70015D15A6A95534)
10:31:10 (suntechd) Not logging IN messages
10:31:10 (suntechd) Not logging OUT messages
10:31:10 (suntechd) Not logging QUEUED messages
10:31:10 (suntechd) FEATURE sunpro.cc LICENSE LINGER set to 60 seconds
10:31:10 (suntechd) FEATURE sunpro.c LICENSE LINGER set to 60 seconds
10:35:10 (suntechd) No valid hostids, exiting
10:35:10 (lmgrd) Please correct problem and restart daemons #
Please help us fix this problem.