ERROR: Missing license file: (/usr/local/WowzaMediaServer/conf/Server.license)
You must first run Wowza Media Server 3 in standalone mode to enter serial number. Execute the following commands to run in standalone mode:
The startup.sh script is found in /usr/local/WowzaMediaServer/bin/
Also, the license is in the correct place and should not be causing any issues.
/sbin/service WowzaMediaServer start
-bash: /sbin/service: No such file or directory
If I do it manually:
It starts, but not as a service. As soon as the window closes, so does Wowza.
So the docs are wrong, and the thing won't start.
So here are my three questions:
1. How do I start it manually.
2. How do I have it auto-start as a service (Very funny: "If your platform doesn't support chkconfig, see your Linux distro documentation." and leave it at that.)
3. How do I get it to stay on even when closing the terminal.
[And, unrelated, #4: Red5 has free live support (IRC) and very good docs. Wowza has no live support, an email support that has thus far incorrectly answered questions, and docs that are wrong all over the place - the PDFs are terrible, the websites is out of date, and the terminal feedback is as stated. (I complained about this path issue FOUR years ago.) I am feeling a little bad about plunking down $1K on something that I can't even get to start. Is there any place I can find a list of advantages of Wowza that will make me feel better about the purchase.]
1) According to the error, Wowza thinks that the Server.license file is missing. That is why it won't start in this case. It is just a simple bash script test that verifies if the file exists. Please confirm /usr/local/WowzaMediaServer/conf/Server.license file exists and is readable by the user starting Wowza. The startup scripts should be run as root user on linux has they have to write to folders that only root user can write to.
2) /sbin/service is a RedHat command for starting and stopping services on linux. It runs the /etc/init.d/WowzaMediaServer command. The error you are getting suggests that your linux installation is not RedHat based. Again, this command must be run as root or using sudo.
3) The startup.sh command is only used to start Wowza in standalone mode from the terminal. It must be run from the /usr/local/WowzaMediaServer/bin/ folder using ./startup.sh. The init script that starts Wowza as a service does not use the startup.sh command.
To answer your questions,
1. To start Wowza manually in standalone mode, cd to /usr/local/WowzaMediaServer/bin and run ./startup.sh. On first start, you will be prompted for your license key. When the terminal is closed, Wowza will shut down. This is normal for all standalone applications on linux.
To start Wowza as a service, run /etc/init.d/WowzaMediaServer start as root user or using sudo.
2. The majority of users that run Wowza on Linux use a RedHat based distro that supports chkconfig and the service command. Because it is the most common, we provide instructions for that. It is not possible to outline how to configure a service on every different linux distro that is available. Each distro will provide specific instructions in their documentation for configuring services. It would be helpful if you told us what distro you are using so that we can provide you with specific instructions if needed.
3. Once you have Wowza started as a service, it will remain running after the terminal is closed.
If you are still experiencing problems then please zip up your bin, conf & logs folders completely and send to
email@example.com. Please include a description of the problem and a link to this thread. Please provide as much relevant information as possible so that we may answer accurately.