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 62E8D9376 for ; Tue, 27 Sep 2011 22:50:12 +0000 (UTC) Received: (qmail 53205 invoked by uid 500); 27 Sep 2011 22:50:10 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 53182 invoked by uid 500); 27 Sep 2011 22:50:10 -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 53169 invoked by uid 99); 27 Sep 2011 22:50:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Sep 2011 22:50:10 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of investtrco@gmail.com designates 209.85.216.179 as permitted sender) Received: from [209.85.216.179] (HELO mail-qy0-f179.google.com) (209.85.216.179) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Sep 2011 22:50:04 +0000 Received: by qyk33 with SMTP id 33so8162950qyk.10 for ; Tue, 27 Sep 2011 15:49:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=T66aduy/8dPCQFvVb+vqBRhzA4YRN6G/Hj1e7WzY1Os=; b=tb0kv+aiGJ4EaQG+r6aTbf1rKxB8ctaW8U93h2d+DeiuCzKBxEKxFLzhQo9/+GRivf qjcSBaIA1b/Gz9U/VYugUfcBdbD+V/ZuCTJRCnKyjKYWAO1APCenzlayW6GhFxNL22db yTKUK0yTylFVxUD90OniH/xYvkOwiE3ft7JK0= MIME-Version: 1.0 Received: by 10.229.1.230 with SMTP id 38mr5217923qcg.213.1317163783889; Tue, 27 Sep 2011 15:49:43 -0700 (PDT) Received: by 10.229.71.19 with HTTP; Tue, 27 Sep 2011 15:49:43 -0700 (PDT) In-Reply-To: <4646bfa1-3fb6-4742-8262-d937d2919628@klap> References: <4646bfa1-3fb6-4742-8262-d937d2919628@klap> Date: Tue, 27 Sep 2011 17:49:43 -0500 Message-ID: Subject: Re: unable to start as a service on Ubuntu server From: Ramesh S To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=00148536e6467321e604adf41726 --00148536e6467321e604adf41726 Content-Type: text/plain; charset=ISO-8859-1 Thanks Konstantin. I checked the services, but it doesn't show up for some reason. Even trying to connect locally or remotely using a CLI client, returned Exception connecting to xx.xx.xx.xx/9160. Reason: Connection refused. But I tried sudo cassandra start and it worked like a charm. I am surprised why omitting the 'service' did the job. It is development server, but I am little concerned about the production server. regards Ramesh On Tue, Sep 27, 2011 at 5:12 PM, Konstantin Naryshkin wrote: > Yes, they start Cassandra as a daemon in the background. It is running. You > can connect to it from the CLI or any other client. You can see what it is > doing by reading the logs. cassandra -f starts Cassandra in the foreground, > that is why it does not return a prompt when the server starts. > > ----- Original Message ----- > From: "Ramesh S" > To: user@cassandra.apache.org > Sent: Tuesday, September 27, 2011 5:03:12 PM > Subject: unable to start as a service on Ubuntu server > > > > > Hello all, > > > We installed Cassandra on our development server , which is a fresh Ubuntu > server running only Cassandra. > We followed all the instructions on this link and when we want to start the > server as a service by issuing either of the command. > > > service cassandra start > /etc/init.d/cassandra start > > > it waits for a few seconds, then returns the prompt. > But the service never starts. > When we try to start with cassandra -f , it works fine. > > > What could be the issue. > Any help would be appreciated. > > > many thanks > --00148536e6467321e604adf41726 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Thanks Konstantin.

I checked the services, but it doesn&= #39;t show up for some reason. Even trying to connect locally or remotely u= sing a CLI client, returned=A0
Exception connecting to xx.xx= .xx.xx/9160. Reason: Connection refused.
But I tried sudo cassandra start and it worked like a charm.
I am surprised why omitting the 'service' did the job.
I= t is development server, but I am little concerned about the production ser= ver.

regards
Ramesh


<= /div>



--00148536e6467321e604adf41726--