Operating System - HP-UX
1848283 Members
2862 Online
104023 Solutions
New Discussion

hp-ux B.11.00 COBOL flexlm probelm.

 
rveri
Super Advisor

hp-ux B.11.00 COBOL flexlm probelm.

Hi ,

I am facing the follwoing flexlm probelm in hp-ux server. Can any one faced same problem , appricate if suggests :

Here is the details: and what i hv tried.
-----------------------------------------

# /usr/local/flexlm/bin/lmgrd /usr/local/flexlm/licenses/license.dat
15:01:58 (lmgrd) -----------------------------------------------
15:01:58 (lmgrd) Please Note:
15:01:58 (lmgrd)
15:01:58 (lmgrd) This log is intended for debug purposes only.
15:01:58 (lmgrd) There are many details in licensing policies
15:01:58 (lmgrd) that are not reported in the information logged
15:01:58 (lmgrd) here, so if you use this log file for any kind
15:01:58 (lmgrd) of usage reporting you will generally produce
15:01:58 (lmgrd) incorrect results.
15:01:58 (lmgrd)
15:01:58 (lmgrd) -----------------------------------------------
15:01:58 (lmgrd)
15:01:58 (lmgrd)
15:01:58 (lmgrd) lmgrd running as root:
15:01:58 (lmgrd) This is a potential security problem
15:01:58 (lmgrd) And is not recommended

root@host23 [/usr/local/flexlm/licenses]
# 15:01:58 (lmgrd) FLEXlm (v5.12a) started on ddmph03 (hp 9000/800) (2/18/2005)
15:01:58 (lmgrd) FLEXlm Copyright 1988-1996, Globetrotter Software, Inc.
15:01:58 (lmgrd) World Wide Web: http://www.globetrotter.com
15:01:58 (lmgrd) License file: "/usr/local/flexlm/licenses/license.dat"
15:01:58 (lmgrd) Starting vendor daemons ...
15:01:58 (lmgrd) Started HPCUPLANGS (internet tcp_port 50468 pid 15914)
15:01:58 (HPCUPLANGS) Wrong hostid, exiting (expected 419d0c25, got "26586d5d 0").
15:01:58 (lmgrd) Please correct problem and restart daemons

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

#/usr/local/flexlm/bin/lmstat gives following


$ cd /usr/local/flexlm
$ cd bin
$ lmstat
lmstat - Copyright (C) 1989-1997 Globetrotter Software, Inc.
Flexible License Manager status on Fri 2/18/2005 15:28

License server status (License file: /usr/local/flexlm/licenses/license.dat):

host23: license server UP (MASTER)

Vendor daemon status (on host23):

HPCUPLANGS: Cannot connect to license server (-15,12:239) Connection refused
--------------------------------------------

$ lmdiag -c /usr/local/flexlm/licences/license.dat
lmdiag - Copyright (C) 1989-1997 Globetrotter Software, Inc.
FLEXlm diagnostics on Fri 2/18/2005 15:29

-----------------------------------------------------
License file: /usr/local/flexlm/licenses/license.dat
-----------------------------------------------------
ERRORS: /usr/local/flexlm/licenses/license.dat:line 3: \
Invalid license file syntax (-2,313:2) No such file or directory
"hpmfcobol" v1.000, vendor: HPCUPLANGS
License server: ddmph03
floating license starts: 29-jun-2000, no expiration date

1 Overdraft available, 2 in total (= 1 + 1)

This license cannot be checked out because: (FLEXlm error: -15/12)
->Cannot connect to license server

... I will try to determine what the problem is...

->Node host23 is UP and the network is working
->lmgrd on host23 is listening

The most likely reason you cannnot check out your license
is that the "HPCUPLANGS" vendor daemon is not running.
Examine the daemon log file on ddmph03 to determine why
the "HPCUPLANGS" daemon is not running.
----------------------------------------------

Thanks ,
R.Veri.
---------

2 REPLIES 2
A. Clay Stephenson
Acclaimed Contributor

Re: hp-ux B.11.00 COBOL flexlm probelm.

The license daemon detected the wrong hostid. Look in the license.dat file (typically under /usr/local/flexlm/licenses) and see if the hostname matches. Have you changed hostnames recently?
If it ain't broke, I can fix that.
A. Clay Stephenson
Acclaimed Contributor

Re: hp-ux B.11.00 COBOL flexlm probelm.

You should also execute lmhostid and see if that output matches the value in the license.dat file.
If it ain't broke, I can fix that.