<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: zookeeper gets permission problem on /var/lib/zookeeper in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/zookeeper-gets-permission-problem-on-var-lib-zookeeper/m-p/30793#M34115</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try to change the directory and sub-directories with chown -R&amp;nbsp;zookeeper:zookeeper and restart again the service.&lt;/P&gt;&lt;P&gt;Furthermore about the permissions of the folder I think the correct one is 755 but you can check it after the owner's change.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BRs,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Spyros&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 14 Aug 2015 11:53:34 GMT</pubDate>
    <dc:creator>Spyros P.</dc:creator>
    <dc:date>2015-08-14T11:53:34Z</dc:date>
    <item>
      <title>zookeeper gets permission problem on /var/lib/zookeeper</title>
      <link>https://community.cloudera.com/t5/Support-Questions/zookeeper-gets-permission-problem-on-var-lib-zookeeper/m-p/30743#M34108</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;zookeeper could not start because of the java.io.FileNotFoundException: /var/lib/zookeeper/version-2/snapshot.0 (Permission denied) error&lt;/P&gt;&lt;P&gt;Normally zookeeper user could write in this directory&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;[root@testos1 ~]# &lt;STRONG&gt;ll /var/lib | grep zoo&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;drwxr-xr-x. 3 z&lt;STRONG&gt;ookeeper zookeeper&lt;/STRONG&gt; 4096 Aug 12 18:54 &lt;STRONG&gt;zookeeper&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;You have new mail in /var/spool/mail/root&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;[root@testos1 ~]# &lt;STRONG&gt;ll /var/lib/zookeeper/&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;total 4&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;drwxr-xr-x. 2 &lt;STRONG&gt;zookeeper zookeeper&lt;/STRONG&gt; 4096 Aug 13 11:31 &lt;STRONG&gt;version-2&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;[root@testos1 ~]# &lt;STRONG&gt;ll /var/lib/zookeeper/version-2/&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;total 0&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;[root@testos1 ~]#&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My environment has 1 server and tried to install from parcels&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;cloudera-manager-agent.x86_64 5.4.3-1.cm543.p0.258.el6 @/cloudera-manager-agent-5.4.3-1.cm543.p0.258.el6.x86_64&lt;BR /&gt;cloudera-manager-daemons.x86_64 5.4.3-1.cm543.p0.258.el6 @/cloudera-manager-daemons-5.4.3-1.cm543.p0.258.el6.x86_64&lt;BR /&gt;cloudera-manager-server.x86_64 5.4.3-1.cm543.p0.258.el6 @/cloudera-manager-server-5.4.3-1.cm543.p0.258.el6.x86_64&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;var/log/zookeeper/zookeeper-cmf-zookeeper-SERVER-testos1.localdomain.log file has following error lines&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Aug 13, 1:08:54.630 PM INFO org.apache.zookeeper.server.ZooKeeperServer&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Server environment:user.name=cloudera-scm&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Aug 13, 1:08:54.630 PM INFO org.apache.zookeeper.server.ZooKeeperServer&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Server environment:user.home=/home/cloudera-scm&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Aug 13, 1:08:54.630 PM INFO org.apache.zookeeper.server.ZooKeeperServer&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Server environment:user.dir=/var/run/cloudera-scm-agent/process/115-zookeeper-server&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Aug 13, 1:08:54.631 PM DEBUG org.apache.zookeeper.server.persistence.FileTxnSnapLog&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Opening datadir:/var/lib/zookeeper snapDir:/var/lib/zookeeper&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Aug 13, 1:08:54.631 PM INFO org.apache.zookeeper.server.ZooKeeperServer&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;tickTime set to 2000&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Aug 13, 1:08:54.631 PM INFO org.apache.zookeeper.server.ZooKeeperServer&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;minSessionTimeout set to 4000&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Aug 13, 1:08:54.632 PM INFO org.apache.zookeeper.server.ZooKeeperServer&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;maxSessionTimeout set to 60000&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Aug 13, 1:08:54.654 PM INFO org.apache.zookeeper.server.NIOServerCnxnFactory&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;binding to port 0.0.0.0/0.0.0.0:2181&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Aug 13, 1:08:54.674 PM INFO org.apache.zookeeper.server.persistence.FileTxnSnapLog&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Snapshotting: 0x0 to /var/lib/zookeeper/version-2/snapshot.0&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Aug 13, 1:08:54.675 PM ERROR org.apache.zookeeper.server.ZooKeeperServer&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Severe unrecoverable error, exiting&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;java.io.FileNotFoundException: /var/lib/zookeeper/version-2/snapshot.0 (Permission denied)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;at java.io.FileOutputStream.open0(Native Method)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;at java.io.FileOutputStream.open(FileOutputStream.java:270)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;at java.io.FileOutputStream.&amp;lt;init&amp;gt;(FileOutputStream.java:213)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;at java.io.FileOutputStream.&amp;lt;init&amp;gt;(FileOutputStream.java:162)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;at org.apache.zookeeper.server.persistence.FileSnap.serialize(FileSnap.java:225)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;at org.apache.zookeeper.server.persistence.FileTxnSnapLog.save(FileTxnSnapLog.java:275)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;at org.apache.zookeeper.server.ZooKeeperServer.takeSnapshot(ZooKeeperServer.java:270)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;at org.apache.zookeeper.server.ZooKeeperServer.loadData(ZooKeeperServer.java:265)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;at org.apache.zookeeper.server.ZooKeeperServer.startdata(ZooKeeperServer.java:377)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;at org.apache.zookeeper.server.NIOServerCnxnFactory.startup(NIOServerCnxnFactory.java:122)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;at org.apache.zookeeper.server.ZooKeeperServerMain.runFromConfig(ZooKeeperServerMain.java:118)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;at org.apache.zookeeper.server.ZooKeeperServerMain.initializeAndRun(ZooKeeperServerMain.java:91)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;at org.apache.zookeeper.server.ZooKeeperServerMain.main(ZooKeeperServerMain.java:53)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;at org.apache.zookeeper.server.quorum.QuorumPeerMain.initializeAndRun(QuorumPeerMain.java:121)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;at org.apache.zookeeper.server.quorum.QuorumPeerMain.main(QuorumPeerMain.java:79)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Aug 13, 1:08:56.903 PM INFO org.apache.zookeeper.server.quorum.QuorumPeerConfig&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Reading configuration from: /var/run/cloudera-scm-agent/process/115-zookeeper-server/zoo.cfg&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Aug 13, 1:08:56.918 PM ERROR org.apache.zookeeper.server.quorum.QuorumPeerConfig&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Invalid configuration, only one server specified (ignoring)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Aug 13, 1:08:56.919 PM INFO org.apache.zookeeper.server.DatadirCleanupManager&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;autopurge.snapRetainCount set to 5&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Aug 13, 1:08:56.920 PM INFO org.apache.zookeeper.server.DatadirCleanupManager&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;autopurge.purgeInterval set to 24&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Aug 13, 1:08:56.920 PM WARN org.apache.zookeeper.server.quorum.QuorumPeerMain&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Either no config or no quorum defined in config, running in standalone mode&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 09:37:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/zookeeper-gets-permission-problem-on-var-lib-zookeeper/m-p/30743#M34108</guid>
      <dc:creator>msuluhan</dc:creator>
      <dc:date>2022-09-16T09:37:41Z</dc:date>
    </item>
    <item>
      <title>Re: zookeeper gets permission problem on /var/lib/zookeeper</title>
      <link>https://community.cloudera.com/t5/Support-Questions/zookeeper-gets-permission-problem-on-var-lib-zookeeper/m-p/30746#M34109</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did you check your dataDir in the zoo.cfg? Your configuration file is correct?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BRs,&lt;/P&gt;&lt;P&gt;Spyros&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Aug 2015 12:08:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/zookeeper-gets-permission-problem-on-var-lib-zookeeper/m-p/30746#M34109</guid>
      <dc:creator>Spyros P.</dc:creator>
      <dc:date>2015-08-13T12:08:03Z</dc:date>
    </item>
    <item>
      <title>Re: zookeeper gets permission problem on /var/lib/zookeeper</title>
      <link>https://community.cloudera.com/t5/Support-Questions/zookeeper-gets-permission-problem-on-var-lib-zookeeper/m-p/30748#M34110</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First of all thanks for your input&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I changed directory permission with chmod -R 777 /var/lib/zookeeper&amp;nbsp; and then tried again&lt;/P&gt;&lt;P&gt;zookeeper has started&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;But snapshot.0's owner is cloudera-scm&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Is this normal ? &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;[root@testos1 lib]# cd zookeeper/version-2/&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;[root@testos1 version-2]# ll&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;total 4&lt;/FONT&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;-rw-r--r-- 1 cloudera-scm cloudera-scm 296 Aug 13 15:40 snapshot.0&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;[root@testos1 version-2]#&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regarding to your question there are lots of zoo.cfg file in the server, which one is current configuration file that I must share with you ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;[root@testos1 version-2]# find / -name zoo.cfg -exec ls -l {} \;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;-rw-r--r--. 1 cloudera-scm cloudera-scm 518 Jun 25 06:11 /opt/cloudera/parcels/CDH-5.4.3-1.cdh5.4.3.p0.6/share/doc/solr-doc-4.10.3+cdh5.4.3+256/example/solr/zoo.cfg&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;-rw-r--r--. 1 cloudera-scm cloudera-scm 518 Jun 25 06:11 /opt/cloudera/parcels/CDH-5.4.3-1.cdh5.4.3.p0.6/share/doc/solr-doc-4.10.3+cdh5.4.3+256/example/multicore/zoo.cfg&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;-rw-r--r--. 1 cloudera-scm cloudera-scm 518 Jun 25 06:11 /opt/cloudera/parcels/CDH-5.4.3-1.cdh5.4.3.p0.6/etc/solr/conf.dist/zoo.cfg&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;-rw-r--r--. 1 cloudera-scm cloudera-scm 1269 Jun 25 06:09 /opt/cloudera/parcels/CDH-5.4.3-1.cdh5.4.3.p0.6/etc/zookeeper/conf.dist/zoo.cfg&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;-rw-r----- 1 cloudera-scm cloudera-scm 311 Aug 13 15:40 /var/run/cloudera-scm-agent/process/123-zookeeper-server/zoo.cfg&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;-rw-r----- 1 cloudera-scm cloudera-scm 311 Aug 13 15:07 /var/run/cloudera-scm-agent/process/118-zookeeper-init/zoo.cfg&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;-rw-r----- 1 cloudera-scm cloudera-scm 311 Aug 13 15:10 /var/run/cloudera-scm-agent/process/120-zookeeper-init/zoo.cfg&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;-rw-r----- 1 cloudera-scm cloudera-scm 311 Aug 13 15:10 /var/run/cloudera-scm-agent/process/121-zookeeper-server/zoo.cfg&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;-rw-r----- 1 cloudera-scm cloudera-scm 311 Aug 13 15:04 /var/run/cloudera-scm-agent/process/117-zookeeper-server/zoo.cfg&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;-rw-r----- 1 cloudera-scm cloudera-scm 311 Aug 13 15:40 /var/run/cloudera-scm-agent/process/122-zookeeper-init/zoo.cfg&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;-rw-r----- 1 cloudera-scm cloudera-scm 311 Aug 13 15:50 /var/run/cloudera-scm-agent/process/124-zookeeper-server/zoo.cfg&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;-rw-r----- 1 cloudera-scm cloudera-scm 311 Aug 13 15:10 /var/run/cloudera-scm-agent/process/119-zookeeper-init/zoo.cfg&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Aug 2015 12:54:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/zookeeper-gets-permission-problem-on-var-lib-zookeeper/m-p/30748#M34110</guid>
      <dc:creator>msuluhan</dc:creator>
      <dc:date>2015-08-13T12:54:01Z</dc:date>
    </item>
    <item>
      <title>Re: zookeeper gets permission problem on /var/lib/zookeeper</title>
      <link>https://community.cloudera.com/t5/Support-Questions/zookeeper-gets-permission-problem-on-var-lib-zookeeper/m-p/30749#M34111</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the &lt;SPAN&gt;/var/run/cloudera-scm-agent/process/124-zookeeper-&lt;/SPAN&gt;&lt;SPAN&gt;server/zoo.cfg&lt;/SPAN&gt; you can check the latest configuration of your zookeeper.&lt;/P&gt;&lt;P&gt;I think the best way to change your configuration is from cloudera manager.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Furthermore, the owner of the snapshot I think that have to be as:&lt;/P&gt;&lt;P&gt;-rw-r--r-- 1 zookeeper zookeeper&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How did you start your service? From cmd as a specific user or from cloudera manager?&lt;BR /&gt;&lt;BR /&gt;BRs,&lt;/P&gt;&lt;P&gt;Spyros&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Aug 2015 13:15:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/zookeeper-gets-permission-problem-on-var-lib-zookeeper/m-p/30749#M34111</guid>
      <dc:creator>Spyros P.</dc:creator>
      <dc:date>2015-08-13T13:15:34Z</dc:date>
    </item>
    <item>
      <title>Re: zookeeper gets permission problem on /var/lib/zookeeper</title>
      <link>https://community.cloudera.com/t5/Support-Questions/zookeeper-gets-permission-problem-on-var-lib-zookeeper/m-p/30750#M34112</link>
      <description>&lt;P&gt;Hello again&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;zoo.cfg contents are in following lines&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[root@testos1 124-zookeeper-server]# more zoo.cfg&lt;BR /&gt;tickTime=2000&lt;BR /&gt;initLimit=10&lt;BR /&gt;syncLimit=5&lt;BR /&gt;jute.maxbuffer=4194304&lt;BR /&gt;dataDir=/var/lib/zookeeper&lt;BR /&gt;dataLogDir=/var/lib/zookeeper&lt;BR /&gt;clientPort=2181&lt;BR /&gt;maxClientCnxns=60&lt;BR /&gt;minSessionTimeout=4000&lt;BR /&gt;maxSessionTimeout=40000&lt;BR /&gt;autopurge.purgeInterval=24&lt;BR /&gt;autopurge.snapRetainCount=5&lt;BR /&gt;server.1=testos1.localdomain:3181:4181&lt;BR /&gt;leaderServes=yes&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Normally I try to use CM for all changes&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have VM versiopn of Cloudera. I just checked from VM and snapshot file's owner is zookeeper in the&amp;nbsp; VM version&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I started the service through CM&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Aug 2015 13:23:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/zookeeper-gets-permission-problem-on-var-lib-zookeeper/m-p/30750#M34112</guid>
      <dc:creator>msuluhan</dc:creator>
      <dc:date>2015-08-13T13:23:54Z</dc:date>
    </item>
    <item>
      <title>Re: zookeeper gets permission problem on /var/lib/zookeeper</title>
      <link>https://community.cloudera.com/t5/Support-Questions/zookeeper-gets-permission-problem-on-var-lib-zookeeper/m-p/30751#M34113</link>
      <description>&lt;P&gt;Hi again,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your configuration is correct and looks like mine.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I think the problem is the permission of the folder and specially the period at the end of the permission.&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;[root@testos1 ~]# ll /var/lib | grep zoo&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;drwxr-xr-x.&lt;/STRONG&gt; 3 zookeeper zookeeper 4096 Aug 12 18:54 zookeeper&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;You have to check your ACL and the SeLinux. It is better to disable the SeLinux on your server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BRs,&lt;/P&gt;&lt;P&gt;Spyros&lt;/P&gt;</description>
      <pubDate>Thu, 13 Aug 2015 13:35:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/zookeeper-gets-permission-problem-on-var-lib-zookeeper/m-p/30751#M34113</guid>
      <dc:creator>Spyros P.</dc:creator>
      <dc:date>2015-08-13T13:35:52Z</dc:date>
    </item>
    <item>
      <title>Re: zookeeper gets permission problem on /var/lib/zookeeper</title>
      <link>https://community.cloudera.com/t5/Support-Questions/zookeeper-gets-permission-problem-on-var-lib-zookeeper/m-p/30761#M34114</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I already disabled SELinux and also IPTables&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Folder's ACL like following lines&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;[root@testos1 lib]# getfacl zookeeper/&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;# file: zookeeper/&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;# owner: zookeeper&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;# group: zookeeper&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;user::rwx&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;group::rwx&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;other::rwx&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;By the way I also enabled HBase from CM and I got similar error for /var/log/hbase directory. I changed permission to 777 and then issue fixed (?) I could start HBase service through CM&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;[root@testos1 lib]# getfacl hbase&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;getfacl: hbase: No such file or directory&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;[root@testos1 lib]# cd /var/log&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;[root@testos1 log]# ll | grep hbase&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;drwxrwxrwx. 4 hbase&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; hbase&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4096 Aug 13 16:05 hbase&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;[root@testos1 log]# ll hbase&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;total 280&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;drwx------ 2 cloudera-scm cloudera-scm&amp;nbsp;&amp;nbsp; 4096 Aug 13 16:04 audit&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;-rw-r--r-- 1 cloudera-scm cloudera-scm 137248 Aug 13 21:39 hbase-cmf-hbase-MASTER-testos1.localdomain.log.out&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;-rw-r--r-- 1 cloudera-scm cloudera-scm 138631 Aug 13 21:40 hbase-cmf-hbase-REGIONSERVER-testos1.localdomain.log.out&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;drwxr-xr-x 2 cloudera-scm cloudera-scm&amp;nbsp;&amp;nbsp; 4096 Aug 13 16:04 stacks&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;[root@testos1 log]# getfacl hbase&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;# file: hbase&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;# owner: hbase&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;# group: hbase&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;user::rwx&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;group::rwx&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;other::rwx&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think I must not get this issues,&amp;nbsp; why hbase and zookeeper daemons/services&amp;nbsp; do not use their users to write their directories instead of cloudera-scm&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I fix that issue ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Murat&lt;/P&gt;</description>
      <pubDate>Thu, 13 Aug 2015 19:04:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/zookeeper-gets-permission-problem-on-var-lib-zookeeper/m-p/30761#M34114</guid>
      <dc:creator>msuluhan</dc:creator>
      <dc:date>2015-08-13T19:04:23Z</dc:date>
    </item>
    <item>
      <title>Re: zookeeper gets permission problem on /var/lib/zookeeper</title>
      <link>https://community.cloudera.com/t5/Support-Questions/zookeeper-gets-permission-problem-on-var-lib-zookeeper/m-p/30793#M34115</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try to change the directory and sub-directories with chown -R&amp;nbsp;zookeeper:zookeeper and restart again the service.&lt;/P&gt;&lt;P&gt;Furthermore about the permissions of the folder I think the correct one is 755 but you can check it after the owner's change.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BRs,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Spyros&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Aug 2015 11:53:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/zookeeper-gets-permission-problem-on-var-lib-zookeeper/m-p/30793#M34115</guid>
      <dc:creator>Spyros P.</dc:creator>
      <dc:date>2015-08-14T11:53:34Z</dc:date>
    </item>
    <item>
      <title>Re: zookeeper gets permission problem on /var/lib/zookeeper</title>
      <link>https://community.cloudera.com/t5/Support-Questions/zookeeper-gets-permission-problem-on-var-lib-zookeeper/m-p/30794#M34116</link>
      <description>Hello&lt;BR /&gt;&lt;BR /&gt;I already tried it :S no change, same error&lt;BR /&gt;I just changed owner of files in /var/lib/zookeper/version2 directory with zookeeper:zookeeper while permission of /var/lib/zookeper is 755. But I got same error&lt;BR /&gt;&lt;BR /&gt;Any other idea?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;</description>
      <pubDate>Fri, 14 Aug 2015 12:48:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/zookeeper-gets-permission-problem-on-var-lib-zookeeper/m-p/30794#M34116</guid>
      <dc:creator>msuluhan</dc:creator>
      <dc:date>2015-08-14T12:48:11Z</dc:date>
    </item>
    <item>
      <title>Re: zookeeper gets permission problem on /var/lib/zookeeper</title>
      <link>https://community.cloudera.com/t5/Support-Questions/zookeeper-gets-permission-problem-on-var-lib-zookeeper/m-p/30795#M34117</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did you change the owner only on folder version-2 or on all the files,path and the parent folder?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Brs,&lt;/P&gt;&lt;P&gt;Spyros&lt;/P&gt;</description>
      <pubDate>Fri, 14 Aug 2015 12:56:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/zookeeper-gets-permission-problem-on-var-lib-zookeeper/m-p/30795#M34117</guid>
      <dc:creator>Spyros P.</dc:creator>
      <dc:date>2015-08-14T12:56:26Z</dc:date>
    </item>
    <item>
      <title>Re: zookeeper gets permission problem on /var/lib/zookeeper</title>
      <link>https://community.cloudera.com/t5/Support-Questions/zookeeper-gets-permission-problem-on-var-lib-zookeeper/m-p/31031#M34118</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I changed directory permission to 755 and then change ACL of it, then it's working now.&lt;/P&gt;&lt;P&gt;I will restart whole environment and then check again&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your inputs&lt;/P&gt;&lt;P&gt;msuluhan&lt;/P&gt;</description>
      <pubDate>Fri, 21 Aug 2015 09:51:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/zookeeper-gets-permission-problem-on-var-lib-zookeeper/m-p/31031#M34118</guid>
      <dc:creator>msuluhan</dc:creator>
      <dc:date>2015-08-21T09:51:33Z</dc:date>
    </item>
  </channel>
</rss>

