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

cassandra does not start with new systemd version

Agile BoardAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      After update systemd with  fixed vulnerability https://access.redhat.com/security/cve/cve-2018-16888, the cassandra service does not start correctly.

      Environment: RHEL 7, systemd-219-67.el7_7.1, cassandra-3.11.4-1 (https://www.apache.org/dist/cassandra/redhat/311x/cassandra-3.11.4-1.noarch.rpm)

      ---------------------------------------------------------------

      systemctl status cassandra
      ● cassandra.service - LSB: distributed storage system for structured data
      Loaded: loaded (/etc/rc.d/init.d/cassandra; bad; vendor preset: disabled)
      Active: failed (Result: resources) since Fri 2019-08-09 17:20:26 MSK; 1s ago
      Docs: man:systemd-sysv-generator(8)
      Process: 2414 ExecStop=/etc/rc.d/init.d/cassandra stop (code=exited, status=0/SUCCESS)
      Process: 2463 ExecStart=/etc/rc.d/init.d/cassandra start (code=exited, status=0/SUCCESS)
      Main PID: 1884 (code=exited, status=143)

      Aug 09 17:20:23 desktop43.example.com systemd[1]: Unit cassandra.service entered failed state.
      Aug 09 17:20:23 desktop43.example.com systemd[1]: cassandra.service failed.
      Aug 09 17:20:23 desktop43.example.com systemd[1]: Starting LSB: distributed storage system for structured data...
      Aug 09 17:20:23 desktop43.example.com su[2473]: (to cassandra) root on none
      Aug 09 17:20:26 desktop43.example.com cassandra[2463]: Starting Cassandra: OK
      Aug 09 17:20:26 desktop43.example.com systemd[1]: New main PID 2545 does not belong to service, and PID file is not owned by root. Refusing.
      Aug 09 17:20:26 desktop43.example.com systemd[1]: New main PID 2545 does not belong to service, and PID file is not owned by root. Refusing.
      Aug 09 17:20:26 desktop43.example.com systemd[1]: Failed to start LSB: distributed storage system for structured data.
      Aug 09 17:20:26 desktop43.example.com systemd[1]: Unit cassandra.service entered failed state.
      Aug 09 17:20:26 desktop43.example.com systemd[1]: cassandra.service failed.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            mck Michael Semb Wever Assign to me
            Aleksandr Yatskin Aleksandr Yatskin
            Mike Kelly
            Michael Semb Wever
            Votes:
            10 Vote for this issue
            Watchers:
            17 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment