Ptc_d

1 view
Skip to first unread message

Octavis Uberstine

unread,
Aug 3, 2024, 6:12:04 PM8/3/24
to batchtakarpatt

It's not the first time I got it, Two times before: When I installed Creo 1.0 for first time and when we upgrade to 2.0 version. It was solved by an technician, but I'd like to do it by myself because I'd like to know what's going wrong.

Go into Web Interface for Flexnet, click Administration in upper right corner and login with flexnet admin credentials into server (default is admin:admin). Then go into Vendor Demon Configuration tab and click Administer in line for ptc_d.

On that page, check if there is anything in section Vendor Daemon Location. It should have path to ptc_d.exe file (e.g. C:\Program Files\PTC\FLEXnet Admin License Server\i486_nt\obj\ptc_d.exe). If there isn't one, type the proper path, save the configuration and then start vendor daemon.

You mean, why license vendor stopped working and rereading license file helped? Beats me, to be honest With this new Flex server PTC introduced with Creo I had much more license system problems than with previous releases (usually server service simply stops and refuses to go back online) and still haven't found one proper procedure to fix it. Usually it involves restarting vendor, restarting whole license system, checking if vendor's path is properly configured, restarting whole operating system, reinstalling license server or going back and installing flexnet from Pro/E WF5 (usually the best solution ).

For example, I spent almost an hour today on the phone with my customer trying to get license server back online and it took two reinstallations and playing with vendor settings to finally got it working. The worst part is, I'm still not sure what exactly was the issue and why it didn't work after first reinstall.

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.

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

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.

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.)

2. There is another license manager running on the server (CW License Manager). It also uses lmgrd.exe for communication. But it uses port 27000, so that should not be the problem, because lmgrd of FlexLm uses port 7788.

For floating licenses, twoFLEXlm daemons work in conjunction: the FLEXlm license managerdaemon ( lmgrd) and at least one vendor daemon. Both daemons run on thelicense server, but function differently. The lmgrd daemon is standardfor all installations, while the vendor daemon is customized by the vendor(PTC) to manage license usage.

Vendor daemons are customizedFLEXlm software programs that are developed by the vendor who hasintegrated FLEXlm into their licensing environment. PTC is considereda vendor and has developed a vendor daemon called "ptc_d". Theptc_d daemon runs on the license server as well as lmgrd.

Like all other vendor daemons,ptc_ds function is to grant/deny floating licenses upon request from clientapplications. The ptc_d daemon, developed by PTC, contains the authenticationinformation for license security; not lmgrd.

c80f0f1006
Reply all
Reply to author
Forward
0 new messages