Page 1 of 2

Problems with communication between CS and FlexLM

Posted: 21 Dec 2016 08:37
by Grzegorz
Hi all. It is my first post. My name is Grzegorz and I am from Poland. I'm trying to start my first DEMO system in my lab. The system consists of:
CS - Virtualized (VMware 5.5) main IP 192.168.7.80
FlexLM - Virtualized (VMware 5.5) IP: 192.168.7.63
OXE shelf with GD3, PCS and line boards
In the future I will want to install OT on Virtual machine too.

I have OXE in version R11.2 29b

The main problem is no communication between CS and FlexLM. System works about 5 hours and then rise Panic Flex flag to 1.
I have configured FlexLM parameters on CS like below:


┌─Review/Modify: Licenses────────────────────────────────┐
│ │
│ Node Number (reserved) : 1 │
│ Instance (reserved) : 1 │
│ Instance (reserved) : 1 │
│ │
│ FlexLM Licensing Enabled + YES │
│ Flex Server IP Address : 192.168.7.63 │
│ Flex Server Port : 27000 │
│ Flex Server 2 IP Address : 00.00.00.00 │
│ Flex Server 2 Port : 0 │
│ ProductID discovery + YES │
│ Use Flex License + NO │
│ │
└────────────────────────────────────────────────────────┘


I attached the dongle to FlexLM and copied my .ice file to /opt/Alcatel-Lucent/data/licenses. Then I restarted the server.

Ping works OK in both directions, but after "incvisu" command on CS I see problems with communication like below:
21/12/16 08:26:55 000001M|---/--/-/---|=4:0642=FlexLM (192.168.7.63-27000) : Network breakdown with the server 1 15
21/12/16 08:29:55 000001M|---/--/-/---|=4:0642=FlexLM (192.168.7.63-27000) : Network breakdown with the server 1 15
21/12/16 08:32:55 000001M|---/--/-/---|=4:0642=FlexLM (192.168.7.63-27000) : Network breakdown with the server 1 15
21/12/16 08:35:55 000001M|---/--/-/---|=4:0642=FlexLM (192.168.7.63-27000) : Network breakdown with the server 1 15
21/12/16 08:38:55 000001M|---/--/-/---|=4:0642=FlexLM (192.168.7.63-27000) : Network breakdown with the server 1 15
etc.

Below a part of my flexlmtrace from CS:

08:20:17 Begin MAIN ...
08:20:17 CPU role is main
08:20:17 Flexagent is starting ...
08:20:17 Load of licenses configuration...
08:20:17 Load of license RSI-5 version=1.0
08:20:17 Init License ...
08:20:17 License not enabled. No checkout done ...
08:20:17 End of load of licenses configuration...
08:20:17 MAO Listener: init port ...
08:20:17 MAO Listener: init port OK
08:20:17 Call handling IPC listener starting ...
08:20:17 MAO Listener: waiting for CH request ...
08:20:53 Flex enabled : 1
08:20:53 Flex Product Id : 1
08:20:53 Flex Use License : 0
08:20:53 PanicFlag : 0
08:20:53 PanicFlex : 0
08:20:53 MAO Listener: Request received from CH ...
08:20:53 Creating a LICENSE CREATION request...
08:20:53 FlexLicenseCreationRequest: Feature Name : K00006243
08:20:53 FlexLicenseCreationRequest: Number Of Licenses: 1
08:20:53 Processing the request...
08:20:53 27000 192.168.7.63 0 00.00.00.00 K00006243 1.0 1
08:20:53 Init License ...
08:20:53 Init of connection to FlexLM Server ...
08:20:53 x_flexlm_newid_job
08:20:53 [Stdalone] Connection to 27000@192.168.7.63 initialized
08:20:53 Init License OK. Checkout ...
08:20:53 [Stdalone] Defense thread starting ...
08:20:53 [Stdalone] Checkout Not OK !! Reason = : -15
08:20:53 FlexLM (192.168.7.63-27000) Error: FLEX_SERVER_LINK 1 -15 Cannot connect to license server
The server (lmgrd) has not been started yet, or
the wrong port@host or license file is being used, or the
port or hostname in the license file has been changed.
Feature: K00006243
Server name: 192.168.7.63
License path: 27000@192.168.7.63
FLEXlm error: -15,570. System Error: 111 "Connection refused"
For further information, refer to the FLEXlm End User Manual,
available at "www.macrovision.com". Checkout
08:20:53 handleCHRequest : deleting request...
08:20:55 [Stdalone] Period attempt - Waiting for 180s
08:23:55 ------ Feature: K00006243 - KEEPALIVE -----------
08:23:55 [Stdalone] Checkout Not OK !! Reason = : -15
08:23:55 [Stdalone] No response to the heartbeat: Reason = -1
08:23:55 [Stdalone] Reconnection attempts: : 1
08:23:55 Cannot connect to license server
The server (lmgrd) has not been started yet, or
the wrong port@host or license file is being used, or the
port or hostname in the license file has been changed.
Feature: K00006243
Server name: 192.168.7.63
License path: 27000@192.168.7.63
FLEXlm error: -15,570. System Error: 111 "Connection refused"
For further information, refer to the FLEXlm End User Manual,
available at "www.macrovision.com".
08:23:55 FlexLM (192.168.7.63-27000) Error: FLEX_SERVER_LINK 1 -15 Defense FlexLM server does not respond to checkout requests
08:23:55 ------ Feature: K00006243 - End of KEEPALIVE ----
08:23:55 [Stdalone] Period attempt - Waiting for 180s
08:26:55 ------ Feature: K00006243 - KEEPALIVE -----------
08:26:55 [Stdalone] Checkout Not OK !! Reason = : -15
08:26:55 [Stdalone] No response to the heartbeat: Reason = -1
08:26:55 [Stdalone] Reconnection attempts: : 2
08:26:55 Cannot connect to license server
The server (lmgrd) has not been started yet, or
the wrong port@host or license file is being used, or the
port or hostname in the license file has been changed.
Feature: K00006243
Server name: 192.168.7.63
License path: 27000@192.168.7.63
FLEXlm error: -15,570. System Error: 111 "Connection refused"
For further information, refer to the FLEXlm End User Manual,
available at "www.macrovision.com".
08:26:55 FlexLM (192.168.7.63-27000) Error: FLEX_SERVER_LINK 1 -15 Defense FlexLM server does not respond to checkout requests
08:26:55 ------ Feature: K00006243 - End of KEEPALIVE ----
08:26:55 [Stdalone] Period attempt - Waiting for 180s
08:29:55 ------ Feature: K00006243 - KEEPALIVE -----------
08:29:55 [Stdalone] Checkout Not OK !! Reason = : -15
08:29:55 [Stdalone] No response to the heartbeat: Reason = -1
08:29:55 [Stdalone] Reconnection attempts: : 3
08:29:55 Cannot connect to license server
The server (lmgrd) has not been started yet, or
the wrong port@host or license file is being used, or the
port or hostname in the license file has been changed.
Feature: K00006243
Server name: 192.168.7.63
License path: 27000@192.168.7.63
FLEXlm error: -15,570. System Error: 111 "Connection refused"
For further information, refer to the FLEXlm End User Manual,
available at "www.macrovision.com".
08:29:55 FlexLM (192.168.7.63-27000) Error: FLEX_SERVER_LINK 1 -15 Defense FlexLM server does not respond to checkout requests
08:29:55 ------ Feature: K00006243 - End of KEEPALIVE ----
08:29:55 [Stdalone] Period attempt - Waiting for 180s
08:32:55 ------ Feature: K00006243 - KEEPALIVE -----------
08:32:55 [Stdalone] Checkout Not OK !! Reason = : -15
08:32:55 [Stdalone] No response to the heartbeat: Reason = -1
08:32:55 [Stdalone] Reconnection attempts: : 4
08:32:55 Cannot connect to license server
The server (lmgrd) has not been started yet, or
the wrong port@host or license file is being used, or the
port or hostname in the license file has been changed.
Feature: K00006243
Server name: 192.168.7.63
License path: 27000@192.168.7.63
FLEXlm error: -15,570. System Error: 111 "Connection refused"

Can anybody suggest me what I should do or check ?

Grzegorz

Re: Problems with communication between CS and FlexLM

Posted: 21 Dec 2016 09:05
by cavagnaro
Have you changed the host name on the license file to match your server name where flexlm is running?
Can you post the 4 first lines of the license file you uploaded on the server?
Is the service running?

Enviado de meu E6633 usando Tapatalk

Re: Problems with communication between CS and FlexLM

Posted: 21 Dec 2016 09:38
by Grzegorz
I haven't changed anything in my .ice file.
First lines of my .ice file:

SERVER this_host FLEXID=9-567D179F 27000
USE_SERVER
VENDOR ALCFIRM
INCREMENT mlsnmp ALCFIRM 8.0 permanent 1 HOSTID=OTID=O000003614 \
ISSUED=6-dec-2016 SIGN="016D 7E01 3B59 5B61 BD08 8530 9D06 \
751D 5E7B 66BC D500 8625 3C43 4479 5F9F 6AB2 1DCE A1C9 3A01 \



[root@flexlic ~]# $FLEXLM_HOME/lmutil lmstat
lmutil - Copyright (c) 1989-2015 Flexera Software LLC. All Rights Reserved.
Flexible License Manager status on Wed 12/21/2016 09:16

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

It is a little strange. I've just checked using WinSCP, and my .ice file is present in directory /opt/Alcatel-Lucent/data/licenses

Grzegorz

Re: Problems with communication between CS and FlexLM

Posted: 22 Dec 2016 02:19
by murraya
hi, have you tried as cav said?

SERVER this_host FLEXID=9-567D179F 27000

SERVER *********hostname of the flex server****************** FLEXID=9-567D179F 27000

Re: Problems with communication between CS and FlexLM

Posted: 22 Dec 2016 04:28
by tgn
what says the log?
/opt/Alcatel-Lucent/logs/flexlm/flexlm_lmlog.log

regards...


--- back to basics... focus your eyes to the essential things... ---

Re: Problems with communication between CS and FlexLM

Posted: 22 Dec 2016 05:57
by Grzegorz
Hi,

/opt/Alcatel-Lucent/logs/flexlm/flexlm_lmlog.log (from yetserday to today)

2:17:01 (lmgrd) Server's System Date and Time: Wed Dec 21 2016 02:17:01 EST
2:17:01 (lmgrd) SLOG: Summary LOG statistics is enabled.
2:17:02 (lmgrd) The license server manager (lmgrd) running as root:
2:17:02 (lmgrd) This is a potential security problem
2:17:02 (lmgrd) and is not recommended.
2:17:02 (lmgrd) "flexlic.localdomain": Not a valid server hostname, exiting.
2:17:02 (lmgrd) Valid license server system hosts are: "flexlic"
2:17:02 (lmgrd) Using license file "/opt/Alcatel-Lucent/data/licenses/final_licenses/SERVERMACADDRESS_ANY_license.ice"
5:20:02 (lmgrd) -----------------------------------------------
5:20:02 (lmgrd) Please Note:
5:20:02 (lmgrd)
5:20:02 (lmgrd) This log is intended for debug purposes only.
5:20:02 (lmgrd) In order to capture accurate license
5:20:02 (lmgrd) usage data into an organized repository,
5:20:02 (lmgrd) please enable report logging. Use Flexera Software LLC's
5:20:02 (lmgrd) software license administration solution,
5:20:02 (lmgrd) FlexNet Manager, to readily gain visibility
5:20:02 (lmgrd) into license usage data and to create
5:20:02 (lmgrd) insightful reports on critical information like
5:20:02 (lmgrd) license availability and usage. FlexNet Manager
5:20:02 (lmgrd) can be fully automated to run these reports on
5:20:02 (lmgrd) schedule and can be used to track license
5:20:02 (lmgrd) servers and usage across a heterogeneous
5:20:02 (lmgrd) network of servers including Windows NT, Linux
5:20:02 (lmgrd) and UNIX. Contact Flexera Software LLC at
5:20:02 (lmgrd) www.flexerasoftware.com for more details on how to
5:20:02 (lmgrd) obtain an evaluation copy of FlexNet Manager
5:20:02 (lmgrd) for your enterprise.
5:20:02 (lmgrd)
5:20:02 (lmgrd) -----------------------------------------------
5:20:02 (lmgrd)
5:20:02 (lmgrd)
5:20:02 (lmgrd) Server's System Date and Time: Wed Dec 21 2016 05:20:02 EST
5:20:02 (lmgrd) SLOG: Summary LOG statistics is enabled.
5:20:02 (lmgrd) The license server manager (lmgrd) running as root:
5:20:02 (lmgrd) This is a potential security problem
5:20:02 (lmgrd) and is not recommended.
5:20:02 (lmgrd) "flexlic.localdomain": Not a valid server hostname, exiting.
5:20:02 (lmgrd) Valid license server system hosts are: "flexlic"
5:20:02 (lmgrd) Using license file "/opt/Alcatel-Lucent/data/licenses/final_licenses/SERVERMACADDRESS_ANY_license.ice"
7:27:12 (lmgrd) -----------------------------------------------
7:27:12 (lmgrd) Please Note:
7:27:12 (lmgrd)
7:27:12 (lmgrd) This log is intended for debug purposes only.
7:27:12 (lmgrd) In order to capture accurate license
7:27:12 (lmgrd) usage data into an organized repository,
7:27:12 (lmgrd) please enable report logging. Use Flexera Software LLC's
7:27:12 (lmgrd) software license administration solution,
7:27:12 (lmgrd) FlexNet Manager, to readily gain visibility
7:27:12 (lmgrd) into license usage data and to create
7:27:12 (lmgrd) insightful reports on critical information like
7:27:12 (lmgrd) license availability and usage. FlexNet Manager
7:27:12 (lmgrd) can be fully automated to run these reports on
7:27:12 (lmgrd) schedule and can be used to track license
7:27:12 (lmgrd) servers and usage across a heterogeneous
7:27:12 (lmgrd) network of servers including Windows NT, Linux
7:27:12 (lmgrd) and UNIX. Contact Flexera Software LLC at
7:27:12 (lmgrd) www.flexerasoftware.com for more details on how to
7:27:12 (lmgrd) obtain an evaluation copy of FlexNet Manager
7:27:12 (lmgrd) for your enterprise.
7:27:12 (lmgrd)
7:27:12 (lmgrd) -----------------------------------------------
7:27:12 (lmgrd)
7:27:12 (lmgrd)
7:27:12 (lmgrd) Server's System Date and Time: Wed Dec 21 2016 07:27:12 EST
7:27:12 (lmgrd) SLOG: Summary LOG statistics is enabled.
7:27:12 (lmgrd) The license server manager (lmgrd) running as root:
7:27:12 (lmgrd) This is a potential security problem
7:27:12 (lmgrd) and is not recommended.
7:27:12 (lmgrd) "flexlic.localdomain": Not a valid server hostname, exiting.
7:27:12 (lmgrd) Valid license server system hosts are: "flexlic"
7:27:12 (lmgrd) Using license file "/opt/Alcatel-Lucent/data/licenses/final_licenses/SERVERMACADDRESS_ANY_license.ice"
7:27:56 (lmgrd) -----------------------------------------------
7:27:56 (lmgrd) Please Note:
7:27:56 (lmgrd)
7:27:56 (lmgrd) This log is intended for debug purposes only.
7:27:56 (lmgrd) In order to capture accurate license
7:27:56 (lmgrd) usage data into an organized repository,
7:27:56 (lmgrd) please enable report logging. Use Flexera Software LLC's
7:27:56 (lmgrd) software license administration solution,
7:27:56 (lmgrd) FlexNet Manager, to readily gain visibility
7:27:56 (lmgrd) into license usage data and to create
7:27:56 (lmgrd) insightful reports on critical information like
7:27:56 (lmgrd) license availability and usage. FlexNet Manager
7:27:56 (lmgrd) can be fully automated to run these reports on
7:27:56 (lmgrd) schedule and can be used to track license
7:27:56 (lmgrd) servers and usage across a heterogeneous
7:27:56 (lmgrd) network of servers including Windows NT, Linux
7:27:56 (lmgrd) and UNIX. Contact Flexera Software LLC at
7:27:56 (lmgrd) www.flexerasoftware.com for more details on how to
7:27:56 (lmgrd) obtain an evaluation copy of FlexNet Manager
7:27:56 (lmgrd) for your enterprise.
7:27:56 (lmgrd)
7:27:56 (lmgrd) -----------------------------------------------
7:27:56 (lmgrd)
7:27:56 (lmgrd)
7:27:56 (lmgrd) Server's System Date and Time: Wed Dec 21 2016 07:27:56 EST
7:27:56 (lmgrd) SLOG: Summary LOG statistics is enabled.
7:27:56 (lmgrd) The license server manager (lmgrd) running as root:
7:27:56 (lmgrd) This is a potential security problem
7:27:56 (lmgrd) and is not recommended.
7:27:56 (lmgrd) "flexlic.localdomain": Not a valid server hostname, exiting.
7:27:56 (lmgrd) Valid license server system hosts are: "flexlic"
7:27:56 (lmgrd) Using license file "/opt/Alcatel-Lucent/data/licenses/final_licenses/SERVERMACADDRESS_ANY_license.ice"
7:29:18 (lmgrd) -----------------------------------------------
7:29:18 (lmgrd) Please Note:
7:29:18 (lmgrd)
7:29:18 (lmgrd) This log is intended for debug purposes only.
7:29:18 (lmgrd) In order to capture accurate license
7:29:18 (lmgrd) usage data into an organized repository,
7:29:18 (lmgrd) please enable report logging. Use Flexera Software LLC's
7:29:18 (lmgrd) software license administration solution,
7:29:18 (lmgrd) FlexNet Manager, to readily gain visibility
7:29:18 (lmgrd) into license usage data and to create
7:29:18 (lmgrd) insightful reports on critical information like
7:29:18 (lmgrd) license availability and usage. FlexNet Manager
7:29:18 (lmgrd) can be fully automated to run these reports on
7:29:18 (lmgrd) schedule and can be used to track license
7:29:18 (lmgrd) servers and usage across a heterogeneous
7:29:18 (lmgrd) network of servers including Windows NT, Linux
7:29:18 (lmgrd) and UNIX. Contact Flexera Software LLC at
7:29:18 (lmgrd) www.flexerasoftware.com for more details on how to
7:29:18 (lmgrd) obtain an evaluation copy of FlexNet Manager
7:29:18 (lmgrd) for your enterprise.
7:29:18 (lmgrd)
7:29:18 (lmgrd) -----------------------------------------------
7:29:18 (lmgrd)
7:29:18 (lmgrd)
7:29:18 (lmgrd) Server's System Date and Time: Wed Dec 21 2016 07:29:18 EST
7:29:18 (lmgrd) SLOG: Summary LOG statistics is enabled.
7:29:18 (lmgrd) The license server manager (lmgrd) running as root:
7:29:18 (lmgrd) This is a potential security problem
7:29:18 (lmgrd) and is not recommended.
7:29:18 (lmgrd) "flexlic.localdomain": Not a valid server hostname, exiting.
7:29:18 (lmgrd) Valid license server system hosts are: "flexlic"
7:29:18 (lmgrd) Using license file "/opt/Alcatel-Lucent/data/licenses/final_licenses/SERVERMACADDRESS_ANY_license.ice"
7:30:03 (lmgrd) -----------------------------------------------
7:30:03 (lmgrd) Please Note:
7:30:03 (lmgrd)
7:30:03 (lmgrd) This log is intended for debug purposes only.
7:30:03 (lmgrd) In order to capture accurate license
7:30:03 (lmgrd) usage data into an organized repository,
7:30:03 (lmgrd) please enable report logging. Use Flexera Software LLC's
7:30:03 (lmgrd) software license administration solution,
7:30:03 (lmgrd) FlexNet Manager, to readily gain visibility
7:30:03 (lmgrd) into license usage data and to create
7:30:03 (lmgrd) insightful reports on critical information like
7:30:03 (lmgrd) license availability and usage. FlexNet Manager
7:30:03 (lmgrd) can be fully automated to run these reports on
7:30:03 (lmgrd) schedule and can be used to track license
7:30:03 (lmgrd) servers and usage across a heterogeneous
7:30:03 (lmgrd) network of servers including Windows NT, Linux
7:30:03 (lmgrd) and UNIX. Contact Flexera Software LLC at
7:30:03 (lmgrd) www.flexerasoftware.com for more details on how to
7:30:03 (lmgrd) obtain an evaluation copy of FlexNet Manager
7:30:03 (lmgrd) for your enterprise.
7:30:03 (lmgrd)
7:30:03 (lmgrd) -----------------------------------------------
7:30:03 (lmgrd)
7:30:03 (lmgrd)
7:30:03 (lmgrd) Server's System Date and Time: Wed Dec 21 2016 07:30:03 EST
7:30:03 (lmgrd) SLOG: Summary LOG statistics is enabled.
7:30:03 (lmgrd) The license server manager (lmgrd) running as root:
7:30:03 (lmgrd) This is a potential security problem
7:30:03 (lmgrd) and is not recommended.
7:30:03 (lmgrd) "flexlic.localdomain": Not a valid server hostname, exiting.
7:30:03 (lmgrd) Valid license server system hosts are: "flexlic"
7:30:03 (lmgrd) Using license file "/opt/Alcatel-Lucent/data/licenses/final_licenses/SERVERMACADDRESS_ANY_license.ice"
3:01:26 (lmgrd) -----------------------------------------------
3:01:26 (lmgrd) Please Note:
3:01:26 (lmgrd)
3:01:26 (lmgrd) This log is intended for debug purposes only.
3:01:26 (lmgrd) In order to capture accurate license
3:01:26 (lmgrd) usage data into an organized repository,
3:01:26 (lmgrd) please enable report logging. Use Flexera Software LLC's
3:01:26 (lmgrd) software license administration solution,
3:01:26 (lmgrd) FlexNet Manager, to readily gain visibility
3:01:26 (lmgrd) into license usage data and to create
3:01:26 (lmgrd) insightful reports on critical information like
3:01:26 (lmgrd) license availability and usage. FlexNet Manager
3:01:26 (lmgrd) can be fully automated to run these reports on
3:01:26 (lmgrd) schedule and can be used to track license
3:01:26 (lmgrd) servers and usage across a heterogeneous
3:01:26 (lmgrd) network of servers including Windows NT, Linux
3:01:26 (lmgrd) and UNIX. Contact Flexera Software LLC at
3:01:26 (lmgrd) www.flexerasoftware.com for more details on how to
3:01:26 (lmgrd) obtain an evaluation copy of FlexNet Manager
3:01:26 (lmgrd) for your enterprise.
3:01:26 (lmgrd)
3:01:26 (lmgrd) -----------------------------------------------
3:01:26 (lmgrd)
3:01:26 (lmgrd)
3:01:26 (lmgrd) Server's System Date and Time: Thu Dec 22 2016 03:01:26 EST
3:01:26 (lmgrd) SLOG: Summary LOG statistics is enabled.
3:01:26 (lmgrd) The license server manager (lmgrd) running as root:
3:01:26 (lmgrd) This is a potential security problem
3:01:26 (lmgrd) and is not recommended.
3:01:26 (lmgrd) "flexlic.localdomain": Not a valid server hostname, exiting.
3:01:26 (lmgrd) Valid license server system hosts are: "flexlic"
3:01:26 (lmgrd) Using license file "/opt/Alcatel-Lucent/data/licenses/final_licenses/SERVERMACADDRESS_ANY_license.ice"

Re: Problems with communication between CS and FlexLM

Posted: 22 Dec 2016 08:56
by tgn
check hostname (with command "hostname -s")
check domainname (with command "domainname")

please post the first line of your licensefile.

regards...


--- back to basics... focus your eyes to the essential things... ---

Re: Problems with communication between CS and FlexLM

Posted: 22 Dec 2016 09:28
by Grzegorz
[root@flexlic ~]# hostname -s
flexlic
[root@flexlic ~]# domainname
(none)
[root@flexlic ~]#

First lines of my .ice file:

SERVER this_host FLEXID=9-567D179F 27000
USE_SERVER
VENDOR ALCFIRM


BR,
Grzegorz

Re: Problems with communication between CS and FlexLM

Posted: 22 Dec 2016 14:28
by frank
There was a problem in one of the latest FlexLM server. Best best is to upgrade to the latest one, and upgrade your licenses. That worked in my lab.

Re: Problems with communication between CS and FlexLM

Posted: 22 Dec 2016 16:13
by murraya
pease try to edit your lic file as below
SERVER flexlic FLEXID=9-567D179F 27000
i.e. replace this_host with flexlic
then restart the flex and see if ok.