10 Replies Latest reply on Jul 6, 2012 6:53 AM by Carlos1327

    Apache not working  with FMS 4.5 on Windows 2008

    Carlos1327 Level 1

      FMS 4.5.1 Windows 2008 SP2 (64bit).


      I've searched everywhere for a possible solution to this, so my apologies if this has been asked before and my thanks for any potential help that anyone can offer to help resolve this.


      We are deploying Adobe Flash Media Server 4.5.1 on a new server but Apache does not work (does not serve html files or stream Quicktime H.264 files).


            Assorted Problems & Error messages:

      1.  The webroot/index.html page loads locally, but the HLS/HDS streams result in a 2032 error.


      2. The webroot/index.html page does not load from  external locations:

  (does not load externally).

  (our old server, FMS 4.0 and Windows 2003). Everything on this server works, the 2 major differences being that it is running FMS 4.x on Windows 2003.


      Some RTMP streaming works externally and internally (f4v files):

      http://www.librarymedia.net/flash/player.html?source=rtmp:// 50kbps.f4v


      FMS does not stream Quicktime H.264 files even though f4v files work.

         New server (does not work): http://www.librarymedia.net/flash/player.html?source=rtmp:// l.mov

                                    (f4v works): http://www.librarymedia.net/flash/player.html?source=rtmp:// 50kbps.f4v


      Old server (Quicktime/H.264 file works): http://www.librarymedia.net/flash/player.html?source=rtmp:// l.mov


      Apache does not serve Quicktime/H.264 files: I made sure that Apache had all of the correct mime types specified.


          Error messages and attempted solutions:

      1. Apache's erro_log file:

             a. httpd.exe: Could not determine the server's fully qualified domain name, using for ServerName


      2. FMS master.log file

            a. FMSHttpd -k start returned 1:


      Solutions: http://wiki.apache.org/httpd/CouldNotDetermineServerName

      1a:  Edited httpd.conf file to include ServerName


      1b: The presence of this error message also indicates that Apache httpd was unable to obtain a fully-qualified hostname by doing a reverse lookup on your server's IP address.

      In order for the server to accept external connections a reverse DNS lookup needs to be created. I created a reverse DNS lookup and  edited the /etc/hosts file to include the IPaddress, Fully Qualified Domain Name (FQDN), shortname.


      This is the format suggested by the article:

            localhost.localdomain   localhost       foo.example.com


      Running the nbtstat -a command on the machine results in the following:


      WIN-8AIHI2J0524<00>  UNIQUE      Registered

      THS-LIBRARY-VOD<00>  GROUP       Registered

      THS-LIBRARY-VOD<1C>  GROUP       Registered

      WIN-8AIHI2J0524<20>  UNIQUE      Registered

      THS-LIBRARY-VOD<1B>  UNIQUE      Registered


      So the FQDN = WIN-8AIHI2J0524.Ths-library-vod.local


      I edited the /etc/hosts to the following (with versions using the local host ip and the external ip address, IPv4 is being used):


      # The following lines are desirable for IPv6 capable hosts

      ::1 localhost ip6-localhost ip6-loopback

      fe00::0 ip6-localnet

      ff00::0 ip6-mcastprefix

      ff02::1 ip6-allnodes

      ff02::2 ip6-allrouters

      ff02::3 ip6-allhosts


      I've also read Adobe's port configuration articles and  changed the ports that Apache and FMS use as specified in the conf/fms.ini file, but nothing has worked so far. I restored everything to the original settings until I can find out exactly how to fix this.


      Thank you.