Details
Description
After updating cassandra from 3.4 to 3.9 via the datastax repo the startup script /etc/init.d/cassandra was unable to stop cassandra. After checking the startscript we found that it's tried to read pid file from /var/run/cassandra/cassandra.pid
But as this path does not exist, the cassandra process could not be stopped. As a fix we created /usr/lib/tmpfiles.d/cassandra.conf with this content
d /var/run/cassandra 0750 cassandra cassandra - -
After that the directory was created on boot and the pid file could we written in it
Attachments
Issue Links
- is related to
-
CASSANDRA-13148 Systemd support for RPM
- Open