Return-Path: Delivered-To: apmail-incubator-cassandra-user-archive@minotaur.apache.org Received: (qmail 49995 invoked from network); 17 Jan 2010 01:16:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 17 Jan 2010 01:16:56 -0000 Received: (qmail 58240 invoked by uid 500); 17 Jan 2010 01:16:55 -0000 Delivered-To: apmail-incubator-cassandra-user-archive@incubator.apache.org Received: (qmail 58219 invoked by uid 500); 17 Jan 2010 01:16:55 -0000 Mailing-List: contact cassandra-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cassandra-user@incubator.apache.org Delivered-To: mailing list cassandra-user@incubator.apache.org Received: (qmail 58210 invoked by uid 99); 17 Jan 2010 01:16:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 17 Jan 2010 01:16:55 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [64.141.19.16] (HELO mx1.hostonfiber.com) (64.141.19.16) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 17 Jan 2010 01:16:46 +0000 Received: (qmail 17331 invoked from network); 17 Jan 2010 01:16:25 -0000 Received: from localhost (HELO comp3904.local) (asnook@hostonfiber.com@127.0.0.1) by 0 with SMTP; 17 Jan 2010 01:16:25 -0000 Message-ID: <4B5264E8.50704@hostonfiber.com> Date: Sat, 16 Jan 2010 18:16:24 -0700 From: Andrew User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0 MIME-Version: 1.0 To: cassandra-user@incubator.apache.org Subject: Re: Problems with FreeBSD References: <4B5113FC.5080709@hostonfiber.com> <7c5131fa1001161655oc9bd6cfi628e4a93860958a@mail.gmail.com> In-Reply-To: <7c5131fa1001161655oc9bd6cfi628e4a93860958a@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Yes, it is definitely running: ps auxww |grep cassandra cassandra 80987 0.0 0.0 7060 1596 p0 I+ 6:05PM 0:02.63 /bin/sh /home/cassandra/cassandra/server/bin/cassandra -f cassandra 81596 0.0 1.9 1277580 78104 p0 I+ 6:05PM 0:02.72 [java] and # telnet 127.0.0.1 9160 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. ^CConnection closed by foreign host. # telnet 127.0.0.1 7000 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. This is the last part of the log: INFO - Starting up server gossip DEBUG - Starting to listen on localhost/127.0.0.1 DEBUG - Binding thrift service to /127.0.0.1:9160 INFO - Cassandra starting up... DEBUG - Disseminating load info ... Is there anything I can do to better diagnose this? Andrew On 10-01-16 5:55 PM, Ryan King wrote: > On Fri, Jan 15, 2010 at 5:18 PM, Andrew wrote: > >> Hi there, >> >> I'm trying to get Cassandra server up and going on a FreeBSD 7.1 box and I'm >> experiencing some challenges. >> >> I would like to use the Ruby client, so I have followed the instructions >> from the Up and Running with Cassandra post: >> http://blog.evanweaver.com/articles/2009/07/06/up-and-running-with-cassandra/ >> >> I performed the following to install cassandra (which according to the >> CHANGES.txt installs 0.5rc1): >> >> gem install cassandra >> cassandra_helper cassandra >> > Can you verify that cassandra is running after this? > > -ryan > > >> Then in irb I ran the following: >> >> irb(main):001:0> require 'cassandra' >> => true >> >> irb(main):002:0> include Cassandra::Constants >> => Object >> >> irb(main):003:0> twitter = Cassandra.new('Twitter') >> => #> @servers=["127.0.0.1:9160"]> >> >> irb(main):004:0> user = {'screen_name' => 'buttonscat'} >> => {"screen_name"=>"buttonscat"} >> >> irb(main):005:0> twitter.insert(:Users, '5', user) >> ThriftClient::NoServersAvailable: No live servers in ["127.0.0.1:9160"] >> since 2010-01-15 18:10:04 -0700. >> from >> /usr/local/lib/ruby19/gems/1.9/gems/thrift_client-0.3.3/lib/thrift_client.rb:159:in >> `next_server' >> from >> /usr/local/lib/ruby19/gems/1.9/gems/thrift_client-0.3.3/lib/thrift_client.rb:91:in >> `connect!' >> from >> /usr/local/lib/ruby19/gems/1.9/gems/thrift_client-0.3.3/lib/thrift_client.rb:133:in >> `raw_proxy' >> from >> /usr/local/lib/ruby19/gems/1.9/gems/thrift_client-0.3.3/lib/thrift_client.rb:124:in >> `block in proxy' >> from /usr/local/lib/ruby/1.9/timeout.rb:44:in `timeout' >> from >> /usr/local/lib/ruby19/gems/1.9/gems/thrift_client-0.3.3/lib/thrift_client.rb:123:in >> `proxy' >> from (eval):1:in `get_string_list_property' >> from >> /usr/local/lib/ruby19/gems/1.9/gems/cassandra-0.7.1/lib/cassandra/cassandra.rb:79:in >> `client!' >> from >> /usr/local/lib/ruby19/gems/1.9/gems/cassandra-0.7.1/lib/cassandra/cassandra.rb:74:in >> `client' >> from >> /usr/local/lib/ruby19/gems/1.9/gems/cassandra-0.7.1/lib/cassandra/cassandra.rb:309:in >> `schema' >> from >> /usr/local/lib/ruby19/gems/1.9/gems/cassandra-0.7.1/lib/cassandra/columns.rb:31:in >> `column_family_property' >> from >> /usr/local/lib/ruby19/gems/1.9/gems/cassandra-0.7.1/lib/cassandra/columns.rb:20:in >> `column_name_class_for_key' >> from >> /usr/local/lib/ruby19/gems/1.9/gems/cassandra-0.7.1/lib/cassandra/columns.rb:12:in >> `column_name_class' >> from >> /usr/local/lib/ruby19/gems/1.9/gems/cassandra-0.7.1/lib/cassandra/cassandra.rb:278:in >> `validate_params' >> from >> /usr/local/lib/ruby19/gems/1.9/gems/cassandra-0.7.1/lib/cassandra/cassandra.rb:103:in >> `insert' >> from (irb):5 >> from /usr/local/bin/irb19:12:in `
' >> >> >> However, I am certain that the server is running and I can telnet to it: >> >> telnet localhost 9160 >> Trying 127.0.0.1... >> Connected to localhost. >> Escape character is '^]'. >> >> >> Any thoughts? >> >>