Re: [E] Re: Cassandra tarball install and systemd

2022-02-09 Thread Saha, Sushanta K
Thanks Aaron! Appreciate it. Sushanta On Wed, Feb 9, 2022 at 11:13 AM Aaron Ploetz wrote: > > I am starting Cassandra with $CASSANDRA_HOME/bin/cassandra > > When starting Cassandra, it accepts a PID file location with the -p flag: > > $CASSANDRA_HOME/bin/cassandra -p /var/run/cassandra/ca

Re: Cassandra tarball install and systemd

2022-02-09 Thread Aaron Ploetz
> I am starting Cassandra with $CASSANDRA_HOME/bin/cassandra When starting Cassandra, it accepts a PID file location with the -p flag: $CASSANDRA_HOME/bin/cassandra -p /var/run/cassandra/cassandra.pid Start Cassandra with that, and then the PID file will be there. Assuming of course, that the u

Re: Cassandra tarball install and systemd

2022-02-09 Thread Bowen Song
Isn't the /etc/init.d/cassandra script supposed to create the PID file if it doesn't exist? See: https://github.com/apache/cassandra/blob/cb1c8f9d34edfa639096d2d122dfd0ee6d23b479/debian/init#L83 On 09/02/2022 15:17, Saha, Sushanta K wrote: I picked up the script */etc/init.d/cassandra* from th

Cassandra tarball install and systemd

2022-02-09 Thread Saha, Sushanta K
I picked up the script */etc/init.d/cassandra* from the net. Not sure if tarball installation includes such a script. It should. This script is using the following line: *pid_file=/var/run/cassandra/cassandra.pid* But, there is no such *.pid* file that I can find. I am starting Cassandra with $CA