That’s why you can’t sudo, then. You’d need to edit the end of that line to be /bin/bash instead of /bin/false. -- Josh Sholes
From: user 01 <user...@gmail.com<mailto:user...@gmail.com>> Reply-To: "user@cassandra.apache.org<mailto:user@cassandra.apache.org>" <user@cassandra.apache.org<mailto:user@cassandra.apache.org>> Date: Monday, March 10, 2014 at 1:55 PM To: "user@cassandra.apache.org<mailto:user@cassandra.apache.org>" <user@cassandra.apache.org<mailto:user@cassandra.apache.org>> Subject: Re: Cassandra DSC 2.0.5 not starting - "* could not access pidfile for Cassandra" @Sholes, Joshua: It was installed using Datastax DSC20 package for cassandra 2.0.5. Checked out /etc/passwd . An entry for cassandra user does seem to exist. Looks like this: cassandra:x:107:113:Cassandra database,,,:/var/lib/cassandra:/bin/false On Mon, Mar 10, 2014 at 11:21 PM, user 01 <user...@gmail.com<mailto:user...@gmail.com>> wrote: @Donald: This did not worked out.. Also as I already have shown above (I think) folder permissions seem to be correct for both cassandra /var/lib/cassandra & /var/log/cassandra folders On Mon, Mar 10, 2014 at 11:06 PM, Donald Smith <donald.sm...@audiencescience.com<mailto:donald.sm...@audiencescience.com>> wrote: You may need to do “chown –R cassandra /var/lib/cassandra /var/log/cassandra” . Don From: user 01 [mailto:user...@gmail.com<mailto:user...@gmail.com>] Sent: Monday, March 10, 2014 10:23 AM To: user@cassandra.apache.org<mailto:user@cassandra.apache.org> Subject: Re: Cassandra DSC 2.0.5 not starting - "* could not access pidfile for Cassandra" $ sudo su - cassandra I don't know why but this isn't actually working. It does not switch me to cassandra user[btw .. should this actually switch me to cassandra user?? ]. This user switching on my servers does not work for users like tomcat7 user, cassandra user but works for users that were manually created by user. Actually I tested this on two of my test servers but same results on both.