Skip to content

Instantly share code, notes, and snippets.

@vparihar01
Created May 13, 2013 13:34
Show Gist options
  • Save vparihar01/5568322 to your computer and use it in GitHub Desktop.
Save vparihar01/5568322 to your computer and use it in GitHub Desktop.
Start and stop the server on Windows
Start and stop the server on Linux
Start and stop Apache
Start and stop the server on Windows
Start the server from the Start menu
Choose Start > All Programs > Adobe > Flash Media Server 4.5 > Start Adobe Flash Media Server 4.5.
Choose Start > All Programs > Adobe > Flash Media Server 4.5 > Start Flash Media Administration Server 4.5.
Stop the server from the Start menu
Choose Start > All Programs > Adobe > Flash Media Server 4.5 > Stop Flash Media Administration Server 4.5.
Choose Start > All Programs > Adobe > Flash Media Server 4.5 > Stop Adobe Flash Media Server 4.5.
Start, stop, or restart the server from the Services window
Choose Start > Control Panel > System and Security > Administrative Tools > Services.
Select Flash Media Server (FMS) from the list and click Stop, Start, or Restart.
Select Flash Media Administration Server from the list and click Stop, Start, or Restart.
Start and stop the server on Linux
On Linux®, Flash Media Server is installed as a service. Start, stop, and restart Flash Media Server and Flash Media Administration Server from the command line.
You can start, stop, and restart the server directly, or you can use the fmsmgr utility. Use the fmsmgr utility to perform other tasks as well, such as configuring the service to start automatically when the system is started. For more information, see Managing the server on Linux.
Note: To start Flash Media Server on Linux, the Linux server must have NSPR (Netscape Portable Runtime) library installed. The NSPR library must include the following files: libnspr4.so, libplc4.so, libplds4.so.
Start, stop, or restart Flash Media Server
Log in as a root user.
Open a shell window and change to the directory where the server is installed (/opt/adobe/fms, by default).
Enter one of the following:
./server start
./server stop
./server restart
Start, stop, or restart the Administration Server
Log in as a root user.
Open a shell window and change to the directory where the server is installed (/opt/adobe/fms, by default).
Enter one of the following:
./adminserver start
./adminserver stop
./adminserver restart
Use fmsmgr to start, stop, or restart Flash Media Server
Log in as a root user.
Open a shell window and change to the directory where the server is installed (/opt/adobe/fms, by default).
Use the following syntax: ./fmsmgr server <service_name> start|stop|restart. The default service name is fms.
Enter one of the following:
./fmsmgr server fms start
./fmsmgr server fms stop
./fmsmgr server fms restart
Use fmsmgr to start, stop, or restart the Administration Server
Log in as a root user.
Open a shell window and change to the directory where the server is installed (/opt/adobe/fms, by default).
Enter one of the following:
./fmsmgr adminserver start
./fmsmgr adminserver stop
./fmsmgr adminserver restart
Start and stop Apache
By default, Flash Media Server starts and stops Apache automatically. If you are proficient at working with Apache, you can disable this functionality and manage it on your own.
Apache installs to the following location by default:
rootinstall\Apache2.2
Prevent Apache from starting and stopping with Flash Media Server
Open the rootinstall/conf/fms.ini file in a text editor.
Set the SERVER.HTTPD_ENABLED parameter to false.
Restart the server.
On Windows, you can choose to run the ApacheMonitor.exe application manually. Alternately, you can set up Apache as a Windows service that starts and stops itself at start and shutdown.
On Linux, you can write a script that uses the apachectl script to start and stop Apache at start, shutdown, or telinit.
On both platforms, you can run httpd from the command line.
(Linux) Use Apache that installs with Flash Media Server
Some Linux distributions include Apache HTTP Server. If this version of Apache is running when you install Flash Media Server, the version of Apache that installs with Flash Media Server does not start. The version of Apache that installs with Flash Media Server includes modifications, including the ability to support HTTP Dynamic Streaming and HTTP Live Streaming.
To use the Apache HTTP Server that installs with Flash Media Server, stop the version of Apache that installs with Linux.
Open a shell window.
Enter the following: /etc/init.d/httpd stop.
@vparihar01
Copy link
Author

./fmsmgr adminserver start
./fmsmgr server fms start

@vparihar01
Copy link
Author

list if edgeports are running or not.

$ ps -ef | grep -i fms | grep -v grep

root 16712 1 0 Nov20 ? 00:00:13 ./fmsadmin -console -conf ./conf/Server.xml
root 16808 1 0 Nov20 ? 00:00:13 ./fmsmaster -console

fms 16828 16808 0 Nov20 ? 00:00:37 /mnt/adobe/fms/fmsedge -edgeports :1935,80 -coreports localhost:19350 -conf /mnt/adobe/fms/conf/Server.xml -adaptor defaultRoot -name _defaultRoot__edge1 -edgename edge1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment