Mon 19 Jan 2009
Update September 13th 2009: Easier to use install script available.
I have been asked for a patch for installing Adobe Flash Media Server 3.5 on Ubuntu. Here it is, with instructions for Ubuntu 8.04.:
# install dependencies for Ubuntu 8.04 # please let me know what is needed on other versions of Ubuntu sudo apt-get install libnspr4-0d libstdc++6
Now download Flash Media Server 3.5 and copy FlashMediaServer3.5.tar.gz over to your Ubuntu box. Don’t untar the .tar.gz file on windows and copy the files over to linux – this way file permissions will be wrong and the patch won’t work. Then
tar xfz FlashMediaServer3.5.tar.gz cd FMS_3_5_0_r405 wget http://www.bluetwanger.de/~mbertheau/flash-media-server-3.5-ubuntu.patch patch -p1 < flash-media-server-3.5-ubuntu.patch sudo ./installFMS
If you get
./installFMS: line 172: ./fmsini: No such file or directory ERROR: You are running the Adobe Flash Media Server installer on the wrong platform.
then execute the following:
sudo apt-get install ia32-libs
That will install 32bit support on your 64bit Ubuntu.
If you opted to install Apache and it doesn't work, execute the following if you are on 32 bit:
sudo ln -s libexpat.so.1 /usr/lib/libexpat.so.0
If you are on 64 bit, execute this instead:
sudo ln -s libexpat.so.1 /usr/lib32/libexpat.so.0
You can later uninstall the server:
cd /opt/adobe/fms sudo ./uninstallFMS
January 21st, 2009 at 6:12
Thank you again!
January 26th, 2009 at 17:50
Thank you very much.
I have one Question.
Do you know if there are special issues with fms3.5 on Ubbuntu 64bit?
I tried to install it with you patches. Everything seems fine. No errors in log, administrative frontend is working. But there are no streams and netstat does not show open ports on 1935.
January 26th, 2009 at 19:08
I don’t know, sorry.
January 31st, 2009 at 9:50
Thanks Markus! Before I discovered your 3.5 patch I actually got FMS 3.5 to work on Ubuntu using your 3.0 patch and it seems to work fine, though I’m having problems getting Apache to work. Can you tell me what’s different between your 3.0 and 3.5 patch? Should I apply the newer one even though FMS is working? Does your 3.5 patch do anything for the Apache install that comes with FMS? Thanks!
January 31st, 2009 at 13:15
Well, thank you, Ben, for the hint to link the articles between them and for the very good question!
The only real difference is in how the process and file owner is determined. Check under which user the fms processes run – it should be the user fms. The files should also belong to this user and to the group fms. What’s also changed is the positions in the files that the patch changes. If when applying the patch you saw “hunk failed” messages, then not all changes have been applied. That can mean anything. If you have the possibility, you can uninstall fms and reinstall it with the 3.5 patch, to make sure.
I’ll now go and link the three patches with each other in the posts :)
Markus
January 31st, 2009 at 13:19
[...] January 31st 2009: Patch for Adobe Flash Media Server 3.5 on ubuntu [...]
January 31st, 2009 at 13:20
[...] January 31st 2009: Patch for Adobe Flash Media Server 3.5 on ubuntu [...]
February 2nd, 2009 at 20:23
Hallo
I got fms working on 64 bit
these steps i already took with fms3
wget http://www.boundlesssupremacy.com/Cappy/getlibs/getlibs-all.deb
sudo dpkg -i getlibs-all.deb
sudo getlibs --ldconfig ./fmsadmin
sudo getlibs --ldconfig ./fmscore
sudo getlibs --ldconfig ./fmsmaster
sudo getlibs --ldconfig ./fsmedge
additionally to these i took these steps with fms3.5
alien sane-backends-libs-1.0.19-12.fc10.x86_64.rpm
dpkg -i sane-backends-libs_1.0.19-13_amd64.deb
getlibs -l libnspr4.so.0d (copied from 32 bit-System)
February 12th, 2009 at 18:02
@Dan Benson
you coukd try ldd ./httpd for the Apache2 binary in fms-directory
on my 64 bit system i had many libraries missing, perhaps you have similar problems.
i solved them by using
getlibs --ldconfig ./httpd
and then copied
libexpat.so.0 to /usr/lib32
I got libexpat.so.0 from a vmware2.0 server installation on a 64 bit system.
March 24th, 2009 at 10:37
fms_3_5_1_r516,could not install
./fmsini:No such file or directory
April 8th, 2009 at 1:57
Excellent instructions! I used Ubuntu 8.10. The only difficulties for me were:
patch p1 is p number one, not p letter l (poor choice of font on my part )
I had to use synaptic package manager to download ‘libexpat1-dev’
and added the following link in /usr/lib
ln -s libexpat.so libexpat.so.0
Thanks again!
April 30th, 2009 at 22:38
Thanks dude, it worked for me……
May 16th, 2009 at 23:01
I also cannot get this to work, FMS is now up to r516 and it complains about fmsini.
I’m on Ubuntu 8.0.4 64 bit.
# ./installFMS
./installFMS: line 172: ./fmsini: No such file or directory
ERROR: You are running the Adobe Flash Media Server installer
on the wrong platform.
May 20th, 2009 at 22:37
Thanks lygie! I’ve installed FMS 3.5 in my Sun V40Z running Ubuntu 9.04 AMD64 with your instructions! XD
June 25th, 2009 at 4:52
Unable to install FMS 3_5_1_r516 on Ubuntu 9.04 with the 3.5 patch, I receive the following error:
./installFMS: line 172: ./fmsini: No such file or directory
ERROR: You are running the Adobe Flash Media Server installer
on the wrong platform.
*PLEASE HELP!*
August 5th, 2009 at 1:12
I’m having the exact same problem as Adam and receive this error:
./installFMS: line 172: ./fmsini: No such file or directory
ERROR: You are running the Adobe Flash Media Server installer
on the wrong platform.
I am also running Ubuntu 9.04. Please help me too!
August 6th, 2009 at 14:25
Hi, thanks for the patch but I need to change user name and/or user group to sth else. Do you know how to do this? or at least what is it possible to ask them while installing? thanks.
August 6th, 2009 at 14:44
My problem was I couldn’t access the files that FMS has created. However now, I give read permission to others, so my problem is solved. Here how I did this:
sudo gedit /opt/adobe/fms/conf/Server.xml
find 017 and change it to 012
(The mask is applied by subtracting the value from 777, see http://www.shell-shocked.org/article.php?id=230 for more information)
August 30th, 2009 at 1:01
I’m having the exact same problem as Adam and Nicole and receive this error:
./installFMS: line 172: ./fmsini: No such file or directory
ERROR: You are running the Adobe Flash Media Server installer
on the wrong platform.
I am also running Ubuntu 9.04. Please help me us.
August 31st, 2009 at 19:30
Seems that your link to download Adobe FMS for Linux is not pointing to anything valid — or, rather, Adobe might have changed the links :(
I’ve been trying to download it from the “regular” Downloads Home page, but although it gives a selection between Linux and Windows, I always get the very same ZIP file for Windows…
Any suggestions for an alternative link to FMS 3.5 for Linux are quite welcome!
August 31st, 2009 at 20:38
The download link works here, so either Adobe changed something for users outside germany, or there’s a local configuration issue on your side.
You can also use the ZIP file; it contains a file FlashMediaServer3.5.tar.gz which you can use instead of the direct download link in the post.
September 3rd, 2009 at 12:05
I’m installing on 8.04 (Hardy Heron).
I followed the steps and keep getting this error:
./installFMS: line 172: ./fmsini: No such file or directory
ERROR: You are running the Adobe Flash Media Server installer on the wrong platform.
Please, any suggestions on where I went wrong?
Thanks,
JP
September 11th, 2009 at 14:27
The solution for
./installFMS: line 172: ./fmsini: No such file or directory
ERROR: You are running the Adobe Flash Media Server installer on the wrong platform.
is
sudo apt-get install ia32-libs
If apache doesn’t work, you need to create a compatibility symlink for the expat library. The command differs for 32 bit and 64 bit. See in the post.
I updated the post with this information.
June 4th, 2010 at 3:18
Please help. I cannot install any application. I create the application folder but inside the admin console it does not show up. I can only see vod and live. I can’t connect to my application from client. I get error #2044 NetConnection.Connect.Rejected. If I try to connect to live or vod, just for testing purposes, it works.
It must be something silly but I cannot figure it out.
Any help?