Community Forums
Page 1 of 4 123 ... LastLast
Results 1 to 5 of 19

Thread: Flexlm not reading Solaris Sun demo licenses

  1. #1
    Join Date
    Sep 2010
    Posts
    11

    Flexlm not reading Solaris Sun demo licenses

    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.com

    10: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.

  2. #2
    Join Date
    Oct 2001
    Location
    Here and there
    Posts
    16,243
    The issue seems to be that the licenses generated for the license server with hostid 80a2333c are being launched on a server with hostid 85050476:

    10:31:10 (suntechd) SERVER line says 80a2333c, hostid is 85050476

    It seems too that the new licenses in sunpro.lic,demo1 are uncounted and do not require a license server. As described at the bottom of http://www.sun.com/software/licensingcenter/sundev.xml, you should just copy the new uncounted, permanent licenses to the documented location. (It sounds as if you might want to adjust the license text file so that each line begins with INCREMENT and ends with DEMO.)

  3. #3
    Join Date
    Sep 2010
    Posts
    11

    Flexlm not reading Solaris Sun demo licenses

    I did put in the Sun demo licenses into the place specified by Sun, however, when I do a lmstat -A I see an error message.

  4. #4
    Join Date
    Oct 2001
    Location
    Here and there
    Posts
    16,243
    I believe lmstat shows only served licenses, not unserved licenses such as the new permanent, uncounted license file.

    I gather from that Sun page that the licensed tools should be able to acquire their licenses from the new unserved license file, without needing a server to be running.

  5. #5
    Join Date
    Sep 2010
    Posts
    11

    Flexlm not reading Solaris Sun demo licenses

    I shut down the license server but the compiler does not work at that time.

    Also the Sun demo license contains the word suntechd which is a daemon, why would it contain that if it did not need the license manager?

    INCREMENT sunpro.c suntechd 4.200 01-jan-0 0 5BCA20A1162D9A7D5CCE "0" DEMO

    It almost seems to me that the license server has got to be made to read the elementary license file at: /opt/SUNWspro/license_dir

    When I give that license file to lmreread it gives me an error.....it continues to read the /etc/opt/licenses/licenses_combined file which was essentially copied over from a legacy system on which everything works - thats the system to which the product was originally licensed to.

Page 1 of 4 123 ... LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •