Community Forums
Page 2 of 4 FirstFirst 1234 LastLast
Results 6 to 10 of 19

Thread: Flexlm not reading Solaris Sun demo licenses

  1. #6
    Join Date
    Oct 2001
    Location
    Here and there
    Posts
    16,243
    The new license should not need a server (as with lmstat, lmreread is only for served licenses). Every license is tied to a particular publisher/ISV/producer, even if a server is not used, which is why "suntechd" appears in the INCREMENT line.

    Can you use lmpath to point to the new license file?

  2. #7
    Join Date
    Sep 2010
    Posts
    11

    Flexlm not reading Solaris Sun demo licenses

    I do not have the lmpath command.
    These are the commands I have:

    # pwd
    /etc/opt/licenses
    # ls -al
    total 106
    drwxrwxr-x 2 root sys 26 Sep 16 10:23 .
    drwxr-xr-x 3 root sys 3 Jan 30 2007 ..
    -rw-r--r-- 1 root other 3812 Apr 18 2003 LIC_CONFIG_FILE
    -rw-r--r-- 1 root other 3812 Apr 18 2003 LIC_CONFIG_FILE.combined
    -rwxr--r-- 1 root other 37208 Apr 18 2003 LIC_CONFIG_SCRIPT
    -rwxr--r-- 1 root sys 16481 Dec 24 1999 adjust_flexlm_owner
    -rw-r--r-- 1 root other 104 Mar 1 2006 daemon_options
    -rw-r--r-- 1 root other 7 Apr 18 2003 flexlm_owner
    lrwxrwxrwx 1 root other 35 Sep 13 12:33 lic.SUNW -> /opt/SUNWste/license_tools/lic.SUNW
    lrwxrwxrwx 1 root other 42 Sep 13 12:33 lic2.0_reconfig -> /opt/SUNWste/license_tools/lic2.0_reconfig
    -rwxr-x--- 1 root staff 549 Dec 24 1999 lic_srvr_start
    -rw-r--r-- 1 root other 274 Sep 14 16:37 licenses_combined
    -rw-r--r-- 1 root other 274 Sep 14 16:37 licenses_combined.BAK
    -rw-r--r-- 1 root other 274 Sep 14 16:39 licenses_combined.DUP
    lrwxrwxrwx 1 root other 30 Sep 13 12:33 lit -> /opt/SUNWste/license_tools/lit
    lrwxrwxrwx 1 root other 34 Sep 13 12:33 lit_tty -> /opt/SUNWste/license_tools/lit_tty
    lrwxrwxrwx 1 root other 33 Sep 13 12:33 lmdiag -> /opt/SUNWste/license_tools/lmdiag
    lrwxrwxrwx 1 root other 33 Sep 13 12:33 lmdown -> /opt/SUNWste/license_tools/lmdown
    lrwxrwxrwx 1 root other 36 Sep 13 12:33 lmgrd.ste -> /opt/SUNWste/license_tools/lmgrd.ste
    lrwxrwxrwx 1 root other 35 Sep 13 12:33 lmhostid -> /opt/SUNWste/license_tools/lmhostid
    lrwxrwxrwx 1 root other 35 Sep 13 12:33 lmremove -> /opt/SUNWste/license_tools/lmremove
    lrwxrwxrwx 1 root other 35 Sep 13 12:33 lmreread -> /opt/SUNWste/license_tools/lmreread
    lrwxrwxrwx 1 root other 33 Sep 13 12:33 lmstat -> /opt/SUNWste/license_tools/lmstat
    lrwxrwxrwx 1 root other 32 Sep 13 12:33 lmver -> /opt/SUNWste/license_tools/lmver
    -rw-r--r-- 1 root other 26 Apr 18 2003 sunpro.loc
    lrwxrwxrwx 1 root other 35 Sep 13 12:33 suntechd -> /opt/SUNWste/license_tools/suntechd
    #

  3. #8
    Join Date
    Oct 2001
    Location
    Here and there
    Posts
    16,243
    In that case, can you modify $HOME/.flexlmrc or set the SUNTECHD_LICENSE_FILE environment variable to point to the new license file?

    (Current versions of the FlexNet Publisher utilities such as lmpath are available here, but what I've described is what lmpath does...)

  4. #9
    Join Date
    Sep 2010
    Posts
    11

    Flexlm not reading Solaris Sun demo licenses

    This seems to work, I want to be sure I am getting all the messages that the license daemon spits out. Previously the:
    root 3162 3161 0 13:59:54 ? 0:00 suntechd -T mf-ny 6.1 4 -c /etc/opt/licenses/licenses_combined
    process would die after a fe w attemps of retrying the hostid.

    Now I see both daemons persisting-
    The one above and this:
    root 3161 13801 0 13:59:54 pts/1 0:00 /etc/opt/licenses/lmgrd.ste -c /etc/opt/licenses/licenses_combined

    This is what I see as the output of the command:
    # more FILE
    13:59:53 (lmgrd) -----------------------------------------------
    13:59:53 (lmgrd) Please Note:
    13:59:53 (lmgrd)
    13:59:53 (lmgrd) This log is intended for debug purposes only.
    13:59:53 (lmgrd) There are many details in licensing policies
    13:59:53 (lmgrd) that are not reported in the information logged
    13:59:53 (lmgrd) here, so if you use this log file for any kind
    13:59:53 (lmgrd) of usage reporting you will generally produce
    13:59:53 (lmgrd) incorrect results.
    13:59:53 (lmgrd)
    13:59:53 (lmgrd) -----------------------------------------------
    13:59:53 (lmgrd)
    13:59:53 (lmgrd)
    13:59:53 (lmgrd) lmgrd running as root:
    13:59:53 (lmgrd) This is a potential security problem
    13:59:53 (lmgrd) And is not recommended
    13:59:53 (lmgrd) FLEXlm (v6.1b) started on mf-ny (Sun) (9/17/2010)
    13:59:53 (lmgrd) FLEXlm Copyright 1988-1998, Globetrotter Software, Inc.
    13:59:53 (lmgrd) US Patents 5,390,297 and 5,671,412.
    13:59:53 (lmgrd) World Wide Web: http://www.globetrotter.com
    13:59:53 (lmgrd) License file(s): /etc/opt/licenses/licenses_combined
    13:59:53 (lmgrd) lmgrd tcp-port 7588
    13:59:53 (lmgrd) Starting vendor daemons ...
    13:59:53 (lmgrd) Started suntechd (internet tcp_port 39018 pid 3162)
    13:59:53 (suntechd) FLEXlm version 6.1b
    13:59:53 (suntechd) Using options file: "/etc/opt/licenses/daemon_options"
    13:59:53 (suntechd) Server started on mf-ny for: sunpro.cc
    13:59:53 (suntechd) sunpro.c
    13:59:53 (suntechd) Not logging IN messages
    13:59:53 (suntechd) Not logging OUT messages
    13:59:53 (suntechd) Not logging QUEUED messages
    13:59:53 (suntechd) FEATURE sunpro.cc LICENSE LINGER set to 60 seconds
    13:59:53 (suntechd) FEATURE sunpro.c LICENSE LINGER set to 60 seconds

  5. #10
    Join Date
    Sep 2010
    Posts
    11

    Flexlm not reading Solaris Sun demo licenses

    I am still getting errors on this:
    # /etc/opt/licenses/lmstat -A
    lmstat - Copyright (C) 1989-1998 Globetrotter Software, Inc.
    Flexible License Manager status on Fri 9/17/2010 14:42

    Error getting status: Cannot find license file -1,359:2 (No such file or directory)
    #

    but compiles work

Page 2 of 4 FirstFirst 1234 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
  •