Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8E5786C69 for ; Sat, 23 Jul 2011 15:34:31 +0000 (UTC) Received: (qmail 5231 invoked by uid 500); 23 Jul 2011 15:34:29 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 5053 invoked by uid 500); 23 Jul 2011 15:34:28 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 5045 invoked by uid 99); 23 Jul 2011 15:34:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 23 Jul 2011 15:34:28 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,MIME_QP_LONG_LINE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jakers@gmail.com designates 209.85.212.44 as permitted sender) Received: from [209.85.212.44] (HELO mail-vw0-f44.google.com) (209.85.212.44) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 23 Jul 2011 15:34:20 +0000 Received: by vws12 with SMTP id 12so2759303vws.31 for ; Sat, 23 Jul 2011 08:33:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=references:in-reply-to:mime-version:content-transfer-encoding :content-type:message-id:cc:x-mailer:from:subject:date:to; bh=JSmviwi1zpiXGg4FUEI6RilAcGMIdeSwP8WB90lqL6o=; b=FyPeY725WG4krTfJduWOUUnt0O0OU4wXoqqa3yTynl3gYBAK2GAmDNEhJ0ZObKe4an q+lZ8pxj9BwJVwVa+NdlMW3QwVe9eIq9ijzvxlPQPh2HdyigVXQckiQkJ/SkMVENb2d2 +djV0HjIByn4tGw1WevmOgr8i/aVYozuNiMhM= Received: by 10.52.26.204 with SMTP id n12mr1546870vdg.143.1311435239030; Sat, 23 Jul 2011 08:33:59 -0700 (PDT) Received: from [192.168.1.104] (75-44-151-7.lightspeed.smfrct.sbcglobal.net [75.44.151.7]) by mx.google.com with ESMTPS id t1sm1810962vdv.2.2011.07.23.08.33.57 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 23 Jul 2011 08:33:58 -0700 (PDT) References: In-Reply-To: Mime-Version: 1.0 (iPhone Mail 8J2) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Message-Id: <0CE8CA46-11A5-4E78-A78D-B471B95EFC79@gmail.com> Cc: "user@cassandra.apache.org" X-Mailer: iPhone Mail (8J2) From: Jake Luciani Subject: Re: Little problems with Solandra Date: Sat, 23 Jul 2011 11:33:36 -0400 To: "user@cassandra.apache.org" X-Virus-Checked: Checked by ClamAV on apache.org Sounds like you forgot to start solandra after you built it.=20 cd solandra-app; ./bin/solandra You can verify it's running with jps look for SolandraServer.=20 On Jul 23, 2011, at 10:52 AM, Jean-Nicolas Boulay Desjardins wrote: > Hi, >=20 > I have a server on RackSpace and it seems that when I use "ant" it > makes Apache2 crash. I don't if this is normal? >=20 > Maybe it's because I have 256MB for RAM. Could it be? >=20 > Should I get more RAM? >=20 > Also, when I use the command "ps -A" I don't seem to be able to > identify which is Solandra... How can I know if Solandra is running... > Because I have this gut feeling that it's not running, maybe because > of the lack of RAM... >=20 > That's no all, when I do: "# sh ./2-import-data.sh" I get this nasty > little error: >=20 > curl: (7) couldn't connect to host > Posted schema.xml to http://localhost:8983/solandra/schema/reuters > Loading data to solandra, note: this importer uses a slow xml parser > Jul 23, 2011 2:48:17 PM > org.apache.commons.httpclient.HttpMethodDirector executeWithRetry > INFO: I/O exception (java.net.ConnectException) caught when processing > request: Connection refused > Jul 23, 2011 2:48:17 PM > org.apache.commons.httpclient.HttpMethodDirector executeWithRetry > INFO: Retrying request > Jul 23, 2011 2:48:17 PM > org.apache.commons.httpclient.HttpMethodDirector executeWithRetry > INFO: I/O exception (java.net.ConnectException) caught when processing > request: Connection refused > Jul 23, 2011 2:48:17 PM > org.apache.commons.httpclient.HttpMethodDirector executeWithRetry > INFO: Retrying request > Jul 23, 2011 2:48:17 PM > org.apache.commons.httpclient.HttpMethodDirector executeWithRetry > INFO: I/O exception (java.net.ConnectException) caught when processing > request: Connection refused > Jul 23, 2011 2:48:17 PM > org.apache.commons.httpclient.HttpMethodDirector executeWithRetry > INFO: Retrying request > Exception in thread "main" java.lang.RuntimeException: unable to > connect to solr server: http://localhost:8983/solandra/reuters > at org.apache.solr.solrjs.sgml.reuters.ReutersService.(ReutersSer= vice.java:93) > at org.apache.solr.solrjs.sgml.reuters.ReutersService.main(ReutersServi= ce.java:63) > Caused by: org.apache.solr.client.solrj.SolrServerException: > java.net.ConnectException: Connection refused > at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(Comm= onsHttpSolrServer.java:391) > at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(Comm= onsHttpSolrServer.java:183) > at org.apache.solr.client.solrj.request.SolrPing.process(SolrPing.java:= 60) > at org.apache.solr.client.solrj.SolrServer.ping(SolrServer.java:105) > at org.apache.solr.solrjs.sgml.reuters.ReutersService.(ReutersSer= vice.java:91) > ... 1 more > Caused by: java.net.ConnectException: Connection refused > at java.net.PlainSocketImpl.socketConnect(Native Method) > at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.j= ava:327) > at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocke= tImpl.java:193) > at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.jav= a:180) > at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:384) > at java.net.Socket.connect(Socket.java:546) > at java.net.Socket.connect(Socket.java:495) > at java.net.Socket.(Socket.java:392) > at java.net.Socket.(Socket.java:266) > at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.= createSocket(DefaultProtocolSocketFactory.java:80) > at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.= createSocket(DefaultProtocolSocketFactory.java:122) > at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.jav= a:707) > at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$Htt= pConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361) > at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(Ht= tpMethodDirector.java:387) > at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpM= ethodDirector.java:171) > at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.ja= va:397) > at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.ja= va:323) > at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(Comm= onsHttpSolrServer.java:335) > ... 5 more > Data loaded, now open ./website/index.html in your favorite browser! > ---> WHY??? Nothing was loaded... >=20 > ----------------- >=20 > So yes, I think it might have something to do with the RAM... But I am > not sure because it seems I cannot even get the DATA. >=20 > Any ideas... I will try later to upgrade my server to something with > bit more RAM. >=20 > Anyways, thank you in advance for any help.