Skip to content

HOWTO: Install Flash Media Development Server 4.5 on Debian

February 24, 2012

OS: Debian squeeze default install 64bit

root@debian:/opt# uname -a
Linux debian 2.6.32-5-amd64 #1 SMP Mon Jan 16 16:22:28 UTC 2012 x86_64 GNU/Linux
root@debian:/opt# cat /proc/version
Linux version 2.6.32-5-amd64 (Debian 2.6.32-41) (ben@decadent.org.uk) (gcc version 4.3.5 (Debian 4.3.5-4) ) #1 SMP Mon Jan 16 16:22:28 UTC 2012

installing:

root@debian:/opt#apt-get install libnspr4-dev

…………

root@debian:/opt# ls
FlashMediaServer4.5_x64.tar.gz

root@debian:/opt# tar zxvf  FlashMediaServer4.5_x64.tar.gz

root@debian:/opt# mv FMS_4_5_0_r297 fms

root@debian:/opt/fms# ./installFMS

Copyright(C) 1993-2011 Adobe Systems Incorporated. All rights reserved.

Adobe Flash Media Server 4.5 for Linux

Adobe Flash Media Server 4.5 will be installed on this machine.

You will be asked a series of questions during the install
process and will be presented with the defaults for these questions.

Support is available at http://www.adobe.com/go/flashmediaserver_en

To install Adobe Flash Media Server now, press ENTER.

To cancel the installation at any time, press Control-C.

……………….

Do you agree with the license agreement? (y/n): y

Please enter your Adobe Flash Media Server 4.5 serial number.
You have not entered a serial number. Falling back to
the Adobe Flash Media Development Server!

Would you like to try again? y/n: Default [n]:

Adobe Flash Media Server 4.5 requires approximately 200MB of
disk space.

The installer will install Adobe Flash Media Server 4.5 in the
following directory
Default [/opt/adobe/fms]:
The Adobe Flash Media Server communicates on the IANA-assigned
port of 1935, which is the port most Flash applications expect,
and can also communicate on port 80
over RTMPT, HTTP webserver proxy, and for HTTP Dynamic Streaming origin services.

Please enter the Adobe Flash Media Server port(s), comma-separated
Default [1935,80]: 1935

Please enter the port to use for the Admin service. You can only specify one
admin port.
Default [1111]:
The administrative user name and password you provide here is required to use
the Adobe Flash Media Server Management Console for
administration, monitoring, and debugging.

Please enter the administrative username: admin

For increased security, enter a password of at least 8 characters.
Please enter the administrative password:
Confirm password:
When the Adobe Flash Media Server service is started, the service
can be run as a user other than “root”. The server would change to this user
when the server is started and has acquired its ports.

Please enter the user that the Adobe Flash Media Server service will run as
Default user [fms]:

Please enter a valid user group for the “fms” user: Default group [fms]:
Do you want to install apache? (y/n)
Default [y]:

Apache is started as root but once it has acquired its port it starts the worker
processes as a non-priviledged user.

Please enter the user that Apache will eventually run as.
Default user [fms]:
Do you want the Adobe Flash Media Server service to run as a
daemon? (y/n)
Default [y]:
Do you want to start the Adobe Flash Media Server
after the installation is done? (y/n)
Default [y]: n
———– Install Action Summary ———–

Installation directory = /opt/adobe/fms

Adobe Flash Media Server Port = 1935
Adobe Flash Media Admin Server Port = 1111

Apache Install = Yes
Administrative username = admin
Administrative password = (suppressed)

service owner = fms

service user = fms
service group = fms

Run as daemon = Yes

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”.
update-rc.d: using dependency based boot sequencing
Setting autostart for “fms”.

The Adobe Flash Media Server installation is complete.

root@debian:/opt/fms# /etc/init.d/fms start
root@debian:/opt/fms# ps axuw|grep -i fms
root 1691 0.1 0.5 137888 5736 pts/0 Sl 14:43 0:00 ./fmsmaster -silent
root 1713 0.1 0.5 135064 5172 ? Ss 14:43 0:00 /opt/adobe/fms/Apache2.2/bin/httpd -f ./conf/httpd.conf -d /opt/adobe/fms/Apache2.2 -k start
fms 1715 97.4 0.8 168288 8744 pts/0 Sl 14:43 0:14 /opt/adobe/fms/fmsedge -edgeports :1935 -coreports localhost:19350 -conf /opt/adobe/fms/conf/Server.xml -adaptor _defaultRoot_ -name _defaultRoot__edge1 -edgename edge1
fms 1740 0.0 0.4 162820 4216 ? Sl 14:43 0:00 /opt/adobe/fms/Apache2.2/bin/httpd -f ./conf/httpd.conf -d /opt/adobe/fms/Apache2.2 -k start
fms 1741 0.0 0.4 162820 4220 ? Sl 14:43 0:00 /opt/adobe/fms/Apache2.2/bin/httpd -f ./conf/httpd.conf -d /opt/adobe/fms/Apache2.2 -k start
fms 1742 0.0 0.4 162820 4220 ? Sl 14:43 0:00 /opt/adobe/fms/Apache2.2/bin/httpd -f ./conf/httpd.conf -d /opt/adobe/fms/Apache2.2 -k start
root 1869 0.2 0.5 79292 5848 pts/0 Sl 14:43 0:00 ./fmsadmin -console -conf ./conf/Server.xml
root 1908 0.0 0.0 7548 864 pts/0 S+ 14:44 0:00 grep -i fms

TEST:

open any browser on http://your_ip:8143 and test all of the options to play:

(HDS) HTTP DYNAMIC
STREAMING SAMPLE

requires Apache server to be installed

HDS Multiple Bitrate

HDS Single Bitrate 

RTMP DYNAMIC STREAMING SAMPLE

Multiple Bitrate

Single Bitrate

(HLS) HTTP LIVE
STREAMING FOR APPLE IOS

requires Apache server to be installed

Multiple Bitrate

Single Bitrate

 

if all play – all ok 🙂

Advertisements

From → FMS, Streaming

5 Comments
  1. Seo9 permalink

    Hi Sto,

    Thanks for great ‘How to: FMS – Debain’ post.

    I did all the steps as you described above, but after entering http://my_ip:1935 or http://my_ip:8143 or http://my_ip:8134 – test page does not open.
    Only the message “Oops! Google Chrome could not connect with the site.”

    Of course, when I type in the browser http://my_ip/ – opens the default home page as expected.

    The only thing I did not install from fms package was apache – because I already have an installed apache.

    All other steps are done just as you described.

    I would add that I also turn on a service using the command: /etc/init.d/fms start.

    What could be wrong – please help.

    Regards,
    Seo9

    • Hmm, it’s sound like tcp port problem. I think you have firewall, you should check your firewall, then check if the fms services are realy listening on the ports (netstat -an) , and then try to telnet to rhis ports from your remote workstation ( telnet server_ip 1935 ). Please check and reply.

  2. Seo9 permalink

    Hello Sto,

    Thanks for your reply.

    Unfortunately, I’m still getting stuck with FMS.
    I checked your advice. Below is all the results:

    Firewall – off
    The command netstat-nl shows me tcp6 0 0 ::: 1935 ::: * LISTEN
    Telnet server_ip 1935:

    root@serv212:~# telnet 127.0.0.1 1935
    Trying 127.0.0.1…
    Connected to 127.0.0.1.
    Escape character is ‘^]’.
    Connection closed by foreign host.

    The same result when I type my real IP address instead of 127.0.0.1.

    I checked the log files located in the /opt/adobe/fms/logs/ – I put the contents below:

    admin.log:
    ———————————–
    #Date: 2013-06-06
    #Fields: date time x-pid x-status x-ctx x-comment
    2013-06-06 20:33:09 18670 (e)2631013 Failed to create listener for adaptor , IP xx.XXX.xxx.XXX, port 111: TCCommBridge::createListener xx.XXX.xxx.XXX:111/v4: bind
    failed!!!. –
    2013-06-06 20:33:09 18670 (i)2581173 FMS detected IPv6 protocol stack! –
    2013-06-06 20:33:09 18670 (i)2581173 FMS config –
    2013-06-06 20:33:09 18670 (i)2581173 FMS running in IPv4 protocol stack mode! –
    2013-06-06 20:33:09 18670 (i)2581173 Host: serv212 IPv4: xx.XXX.xxx.XXX –
    2013-06-06 20:33:09 18670 (i)2571011 Server starting… –
    2013-06-06 20:33:09 18670 (i)2631174 Listener started ( FCSAdminIpcProtocol ) : xx.XXX.xxx.XXX:11110/v4 –
    2013-06-06 20:33:10 18670 (i)2631174 Listener started ( FCSAdminAdaptor ) : 1111/v4 –
    2013-06-06 20:33:11 18670 (i)2571111 Server started (./conf/Server.xml). –
    ———————————–

    edge.log:
    ———————————–
    #Date: 2013-06-06
    #Fields: date time x-pid x-status x-ctx x-comment
    2013-06-06 20:31:02 18076 (i)2581173 FMS detected IPv6 protocol stack! –
    2013-06-06 20:31:02 18076 (i)2581173 FMS config –
    2013-06-06 20:31:02 18076 (i)2581173 FMS running in IPv4 protocol stack mode! –
    2013-06-06 20:31:02 18076 (i)2581173 Host: serv212 IPv4: xx.XXX.xxx.XXX –
    2013-06-06 20:31:02 18076 (e)2631013 Failed to create listener for adaptor _defaultRoot_, IP , port 1935: TCCommBridge::createListener 0.0.0.0:1935/v4: bind faile
    d!!!. –
    2013-06-06 20:31:02 18076 (i)2631174 Listener started ( _defaultRoot__edge1 ) : localhost:19350/v4 –
    2013-06-06 20:31:03 18076 (e)2631114 Failed to start listeners for adaptor _defaultRoot__edge1. –
    2013-06-06 20:31:03 18076 (e)2791225 Failed to start edge : _defaultRoot__edge1 –
    ———————————–

    master.log
    ———————————–
    #Date: 2013-06-06
    #Fields: date time x-pid x-status x-ctx x-comment
    2013-06-06 20:33:04 18637 (i)2581173 FMS detected IPv6 protocol stack! –
    2013-06-06 20:33:04 18637 (i)2581173 FMS config –
    2013-06-06 20:33:04 18637 (i)2581173 FMS running in IPv4 protocol stack mode! –
    2013-06-06 20:33:04 18637 (i)2581173 Host: serv212 IPv4: xx.XXX.xxx.XXX –
    2013-06-06 20:33:04 18637 (i)2571011 Server starting… –
    2013-06-06 20:33:04 18637 (e)2571122 Server aborted. –
    ———————————–

    * I replaced my real IP with ‘xx.XXX.xxx.XXX’.

    Disturbing me information that resulting from the log files are: “FMS config ”
    Unfortunately, I can not find the settings and change the value from “false” to “true”.

    Sto if you have a different idea of ​​what is wrong – go ahead and write in your comment.

    Cheers mate.

  3. Seo9 permalink

    From the logs escaped me something important: FMS config -NetworkingIPv6 enable=false-
    This information is present in each of the logs in the second line.

    And this is the Disturbing me information : “FMS config -NetworkingIPv6 enable=false-”.

    Probably disappeared because it does not remove the logs putting angle brackets and comment system dumped everything that was between the characters.

Trackbacks & Pingbacks

  1. HOWTO: Configure VOD Streaming in Flash Media Development Server 4.5 on Debian « iamsto

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: