Tuesday, June 9, 2009

"lmgrd" startup fails in Linux.

Starting "lmgrd" on Redhat Linux gives error "Failed to open the TCP port number in the license."

Problem: On attempting to start the flexlm license server on Redhat Linux, an error message is written to the log file and the license server is not able to startup. The error message is:

"Failed to open the TCP port number in the license."

Solution:
Add the following entry to the /etc/hosts file:

127.0.0.1 localhost

In our case this entry was missing from the /etc/hosts file. On adding the entry, and attempting to start the license server IT WORKED.

(This is one of the probable causes for this problem to occur and hence the solution worked us).

Monday, June 8, 2009

Start a scheduled task in minimized form.

Problem: Had a task scheduled which used to pop up a command window on top of any application. The command executed within the bat file was:"test.exe 192828@servername.com featurename 40" Needed to make sure that it was started in minimized format.

Solution: use the command "start /min test.exe 192828@servername.com featurename 40" instead within the bat file. Problem Solved!!!!