Documente Academic
Documente Profesional
Documente Cultură
-c
<license_file_path>
Windows:
Use lmtools.exe
Where <license_file_path> is the full path (including filename) to the license.dat file. If
the -c option is not used, lmdiag will operate on a license.dat file in the current
directory.
FLEXlm Common Problems and Resolutions
Windows:
Use Lmtools in the FlexLm installation
Also check the lmgrd.log file on the server to see if any
problems occurred in startup.
Next check the following possible causes:
1. The software is not referencing the correct license file or
server.
Set the MSC_LICENSE_FILE environment variable (in
.cshrc or site_setup) to the correct license.dat file (that has
the same SERVER line as the license file that was used to
start lmgrd).
UNIX:
Windows:
9. Note that this will not allow you to login (telnet is not
actually listening at that port), but it should connect.
My lmgrd tells
me that the
hostid is
wrong, or not
what it
expected.
What does that
mean?
Resolution If the hostid is not correct, you should see something like
2:
this in the lmgrd.log file:
9/27 10:08:16 (ariesd) Wrong hostid, exiting (expected
0000578258, got 578258)
% /msc/msc_licensing/bin/lmhostid
lmutil - Copyright (C) 1989-1997 Acresso Software, Inc.
The FLEXlm host ID of this machine is 690ca939
Windows:
I get the
following error
message when
attempting to
start lmgrd:
FLEXLM ERROR
MESSAGE:INVALID
LICENSE FILE
SYNTAX (-2,134)
fix many of these problems. From the installation DVDROM, run the following to properly parse, fix if necessary,
and install a licence.dat file:
% mscsetup [-b <inst>] flexlm <path_to_license_file>
If, after running this command, you find that you still receive
the same error message, you may manually edit the file
license.dat in the /msc/msc_licensing/flexlm/licenses
directory and look for possible problems.
1. The following is an example of invalid line breaks:
FEATURE PATRAN MSC 1997.0801 15-SEP-1998 0
BC32DE95C6860513D696 \ VENDOR_STRING=OPT:PT=PA_V
DA,PT=PA_CADDS_5,PT=PA_ProENGINEER,PT=PA_CATIA,PT=PA_Eu
clid_3,PT=PA_Unigraphics,PT=PA_IGES
When
attempting to
start my lmgrd
I get an error
cant read data
when
attempting to
connect. What
is the
problem? Are
all FLEXlm
versions
compatible?
I have
products from
several
companies at
various
FLEXlm
version levels.
Do I have to
worry about
how these
versions work
together?
Resolution If you are not combining license files from different vendors,
5:
the simplest thing to do is make sure you use the tools
(especially lmgrd) that are shipped by each vendor.
lmgrd will always correctly support older versions of vendor
daemons and applications, so it is safe to use the latest
version of lmgrd. If you have combined license files from
two vendors, you MUST use the latest version of lmgrd.
If you have received two versions of a product from the same
vendor, you MUST use the latest vendor daemon they send
you. An older vendor daemon with a newer client will cause
communication errors.
Ignore letters appended to FLEXlm versions, for example,
v6.0a. The appended letter indicates a patch, and does not
indicate any compatibility differences.
When
attempting to
start lmgrd, my
log had an
execl failed:
error message.
What do I need
to do to fix
this?
Possible causes:
1. The vendor daemon does not exist at the path specified in
the license.dat file (this is the problem above). Note that the
license.dat file contains a line that is modified by mscsetup or
must be modified by the user:
DAEMON MSC /user_defined_path/MSC
I get error
messages at
the prompt or
in the
lmgrd.log file:
Lost lock
In my
lmgrd.log file,
there are the
following
messages:
9/27 9:52:08
(MSC)
Inconsistent
encryption code
for FEATURE
or
9/27 10:08:16
(MSC) Bad code
for FEATURE
Resolution If you find the following errors when running the lmgrd:
8:
There are several possible causes:
1. The SERVER or FEATURE line in the license.dat file was
changed or entered incorrectly. A common cause is that the
hostid on the SERVER line was modified.
You may not modify any codes, dates, or ids in the
license.dat file. A new file must be generated with the correct
ids.
2. The codes were not generated correctly perhaps as the
result of a miscommunication of or typographical error in the
hostid.
3. There is a problem with the format of the license file such
as an invalid
line wrap.
When
attempting to
start the lmgrd
on an HP-UX
9.01 system.
Everything
looks fine, but
my vendor
daemon still
dies with a
status 2.
Resolution The msc daemon will only run under HPUX 10.20.
9:
Resolution is to install and run FLEXlm on a supported
system.
Problem
10:
Solaris
Resolution FLEXlm fails when the file descriptor limit is set to a value
10:
higher than the default of 1024. Execute lmgrd from a script
that first sets the file descriptor using the ulimit command:
#!/bin/sh
ulimit -H -n 1024
./msc_licensing/flexlm/solaris/lmgrd -c <license.dat> etc.\
Call this script from the /etc/inittab file instead of calling the
Problem
11:
WinNT
Problem
12:
Any
I want to
restrict license
availability to
certain users or
workstations.
Is there a way
to do this?
12:
Problem
13:
Any
Problem
14:
Any
Resolution
14:
Login
Site Tools
Recent changes
Media Manager
Sitemap
Trace: petrel
IT Desktop Infrastructure Team
change
clc
discussion
docs
factory_images
info
it-private
licensing
links
linux
ls-dyna
networking
os
playground
policies
private
reporting
reports
sandbox
sccm
standards
templates
tiny
training
updates
wiki
winpe3
change:applications:licensing:petrel
Table of Contents
Petrel
o Licensing
o Licensing
LM Software
Published FQDN
Published Port
License Server
Service Name
Server Executable
Log Files
Config Files
Other Information
o Notes
o Client Install Notes
o Server Setup Notes
Desktop Engineering Main Wiki Managed Change Applications LicenseManaged Applications Matrix
Petrel
Package
Testing Info
Licensing
Hardware Key Info
Admin Web Proxy
Licensing
LM Software
FLEXlm
Published FQDN
petrel.lic.mst.edu
Published Port
TCP 1724
License Server
flexlm-05.licsrv
Service Name
FLEXlm - Petrel (FLEXlm - Petrel)
Server Executable
slbsls.exe
Log Files
typical
Config Files
typical
Other Information
Install Dir
License Number
Key Info
Serial Number
Other
Version
Listens On
UDP
TCP
Other Data Files
Custom1
Custom2
<vendor_daemons>\Petrel
FLEXlm v11.6.0.0
Notes
The license server complained about the host ID not matching when we had two files
installed. I can only guess that the way they are handling the hardlock prevents two
different files from referencing it. (See Petrel HostID Problem)
The application will also work with the general FLEXlm variable LM_LICENSE_FILE.
MSVCR80.DLL
MSVCP80.DLL
MFC80.DLL
o slbsls.exe.manifest
o CodeMeterDetection.exe
o installingschlumbergerlicensing.pdf
o WibuCmNET.dll
Change Date
2014-03-27T09:00
Description
There's a problem with the FLEXlm instance for Petrel.
8:02:59 (slbsls) Wrong hostid on SERVER line for license file:
8:02:59 (slbsls)
F:\FLEXlm\VendorDaemons\Petrel\slbsls-2.lic
8:03:02 (slbsls) SERVER line says
SLBID=9F9E6DACC1775D8AAE0C3F8ABFC4BDFB61D7CF810EB92394EC009E0E00000000
6F008F4A1D6FC203B12378BCBF2A56081C9C5C6C7C0DDF70FEACA62800000000,
hostid is (Can't get hostid of type 1001 [])
8:03:02 (slbsls) Invalid hostid on SERVER line
8:03:02 (slbsls) Disabling 20 licenses from feature
Petrel_11364230_MAAACAigP/aUA(005B 30EE 2F78 D6AF )
8:03:02 (slbsls) Disabling 20 licenses from feature
Petrel_21364230_MAAAAAAAAAAIA(0030 B49C 3496 DEA5 )
8:03:02 (slbsls) Disabling 2 licenses from feature
Petrel_31364230_MAAAAAAAAAfAA(0071 E3DD 268F 562B )
8:03:02 (slbsls) Disabling 10 licenses from feature cbm_template(0049
8AED DCC1 762C )
8:03:02 (slbsls) Disabling 10 licenses from feature
co2_eor_storage(0028 B9BD E1EA 199F )
8:03:02 (slbsls) Disabling 10 licenses from feature coalbed(00CC 4DF7
3611 8FB8 )
8:03:02 (slbsls) Disabling 10 licenses from feature
compositional(00D0 D181 58B0 7159 )
8:03:02 (slbsls) Disabling 10 licenses from feature datacheck(00DC
6229 FA8F D09C )
8:03:02 (slbsls) Disabling 10 licenses from feature eclipse(004A C6A6
E796 C6C4 )
8:03:02 (slbsls) Disabling 10 licenses from feature eclipse4d(00A8
8F8D 61E6 6986 )
8:03:02 (slbsls) Disabling 10 licenses from feature flux(0094 ADCB
6048 A69E )
8:03:02 (slbsls) Disabling 10 licenses from feature foam(00C4 CCBB
E710 63F7 )
8:03:02 (slbsls) Disabling 10 licenses from feature frontsim(005F
F62A 38BA 37A9 )
8:03:02 (slbsls) Disabling 10 licenses from feature
fs_streamtrace(00F4 FE7E 149F D365 )
8:03:02 (slbsls) Disabling 10 licenses from feature gasfield(0026
47E5 1EC2 B7BB )
Details
1. It is complaining about the second license file.
1. The SLBID in both files is the same.
2. Merged the two license files into one (copied feature text).
3. Configured the FLEXlm service to point to a single file (instead of the
directory).
4. Restarted the Windows service.
5. Was able to acquire licenses on:
1. r16desktop (victim; win7, Petrel 2011.264)
Impact
Clients will be able to acquire licenses.
Outage
unknown (estimated 9 months; since it was updated May 2013)
Notification
Marti Hanner
Related Tickets
change/server/licenseservers/20140327_flexlm-05_fix_petrel_hostid_problem.txt Last
modified: 2014/03/27 16:49 by thartman
Page Tools
Show pagesource
Old revisions
Backlinks
Back to top