Skip to main content
Inspiring
October 10, 2011
Answered

FMS 4.5 Installation Help (libcap not found)

  • October 10, 2011
  • 2 replies
  • 23098 views

Hi,

I am trying to install FMS 4.5 on Fedora 15 x64 server. I have downloaded the fms 4.5 development server and extracted the files.

Now, when I type the command:

./installFMS

I get an error message that says:

ERROR: A required package, libcap, was not found on your Linux x86_64 RedHat.

       Please install required package and run Adobe Flash Media Server installer again.

However, when I try to install this package using the following command:

yum -y install libcap

I get a message saying that it is already installed:

Loaded plugins: fastestmirror, langpacks, presto, refresh-packagekit

Loading mirror speeds from cached hostfile

* fedora: ftp.nluug.nl

* updates: ftp.nluug.nl

Setting up Install Process

Package libcap-2.22-1.fc15.x86_64 already installed and latest version

Nothing to do

So I am not sure how to solve this... FMS cannot see this lib for some reason.

Any help is appreciated.

Thanks,

Barjawi

This topic has been closed for replies.
Correct answer Barjawi

Hi,

Thanks for the details.

the nmap log for 1111 that you mentioned above does not seem to be binding to fmsadmin, it says lmssocialserver ( i am not sure what it is), but it should be 'fmsadmin' if the admin server of FMS is bound to that port. So, you do not have the port available to be bound by the fms admin service.

There is no change that is made in FMS in terms of binding to ports. It depends on the port availability and how the different distro (of linux) take care of it.


Thank you Nikhil for your reply.

After further investigations, it seems that Fedora is not a good platform to run FMS on. That is the problem here!!

Fedora was working fine for me when I used FMS 3.5.1, but any other later versions don't work (as explained above).

Even Fedora runs FMS 4.0, but not any of its updates.

Lastly Fedora x64 doesn't run FMS 4.5 at all (as explained above).

When I switched to CentOS 5.7, everything worked like charm, from the first time, without any troubles what so ever.

I am not a Linux expert... but I thought Fedora was based on Redhat... and I thought that all these different flavours of Linux are all built on the same infrastructure (almost)... so it sounded strange to me why it wouldn't work on Fedora but would on CentOs... It even sounded stranged why FMS 3.5.1 would work on Fedora but not FMS 3.5.7.

2 replies

Participant
October 10, 2011

Wherever you untarred your FMS put a symlink libcap.so.1 linking to /lib64/libcap.so.2

after that try installing FMS again ,let us know the result too

BarjawiAuthor
Inspiring
October 10, 2011

Thanks for all the replies.

Nikhil,

Finally I understand what Flash Media Gateway is all about.. Thanks!

About the libcap's version... I am not a linux expert... but the message is clear from the output when I tried installing it (see full output above).. it says:

Package libcap-2.22-1.fc15.x86_64 already installed and latest version

Vivek,

Thats a good point...!

I have tried your suggestion and it worked (Yay!!)

however, I am facing some trouble which I am not sure if it is because of this hack or something else...

For some reason, the FMS server is not binding to port 80 and/or 1935...

I have the firewall off, and selinux set to permissive... I am binding the FMS to another IP address than the one used for httpd... so port 80 is 100% free...

not sure what the problem is...

I created the same setup that I had on a Fedora 15 x32 server using FMS 4.0... everything was and still working fine there.

I am getting error messages whenever I start or stop the FMS server... I never got any of them during installation... here they are in case anyone has a clue if they are related or not:

dmin server:fmsadmin command:start

./adminserver: command substitution: line 45: syntax error near unexpected token `elif'

./adminserver: command substitution: line 45: ` elif [ -f /etc/mandrake-release ] ; then'

sed: -e expression #1, char 6: unknown option to `s'

sed: -e expression #1, char 9: unknown option to `s'

sed: -e expression #1, char 14: unknown option to `s'

./adminserver: line 40: /etc/SUSE-release: No such file or directory

WARNING: Your Linux distribution, RedHat x86_64  is not supported by this

          installer.

Thanks

Nikhil_Kalyan
Participating Frequently
October 11, 2011

Good to know about the progress.

Turn off SELinux also for a while, to see if that helps.

You might also want and edit the adminserver.sh and server.sh files to add your distro to the list of supported platforms so that fms will not bother you anymore. Check the fms 4.0 sh files, if you have already made any changes there too.

Thank you

BarjawiAuthor
Inspiring
October 10, 2011

And can someone please tell me whats the difference bewteen:

Flash Media Server 4.5

and

Flash Media Gateway 4.5

as the documentation doesn't say the difference.

After trying to install FMS 4.5 by using ./installFMS found inside the extracted tar files, I found a file named:

FlashMediaGateway4.5_x64.sh

just right next to the tar file. Running the sh script started an installation process for Flash Media Gateway... but I am not sure.. is this the same as FMS 4.5?? should I install this one... or the FMS through ./installFMS ??!!

I wish the documentation was more clear about the difference.

Nikhil_Kalyan
Participating Frequently
October 10, 2011

Hi,

Flash Media Gateway is a sister product that's bundled with FMS. It provides SIP connectivity to flash applications.

More info @ http://labs.adobe.com/wiki/index.php/Flash_Media_Gateway

FMS does not require FMG to be installed, it is optional for supporting SIP clients. More documentation is also present in the docs folder after FMG is installed.

Thank you !

Nikhil_Kalyan
Participating Frequently
October 10, 2011

For your libcap problem, may be the version of the libcap that's installed on your distro is to be updated ? I am not sure , but did you check that already ?

Thank you !