Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 35D07200AE3 for ; Wed, 4 May 2016 10:18:54 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 3445E1609FD; Wed, 4 May 2016 10:18:54 +0200 (CEST) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 7FC131609F1 for ; Wed, 4 May 2016 10:18:53 +0200 (CEST) Received: (qmail 45989 invoked by uid 500); 4 May 2016 08:18:52 -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 45977 invoked by uid 99); 4 May 2016 08:18:52 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 May 2016 08:18:52 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id A77641804D6 for ; Wed, 4 May 2016 08:18:51 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.72 X-Spam-Level: X-Spam-Status: No, score=-0.72 tagged_above=-999 required=6.31 tests=[HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id c4jK06vGyep5 for ; Wed, 4 May 2016 08:18:49 +0000 (UTC) Received: from mail-wm0-f50.google.com (mail-wm0-f50.google.com [74.125.82.50]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id CC48F5FB2D for ; Wed, 4 May 2016 08:18:48 +0000 (UTC) Received: by mail-wm0-f50.google.com with SMTP id n129so177545205wmn.1 for ; Wed, 04 May 2016 01:18:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=oderwpr4PVV51p0TDZrVpfg1srTo5FEesmljcpMFBfM=; b=gFUUMnegKeHT0RbUDYfslCkl8ijgNirBGsGa5D/ytoKYBWs8PZDJmLPNeBH8Js8crQ yW9JXDXF4Ar/FAPpkYDS/LycYuxeINTEsZCvFe+3/COLOjhzMVUG1++peUeb+un//Ikl yjD7qYsq/duAZRTZRo5Ob2s9D4DDyUkKkIFwZ2uUCQ9WCNcwGWY9IBMgVOalns7tj0Pk G3tXz0HHuwaMZbU1vtC7wdqtC7W7Z8s/HUSt5GGgKU1Wrkl8jdYgQbM4GroGz4BLIBFI 2R9QAPGRKvekrAp9nw/bNMzJkFSSPr5dqSnOq6v/eMgOYBV4iUlbT2qnkq0jQffnB+jS t2YQ== X-Gm-Message-State: AOPr4FVpVtfuF5K9h/Ogd1DPDDIZ+htg3vSzQdfNW/uQxhHXEdL462WyZvVWPJ7EK56qZA== X-Received: by 10.194.205.134 with SMTP id lg6mr6284961wjc.153.1462349928463; Wed, 04 May 2016 01:18:48 -0700 (PDT) Received: from [192.168.1.64] (host86-190-177-93.range86-190.btcentralplus.com. [86.190.177.93]) by smtp.gmail.com with ESMTPSA id l74sm2852203wmb.15.2016.05.04.01.18.47 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 04 May 2016 01:18:47 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Subject: Re: [Dev]Zookeeper Server Start up error From: Flavio Junqueira In-Reply-To: Date: Wed, 4 May 2016 09:18:45 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <31526F1D-FDF1-4F47-A31F-877167F42BFB@apache.org> References: To: user@zookeeper.apache.org X-Mailer: Apple Mail (2.2104) archived-at: Wed, 04 May 2016 08:18:54 -0000 Hello there, Have you tried creating the myid file manually? Does it work? -Flavio > On 04 May 2016, at 03:50, Pranavan Theivendiram = wrote: >=20 > Hi All, >=20 > I am getting the following error in server start up. >=20 > *ZooKeeper JMX enabled by default* > *Using config: = /home/pranavan/2K16/zookeeper-3.4.8/bin/../conf/zoo.cfg* > *mkdir: cannot create directory =E2=80=98/home/zookeeper=E2=80=99: = Permission denied* > *Starting zookeeper ... ./zkServer.sh: line 149: > /home/zookeeper/zookeeper_server.pid: No such file or directory* > *FAILED TO WRITE PID* >=20 > I started with root privileges. I did not have any problems. The = server is > starting up properly. >=20 > The proposed solution in stackoverflow is as follows. >=20 > Link - > = http://stackoverflow.com/questions/19295978/failed-to-write-pid-installing= -zookeeper >=20 > Even that solution is not working for me. >=20 > Can you please provide a method to start the server without user = privileges? >=20 > Thanks >=20 >=20 >=20 > *T. Pranavan* > *Junior Consultant | Department of Computer Science & Engineering > ,University of Moratuwa* > *Mobile| *0775136836