Re: [Gluster-users] [REPOST] Connection failed

2012-05-23 Thread Kaushal M
(Missed cc-ing to the list. Re-adding again)

Hi again.

AFAICT, glusterd is running properly, it must be a problem with cli then.
glusterd listens for cli connections on port 24007. cli tries to connect to
this port before performing any operation. When the connection cannot
happen, cli reports the message you get.
Since, glusterd is running in your case, something must be preventing cli
from connecting to the port, firewall probably.

Regards,
Kaushal


On Tue, May 22, 2012 at 7:19 PM, Emmanuel Seyman esey...@edd.fr wrote:

 * Kaushal M [22/05/2012 15:30] :
 
  Hi Emmanuel.

 Hi, Kaushal.

  The log you have provided, is it for titane or silicium? I have a feeling
  it is for the latter.

 Yes, it is for titane.

  If it is titane's log, the thing I can make out is that glusterd was
 killed
  by a SIGINT. This is probably because --debug doesn't daemonize the
  glusterd process and you used ctrl-c top stop it.

 Correct. The last two lines were written after the 'gluster peer status'
 command was run so they're not really relevent to the output (I probably
 should have removed them from the log)

  Could you test again with option '--log-level=DEBUG' instead and provide
  the logs?

 Done.
 I've replaced the original log files.

 http://people.parinux.org/~seyman/gluster/glusterd.log
 http://people.parinux.org/~seyman/gluster/glusterd.log.gz

 Thanks for the help.

 Emmanuel

___
Gluster-users mailing list
Gluster-users@gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users


Re: [Gluster-users] [REPOST] Connection failed

2012-05-23 Thread Emmanuel Seyman
* Kaushal M [23/05/2012 11:55] :

 Since, glusterd is running in your case, something must be preventing cli
 from connecting to the port, firewall probably.

There's no firewall on this machine but that gave me the idea to connect
on port 24007 with telnet. This got me:

root@titane:~# telnet localhost 24007
Trying 27.0.0.1...

and I realized that was a typo in /etc/hosts. I added the missing '1' and
the command now works.

Kaushal, thanks for pointing me in the right direction.

Emmanuel
___
Gluster-users mailing list
Gluster-users@gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users