Description

Cassandra service fails to come up and the status returns a message that says, 'could not access pidfile for Cassandra' .

Symptoms

Cassandra service is not coming up.

When checking the Cassandra status, it returns the following:

service cassandra status
* could not access pidfile for Cassandra

Solution

To fix this issue remove commit logs under /var/lib/contrail_db/commitlog/   from the problem node and start the Cassandra service.

  1. rm /var/lib/contrail_db/commitlog/*

  2. service cassandra restart