LMTools

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
mag00
Level 2
Level 2
Posts: 10
Joined: Tue Oct 21, 2008 10:55 pm

LMTools

Post by mag00 »

Hi guys.

I need some help to try to make a license server work on Wine.

I am trying to port some engineering applications to linux via Wine.

If I can make it works, I can prove to my boss that we can get out of windows (finally).

I am trying to use softwares like i-Deas, Unigraphics and HyperWorks under Wine in my Ubuntu distro.

My problem starts in license, that uses the LMTools to get up.

The licenses does not came UP. Can anyone help me with this?

Here are 2 pictures from LMTools window.

Image
Image

The Ubuntu version is 8.04 x64 and the Wine is 1.0

Any help will be apreciate.

Thanks
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: LMTools

Post by vitamin »

mag00 wrote:My problem starts in license, that uses the LMTools to get up.
The licenses does not came UP. Can anyone help me with this?
Run it from the terminal and post output here. Also note there is native FlexLM license server for Linux. You might want to try that first.
mag00
Level 2
Level 2
Posts: 10
Joined: Tue Oct 21, 2008 10:55 pm

Post by mag00 »

Sorry for my ignorance, but how I can do this?

I am new to linux world.

I did not found how I can se the "services" list like windows.

In windows I can execute the services.msc command and them I can see the command line for the service.

Without this command line I can not run it directly in terminal, right?

[]'s
stimpak
Level 3
Level 3
Posts: 72
Joined: Tue Apr 01, 2008 12:56 pm

Post by stimpak »

right-click at the icon you're clicking to start your application, select properties. then go at the tab saying launcher. copy the command at the command box.


then open the terminal (if you're using ubuntu, hit alt+f2 and write gnome-terminal . its the equivalent of winkey+r in windows) and paste it at the terminal.

your program should start up (dont close your terminal).

use your program until the misbehavior occurs, copy whatever has been posted in the terminal and post it here
mag00
Level 2
Level 2
Posts: 10
Joined: Tue Oct 21, 2008 10:55 pm

Post by mag00 »

Hello guys!

Maybe this is the information that you want to see?

Code: Select all

mag00@Q6600:~/.wine/drive_c/Altair/hw8.0/security/WIN32$ wine lmgrd.exe 
fixme:ntdll:find_reg_tz_info Can't find matching timezone information in the registry for bias 180, std (d/m/y): 17/02/2008, dlt (d/m/y): 19/10/2008
23:54:51 (lmgrd) -----------------------------------------------
23:54:51 (lmgrd)   Please Note:
23:54:51 (lmgrd) 
23:54:51 (lmgrd)   This log is intended for debug purposes only.
23:54:51 (lmgrd)   In order to capture accurate license
23:54:51 (lmgrd)   usage data into an organized repository,
23:54:51 (lmgrd)   please enable report logging. Use Macrovision's
23:54:51 (lmgrd)   software license administration  solution,
23:54:51 (lmgrd)   FLEXnet Manager, to  readily gain visibility
23:54:51 (lmgrd)   into license usage data and to create
23:54:51 (lmgrd)   insightful reports on critical information like
23:54:51 (lmgrd)   license availability and usage. FLEXnet Manager
23:54:51 (lmgrd)   can be fully automated to run these reports on
23:54:51 (lmgrd)   schedule and can be used to track license
23:54:51 (lmgrd)   servers and usage across a heterogeneous
23:54:51 (lmgrd)   network of servers including Windows NT, Linux
23:54:51 (lmgrd)   and UNIX. Contact Macrovision at
23:54:51 (lmgrd)   www.macrovision.com for more details on how to
23:54:51 (lmgrd)   obtain an evaluation copy of FLEXnet Manager
23:54:51 (lmgrd)   for your enterprise.
23:54:51 (lmgrd) 
23:54:51 (lmgrd) -----------------------------------------------
23:54:51 (lmgrd) 
23:54:51 (lmgrd) 
23:54:51 (lmgrd) Running the license server manager (lmgrd) in dedicated windows ...
23:54:51 (lmgrd) 	Use -z to run in foreground in this window
mag00@Q6600:~/.wine/drive_c/Altair/hw8.0/security/WIN32$ fixme:ntdll:find_reg_tz_info Can't find matching timezone information in the registry for bias 180, std (d/m/y): 17/02/2008, dlt (d/m/y): 19/10/2008
And this is another information that I copy from lmtools panel.

Code: Select all

--------
Status
--------
Flexible License Manager status on Mon 10/27/2008 00:08

[Detecting lmgrd processes...]
License server status: 7788@Q6600
    License file(s) on Q6600: C:\Altair\hw8.0\security\altair_lic.dat:

lmgrd is not running: Cannot write data to license server system.
Hostname:      Q6600
License path:  7788@Q6600
FLEXnet Licensing error:-17,13.  System Error: 10054 "WinSock: Connection reset by peer"
For further information, refer to the FLEXnet Licensing End User Guide,
available at "www.macrovision.com".
[]'s
mag00
Level 2
Level 2
Posts: 10
Joined: Tue Oct 21, 2008 10:55 pm

Post by mag00 »

Code: Select all

11:00:41 (lmgrd) pid 37
11:00:56 (lmgrd) The TCP port number in the license, 7788, is already in use.
11:00:56 (lmgrd) Possible causes:
11:00:56 (lmgrd)    1) The license server manager (lmgrd) is already running for
 this license.
11:00:56 (lmgrd)    2) The OS has not "cleared" this port since lmgrd died.
11:00:56 (lmgrd)    3) Another process is using this port number (unlikely).
11:00:56 (lmgrd) Solutions:
11:00:56 (lmgrd)    1) Make sure lmgrd and all vendor daemons for this
11:00:56 (lmgrd)       license are not running.
11:00:56 (lmgrd)    2) You may have to wait for the OS to clear this port.
11:00:56 (lmgrd) Retrying for about 5 more minutes
How can I see what TCP port number is in use?

Does anyone have idea where I can find an HOW-TO or an STEP-BY-STEP tutorial to run an LM Service under wine?

[]'s
dAnIK SeNT

LMTools

Post by dAnIK SeNT »

I think I had a similar problem (with another application, though).
Can you describe, how exactly do you run your application? Clicking on it's
icon, or issuing some commands in console window?

On Sat, Nov 15, 2008, mag00 wrote:
Code:
11:00:41 (lmgrd) pid 37
11:00:56 (lmgrd) The TCP port number in the license, 7788, is already in
use. 11:00:56 (lmgrd) Possible causes:
11:00:56 (lmgrd) 1) The license server manager (lmgrd) is already
running for this license.
11:00:56 (lmgrd) 2) The OS has not "cleared" this port since lmgrd died.
11:00:56 (lmgrd) 3) Another process is using this port number
(unlikely). 11:00:56 (lmgrd) Solutions:
11:00:56 (lmgrd) 1) Make sure lmgrd and all vendor daemons for this
11:00:56 (lmgrd) license are not running.
11:00:56 (lmgrd) 2) You may have to wait for the OS to clear this port.
11:00:56 (lmgrd) Retrying for about 5 more minutes



How can I see what TCP port number is in use?

Does anyone have idea where I can find an HOW-TO or an STEP-BY-STEP
tutorial to run an LM Service under wine?

[]'s
--
Best regards,
Danila Sentiabov aka dAnIK SeNT
Gert van den Berg

LMTools

Post by Gert van den Berg »

On Sat, Nov 15, 2008 at 3:06 PM, mag00 <wineforum-user@winehq.org> wrote:
How can I see what TCP port number is in use?
netstat -an4
mag00
Level 2
Level 2
Posts: 10
Joined: Tue Oct 21, 2008 10:55 pm

Post by mag00 »

Gert van den Berg -
Thanks for the information. ;)

dAnIK SeNT -
When I made this thread, I was just clicking on "start" button from LMTOOLS menu, inside of "start/stop/reread" tab.
From that date to now, I read many information on internet and try to understand the commands that runs backwards the "start" button and try to do a lots of tests with many license managers. Some of them linux native and others windows native.
Finally I make it works, but just the license is UP. The software does not recognize that the license is UP. :(
Now I am working to understand where is the gap and how to solve it.
Since the software is installed and the license is up, I think that the solution is very closer to me.
If I make it works, I will run a variety of softwares that I use in my job, and finally can escapes from windows.
[]'s
СентÑ

LMTools

Post by Ð¡ÐµÐ½Ñ‚Ñ »

I think I had a similar problem (with another application, though).
Can you describe, how exactly do you run your application? Clicking on it's
icon, or issuing some commands in console window?

On Sat, Nov 15, 2008, mag00 wrote:
Code:
11:00:41 (lmgrd) pid 37
11:00:56 (lmgrd) The TCP port number in the license, 7788, is already in
use. 11:00:56 (lmgrd) Possible causes:
11:00:56 (lmgrd) 1) The license server manager (lmgrd) is already
running for this license.
11:00:56 (lmgrd) 2) The OS has not "cleared" this port since lmgrd died.
11:00:56 (lmgrd) 3) Another process is using this port number
(unlikely). 11:00:56 (lmgrd) Solutions:
11:00:56 (lmgrd) 1) Make sure lmgrd and all vendor daemons for this
11:00:56 (lmgrd) license are not running.
11:00:56 (lmgrd) 2) You may have to wait for the OS to clear this port.
11:00:56 (lmgrd) Retrying for about 5 more minutes



How can I see what TCP port number is in use?

Does anyone have idea where I can find an HOW-TO or an STEP-BY-STEP
tutorial to run an LM Service under wine?

[]'s

--
С уважением,
СентÑ
mag00
Level 2
Level 2
Posts: 10
Joined: Tue Oct 21, 2008 10:55 pm

Post by mag00 »

The license I was running with the command line

Code: Select all

wine lmgrd
This will UP the license service.

Then I just run the software executable.

Code: Select all

wine hmopengl
In one of my tests (This is for Hyper Works)
I will try to make it work with the following softwares:
- Hyper Works
- I-Deas 12
- NX 6

[]'s
Locked