How to configure access permissions for Cassandra on Linux Ubuntu

前端 未结 2 1729
说谎
说谎 2021-02-14 21:22

Thank-you for reading this. I am stuck at step three on this tutorial pertaining to installing Cassandra: http://wiki.apache.org/cassandra/GettingStarted#Step_3:_Start_Cassandra

2条回答
  •  盖世英雄少女心
    2021-02-14 21:55

    I found a solution! I ran sudo -u cassandra /usr/sbin/cassandra -f and then ran into problems with the commitlog directory Phact mentions in his answer. I then ran Phact's recursive chown command, sudo chown -R cassandra:cassandra /var/lib/cassandra/commitlog and the Cassandra server started up correctly just as it would if I was running the program as the root user. :D :D :D

提交回复
热议问题