Skip to main content
December 16, 2011
Question

FMS 4.5 on Linux does not bind to 1935, 80

  • December 16, 2011
  • 1 reply
  • 1271 views

1. I've installed FMS on OpenSuse 11.4 64 bit, I know that according to the requirements it is not recommended distribution, but common opensuse is very modern and complete.

2. During the installation I had to make a link @LibCap.so.1 into the directory where installFMS script was present (because installer says that there is no libcap library which is not true)

3. Completed the installation without installing apache (I have apache on this machine but disabled -> free 80 port)

4. I have left default configuration (regarding user, group, ports: 80 & 1935 + 1111, added the admin user)

5. I started the server with the command ./server start

6. My htop shows:

- several processes ./fmsadmin -console -conf ./conf/Server.xml

7. I can connect to the server using the administration console on my localhost. The server is installed on host 192.168.0.160 (local network), I can connect to the server using credentials given earlier

8. I can not connect to the rtmp service or rtmpt service

I am using:

rtmp://192.168.0.160/vod/

or

rtmp://192.168.0.160/vod/sample1_500kbps.f4v

or

rtmp://192.168.0.160:1935/vod/

or

rtmp://192.168.0.160:1935/vod/sample1_500kbps.f4v

I always receive: NetConnection.Connect.Failed.

I have run the command:

netstat -tulpn

it only shows ports:

127.0.0.1:11110  ...   XXX/fmsadmin

0.0.0.0:1111     ... XXX/fmsadmin

it does not show anything related to ports 80 or 1935, 19350

additionaly I have found the following entry in the logs: (master.00.log):

-------------------------------

2011-12-1615:01:2015013(i)2581224Edge (15768) started, arguments : -edgeports ":1935" -coreports "localhost:19350" -conf "/opt/adobe/fms/conf/Server.xml" -adaptor "_defaultRoot_" -name "_defaultRoot__edge1" -edgename "edge1".-
2011-12-1615:01:2515013(i)2581226Edge (15768) is no longer active.-
2011-12-1615:01:2515013(w)2581255Edge (15768) _defaultRoot__edge1 experienced 1 failure!-
2011-12-1615:01:2515013(i)2581224Edge (15769) started, arguments : -edgeports ":1935" -coreports "localhost:19350" -conf "/opt/adobe/fms/conf/Server.xml" -adaptor "_defaultRoot_" -name "_defaultRoot__edge1" -edgename "edge1".-

-------------------------------

Thanks in advance.

This topic has been closed for replies.

1 reply

December 16, 2011

I have found the solution:

I had symlink: @libcap.so.1 in the setup directory only. Now i have created symlink in the directory where the server (fmsmaster) is running and the port now binds.

I have run the proces (from the command line):

./fmsmaster

and it shows:

/opt/adobe/fms/fmsedge: error while loading shared libraries: libcap.so.1: cannot open shared object file: No such file or directory

So please Adobe:

you SHOULD ALWAYS put failure messages into the log files. It is a shame that such mature product does not have proper error reporting. This could save hours of your clients time.