Sybase supplies utilities with the license manager to check the status of the license manager daemon.
To verify that the license manager daemon is running
Enter the following:
On Windows:
%SYBASE%\SYSAM-1_0\bin\lmutil lmstat -c
On UNIX:
lmstat -c
Verify that both lmgrd and the SYBASE processes are running before you run Mirror Replication Agent.
If the license manager daemon is not running, you see a message similar to the following:
lmgrd is not running: Cannot connect to license server
As a result, you must start it manually, as described in the following procedure.
To start the license manager daemon on Windows
From the Windows Start menu, select Select Programs | Sybase Software Asset Management (SySAM).
The license manager daemon can run either as a service or as a process.
To run it as a service:
%SYBASE%\%SYBASE_SYSAM%\bin\sysam.bat
To run it as a process:
lmgrd -c %LM_LICENSE_FILE% -l %SYBASE%\%SYBASE_SYSAM%\log\lmgrd.log
To start the license manager daemon on UNIX
Enter the following command:
$SYBASE/$SYBASE_SYSAM/bin/lmgrd -c $LM_LICENSE_FILE -l $SYBASE/$SYBASE_SYSAM/log/lmgrd.log &
If you need help, enter lmgrd -h.