Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-13330

/var/run/cassandra directory not created on Centos7

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Won't Fix
    • None
    • Local/Config
    • None
    • Low

    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

          Activity

            People

              Unassigned Unassigned
              jahlives Tobi
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: