flexlm over ssh

Discussion in 'Cadence' started by a2zasics, Nov 11, 2003.

  1. a2zasics

    a2zasics Guest

    Hi,
    I am trying to use our flexlm license over a ssh connection. I have
    forwarded the port 5280 to flexlm server 5280 using ssh. I have
    aliased flexlm machine to the 127.0.0.1. Now when i run lmstat -a i
    get the following :

    license server UP(MASTER) v8.2

    Vendor deamon status (on timon)
    cdslmd: can not connect to license server (-15,570:111 "Connetion
    refused")

    Do i need to forward some port i am not doing already. Where am i
    going wrong?

    Shardendu
     
    a2zasics, Nov 11, 2003
    #1
  2. a2zasics

    Cricri68 Guest

    Hello,

    Flexlm works with 2 ip ports. One for flexlm him self (5280 in your case)
    and an other for the vendors daemon (cdslmd). This port number
    can be found in the log file. The problem is that this port is never the
    same
    after restart of flexlm, so it is difficult to manage this with this
    ssh-forwarding.

    But there is a solution : you must start your vendor daemon with an option
    in the licence file : cdslmd /usr/cds/cdslmd port=5281 for exemple.
    So the daemon starts on a fixed port, this can now be managed with ssh.
    Warning, on some solaris versions, ip-ports are not released quick enough,
    so you can have some pbs when restarting daemons: see licence logfile for
    this.

    Cricri68 (France)
     
    Cricri68, Nov 11, 2003
    #2
  3. a2zasics

    Dan McMahill Guest

    I've been fighting similar battles. I've gotten as far as adding the
    PORT=5281 bit in the license file for the cdslmd daemon line. Now I can
    do 'lmatat -c 5280@lmserver" or "lmdiag -c 5280@lmserver 34510" and see
    that the license server is up and that the license I want is available.
    Now my problem is that when I fire up ocean or icms I'm unable to get a
    license. In fact in icms if I pullup the license window, I'm unable to
    see the users of any licenses or check out any.

    I have CDS_LIC_FILE set to 5280@lmserver in my environment and I've
    tried LM_LICENSE_FILE too just for kicks. Is there something else I'm
    missing?

    Thanks
    -Dan



    --
     
    Dan McMahill, Nov 14, 2003
    #3
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.