java.io.FileNotFoundException: /tmp/zookeeper/version-2/snapshot.12 (Permission denied)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,

try new webdriver if you have this error with firefox while uploading files

Solutions on the web

via Ask Ubuntu by karthick
, 1 year ago
/tmp/zookeeper/version-2/snapshot.12 (Permission denied)
via Stack Overflow by Vaibhav
, 4 months ago
/var/lib/zookeeper/version-2/snapshot.40003a3c3 (Permission denied)
via Eclipse Bugzilla by bugs.eclipse.org, 1 year ago
via Google Groups by wasabi, 5 months ago
/tmp/tempDir--604704205/8_0_6.index (Too many open files)
via grokbase.com by Unknown author, 1 year ago
via Stack Overflow by Unknown author, 2 years ago
java.io.FileNotFoundException: /tmp/zookeeper/version-2/snapshot.12 (Permission denied)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.(FileOutputStream.java:221)
at java.io.FileOutputStream.(FileOutputStream.java:171)
at org.apache.zookeeper.server.persistence.FileSnap.serialize(FileSnap.java:224)
at org.apache.zookeeper.server.persistence.FileTxnSnapLog.save(FileTxnSnapLog.java:257)
at org.apache.zookeeper.server.ZooKeeperServer.takeSnapshot(ZooKeeperServer.java:259)
at org.apache.zookeeper.server.ZooKeeperServer.loadData(ZooKeeperServer.java:254)
at org.apache.zookeeper.server.ZooKeeperServer.startdata(ZooKeeperServer.java:366)
at org.apache.zookeeper.server.NIOServerCnxn$Factory.startup(NIOServerCnxn.java:160)
at org.apache.zookeeper.server.ZooKeeperServerMain.runFromConfig(ZooKeeperServerMain.java:110)
at org.apache.zookeeper.server.ZooKeeperServerMain.initializeAndRun(ZooKeeperServerMain.java:85)
at org.apache.zookeeper.server.ZooKeeperServerMain.main(ZooKeeperServerMain.java:51)
at org.apache.zookeeper.server.quorum.QuorumPeerMain.initializeAndRun(QuorumPeerMain.java:108)

Users with the same issue

32 times, 4 months ago
7 times, 1 year ago
3 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
166 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.