cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tobi (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-13330) /var/run/cassandra directory not created on Centos7
Date Wed, 15 Mar 2017 10:54:41 GMT
Tobi created CASSANDRA-13330:
--------------------------------

             Summary: /var/run/cassandra directory not created on Centos7
                 Key: CASSANDRA-13330
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-13330
             Project: Cassandra
          Issue Type: Bug
          Components: Configuration
         Environment: CentOS Linux release 7.3.1611 (Core) (x86_64)
datastax-ddc.noarch                 3.9.0-1                      
datastax-ddc-tools.noarch           3.9.0-1                       
java-1.8.0-openjdk.x86_64           1:1.8.0.121-0.b13.el7_3      
java-1.8.0-openjdk-headless.x86_64  1:1.8.0.121-0.b13.el7_3 

            Reporter: Tobi
            Priority: Minor
             Fix For: 3.9


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



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message