Thanks Aaron! Appreciate it.

.... Sushanta


On Wed, Feb 9, 2022 at 11:13 AM Aaron Ploetz <aaronplo...@gmail.com> 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/cassandra.pid
>
> Start Cassandra with that, and then the PID file will be there.  Assuming
> of course, that the user starting Cassandra has access to
> /var/run/casandra/.
>
> Aaron
>
>
> On Wed, Feb 9, 2022 at 9:53 AM Bowen Song <bo...@bso.ng> wrote:
>
>> 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
>> <https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_apache_cassandra_blob_cb1c8f9d34edfa639096d2d122dfd0ee6d23b479_debian_init-23L83&d=DwMFaQ&c=udBTRvFvXC5Dhqg7UHpJlPps3mZ3LRxpb6__0PomBTQ&r=JaNakyvP8b5eGvWhmxll6L4SNrrqHGq3Ghe3-Mb4Nezhm-3SiJqFhK3ICb6tsog4&m=Cumb-omCSWDH8xr3ojkkGHKYMfrnF4CVVpwI2S4_RP-M0ZK-hxYM0Nj3UzAEByHY&s=NpZtlTSFesYBpaKSb44q7Elhw9MoPEpnNH5oPqjfOgA&e=>
>>
>>
>> On 09/02/2022 15:17, Saha, Sushanta K wrote:
>>
>> 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 $CASSANDRA_HOME/bin/cassandra.
>>
>> Appreciate any pointer for this auto stop and start of Cassandra.
>>
>> Thanks & Regards
>> .... Sushanta
>>
>> --
>>
>> *Sushanta Saha|*MTS IV-Cslt-Sys Engrg|WebIaaS_DB Group|HQ -
>> * VerizonWireless O 770.797.1260  C 770.714.6555 Iaas Support Line
>> 949-286-8810*
>>
>>

-- 

*Sushanta Saha|*MTS IV-Cslt-Sys Engrg|WebIaaS_DB Group|HQ -
* VerizonWireless O 770.797.1260  C 770.714.6555 Iaas Support Line
949-286-8810*

Reply via email to