Skip to main content
March 30, 2012
Question

Apache not working with FMS 4.5 on Windows 2008

  • March 30, 2012
  • 1 reply
  • 5537 views

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:

     http://63.116.232.5/index.html (does not load externally).

     http://63.116.232.6/index.html (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://63.116.232.5/vod/mp4:sample1_150kbps.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://63.116.232.5/vod/mp4:Basketball.mov

                              (f4v works): http://www.librarymedia.net/flash/player.html?source=rtmp://63.116.232.5/vod/mp4:sample1_150kbps.f4v

  

Old server (Quicktime/H.264 file works): http://www.librarymedia.net/flash/player.html?source=rtmp://63.116.232.6/vod/mp4:Basketball.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 127.0.0.1 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 63.116.232.5

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:

127.0.0.1       localhost.localdomain   localhost       foo.example.com

Running the nbtstat -a 63.116.232.5 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 127.0.0.1 and the external ip address, IPv4 is being used):

63.116.232.5 WIN-8AIHI2J0524.Ths-library-vod.local

# 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.

This topic has been closed for replies.

1 reply

April 2, 2012

Jus looked at the edge log and found the following error: Application HDS-vod is not defined. Using the following article to try to resolve this just in case anyone else runs across this problem:

http://help.adobe.com/en_US/flashmediaserver/devguide/WSeb6b7485f9649bf23d103e5512e08f3a338-8000.html#WS082c29d45e6ad098-2074c7cd1322864f23b-8000

Adobe Employee
April 2, 2012

Did you properly installed the server or

1. Overritten the old server with the new one.

2. Just untar the linux installer zip and copied them.

The httpd.conf issue happens to me, in case I just do unzip of the bundle on linux and start using it.. If I do proper ./installFMS and then use the fms from installed path, then it works fine..

April 3, 2012

I uninstalled FMIS and re-installed everything (Windows 2008 SP2 64bit, FMIS 4.5.1).

1. The Apache errors are gone (FMSHttpd -k start returned 1: & Could not determine the server's fully qualified domain name errors not coming up).

2. I am now getting the following error in the edge log: Failed to create listener for adaptor _defaultRoot_, IP , port 80: TCCommBridge::createListener 0.0.0.0:80/v4: bind failed!!!.

Same problems persist (IPs .5 and .6 are two different servers):

     New FMS 4.5 server: http://63.116.232.5/index.html (does not load externally).

     Old FMS 4.x server: http://63.116.232.6/index.html (everything works)

Errors from the webroot/index.html page:

      Error # 2032 when trying to play HLS & HDS files (added mime types to Apache).

      RTMP files play fine.

RTMP streaming works externally, but H.264 files do not work for some reason:

http://www.librarymedia.net/flash/player.html?source=rtmp://63.116.232.5/vod/mp4:sample1_150kbps.f4v works, but my own files do not work, e.g.,

http://www.librarymedia.net/flash/player.html?source=rtmp://63.116.232.5/vod/mp4:Basketball.mov

This file works with the old server, so I don't think that it is a problem with the file itself:

http://www.librarymedia.net/flash/player.html?source=rtmp://63.116.232.6/vod/mp4:Basketball.mov

HLS and HDS streaming from the webroot folder does not work. RTMP streams f4v files, but not H.264 .mov files.

I have no idea why this is happening and therefore no clue on how to fix it.

Thank you for the help Mr. Goel.