incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shyamal Prasad <shya...@member.fsf.org>
Subject Re: unable to start as a service on Ubuntu server
Date Wed, 28 Sep 2011 01:36:56 GMT

>>>>> "Ramesh" =3D=3D Ramesh S <investtrco@gmail.com> writes:

    Ramesh>     Hello all, We installed Cassandra on our development
    Ramesh> server , which is a fresh Ubuntu server running only
    Ramesh> Cassandra.  We followed all the instructions on this
    Ramesh> link=C2=A0and when we want to start the server as a service by
    Ramesh> issuing either of the command.

    Ramesh>     service cassandra start
    Ramesh>     /etc/init.d/cassandra start

    Ramesh>     it waits for a few seconds, then returns the prompt.
    Ramesh> But the service never starts.  When we try to start with
    Ramesh> cassandra -f , it works fine.

If you installed from the Debian package you probably have a known
permission problem, and you should see it recorded in
/var/log/cassandra/output.log when starting from the init script. See
https://issues.apache.org/jira/browse/CASSANDRA-3198

The fix is to:
  chown -R cassandra: /var/lib/cassandra
  chown -R cassandra: /var/log/cassandra

Cheers!
Shyamal


Mime
View raw message