Skip to main content
1-Visitor
February 13, 2016
Question

Ptc_d can't connect to lmgrd on Windows Server 2012 (-96,461)

  • February 13, 2016
  • 6 replies
  • 10907 views

We've been upgrading our servers and now I need to move the licensing for Mathcad Prime 3.0 as well.

The new server is a Windows Server 2012 r2 and I'm trying to install lmadmin 11.11.1. (Same error with lmgrd 11.11, 10.8 both manual installation and setup) 

The lmadmin installer just reports the server as unreachable, but looking through the logs show this (same behavior & error as other versions tested):

lmadmin.log

2016-02-13 14:56:26,488 root Version: 11.12.1.1 build 148864 (2014.04.25-04.26.06)

2016-02-13 14:56:26,488 root.LicenseEngine started without redundancy.

2016-02-13 14:56:36,609 root.Vendor (ptc_d) stopped.

2016-02-13 14:56:36,609 root.LicenseEngine (ptc_d) exited with status 28. (Communications error)

2016-02-13 14:56:46,781 root.Vendor (ptc_d) stopped.

...

2016-02-13 14:57:06,970 root.Vendor (ptc_d)maximum number of start retry is reached.

ptc_d.log

14:56:56 (ptc_d) Using options file: "C:\Program Files\PTC\FLEXnet Admin License Server\licensing\ptc.opt"

14:56:56 (ptc_d) Server started on FILESERVER for: 254

14:56:56 (ptc_d) 255 256 257

14:56:56 (ptc_d) MATHCAD

14:56:56 (ptc_d) EXTERNAL FILTERS are OFF

14:56:56 (ptc_d) ALL FEATURES: INACTIVITY TIMEOUT set to 7200 seconds

14:56:56 (ptc_d) Report log started (+C:\Program Files\PTC\FLEXnet Admin License Server\logs\ptcreport.log).

14:57:06 (ptc_d) Vendor daemon can't talk to lmgrd (License server machine is down or not responding. (-96,491))

14:57:06 (ptc_d) EXITING DUE TO SIGNAL 28 Exit reason 5

I have added the required rules to the windows firewall (by now a bit more then required), TCP 7788 in/out, lmadmin in/out, ptc_d in/out, lmgrd in/out, going to clean it out when i get it to work.

Looking at the license.dat file all licenses, paths &  seems fine and HOST ID and server name is a match.

I've been trying everything I can think of (specified port for ptc_d and matched firewall rules, manually installing everything according to instructions, tried different versions) and has searched for an answer but have found none where it wasn't the firewall. I've tested the firewall for port 7788 by configuring another software to listen to the port and it was reachable.


Would appreciate any insight you might have.

6 replies

23-Emerald IV
February 14, 2016
1-Visitor
February 15, 2016

Thank you, but unfortunately (in relation to finding a solution) all firewall rules are in place and active. It seems to be something else at play here.

15-Moonstone
February 15, 2016

Hi Arne.

It is funny, because it is almost like deja-vu.  Had exactly the same problem on Friday.

Installing Flexnet on Windows Server 2012 R2. Tried Flexnet 10.8 (from WF5 M050 and M170) and Flexnet 11.10.1 (Creo 2).

The log file was the same as yours:

15:50:12 (ptc_d) Vendor daemon can't talk to lmgrd (License server machine is down or not responding. (-96,491))

15:50:12 (ptc_d) EXITING DUE TO SIGNAL 28 Exit reason 5


And the ptcstatus showed licenses as Counted.


I used every recommendation I found on PTC support (added exceptions in Firewall, changed ports for lmgrd and ptc_d, etc.) and nothing worked.

Today I will install lmadmin 11.11.1 and I will report if it worked.

If you find a soultion, it would be helpful if you post it here.

And it would be helpful if PTC would look into it!!!

24-Ruby III
February 15, 2016

Hi,

if your company pays maintenance fees to PTC, then ask PTC Support to resolve the problem.

FYI: I installed FLEXlm on Windows Server 2012 R2 successfully several times. I used FLEXlm 10.8.10 installation package downloaded from PTC site.

URLs:

https://support.ptc.com/appserver/cs/view/solution.jsp?n=CS70350

http://support.ptc.com/WCMS/files/121640/en/PTC_LMS_Download.pdf

http://download.ptc.com/download2/products/FLEXnet/ptc_lic_server_flex-10-8-10_WIN64.zip

MH

15-Moonstone
February 15, 2016

Hi.

I installed FLEXlm 11.11.1 and 10.8.10 (from the link that Martin sent) and the result was the same - the licenses were shown as Counted and the log file:

11:59:45 (ptc_d) Vendor daemon can't talk to lmgrd (License server machine is down or not responding. (-96,491))

11:59:45 (ptc_d) EXITING DUE TO SIGNAL 28 Exit reason 5

11:59:50 (lmgrd) ptc_d exited with status 28 (Communications error)

I opened a Case on PTC Support.

1-Visitor
February 18, 2016

It started working. I have no idea if below described procedure actually helped or if it was blind luck.

After reading a lot about other vendors installations using lmadmin I created the directory <lmadmin install directory>\licensing\ptc and copied ptc_d.exe and ptc.opt to that directory, for good measure i also copied ptc_d.exe to <lmadmin install directory>\licensing.

This should have no effect without changing the DAEMON line in license.dat, then I restarted the lmadmin service (I wanted to trace the log output).. and suddenly it worked. Other then that I have not changed anything else.

15-Moonstone
March 1, 2016

I tried your method, but unfortunately it didn`t work.

I will wait if guys from PTC come up with solution.

One question:

Do you use IPv6 or IPv4 on server?

24-Ruby III
March 3, 2016

Hi,

I guess I installed FLEXnet on IPv4 server successfully. I am interested if IPv6 is supported.

MH

1-Visitor
March 14, 2016

Good morning,

I am seeing the same errors as described above in lmadmin.log and ptc_d.log.

From the responses here, many others are seeing this as well on Windows Server 2012 R2.  But I am not clear on the cause or on the solution.

Is the fix to eliminate all spaces in the installation/daemon/license path?  Or do I need to set an LM_LICENSE_FILE environment variable or use a different version of the FlexLM software?  All other options (firewall rules, hostID, etc) are as they should be.

Thanks for any clarification anyone can offer.

Joanna


15-Moonstone
March 14, 2016

Hi.

I have reported a case on PTC, but it has not been solved. So I can`t really give you any useful informations.

I have tried different FlexLM versions, added environement variable, added firewall rules.... Nothing helped.

But you can see from Arne Emilssons post, that he somehow managed to solve it.

If I get useful information or a solution from PTC, I will let you know.

Regards,

Domen

1-Visitor
March 14, 2016

Domen,

I also opened a case with PTC tech support.  We found that I had two licensing services installed, lmadmin_ptc and PTC FlexNet.

I am not sure how both got installed, whether it is by default or if I screwed up .  lmadmin_ptc is a Web based license manager, PTC FlexNet the familiar lmtools.  I did not want to use the Web service license manager so we disabled lmadmin_ptc.  (The naming convention seems somewhat counterintuitive to me...)

So, check the services running on your license server.  If you have BOTH lmadmin_ptc and PTC FlexNet running, you have to disable one of them, and make sure all the configs are pointing to the correct paths for the other.  (PTC FlexNet is the old familiar LMTOOLS and is what I wanted to use.)

It has stayed up and running for over an hour - I will update if I start seeing errors again.

Regards,

Joanna

1-Visitor
November 8, 2016
FlexNet Release Version:11.13.1

http://localhost:8080/vendor

2016-11-08_16h43_19.png

🙂

24-Ruby III
February 6, 2018

FYI,

 

in https://www.flexsim.com/ftp/LicenseServer/FlexNetPublisher_Docs/fnp_11.14.0_Rev01_RelNotes.pdf document, there is following information:

 

To use lmadmin on Windows platforms, the Microsoft Visual C++ 2008 Redistributable Package (x86) must be installed.

 

I installed:

Microsoft Visual C++ 2008 Redistributable Package (x86)
https://www.microsoft.com/en-us/download/details.aspx?id=29
Microsoft Visual C++ 2008 Redistributable Package (x64)
https://www.microsoft.com/en-us/download/details.aspx?id=15336

 

and "ptc_d exited with status 255" problem was resolved (in Windows Server 2008 R2 Standard SP1 64-bit).