Adobe launches Flash Media Server 3 (plus linux install notes)

January 29th, 2008

Adobe have released the next version of their advanced streaming and interactivity server, Flash media Server (also previously known as Flash Communication Server). This release splits functionality between two versions – Flash Media Interactive server and Flash Media Streaming Server.


The entry of new competitors into the interactive flash streaming and server market (such as wowza pro and red5) has meant the new versions are now a lot less restricted in terms of bandwidth and connection limitations than they were previously. The new streaming only version creates a much lower entry point to the technology by providing a cut back feature set focussing purely on streaming without any of the real time interactivity tools of the full Interactive version.

New features include H.264 streaming video for enhanced quality, AAC audio, additional cryptographic and security enhancements, improved performance and flash lite 3 support for mobile applications.

Installation
Installation on a windows server is sufficiently straightforward that the included document is more than adequate, however there are a few potential snags in the the linux setup that are worth documenting for those less familiar with a bash prompt. In the example below I use Centos 5 on a xen vps.

Download the package from http://www.adobe.com/cfusion/tdrc/index.cfm?loc=en%5Fus&product=flashmediaserver (you’ll need to log into your Adobe account, so no wget download direct from their server unfortunately)

Extract FlashMediaServer3.tar.gz from the zip and upload to your server. It’s about 50mb and contains documentation and sample files that you can remove if you don’t need them (I’d recommend leaving the sample applications ‘vod’ and ‘live’ though so you can quickly check everythings working ok once you’ve installed).

I created a directory in root for extraction

cd /mkdir
fms3
cd fms3

Copy the file into your new directory and decompress with

tar -xzf FlashMediaServer3.tar.gz

Later in the install process you’ll be asked for which user and group the server runs under, create these now if you don’t want to use the default user (nobody)

groupadd fms
useradd -g fms fms

The install requires the ‘netscape portable runtime’ which without you’ll get an error -’Error: Flash Media Server needs the nspr library installed’.

To install:
yum install seamonkey-nspr.i386

you should see a message saying ‘Installing’ with some progress bars displayed, when it finishes it displays ‘Complete!’ and returns you to the prompt.

If you’re using redhat (the only officially supported linux distribution)
To install you now would use from within the extracted directory:

./installFMS

If you’re using centos 5 like me then this would give you an error message and will quit.
Instead:

./installFMS -platformWarnOnly

There are now a series of prompts to answer.

If you are just installing the developer version just press enter when asked for your serial number.
It will ask you if you like to try again, again just continue with enter unless you have a full licence.

You can press enter when asked for directory,server port and admin port as these can be configured later.
It’ll also ask if you want to run as a daemon, this is the linux version of a background service so enter yes of you want this.

Now navigate to the default installation directory:

cd /opt/adobe/fms

and enter

./fmsmgr server fms start

to initialise. Hopefully after a few seconds (it pauses and thinks for a bit) you’ll be returned to the prompt and the services are running – use top to list running processes. You should see the following processes listed:

fmscore
fmsedge
fmsmaster
fmsadmin

If not, things worth trying:

Read this:
http://kb.adobe.com/selfservice/viewContent.do?externalId=c533ee36&sliceId=1

You might be missing other required dependencies which you might be able to install using these:

yum install compat-libstdc++-33.i386
yum install seamonkey-nspr.i386
yum install libstdc++.so.5

Note:

If you create an application directory via ssh (i.e mkdir myNewApplication), remember to chown to your fms user group else you might not be able to write to the directory. cd to your applications directory then (presuming user fms and group fms):

chown fms:fms myNewApplication

Entry Filed under: audio, flash, server, video

17 Comments Add your own

  • 1. Mike  |  January 29th, 2008 at 10:16 pm

    update – had an issue with fmsadmin not appearing.

    #ldd fmsadmin

    showed it wasn’t loading libasneu.so.1
    so I used slocate to find it then copied it

    #cp /opt/adobe/fms/libasneu.so.1 /lib/libasneu.so.1

    then

    #./fmsmgr adminserver start

    and a quick top shows it’s now online

  • 2. Luigi  |  February 2nd, 2008 at 3:03 pm

    Hello,
    i have this problem when starting a service:

    Feb 2 00:13:32 home Service[8531]: Server starting…
    Feb 2 00:13:33 home Adaptor[8551]: Failed to create listener for adaptor _defaultRoot_, IP localhost, port 19350: .
    Feb 2 00:13:33 home Service[8531]: Server started (/opt/adobe/fms/conf/Server.xml).
    Feb 2 00:13:33 home Adaptor[8551]: Failed to start listeners for adaptor _defaultRoot__edge1.
    Feb 2 00:13:33 home Edge[8551]: Failed to start edge : _defaultRoot__edge1
    Feb 2 00:13:39 home Adaptor[8670]: Failed to create listener for adaptor , IP localhost, port 11110: TCCommBridge::createListener 127.0.0.1:11110/v4: bind failed!!!.
    Feb 2 00:13:39 home Service[8670]: Server starting…
    Feb 2 00:13:41 home Adaptor[8670]: Failed to start listeners for adaptor FCSAdminIpcProtocol.
    Feb 2 00:13:41 home Server[8670]: Server initialization failed; service will be stopped.
    Feb 2 00:13:41 home Service[8670]: Server aborted.

    this is ldd fmscore:
    linux-gate.so.1 => (0×009ae000)
    libpthread.so.0 => /lib/libpthread.so.0 (0×00721000)
    libnspr4.so => /usr/lib/libnspr4.so (0×041e0000)
    libplc4.so => /usr/lib/libplc4.so (0×04231000)
    libplds4.so => /usr/lib/libplds4.so (0×041cf000)
    libasneu.so.1 => /usr/lib/libasneu.so.1 (0×00226000)
    librt.so.1 => /lib/librt.so.1 (0×0074f000)
    libdl.so.2 => /lib/libdl.so.2 (0×0071b000)
    libstdc .so.6 => /usr/lib/libstdc .so.6 (0×04735000)
    libm.so.6 => /lib/libm.so.6 (0×006f2000)
    libgcc_s.so.1 => /lib/libgcc_s.so.1 (0×00dcb000)
    libc.so.6 => /lib/libc.so.6 (0×005b0000)
    /lib/ld-linux.so.2 (0×0058e000)

    and this
    ldd fmsadmin
    linux-gate.so.1 => (0×00cea000)
    libpthread.so.0 => /lib/libpthread.so.0 (0×00721000)
    libasneu.so.1 => /usr/lib/libasneu.so.1 (0×00b68000)
    librt.so.1 => /lib/librt.so.1 (0×0074f000)
    libdl.so.2 => /lib/libdl.so.2 (0×0071b000)
    libstdc .so.6 => /usr/lib/libstdc .so.6 (0×04735000)
    libm.so.6 => /lib/libm.so.6 (0×006f2000)
    libgcc_s.so.1 => /lib/libgcc_s.so.1 (0×00dcb000)
    libc.so.6 => /lib/libc.so.6 (0×005b0000)
    /lib/ld-linux.so.2 (0×0058e000)

    can you help me?

  • 3. Vlad Rotariu  |  February 4th, 2008 at 4:19 pm

    Luigi do you have FMS2 installed and running? Try shutting that down first then start up your server again. It can’t really create 2 sockets on the same machine unless it’s on different binds.

  • 4. Mike  |  February 4th, 2008 at 4:34 pm

    As Vlad says, could be something else binding the needed ports. Try:
    netstat-ltp
    or (if you have it installed)
    lsof -i :80,443,1111,1935
    Should show if anything is already using those ports.

  • 5. Luigi  |  February 5th, 2008 at 7:59 pm

    @Vlad
    No, i dont have FM2 installed and the firewall and selinux are disabled.

    @Mike
    lsof -i :80,443,1111,1935
    COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
    yum-updat 2390 root 8u IPv4 9196 TCP 192.168.1.5:57877->centos.at.multacom.com:http (CLOSE_WAIT)
    yum-updat 2390 root 9u IPv4 9310 TCP 192.168.1.5:57879->centos.at.multacom.com:http (CLOSE_WAIT)
    yum-updat 2390 root 10u IPv4 9315 TCP 192.168.1.5:35562->ftp.halifax.RWTH-Aachen.DE:http (CLOSE_WAIT)
    yum-updat 2390 root 11u IPv4 9322 TCP 192.168.1.5:57881->centos.at.multacom.com:http (CLOSE_WAIT)
    yum-updat 2390 root 12u IPv4 9334 TCP 192.168.1.5:57883->centos.at.multacom.com:http (CLOSE_WAIT)
    yum-updat 2390 root 14u IPv4 9344 TCP 192.168.1.5:35567->ftp.halifax.RWTH-Aachen.DE:http (CLOSE_WAIT)
    httpd 30861 root 3u IPv6 102669 TCP *:http (LISTEN)
    httpd 30863 apache 3u IPv6 102669 TCP *:http (LISTEN)
    httpd 30864 apache 3u IPv6 102669 TCP *:http (LISTEN)
    httpd 30865 apache 3u IPv6 102669 TCP *:http (LISTEN)
    httpd 30866 apache 3u IPv6 102669 TCP *:http (LISTEN)
    httpd 30867 apache 3u IPv6 102669 TCP *:http (LISTEN)
    httpd 30868 apache 3u IPv6 102669 TCP *:http (LISTEN)
    httpd 30869 apache 3u IPv6 102669 TCP *:http (LISTEN)
    httpd 30870 apache 3u IPv6 102669 TCP *:http (LISTEN)

  • 6. Idden  |  April 3rd, 2008 at 9:21 am

    Nice tutorial, I just add a little note to install it on Debian.
    To get the ‘netscape portable runtime’ by apt just type:
    apt-get install libnspr4-0d

    I wonder if upgrading this lib would let me use js 1.7 instead of 1.5 for SSAS.

    Any Idea ?

  • 7. Mike  |  April 3rd, 2008 at 5:40 pm

    I can’t say I know whether that will update the js capabilities. I use the server side LoadVars in FMS3 to extend its capabilites by passing data back and forth between php (e.g called on http://127.0.0.1 but configured to run on a different port than 80 to avoid conflict with FMS) to use the richer data processing capabilities available within php. There is of course latency doing this, but being local it’s almost instantaneous and is good enough in most circumstance.

  • 8. Idden  |  April 4th, 2008 at 8:27 am

    Yes PHP that’s a good way to extend the capabilites of fms. But I wanted to use javascript 1.7 ( and soon 2.0 :) ) for coding comfort and for E4X, having the same code in the swf client and the fms server would be cool.

  • 9. Domnick  |  April 15th, 2008 at 4:19 pm

    If your using a windows orgin server, this wont work too well, we had really bad processing issues with CentOS. This seems to work if you keep the network the same, linux to linux. Or using redhat to windows. But for some strange reason centos dosnt work the same way as redhat when it comes to operating flash media server.

  • 10. sravan  |  October 24th, 2008 at 4:06 am

    Hey while starting FMS in linux i got error like this in log file…
    anybody suggest me what i have to do..

    Oct 19 11:42:30 server806 xinetd[31143]: START: smtp pid=1709 from=118.168.100.248
    Oct 19 11:42:30 server806 xinetd[31143]: START: smtp pid=1711 from=118.168.100.248
    Oct 19 11:42:31 server806 xinetd[31143]: EXIT: smtp status=1 pid=1711 duration=1(sec)
    Oct 19 11:42:31 server806 xinetd[31143]: EXIT: smtp status=1 pid=1709 duration=1(sec)
    Oct 19 14:22:23 server806 xinetd[31143]: START: smtp pid=2425 from=124.8.96.48
    Oct 19 14:22:26 server806 xinetd[31143]: START: smtp pid=2427 from=124.8.96.48
    Oct 19 14:22:39 server806 xinetd[31143]: EXIT: smtp status=1 pid=2427 duration=13(sec)
    Oct 19 14:22:40 server806 xinetd[31143]: START: smtp pid=2429 from=124.8.96.48
    Oct 19 14:22:40 server806 xinetd[31143]: EXIT: smtp status=1 pid=2425 duration=17(sec)
    Oct 19 14:22:41 server806 xinetd[31143]: START: smtp pid=2431 from=124.8.96.48
    Oct 19 14:22:47 server806 xinetd[31143]: EXIT: smtp status=1 pid=2429 duration=7(sec)
    Oct 19 14:22:49 server806 xinetd[31143]: EXIT: smtp status=1 pid=2431 duration=8(sec)
    Oct 19 15:18:32 server806 xinetd[31143]: START: smtp pid=2580 from=118.166.225.237
    Oct 19 15:18:35 server806 xinetd[31143]: START: smtp pid=2583 from=118.166.225.237
    Oct 19 15:18:35 server806 xinetd[31143]: EXIT: smtp status=1 pid=2580 duration=3(sec)
    Oct 19 15:18:35 server806 xinetd[31143]: EXIT: smtp status=1 pid=2583 duration=0(sec)
    Oct 19 21:31:20 server806 xinetd[31143]: START: smtp pid=3850 from=123.204.66.115
    Oct 19 21:31:20 server806 xinetd[31143]: START: smtp pid=3851 from=123.204.66.115
    Oct 19 21:31:20 server806 xinetd[31143]: EXIT: smtp status=1 pid=3850 duration=0(sec)
    Oct 19 21:31:20 server806 xinetd[31143]: EXIT: smtp status=1 pid=3851 duration=0(sec)
    Oct 19 23:47:06 server806 ntpdate[4152]: step time server 207.46.197.32 offset 3.307330 sec
    Oct 20 10:53:56 server806 xinetd[31143]: START: smtp pid=6585 from=127.0.0.1
    Oct 20 10:53:56 server806 xinetd[31143]: EXIT: smtp status=0 pid=6585 duration=0(sec)
    Oct 20 10:53:58 server806 setroubleshoot: SELinux is preventing /usr/sbin/httpd (httpd_t) “read write” access to /usr/local/psa/var/utilities.sem (initrc_t). For complete SELinux messages. run sealert -l 5cea69b7-7f76-40e7-bcf8-cc6d948b4e83
    Oct 20 10:53:58 server806 setroubleshoot: SELinux is preventing /usr/sbin/rndc (ndc_t) “append” to /usr/local/psa/admin/logs/httpsd_error_log (usr_t). For complete SELinux messages. run sealert -l 3fd30d91-5b16-49f2-bd8e-e945d69e7cdc
    Oct 20 10:54:07 server806 xinetd[31143]: START: smtp pid=6859 from=127.0.0.1
    Oct 20 10:54:07 server806 xinetd[31143]: EXIT: smtp status=0 pid=6859 duration=0(sec)
    Oct 20 10:54:10 server806 setroubleshoot: SELinux is preventing /usr/sbin/rndc (ndc_t) “append” to /usr/local/psa/admin/logs/httpsd_error_log (usr_t). For complete SELinux messages. run sealert -l 3fd30d91-5b16-49f2-bd8e-e945d69e7cdc
    Oct 20 10:57:32 server806 xinetd[31143]: START: smtp pid=6977 from=127.0.0.1
    Oct 20 10:57:32 server806 xinetd[31143]: EXIT: smtp status=0 pid=6977 duration=0(sec)
    Oct 20 10:57:34 server806 setroubleshoot: SELinux is preventing /usr/sbin/httpd (httpd_t) “read write” access to /usr/local/psa/var/utilities.sem (initrc_t). For complete SELinux messages. run sealert -l 5cea69b7-7f76-40e7-bcf8-cc6d948b4e83
    Oct 20 11:33:08 server806 shutdown[7323]: shutting down for system reboot
    Oct 20 11:33:08 server806 init: Switching to runlevel: 6
    Oct 20 11:33:09 server806 smartd[2944]: smartd received signal 15: Terminated
    Oct 20 11:33:09 server806 smartd[2944]: smartd is exiting (exit status 0)
    Oct 20 11:33:16 server806 xinetd[31143]: Exiting…
    Oct 19 23:33:20 server806 hcid[2489]: Got disconnected from the system message bus
    Oct 19 23:33:20 server806 rpc.statd[2396]: Caught signal 15, un-registering and exiting.
    Oct 19 23:33:20 server806 named[20713]: shutting down: flushing changes
    Oct 19 23:33:20 server806 named[20713]: stopping command channel on 127.0.0.1#953

  • 11. sravan  |  October 24th, 2008 at 8:07 am

    i started my FMS by using the following command, once u check it and reply me 1) whether my FMS is started or not?
    [root@main fms]# ./fmsmgr server fms start
    Server:fms command:start
    NPTL 2.5
    Starting Adobe Flash Media Server (please check /var/log/messages)
    [root@main fms]#
    2)this is my console output.
    [root@main fms]# ./fmsmaster ?console
    [root@main fms]#

    3)I understood ur mannual upto server starting, after that how to create a own publisher and and how to run live streaming.

    reply me i am in the final stage of our project.

    sravan

  • 12. sravan  |  October 24th, 2008 at 8:40 am

    Hi i found what is my problem:-
    i uninstalled my FMS and again try to install it again. while installing i got error like this(my os is linux cent OS):-
    Proceed with the installation? (y/n/q): y
    Installing Adobe Flash Media Server files…
    Configuring Adobe Flash Media Server…
    Adding “fms” service.
    Setting default admin to “fms”.
    Setting autostart for “fms”.
    Server:fms command:start
    ./fmsmgr: line 115: cd: y: No such file or directory
    NPTL 2.5
    Starting Adobe Flash Media Server (please check /var/log/messages)

    Admin server:fmsadmin command:start
    ./fmsmgr: line 102: cd: y: No such file or directory
    Starting Adobe Flash Media Admin Server (please check /var/log/messages)

    suggest me what are these error messages.

  • 13. Ela  |  March 26th, 2010 at 9:06 am

    I did all the above and actually am running apache for php in 8080 and want to make this fms service in different port and made it as 8083 while installing,

    After installed when am starting fms using

    ./fmsmgr server fms start

    it shows error message and i checked in messages file it gives already that port is used by someone

    “Mar 26 03:59:51 u15393552 Adaptor[12576]: Failed to initialize listeners for adaptor admin, FMS is already running or other adaptor admin”

    please find me the solution.

  • 14. cvtfradio[dot]net  |  April 9th, 2010 at 1:18 pm

    this hack works on most debian/ubuntu variant of linux, it installs install fms3.5 and apache2.2x .

    link to check out :

    http://www.markusbe.com/

    Article: install-fms-3.5.3-ubuntu.Your find the link half way down the page

    Save downloaded file to disk, chmod +x file and run as sudo .

    Pls. note theres a patch file included …also this script creates the user and group name ‘fms’ – and runs fms- as nobody.

    Other than that – the script works flawlessly .

    peace.

  • 15. INNRECH  |  May 1st, 2010 at 12:14 pm

    Hi, thanks for your installation procedures but I seems to have some problem installing FMS on CentOS 5.0

    When I did:
    yum install seamonkey-nspr.i386

    An Error Msg came out saying:
    No package seamonkey-nspr.i386 available.
    Nothing to do

    Pls I will truly appreciate any help on this. Thanks

  • 16. Mike  |  May 4th, 2010 at 2:09 pm

    If the seamonkey package isn’t available in your yum repositories, then you’ll need to install via RPM
    You should be able to get it from here: http://rpm.pbone.net/

  • 17. steven.liao  |  July 20th, 2011 at 7:45 pm

    if you try run the command:
    ping localhost

    result is “unknown host localhost.”

    you can try edit /etc/hosts file
    add new line:
    127.0.0.1 localhost
    save the file
    and run command:

    /opt/adobe/fms/adminserver

    lsof -i :1111

Leave a Comment

Required

Required, hidden

Some HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Trackback this post  |  Subscribe to the comments via RSS Feed

Calendar

December 2017
M T W T F S S
« Feb    
 123
45678910
11121314151617
18192021222324
25262728293031

Categories

Most Recent Posts

Feeds