From user-return-11568-archive-asf-public=cust-asf.ponee.io@zookeeper.apache.org Tue Jul 17 18:39:30 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 16327180600 for ; Tue, 17 Jul 2018 18:39:29 +0200 (CEST) Received: (qmail 13535 invoked by uid 500); 17 Jul 2018 16:39:28 -0000 Mailing-List: contact user-help@zookeeper.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@zookeeper.apache.org Delivered-To: mailing list user@zookeeper.apache.org Received: (qmail 13513 invoked by uid 99); 17 Jul 2018 16:39:28 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Jul 2018 16:39:28 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id B73D81A1290 for ; Tue, 17 Jul 2018 16:39:27 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.998 X-Spam-Level: * X-Spam-Status: No, score=1.998 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id XgpPFBO7IbDI for ; Tue, 17 Jul 2018 16:39:26 +0000 (UTC) Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-oln040092070096.outbound.protection.outlook.com [40.92.70.96]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 079785F1E3 for ; Tue, 17 Jul 2018 16:39:26 +0000 (UTC) Received: from DB5EUR03FT028.eop-EUR03.prod.protection.outlook.com (10.152.20.55) by DB5EUR03HT076.eop-EUR03.prod.protection.outlook.com (10.152.21.135) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.20.952.17; Tue, 17 Jul 2018 16:39:18 +0000 Received: from VI1P191MB0319.EURP191.PROD.OUTLOOK.COM (10.152.20.59) by DB5EUR03FT028.mail.protection.outlook.com (10.152.20.99) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.20.952.17 via Frontend Transport; Tue, 17 Jul 2018 16:39:18 +0000 Received: from VI1P191MB0319.EURP191.PROD.OUTLOOK.COM ([fe80::d5b9:d962:6c25:9eb3]) by VI1P191MB0319.EURP191.PROD.OUTLOOK.COM ([fe80::d5b9:d962:6c25:9eb3%4]) with mapi id 15.20.0952.021; Tue, 17 Jul 2018 16:39:18 +0000 From: adrien ruffie To: "user@zookeeper.apache.org" Subject: Permission denied as zookeeper user Thread-Topic: Permission denied as zookeeper user Thread-Index: AQHUHey0OYIfgjXorkOsPpnfTt8bqw== Date: Tue, 17 Jul 2018 16:39:18 +0000 Message-ID: Accept-Language: fr-FR, en-US Content-Language: fr-FR X-MS-Has-Attach: X-MS-TNEF-Correlator: x-incomingtopheadermarker: OriginalChecksum:4D17F083E10FB0A9EA538B6B572453CAAA32CFBDC634644DF8FF7431230C62A2;UpperCasedChecksum:7D15F0D893FDF6CFC364F19E8B269A1C54726FDC1AE6AF81B86EEAEEBB78AAA8;SizeAsReceived:6869;Count:44 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [pOoPfoIS/Re3q7A3vAnZuzhKCwdsBbLu] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;DB5EUR03HT076;7:qBuEv2/hFLOfhZq8gYyxKuq663ZBLOXtzxVgmeeLD4nWbkQSncubY3JCUkHt7hakgo0dTOphWfvHTGBFoRFQn457gwekVTFikBoCkZAbNfiiHChwnrLan6TFVsbinxDVmGBFaU7PmP/zB2x3ZOCAaDYder1r1h+6xokUzNYI6DMBHrvkmOV122scNCzK5Y+1O9ZeJm+j/lu+OaZJyo5a2aVC3HR0OWeahtShp3gGkrOxi+o3sQTg3JDR5OJqnezw x-incomingheadercount: 44 x-eopattributedmessage: 0 x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(201702061078)(5061506573)(5061507331)(1603103135)(2017031320274)(2017031324274)(2017031323274)(2017031322404)(1603101448)(1601125500)(1701031045);SRVR:DB5EUR03HT076; x-ms-traffictypediagnostic: DB5EUR03HT076: x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(82015058);SRVR:DB5EUR03HT076;BCL:0;PCL:0;RULEID:;SRVR:DB5EUR03HT076; x-forefront-prvs: 073631BD3D x-forefront-antispam-report: SFV:NSPM;SFS:(7070007)(199004)(189003)(53754006)(19627405001)(2351001)(6436002)(106356001)(105586002)(97736004)(5660300001)(33656002)(6916009)(68736007)(73972006)(82202002)(56003)(6606003)(104016004)(74482002)(486006)(14454004)(2501003)(2900100001)(6346003)(5250100002)(26005)(102836004)(74316002)(86362001)(8936002)(6506007)(81156014)(1730700003)(86152003)(55016002)(14444005)(5640700003)(54896002)(476003)(7696005)(9686003)(25786009)(99286004)(256004)(8676002);DIR:OUT;SFP:1901;SCL:1;SRVR:DB5EUR03HT076;H:VI1P191MB0319.EURP191.PROD.OUTLOOK.COM;FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:; received-spf: None (protection.outlook.com: hotmail.fr does not designate permitted sender hosts) authentication-results: spf=none (sender IP is ) smtp.mailfrom=adriennolarsen@hotmail.fr; x-microsoft-antispam-message-info: UuKQxwxwIVBbI4CsFkBBqe49dr0/zNuCCQ56smkFyg2Jv9/OewpDQM0rS+xkraTMwGLRDYjxAY6U7ca4QwEu3SnKs7dBWsLLHigQtPOTXUfDdGzsigGf/BKk/uhzsLqwx0PUJPrVJVp4lSoOKrtTMTNf7NF49ooBChPJkUr5ROmrqUX5d4n0HDeb6cX+y0pwWayTy8T2qzncxFzS6CeW5VDk3H4Ldtw7leWzVOQuTAk= Content-Type: multipart/alternative; boundary="_000_VI1P191MB031938C649933D5E55E0DFC0A95C0VI1P191MB0319EURP_" MIME-Version: 1.0 X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 074d7d4d-72e2-4a0a-9d89-73b16535e4cd X-MS-Exchange-CrossTenant-Network-Message-Id: 803980e7-12fe-4b73-de0f-08d5ec03d75b X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 074d7d4d-72e2-4a0a-9d89-73b16535e4cd X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Jul 2018 16:39:18.4632 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB5EUR03HT076 --_000_VI1P191MB031938C649933D5E55E0DFC0A95C0VI1P191MB0319EURP_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello everyone, I have a little problem when I try to launch "./zkServer.sh start" with my = "zookeeper" user ... I get the following stacktrace: 2018-07-17 18:26:53,569 [myid:5] - INFO [WorkerReceiver[myid=3D5]:FastLead= erElection@600] - Notification: 1 (message format version), 3 (n.leader), 0= x2765900000006 (n.zxid), 0x43 (n.round), FOLLOWING (n.state), 1 (n.sid), 0x= 2765a (n.peerEpoch) FOLLOWING (my state) 2018-07-17 18:26:53,574 [myid:5] - INFO [QuorumPeer[myid=3D5]/0:0:0:0:0:0:= 0:0:2181:Learner@326] - Getting a diff from the leader 0x2765900000006 2018-07-17 18:26:53,575 [myid:5] - WARN [QuorumPeer[myid=3D5]/0:0:0:0:0:0:= 0:0:2181:Follower@87] - Exception when following the leader java.io.IOException: Permission denied at java.io.UnixFileSystem.createFileExclusively(Native Method) at java.io.File.createNewFile(File.java:1012) at org.apache.zookeeper.server.quorum.Learner.syncWithLeader(Learner.java:4= 36) at org.apache.zookeeper.server.quorum.Follower.followLeader(Follower.java:8= 0) at org.apache.zookeeper.server.quorum.QuorumPeer.run(QuorumPeer.java:846) 2018-07-17 18:26:53,575 [myid:5] - INFO [QuorumPeer[myid=3D5]/0:0:0:0:0:0:= 0:0:2181:Follower@164] - shutdown called java.lang.Exception: shutdown Follower at org.apache.zookeeper.server.quorum.Follower.shutdown(Follower.java:164) at org.apache.zookeeper.server.quorum.QuorumPeer.run(QuorumPeer.java:850) But when I launch as root, the problem disappears ... I understand which is a permission denied for my zookeeper user, but the st= ack doesn't give me, the concerned file or directory ... Do you already get the same problem ? Thank, and best regards, Adrien --_000_VI1P191MB031938C649933D5E55E0DFC0A95C0VI1P191MB0319EURP_--