1. Olan Knight
  2. PowerBuilder
  3. Friday, 11 May 2018 15:16 PM UTC

PBv12.1, b7055
Windows 7, 64 bit platform

The Short Version
 - I suspect that I can pre-load the Standalone - Local License license file into the PB.INI file, but I do not know how.
   HOW is this done?

The Detailed Version
I've been moved to a new VM. I access this VM remotely: I log into the VM using Remote Desktop.

I installed SYSAM-2_0 from the PBv12.6 set of install files. This means I have the IPV4 and IPV6 folders in the "bin" directory.
I can get the system service started. ANd stopped. And restarted - at will.

I can NOT seem to get LMTOOLS.EXE to succeed. It runs, but... 
  -  I set up the CONFIG SERVICES tabpage up to point to the required files
  -  The Status bar shows:  "Using license file
  -  When I try to re-read the license, it always fails.
  -  When I run SERVER DIAGS it always always always always say "cannot read the license file"  AND "lmgrd.exe is not running".

I called SAP for help. HA! Since I don't have a current maintenance contract, they >>> WILL NOT <<< help me. At all.

Fine. 
I'll try running PB with a stand-alone local license since I log into the VM before running PB. Who knows? Maybe that will work.


1) I return to the SAP portal, License Keys, generate a stand-alone license key successfully, and download it into the following folder:
      C:\Program Files (x86)\Sybase\PowerBuilder 12.0

2)  Deleted the PB.lic file from the same folder.

3) Stop the SYSAM service, run PB, and get "The Sybase SYSAM license was not validated.".
      - Click OK,
      - Select "Standalone seat - Local License, click NEXT
      -  Click LOAD, and absolutely nothing happens.
      -  I click the MORE INFORMATION button, and yet again nothing happens.

4) I suspect that I can pre-load the license file into the PB.INI file, but I do not know how.

5) I try step three again with the SYSAM service running - same result, and clicking the LOAD button still does absolutely nothing.

----------------------------------------

6) Here are the LOG files from testing the SERVED license:

 

LOG Files
 
1. Check the SYSAM log file in " C:\sybase\SYSAM-2_0\log\SYBASE.log". The file contains:
 
13:45:06 (lmgrd) -----------------------------------------------
13:45:06 (lmgrd)   Please Note:
13:45:06 (lmgrd) 
13:45:06 (lmgrd)   This log is intended for debug purposes only.
13:45:06 (lmgrd)   In order to capture accurate license
13:45:06 (lmgrd)   usage data into an organized repository, blah blah blah comments removed
13:45:06 (lmgrd) 
13:45:06 (lmgrd) -----------------------------------------------
13:45:06 (lmgrd) 
13:45:06 (lmgrd) 
13:45:06 (lmgrd) pid 11656
13:45:06 (lmgrd) Detecting other license server manager (lmgrd) processes...
13:45:06 (lmgrd) Done rereading
13:45:06 (lmgrd) FLEXnet Licensing (v11.6.1.0 build 66138 i86_n3) started on OMACSGITHIN8610 (IBM PC) (5/10/2018)
13:45:06 (lmgrd) Copyright (c) 1988-2008 Acresso Software Inc. All Rights Reserved.
13:45:06 (lmgrd) US Patents 5,390,297 and 5,671,412.
13:45:06 (lmgrd) World Wide Web:  http://www.acresso.com
13:45:06 (lmgrd) License file(s): C:\sybase\SYSAM-2_0\licenses\OMACSGITHIN8610_20180510_183841.lic
13:45:06 (lmgrd) lmgrd tcp-port 27000
13:45:06 (lmgrd) Starting vendor daemons ... 
13:45:06 (lmgrd) Started SYBASE (pid 11944)
13:45:06 (SYBASE) FLEXnet Licensing version v11.6.1.0 build 66138 i86_n3
13:45:06 (SYBASE) Using options file: "C:\sybase\SYSAM-2_0\licenses\SYBASE.opt"
13:45:06 (SYBASE) Server started on OMACSGITHIN8610 for:
13:45:06 (SYBASE) PB_ENTERPRISE (consisting of: PowerBuilder
13:45:06 (SYBASE) InfoMaker EAS)
13:45:06 (SYBASE) EXTERNAL FILTERS are OFF
13:45:06 (SYBASE) Report log started (+C:\sybase\SYSAM-2_0\log\SYBASE.rl).
13:45:06 (SYBASE) Debug log started (+C:\sybase\SYSAM-2_0\log\SYBASE.log).
13:45:06 (SYBASE) Server started on OMACSGITHIN8610 for:
13:45:06 (SYBASE) PB_ENTERPRISE (consisting of: PowerBuilder
13:45:06 (SYBASE) InfoMaker EAS)
13:45:06 (lmgrd) SYBASE using TCP-port 65475
 
 
2. Check the PowerBuilder-Sysam log from 
 
SyLAPI Version: libsylapi - Sybase Licensing API/1.8.1/15/32bit/1/P/NT (IX86)/Windows 2000/OPT/Fri Sep 26 16:59:48 2008
PB/IM Version: 12.1.0.7055
C:\Program Files (x86)\Sybase\Shared\PowerBuilder\PBSHR120.dll
Using properties file: C:\Program Files (x86)\Sybase\PowerBuilder 12.0\pb120_sysam.properties
Product Name: pb120
Instance Name: pb120
2018/05/10 14:54:05  Using licenses from: C:\Program Files (x86)\Sybase\PowerBuilder 12.0;C:\sybase\SYSAM\SYSAM-2_0\licenses\OMACSGITHIN8610_20180510_183841.lic
DesiredEdition=PowerBuilder - EE
DesiredMode=Dispenser
CO Filter: 'PE=EE;LT=SS'
CO Feature: 'PowerBuilder'
CO Version: '2010.0716'
2018/05/10 14:54:07  Error (131281): Failed to obtain 1 license(s) for PowerBuilder feature from license file(s) or server(s).
2018/05/10 14:54:07  Error (131087): Cannot connect to license server system.
2018/05/10 14:54:07  Error (0):  The license server manager (lmgrd) has not been started yet,
2018/05/10 14:54:07  Error (0):  the wrong port@host or license file is being used, or the
2018/05/10 14:54:07  Error (0):  port or hostname in the license file has been changed.
2018/05/10 14:54:07  Error (0): License feature name:  PowerBuilder
2018/05/10 14:54:07  Error (0): License server host:   OMACSGITHIN8610.CSGICORP.COM
2018/05/10 14:54:07  Error (0): License search path:   C:\sybase\SYSAM\SYSAM-2_0\licenses\OMACSGITHIN8610_20180510_183 -
2018/05/10 14:54:07  Error (0):    841.lic;C:\Program Files (x86)\Sybase\PowerBuilder 12.0\PB121.lic
2018/05/10 14:54:07  Error (0): FLEXnet Licensing error:-15,570
2018/05/10 14:54:07  Error (0): For further information, refer to the Sybase Software Asset Management website at http://www.sybase.com/sysam
 
Failure in: sylapi_checkout() - code: 131087
License has truly failed.
License has truly failed.
 
PB-SyLAPI Heartbeat Thread - terminated
--SySAM/SyLAPI Terminated--


There are no replies made for this question yet.
However, you are not allowed to reply to this question.