Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: Meteor
PostPosted: Sun May 26, 2013 1:28 am 
Offline
Junior Member

Joined: Sun Apr 11, 2010 7:06 am
Posts: 22
Hi

This is turnin g out to be a struggle. Am trying to get Meteor server installed from their link: http://meteorserver.org/installation/

I reached Step No 3. So I run the command: ./meteor -d

The server is now running show a PID of 8605.

When I go to next step and run the putty and use IP and port 4670 and use "raw", I get nothing on the screen. The screen times out and closes.

This is the Meteor running screen:

lollipop:/usr/local/meteor# ./meteord -d
-------------------------------------------------------------------------------
Meteor server v1.06 (release date: 2008-03-02)
Licensed under the terms of the GNU General Public Licence (2.0)
-------------------------------------------------------------------------------

Defaults:
Default ChannelInfoTemplate <InvalidTag>ch("~name~", ~lastMsgID~);</script>\r\n
Default ConfigFileLocation /etc/meteord.conf
Default ControllerIP
Default ControllerPort 4671
Default ControllerShutdownMsg
CmdLine Debug 1
Default DirectoryIndex index.html
Default HeaderTemplate HTTP/1.1 ~status~\r\nServer: ~server~\r\nContent-Type: t
ext/html; charset=utf-8\r\nPragma: no-cache\r\nCache-Control: no-cache, no-store
, must-revalidate\r\nExpires: Thu, 1 Jan 1970 00:00:00 GMT\r\n\r\n
Default LogTimeFormat human
Default MaxMessageAge 7200
Default MaxMessages 0
Default MaxMessagesPerChannel 250
CnfFile MaxTime 240
Default MessageTemplate <InvalidTag>p(~id~,"~channel~","~text~");</script>\r\n
CnfFile PingInterval 3
Default Persist 0
Default PingMessage <InvalidTag>p(-1,"");</script>\r\n
Default SubscriberIP
Default SubscriberPort 4670
Default SubscriberShutdownMsg <InvalidTag>eof();</script>\r\n
Default SubscriberDocumentRoot /usr/local/meteor/public_html
Default SubscriberDynamicPageAddress /push
CnfFile SyslogFacility none
Default UDPIP
Default UDPPort 0

iframe:
CnfFile HeaderTemplate HTTP/1.1 ~status~\r\nServer: ~server~\r\nContent-Type: t
ext/html; charset=utf-8\r\nPragma: no-cache\r\nCache-Control: no-cache, no-store
, must-revalidate\r\nExpires: Thu, 1 Jan 1970 00:00:00 GMT\r\n\r\n<html><head><m
eta http-equiv="Content-Type" content="text/html; charset=utf-8">\r\n<InvalidTag http-
equiv="Cache-Control" content="no-store">\r\n<InvalidTag http-equiv="Cache-Control" co
ntent="no-cache">\r\n<InvalidTag http-equiv="Pragma" content="no-cache">\r\n<InvalidTag http
-equiv="Expires" content="Thu, 1 Jan 1970 00:00:00 GMT">\r\n<InvalidTag type="text/j
avascript">\r\nwindow.onError = null;\r\nvar domainparts = document.domain.split
(".");\r\ndocument.domain = domainparts[domainparts.length-2]+"."+domainparts[do
mainparts.length-1];\r\nparent.Meteor.register(this);\r\n</script>\r\n</head>\r\
n<body onload="try { parent.Meteor.reset(this) } catch (e) {}">\r\n~channelinfo~
\r\n
CnfFile Persist 1

xhrinteractive:
CnfFile HeaderTemplate HTTP/1.1 ~status~\r\nServer: ~server~\r\nContent-Type: t
ext/html; charset=utf-8\r\nPragma: no-cache\r\nCache-Control: no-cache, no-store
, must-revalidate\r\nExpires: Thu, 1 Jan 1970 00:00:00 GMT\r\n\r\n..............
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
...................................\r\n~channelinfo~\r\n
CnfFile Persist 1

smartpoll:
CnfFile HeaderTemplate HTTP/1.1 ~status~\r\nServer: ~server~\r\nContent-Type: t
ext/html; charset=utf-8\r\nPragma: no-cache\r\nCache-Control: no-cache, no-store
, must-revalidate\r\nExpires: Thu, 1 Jan 1970 00:00:00 GMT\r\n\r\n~channelinfo~

simplepoll:
CnfFile HeaderTemplate HTTP/1.1 ~status~\r\nServer: ~server~\r\nContent-Type: t
ext/html; charset=utf-8\r\nPragma: no-cache\r\nCache-Control: no-cache, no-store
, must-revalidate\r\nExpires: Thu, 1 Jan 1970 00:00:00 GMT\r\n\r\n~channelinfo~

flashloadvars:
CnfFile ChannelInfoTemplate CH/~name~/~lastMsgID~\n
CnfFile HeaderTemplate HTTP/1.1 ~status~\r\nServer: ~server~\r\nContent-Type: t
ext/html; charset=utf-8\r\nPragma: no-cache\r\nCache-Control: no-cache, no-store
, must-revalidate\r\nExpires: Thu, 1 Jan 1970 00:00:00 GMT\r\n\r\n~channelinfo~
CnfFile MaxMessages 1
CnfFile MessageTemplate ~id~/~channel~/~text~\n
CnfFile Persist 1
CnfFile PingMessage
CnfFile SubscriberIP
CnfFile SubscriberPort 4670
CnfFile SubscriberShutdownMsg x\n

flash:
CnfFile ChannelInfoTemplate CH/~name~/~lastMsgID~\0
CnfFile HeaderTemplate ~channelinfo~
CnfFile MessageTemplate ~id~/~channel~/~text~\0
CnfFile Persist 1
CnfFile PingMessage .\0
CnfFile SubscriberShutdownMsg x\0

longpoll:
CnfFile HeaderTemplate HTTP/1.1 ~status~\r\nServer: ~server~\r\nContent-Type: t
ext/html; charset=utf-8\r\nPragma: no-cache\r\nCache-Control: no-cache, no-store
, must-revalidate\r\nExpires: Thu, 1 Jan 1970 00:00:00 GMT\r\n\r\n~channelinfo~
CnfFile MaxMessages 1
CnfFile Persist 1
-------------------------------------------------------------------------------
Sun May 26 05:06:18 2013 info meteord launched!
Sun May 26 05:06:18 2013 info PID 8605

Any clue to why the meteor is not returning anything when I connect via putty ?

I already have apache+ nginx running. Even cloed them to see if meteor would run


Great if anyone could please help


Top
   
 Post subject: Re: Meteor
PostPosted: Sun May 26, 2013 1:36 am 
Offline
Junior Member
User avatar

Joined: Fri May 04, 2012 8:57 pm
Posts: 49
Could you provide the output of `netstat -Wplant`?

_________________
me | voltaireMC


Top
   
 Post subject: Re: Meteor
PostPosted: Sun May 26, 2013 1:53 am 
Offline
Junior Member

Joined: Sun Apr 11, 2010 7:06 am
Posts: 22
Here you go.

clearly the meteor is running on 4673 and I tried connectint via putty to 173.230.145.70 with port 4673 and wont return anything.

8757/nginx: worker
lollipop:~# netstat -Wplant | grep LISTEN
tcp 0 0 173.230.145.70:4673 0.0.0.0:* LISTEN
8920/meteord daemon
tcp 0 0 127.0.0.1:4674 0.0.0.0:* LISTEN
8920/meteord daemon
tcp 0 0 127.0.0.1:9000 0.0.0.0:* LISTEN
1955/php5-cgi
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN
1620/mysqld
tcp 0 0 127.0.0.1:11211 0.0.0.0:* LISTEN
1941/memcached
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN
8756/nginx
tcp 0 0 127.0.0.1:8080 0.0.0.0:* LISTEN
8634/apache2
tcp 0 0 0.0.0.0:55190 0.0.0.0:* LISTEN
8807/nc
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
1542/sshd
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN
1932/exim4
tcp6 0 0 :::22 :::* LISTEN
1542/sshd
lollipop:~#


Top
   
 Post subject: Re: Meteor
PostPosted: Sun May 26, 2013 6:24 am 
Offline
Junior Member

Joined: Sun Apr 11, 2010 7:06 am
Posts: 22
It started working.

Nothing special needs to be done here. The server firewall was blocking the outside connections for port 4673 and 4674.

We run nginx as our front server so all we needed to was add a few lines of code to nginx.conf to make it act as a reverse proxy and direct traffic to meteor..

All sorted and highgly recommended is meteor as a server behind nginx if you need liveupdates without rashing your server


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group