You can remove the pid folder but depending your script 
/etc/init.d/cassandra, you may have to create the folder by hand:

# mkdir /var/run/cassandra && chown cassandra:cassandra /var/run/cassandra





user 01 <user...@gmail.com> a écrit sur 19/03/2014 06:27:36 :

> De : user 01 <user...@gmail.com>
> A : user@cassandra.apache.org, 
> Date : 19/03/2014 06:28
> Objet : Re: Is it safe to remove (pid file folder) /var/run/cassandra
> 
> I've verified that problem is solvable by deleting   /var/run/cassandra
> folder on my test server. Should I remove the pid folder from my new
> production server ? 
> 

> On Wed, Mar 19, 2014 at 10:54 AM, user 01 <user...@gmail.com> wrote:
> Is it safe to remove (pid file folder) /var/run/cassandra if I think
> it has got wrong permissions, will it be recreated by process as 
> before ? folder permissions seem to be incorrect immediately after I
> installed dsc20 & due to this  "sudo service cassandra start"  fails
> saying - "* could not access pidfile for Cassandra.
> 
> So  is it safe to delete pid file folder(/var/run/cassandra)  when 
> cassandra is not running ?

Reply via email to