Groups | Blog | Home
all groups > macromedia flash flashcom > october 2006 >

macromedia flash flashcom : connecting to the fms2 console


cisco_s
10/31/2006 12:00:00 AM
I'm a bit confused on the fms2 console.

I installed fms2 on my remote server (linux RH3 with PLESK)

During the install of fms2, it asked if I wanted to start it. I said "y". But,
apparently it did not start it. So, after looking around in the documentation,
I find the info that helps me to start it. I manually type in ./fmsmgr server
fms start.

So now its apparently started.

On my home machine, I downloaded the fms2_console.htm and its swf.

It comes up, and asks for "Server Address". Ok ... what do I put in there? My
server has 5 ip addresses, and about 10 different websites. Do I pick any of my
ip addresses? Or any of my domain names? Do I put in www.mysite.com?

I've tried many different things, it won't connect. In the installation, it
said the "admin" port will be 1111. Is this the port this fms2_console connects
through? Is what I put in for "Server Address" need the :1111 appended to it?

Anyways - I'm not really sure how installing fms2 will allow me to connect to
something on the server without making a change to httpd.conf or apache
somehow. How does that work?? Is there something else I'm supposed to do?
MIBtwo
10/31/2006 12:00:00 AM
Hello cisco_s,

you did a remote install, and apperantly you used a connection by name or
ip(telnet,ssh, whatever.....) to do that. First attempt in my opinion would be
to connect the admin console to that server.
In the "Name"-Field put a Name for the connection....maybe "remote FMS" that
is easy to remember and describes the Connection.
In the "Server"-Field put the Full-Qualified Servername of your
server(servername.mysite.com) or the physical IP-Adress (not anyone of your
virtual Webservers).
The other fields are populated with the adminuser and passwort you defined at
the setup.
With this you should be able to connect in usual cases.
If not, you can try to find out what is going on.
The first question of all is : do the fms processes run ?
A "ps -ef | grep -i fms" on the server should show the fms related processes.
You also should also check the error and systemlog for entries pointing to
failures while starting fms.
If you find anything going wrong, hold on, check your installation and fix it
before you continue and try to connect as described above.

I am going ahead in assumption the server processes are running and normal
server processing seems to be given.

The Admin server listens on port 1111 per default. To verify if port 1111 is
listening for incoming connections, you can do a "netstat -an" on your server
(the list can be very long !!) There should appear a line containing something
like "localhost:1111 WAITING" ........
If, then your admin server runs and you can try to telnet it on your server on
port 1111 (if telnet is allowed from remote systems). You can try it out by
typing "telnet server.mydomain.com" to see if telnet is allowed in a first
instance. If you get a login dialogue telnet is allowed and you can do the next
step Now type "telnet server.mydomain.com 1111" followed by Enter/Return-Key.
Now wait what happens. If you get nothing back after 5 seconds(nothing really
means nothing, including Errors like Connection Refused....), hit CTRL-C and
you hopefullyl get an output of several crappy lines. This means your server
answered on port 1111 and things look good. If nothing comes back, your
admin-server is not running or a firewall is blocking the communication. Port
1111 and 1935 should be open. To circumvent the firewall you can now try to
perform the telnet on the server itself ( I assume you have a console
access)..Then you should type (on the server) telnet localhost 1111, wait 5
seconds and hit CTRL-C. The crappy output should appear as described above,
otherwise there is no admin server running.
If this seems to be ok, you should be able to connect, but the connection is
blocked by the firewall.

I hope this helps you for first instance to find out what is going on. Please
post the results here in the forum. This would make it easier to help.

Additional info:
FCS/FMS is no webserver, the admin-console connects through port 1111 to the
(running) FMSAdmin that is located in your FMS installation dir on the server.
To use the Admin console NO webserver is in need.

Greets MIBtwo
MIBtwo
10/31/2006 2:19:36 PM
Sorry, did a typo :

"localhost:1111 WAITING" should be "localhost:1111 LISTEN" some examples can
be found in this thread :


http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=15&catid=57
8&threadid=1209494

Sorry for the inconvenience....

Cheers MIBtwo
MIBtwo
11/1/2006 12:00:00 AM
Question : Is what I put in for "Server Address" need the :1111 appended to it?

No, if you specified the default port 1111 while the installation you dont
have to add it in the Server Adress field.

Greets MIBtwo
cisco_s
11/1/2006 6:20:10 PM
Ok, after bumbling around a bit, I found out my server was blocking port 1111.

I found the command to open it up in RedHat:

iptables -I INPUT -p tcp -m tcp --dport 1111 -j ACCEPT

After doing that, I checked the admin console, and it immediately connected.

WHOOSH!
AddThis Social Bookmark Button