
58
FLASH
MEDIA
SERVER
4.5
CONFIGURATION
AND
ADMINISTRATION
Configuring the server
Last updated 11/28/2012
4
Merge the configuration files, if necessary. In most cases, you will not need to merge the files. However, if the newer
version of Apache includes new or renamed modules or directives, you might need to edit the configuration files
to meet the new requirements.
5
Start Flash Media Server.
After upgrading:
1
Ensure that the newer version of Apache is now available. From a command prompt, go to
FMS_Install_Dir
/Apache2.2/bin and issue the following command:
httpd -v
2
Recompile third-party modules, if necessary.
3
Make sure the newly-updated version of Apache is working correctly:
1
Check the master log file for errors or warnings. The master.00.log file should have a line that launches the httpd
process and returns 0; for example:
- C:\Program Files\Adobe\Flash Media Server 4\Apache2.2\bin\httpd -f
./conf/httpd.conf -d "C:\Program Files\Adobe\Flash Media Server 4\Apache2.2" -n FMSHttpd
-k start returned 0:
2
Try playing videos using the “http” protocol.
Troubleshooting Apache HTTP server
In some cases, the Apache server could be at fault for the Flash Media Server not running properly. This is sometimes
caused by syntax errors in the Apache configuration files.
Check the master.log file in the
rootinstall
/logs directory. If Apache could not start for some reason, it typically returns
an error code of “1” and writes a line similar to the following in the master.log file:
2010-06-22 15:45:09 4276 (w)2581414 C:\Program Files\Adobe\Flash Media Server 4
\Apache2.2\bin\httpd -f ./conf/httpd.conf -d "C:\Program Files\Adobe\Flash Media Server 4
\Apache2.2" -n FMSHttpd -k start returned 1:
The status of
(w)
or
(e)
indicates a warning or error. For more information about status codes in the master.log file,
see “
Diagnostic logs
” on page 104.
If you are running Flash Media Server as a service, you can check the
Windows Event Viewer
for errors messages. On
Linux, check syslog’s log file for error messages.
You can also check the Apache log files for error messages. The default location of the Apache log files is
rootinstall
/Apache2.2/logs. The logs are in the default Apache error and combined access log formats. For information
about these log file formats, see
Log Files
.
To change the location of the log files, edit the
rootinstall
/Apache2.2/conf/httpd.conf file.