Meteor

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 ch("~name~", ~lastMsgID~);\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 p(~id~,"~channel~","~text~");\r\n

CnfFile PingInterval 3

Default Persist 0

Default PingMessage p(-1,"");\r\n

Default SubscriberIP

Default SubscriberPort 4670

Default SubscriberShutdownMsg eof();\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 eta http-equiv="Content-Type" content="text/html; charset=utf-8">\r\n equiv="Cache-Control" content="no-store">\r\n ntent="no-cache">\r\n\r\n -equiv="Expires" content="Thu, 1 Jan 1970 00:00:00 GMT">\r\n

mainparts.length-1];\r\nparent.Meteor.register(this);\r\n\r\n\r\

n\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
avascript">

3 Replies

Could you provide the output of netstat -Wplant?

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:~#

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

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct