synd program

WTSupported in traditional Synergy on Windows
WNSupported in Synergy .NET on Windows
USupported on UNIX

 

On Windows, License Manager server runs as the synd service, synlm.

On UNIX, License Manager runs as the synd daemon.

Windows

License Manager server, synd, is a background process that runs on license servers and on machines that have local licensing. Synd runs as the service synlm. To start or stop License Manager server, you must have administrator privileges.

synd [-h] [-q] [-r] [-rs] [-u] [-v] [-x]

-h

Display a list of synd options.

-q

Stop the synlm service.

-r

Register the synlm service.

-rs

Register the synlm service (if it is not already registered) and then start it.

-u username/password

Register synd with the specified username and password. Used with -r and -rs. If -u is not specified, the service runs using the local system account. If using clear text, separate the username and password with a forward slash. Optionally, you can run setruser -n and pass the encoded output. (See setruser utility.) The account can be on the local machine or it can be a domain controller account. If the latter, use either user_name@domain_name/password or domain_name\user_name/password. See Registering License Manager server to run as a specific user for more information.

-v

Display the synd version.

-x

Unregister the synlm service. If the service is running, -x will stop it and then unregister it.

License Manager server is started automatically when you install Synergy/DE Core Components.

To start License Manager server manually, do either of the following. This will start the service synlm, which starts synd.

net start synlm

If you receive the error “Could not start the Synergy/DE License Manager service. The system could not find the file specified,” you should unregister and reregister the synlm service. After reregistering, try starting synlm again.

Note

The License Manager service synlm always logs its version and start/stop time to the Windows application event log, which can be viewed with the Windows Event Viewer. For information on extended event logging for the synlm service, see Error logging.

To stop (but not unregister) the synlm service, do one of the following:

synd -q
net stop synlm

To stop and unregister the synlm service, at a command prompt enter

synd -x

By default, synd runs under the local system account. You can specify a different account using the -u option. The account used to run synd must have administrator privileges as well as the user right “Log on as a service.” Because License Manager server is registered and started automatically, you’ll need to stop and unregister the service, then reregister it with the -u option. For example,

synd -x
synd -r -u username/password
net start synlm

Optionally, you could register and start the service in one step by using -rs instead of -r.

Note

Another way to specify the user account for a service is from the Windows Services console (which can be accessed from Control Panel > Administrative Tools > Services). Locate Synergy/DE License Manager in the list of services, right-click on it, and select Properties from the context menu. Go to the Log On tab and specify the account and password. Then click Apply.

UNIX

The License Manager daemon, synd, is a background process that must be running in order for Synergy/DE products to run. It provides licensing and SEND/RECV message services to Synergy/DE products. It is initially started when you execute install.sde.

When run with no options, synd starts the License Manager daemon.

synd [-bsize] [-h] [-p] [-q] [-v]

-bsize

Change the message queue buffer size. The default is 4096. Use -b if you SEND/RECV messages larger than 4096 bytes.

-h

Display a list of synd options.

-p

Ping the License Manager daemon to see if it is responding; also displays synd version.

-q

Stop the License Manager daemon. You must be UID=0 to do this.

-v

Display the synd version.

To start License Manager automatically when the system reboots, add the full path name of synd to your system start up file (the run command file [rc]). This ensures that synd will restart automatically if your system goes down. Consult your UNIX system administrator manual for more information about starting multi-user daemons.

For example, on some machines you might add this line to the /etc/rc file:

/usr/synergyde/lm/synd

To start License Manager manually, restart synd without rebooting or reinstalling. For example, on some machines you might enter

/usr/synergyde/lm/synd

To stop License Manager, you must be UID=0. Use this command:

synd -q

Running License Manager as a non-root user

Synd is distributed with the setuid bit on and owned by root. If you do not want to run it as root, you can change the account that “owns” synd.

There are two ways to implement this:

chown LicenseManagerAccount synd
chmod u+s synd