incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Edward Capriolo <edlinuxg...@gmail.com>
Subject Re: C* 1.2.2 , startup error
Date Mon, 11 Mar 2013 16:00:56 GMT
Caused by: java.io.FileNotFoundException: /var/lib/cassandra/commitlog/
CommitLog-2-1363017061553.log (Permission denied)

^ It seems like your running cassandra as a user thatdoes not have access
to this directory. Possibly you can something as "root" and now the files
are root owned at one point in time. Now you are trying to run as
"cassandra" and it is not working.


On Mon, Mar 11, 2013 at 11:57 AM, Marco Matarazzo <
marco.matarazzo@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(CommitLogAllocator.java:196)
>         at
> org.apache.cassandra.db.commitlog.CommitLogAllocator$1.runMayThrow(CommitLogAllocator.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.matarazzo@hexkeep.com
>
> "You can learn more about a man
>   in one hour of play
>   than in one year of conversation.” - Plato
>
>
>
>
>

Mime
View raw message