Skip to main content
Participant
July 21, 2011
Question

play video (http) works, stream video (rtmp) does not; edge server not starting

  • July 21, 2011
  • 1 reply
  • 1051 views

However, I think the problem is the edge server not starting.

I looked in the logs directory and found the core log, the master log.

I also found /var/log/messages.

Shouldn't there be an edge log?

I did this from the readme:

sudo ./fmsmgr server fms start

udo ./fmsmgr adminserver start

    This topic has been closed for replies.

    1 reply

    anelson1Author
    Participant
    July 21, 2011

    rats, hit the wrong button

    here is the rest of the report

    I did this

    sudo ./fmsmgr server fms start

    sudo ./fmsmgr adminserver start

    sudo ./server start

    The master.log: 

    #Date: 2011-07-21

    #Fields: date   time    x-pid   x-status        x-ctx   x-comment

    2011-07-21      16:34:35        26286   (i)2581173      FMS detected IPv6 protocol stack!       -

    2011-07-21      16:34:35        26286   (i)2581173      FMS config <NetworkingIPv6 enable=false>        -

    2011-07-21      16:34:35        26286   (i)2581173      FMS running in IPv4 protocol stack mode!        -

    2011-07-21      16:34:35        26286   (i)2581173      Host: bastet.cam.corp.google.com IPv4: 172.31.194.67    -

    2011-07-21      16:34:35        26286   (i)2571011      Server starting...      -

    2011-07-21      16:34:35        26286   (i)2581224      Edge (26306) started, arguments : -edgeports ":1935,80" -coreports "localhost:19350" -conf "/opt/adobe/fms/conf/Server.xml" -adaptor "_defaultRoot_" -name "_defaultRoot__edge1".      -

    2011-07-21      16:34:35        26286   (i)2571111      Server started (/opt/adobe/fms/conf/Server.xml).        -

    2011-07-21      16:34:40        26286   (i)2581226      Edge (26306) is no longer active.       -

    #Date: 2011-07-21

    #Fields: date   time    x-pid   x-status        x-ctx   x-comment

    2011-07-21      16:36:16        26713   (i)2581173      FMS detected IPv6 protocol stack!       -

    2011-07-21      16:36:16        26713   (i)2581173      FMS config <NetworkingIPv6 enable=false>        -

    2011-07-21      16:36:16        26713   (i)2581173      FMS running in IPv4 protocol stack mode!        -

    2011-07-21      16:36:16        26713   (i)2581173      Host: bastet.cam.corp.google.com IPv4: 172.31.194.67    -

    2011-07-21      16:36:16        26713   (i)2571011      Server starting...      -

    2011-07-21      16:36:16        26713   (e)2571122      Server aborted. -

    The /var/log/messages output shows "Server starting ..." messages.
    When I do the ps:
    ps auxww | grep adobe
    nobody   19178  0.0  0.0 203444 11124 pts/2    Sl   16:03   0:00 /opt/adobe/fms/fmscore -adaptor _defaultRoot_ -vhost _defaultVHost_ -app registry -inst registry -tag -console -conf /opt/adobe/fms/conf/Server.xml -name _defaultRoot_:_defaultVHost_:registry:registry:
    I expected to see the fmsedge binary.
    lsof doesn't show anybody listening on 1935 as I expected for an rtmp server.

    Nikhil_Kalyan
    Participating Frequently
    July 22, 2011

    Hi,

    There will be an edge log in the logs folder, but only after the edge process has started. From the master logs you shared above, it is clear that the server is being aborted before the edge process is started, or the edge process start itself is failing. Are you sure that the ports are free on the machine to be used by FMS ? For testing purposes disable all firewalls/SELinux and other security settings to make sure the services are free to start.

    Which FMS version is being used here ?

    Thank you for your cooperation.

    anelson1Author
    Participant
    July 22, 2011

    The version is FMS_3_5_3_r824.

    I think you're right that the edge server is not starting.

    I wish I could determine what the command is so that I can see why it won't start.

    Can you tell me what the command is?

    I couldn't find it using strace or looking through the server script.

    I can listen on 1935 and 8000 with other programs so I don't think that is the problem.

    Yes, I stopped those other programs before attempting to start up FMS.

    I verified that they were not listening any more using lsof.

    Here is the master log snippet

    #Version: 1.0

    #Start-Date: 2011-07-22 10:56:23

    #Software: Adobe Flash Media Server 3.5.3 r824

    #Date: 2011-07-22

    #Fields: date   time    x-pid   x-status        x-ctx   x-comment

    2011-07-22      10:56:18        27896   (i)2581173      FMS detected IPv6 protocol stack!       -

    2011-07-22      10:56:18        27896   (i)2581173      FMS config <NetworkingIPv6 enable=false>        -

    2011-07-22      10:56:18        27896   (i)2581173      FMS running in IPv4 protocol stack mode!        -

    2011-07-22      10:56:18        27896   (i)2581173      Host: bastet.cam.corp.google.com IPv4: 172.31.194.67    -

    2011-07-22      10:56:18        27896   (i)2571011      Server starting...      -

    2011-07-22      10:56:18        27896   (i)2581224      Edge (27916) started, arguments : -edgeports ":1935,8000" -coreports "localhost:19350" -conf "/opt/adobe/fms/conf/Serve

    r.xml" -adaptor "_defaultRoot_" -name "_defaultRoot__edge1".    -

    2011-07-22      10:56:18        27896   (i)2581221      Core (27919) started, arguments : -adaptor "_defaultRoot_" -vhost "_defaultVHost_" -app "registry" -inst "registry" -ta

    g  -console  -conf "/opt/adobe/fms/conf/Server.xml" -name "_defaultRoot_:_defaultVHost_:registry:registry:".    -

    2011-07-22      10:56:18        27896   (i)2571111      Server started (/opt/adobe/fms/conf/Server.xml).        -

    2011-07-22      10:56:23        27896   (i)2581226      Edge (27916) is no longer active.