Managing the server on Linux

Use the fmsmgr utility to perform basic management tasks for Flash Media Server running on Linux systems, such as starting and stopping the server and services. You must be a root user to use the fmsmgr utility.

For tasks not listed in the following table, such as adding users or checking the status of applications, use the Administration Console. A root user must use the fmsmgr utility to start the Flash Media Administration Server before anyone can use the Administration Console. You do not need to be a root user to use the Administration Console.

Note: Running multiple Flash Media Server services concurrently is not supported.

Syntax

fmsmgr server <service_name> <cmd>

For commands that use the <service_name> parameter, if you do not specify <service_name>, the command is performed on the name of the server you selected during installation. The server name is fms by default. If <service_name> does not exist, the command fails.

Command

Description

fmsmgr adminserver start|stop|restart

Starts, stops, or restarts Flash Media Administration Server.

fmsmgr server <service_name> start|stop|restart

Starts, stops, or restarts a Flash Media Server service.

fmsmgr clearautostart

Sets the Flash Media Administration service to start manually.

fmsmgr list

Lists all the services installed, including Administration services, with additional information about services that are currently running.

fmsmgr remove

Removes the Flash Media Server service from the fmsmgr tables. If you remove a server service, the corresponding Administration service is also removed.

Warning: Use this command only if you want to uninstall the server service; you still need to manually remove the installed files.

fmsmgr add <service_name> <install_dir>

Add a Flash Media Server service to the fmsmgr tables. If <service_name> already appears in the fmsmgr tables, the old entry is updated with the new one. The <install_dir> parameter is the absolute directory path where you installed Flash Media Server.

fmsmgr setadmin <service_name> 

Changes the default Administration service.

The Administration service name is the same as the Flash Media Server service name. Any installed Administration service can be used to administer one or more servers. Only one Administration service can be running at a time.

fmsmgr getadmin

Gets the name of the default Administration service.

fmsmgr setautostart<service_name>

Sets the Flash Media Server service to start automatically when the system is started.

fmsmgr clearautostart <service_name>

Sets the Flash Media Administration service to start manually.

fmsmgr suggestname

Suggests a service name that does not already appear in the fmsmgr tables.