Friday, September 20, 2024

Starting and stopping Wowza Streaming Engine

Starting and stopping Wowza Streaming Engine server software


Wowza Streaming Engine software and Wowza Streaming Engine Manager can run as system services or in standalone mode. System services start automatically when you start the computer and remain on until you turn them off. By default, Wowza Streaming Engine server software and Streaming Engine Manager install as system services, which means you're running an active instance of Wowza Streaming Engine from the moment of install and any time the host computer is on. Standalone mode operates independently of the operating system; you start and stop it on demand. As with any standalone software, if you forget or fail to quit the program, you're prompted to do so when you turn off the computer. Standalone mode is required for running Transcoder with accelerated hardware in Windows. It's also useful in testing environments because you can see log output in the console immediately. You can, however, manually start and stop Wowza software at any time, in either operational mode. For example, Subscription license holders might want to turn off the software as a service to avoid being charged for inactive instances of Wowza Streaming Engine.

Starting and stopping Wowza Streaming Engine as a service (Windows)

Start the service

  1. Press WIN key + R, type services.msc in the Run dialog box, and then click OK.  
  2. In the Services window, right-click Wowza Streaming Engine and then click Start.

Stop the service

  1. Press WIN key + R, type services.msc in the Run dialog box, and then click OK.  
  2. In the Services window, right-click Wowza Streaming Engine and then click Stop.

Start and stop Wowza Streaming Engine in standalone mode (Windows)

Starting the software

To start the software, make sure the Wowza Streaming Engine service is stopped and then do the following:

  1. Press WIN key + R, type cmd in the Run dialog box, and then press Control + Shift + Enter to open the command prompt as an administrator.
  2. In the Command Prompt window, execute the following command: "cd %WMSAPP_HOME%\binstartup.bat"
Stopping the software
  1. Press WIN key + R, type cmd in the Run dialog box, and then press Enter.  
  2. In the Command Prompt window, execute the following command: "cd %WMSAPP_HOME%\binshutdown.bat"

Starting and stopping Wowza Streaming Engine as a service (macOS)

Starting the service

To start the service, double-click the Start Services application in /Applications/WowzaStreamingEngine or open a Terminal window and enter the following command: "sudo launchctl load -w /Library/LaunchDaemons/com.wowza.WowzaStreamingEngine.plist"

Stopping the service

To stop the service, double-click the Stop Services application in /Applications/WowzaStreamingEngine or open a Terminal window and enter the following command: "sudo launchctl unload -w /Library/LaunchDaemons/com.wowza.WowzaStreamingEngine.plist"

Note: The Start Services and Stop Services applications also start and stop the Wowza Streaming Engine Manager system service.

Starting and stopping Wowza Streaming Engine in standalone mode (macOS)

Starting the software

To start the software, double-click the Start Standalone Mode application in /Applications/WowzaStreamingEngine or open a Terminal window and enter the following commands: "cd /Library/WowzaStreamingEngine/bin/startup.sh"

Stopping the software

To stop the software, double-click the Stop Standalone Mode application in /Applications/WowzaStreamingEngine or open a Terminal window and enter the following command: "cd /Library/WowzaStreamingEngine/bin/shutdown.sh"

Note: The Start Standalone Mode and Stop Standalone Mode applications also start and stop Wowza Streaming Engine Manager in standalone mode.

Starting and stopping Wowza Streaming Engine as a service (Linux)

Note: The operations in this section must be performed as the root user with sudo access.

Starting the service

To start the service, open a Terminal window and enter one of the following commands, depending on your Linux distribution: "sudo systemctl start WowzaStreamingEngine" or "/etc/init.d/WowzaStreamingEngine start"

Stopping the service

To stop the service, enter: "sudo systemctl stop WowzaStreamingEngine" or "/etc/init.d/WowzaStreamingEngine stop"

 
Note: The Linux services script subsystem doesn't use the full $PATH definition to determine the location of Linux commands. It uses what's known as the init path. This can lead to an issue on Linux distributions where the default installation location for Java can't be found by applying the init path.

Starting and stopping Wowza Streaming Engine in standalone mode (Linux)

Note: The operations in this section must be performed as the root user with sudo access.

Starting the software

To start the software, open a Terminal window and enter the following commands:

cd /usr/local/WowzaStreamingEngine/bin
sudo ./startup.sh

Stopping the software

To stop the software, enter:

cd /usr/local/WowzaStreamingEngine/bin
sudo ./shutdown.sh

Verify that Wowza Streaming Engine is running


To verify that the Wowza Streaming Engine software is running, open a browser and enter the following URL:

http://[wowza-ip-address]:1935

Where [wowza-ip-address] is the IP address or domain name of the local or remote Wowza media server. It should return the Wowza Streaming Engine version number. If not, make sure that the server is running and that TCP port 1935 is open on your router, firewall, and/or software firewall (iptables on Linux).

Starting and stopping Wowza Streaming Engine Manager


Note: Wowza Streaming Engine server software must be started to use Wowza Streaming Engine Manager.

Start and stop Wowza Streaming Engine Manager as a service (Windows)

Starting the service

  1. Press WIN key + R, type services.msc in the Run dialog box, and then click OK.  
  2. In the Services window, right-click Wowza Streaming Engine Manager
    and then click Start.

Stopping the service

  1. Press WIN key + R, type services.msc in the Run dialog box, and then click OK.  
  2. In the Services window, right-click Wowza Streaming Engine Manager 

    and then click Stop.

Starting and stopping Wowza Streaming Engine Manager in standalone mode (Windows)

Starting Wowza Streaming Engine Manager

To start Wowza Streaming Engine Manager in standalone mode, make sure that the manager service is stopped and then do the following:

  1. Press WIN key + R, type cmd in the Run dialog box, and then press Enter.  
  2. In the Command Prompt window, execute the following commands:
     
    cd %WMSAPP_HOME%\manager\bin
    startmgr.bat

Stopping Wowza Streaming Engine Manager

  1. Press WIN key + R, type cmd in the Run dialog box, and then press Enter.  
  2. In the Command Prompt window, execute the following commands:
     
    cd %WMSAPP_HOME%\manager\bin
    shutdownmgr.bat

Starting and stopping Wowza Streaming Engine Manager as a service (macOS)

Starting the service

To start the service, double-click the Start Services application in /Applications/WowzaStreamingEngine

or open a Terminal window and enter the following command: "sudo launchctl load -w /Library/LaunchDaemons/com.wowza.WowzaStreamingEngineManager.plist"

Stopping the service

To stop the service, double-click the Stop Services application in /Applications/WowzaStreamingEngine or open a Terminal window and enter the following command: "sudo launchctl unload -w /Library/LaunchDaemons/com.wowza.WowzaStreamingEngineManager.plist"

Note: The Start Services and Stop Services applications also start and stop the Wowza Streaming Engine system service.

Starting and stopping Wowza Streaming Engine Manager in standalone mode (macOS)

Starting Wowza Streaming Engine Manager

To start Wowza Streaming Engine Manager in standalone mode, double-click the Start Standalone Mode application in /Applications/WowzaStreamingEngine or open a Terminal window and enter the following commands:

cd /Library/WowzaStreamingEngine/manager/bin
./startmgr.sh

Stopping Wowza Streaming Engine Manager

To stop Wowza Streaming Engine Manager, double-click the Stop Standalone Mode application in /Applications/WowzaStreamingEngine or open a Terminal window and enter the following commands:

cd /Library/WowzaStreamingEngine/manager/bin
./shutdownmgr.sh
Note: The Start Standalone Mode and Stop Standalone Mode applications also start and stop Wowza Streaming Engine in standalone mode.

Starting and stopping Wowza Streaming Engine Manager as a service (Linux)

Note: The operations in this section must be performed as the root user with sudo access.

Starting the service

To start the service, enter one of the following commands, depending on your Linux distribution: "sudo systemctl start WowzaStreamingEngineManager" or "/etc/init.d/WowzaStreamingEngineManager start"

Stopping the service

To stop the service, enter: "sudo systemctl stop WowzaStreamingEngineManager" or "/etc/init.d/WowzaStreamingEngineManager stop"

Note: If these instructions don't apply to your Linux distribution, consult your Linux manual.

Starting and stopping Wowza Streaming Engine Manager in standalone mode (Linux)

Starting Wowza Streaming Engine Manager

To start Wowza Streaming Engine Manager in standalone mode, open a Terminal window and enter the following commands:

cd /usr/local/WowzaStreamingEngine/manager/bin
./startmgr.sh

Stopping Wowza Streaming Engine Manager

To stop Wowza Streaming Engine Manager, enter:

cd /usr/local/WowzaStreamingEngine/manager/bin
./shutdownmgr.sh