Always make sure root does not have "java" in his path so you don't make
that mistake.  At least that is how we handle it so root never runs
cassandra as we end up with java not found.

Later,
Dean

On 3/11/13 9:57 AM, "Marco Matarazzo" <marco.matara...@hexkeep.com> wrote:

>I'm seeing this error on cassandra 1.2.2 on startup:
>
>ERROR [COMMIT-LOG-ALLOCATOR] 2013-03-11 16:51:22,076 CassandraDaemon.java
>(line 132) Exception in thread Thread[COMMIT-LOG-ALLOCATOR,5,main]
>FSWriteError in /var/lib/cassandra/commitlog/CommitLog-2-1363017061553.log
>       at 
>org.apache.cassandra.db.commitlog.CommitLogSegment.<init>(CommitLogSegment
>.java:132)
>       at 
>org.apache.cassandra.db.commitlog.CommitLogAllocator$3.run(CommitLogAlloca
>tor.java:196)
>       at 
>org.apache.cassandra.db.commitlog.CommitLogAllocator$1.runMayThrow(CommitL
>ogAllocator.java:94)
>       at 
>org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:28)
>       at java.lang.Thread.run(Thread.java:679)
>Caused by: java.io.FileNotFoundException:
>/var/lib/cassandra/commitlog/CommitLog-2-1363017061553.log (Permission
>denied)
>       at java.io.RandomAccessFile.open(Native Method)
>       at java.io.RandomAccessFile.<init>(RandomAccessFile.java:233)
>       at 
>org.apache.cassandra.db.commitlog.CommitLogSegment.<init>(CommitLogSegment
>.java:116)
>       ... 4 more
>
>Clues about what can cause it ?
>
>--
>Marco Matarazzo
>== Hex Keep ==
>
>W: http://www.hexkeep.com
>M: +39 347 8798528
>E: marco.matara...@hexkeep.com
>
>"You can learn more about a man
>  in one hour of play
>  than in one year of conversation.² - Plato
>
>
>
>

Reply via email to