Return-Path: X-Original-To: apmail-zookeeper-user-archive@www.apache.org Delivered-To: apmail-zookeeper-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8886719EB7 for ; Fri, 22 Apr 2016 02:25:40 +0000 (UTC) Received: (qmail 79395 invoked by uid 500); 22 Apr 2016 02:25:39 -0000 Delivered-To: apmail-zookeeper-user-archive@zookeeper.apache.org Received: (qmail 79342 invoked by uid 500); 22 Apr 2016 02:25:39 -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 79331 invoked by uid 99); 22 Apr 2016 02:25:39 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Apr 2016 02:25:39 +0000 Received: from mail-io0-f172.google.com (mail-io0-f172.google.com [209.85.223.172]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id 985881A008C for ; Fri, 22 Apr 2016 02:25:39 +0000 (UTC) Received: by mail-io0-f172.google.com with SMTP id u185so105642744iod.3 for ; Thu, 21 Apr 2016 19:25:39 -0700 (PDT) X-Gm-Message-State: AOPr4FV61QWGbBmlolLIEDxRC8ip+xSZOd/lK6NTn65Ielw64zIi0cUOIz25mAFlqQeKMtAXpxHwsctBaWaBNA== MIME-Version: 1.0 X-Received: by 10.107.30.71 with SMTP id e68mr20979766ioe.145.1461291939088; Thu, 21 Apr 2016 19:25:39 -0700 (PDT) Received: by 10.64.141.102 with HTTP; Thu, 21 Apr 2016 19:25:39 -0700 (PDT) In-Reply-To: <201604221023289438026@163.com> References: <201604221023289438026@163.com> Date: Thu, 21 Apr 2016 22:25:39 -0400 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Zookeeper is unable to start From: Camille Fournier To: "user@zookeeper.apache.org" Content-Type: multipart/alternative; boundary=001a1140d71ef1775e0531098a1f --001a1140d71ef1775e0531098a1f Content-Type: text/plain; charset=UTF-8 Your attachments won't come through. Can you look at the log files and copy some of the last log lines into email? On Thu, Apr 21, 2016 at 10:23 PM, Eric Gao wrote: > Dear exports, > I have encountered a problem when I have started the zookeeper: > > [root@master data]# /opt/zookeeper/bin/zkServer.sh start > ZooKeeper JMX enabled by default > Using config: /opt/zookeeper/bin/../conf/zoo.cfg > Starting zookeeper ... date > STARTED > > [root@master ~]# /opt/zookeeper/bin/zkServer.sh status > ZooKeeper JMX enabled by default > Using config: /opt/zookeeper/bin/../conf/zoo.cfg > Error contacting service. It is probably not running. > > All the 3 servers have the same status. > > > Here is the configuration information: > > zoo.cfg: > tickTime=2000 > initLimit=10 > syncLimit=5 > clientPort=2181 > server.1=192.168.1.2:2887:3887 > server.2=192.168.1.3:2888:3888 > server.3=192.168.1.4:2889:3889 > dataDir=/opt/zookeeper/data > dataLogDir=/opt/zookeeper/log > > > And the 3 servers' zookeeper.out are put in attachment files. > > Thanks for your attention. > > > ------------------------------ > *Eric Gao* > Keep on going never give up. > *Blog:* > http://gaoqiang.blog.chinaunix.net/ > http://gaoqiangdba.blog.163.com/ > > > --001a1140d71ef1775e0531098a1f--