From user-return-11862-archive-asf-public=cust-asf.ponee.io@zookeeper.apache.org Mon Mar 4 15:39:12 2019 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 90731180627 for ; Mon, 4 Mar 2019 16:39:11 +0100 (CET) Received: (qmail 73523 invoked by uid 500); 4 Mar 2019 15:39:10 -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 73500 invoked by uid 99); 4 Mar 2019 15:39:09 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Mar 2019 15:39:09 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 319DDCA88F for ; Mon, 4 Mar 2019 15:39:09 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.302 X-Spam-Level: ** X-Spam-Status: No, score=2.302 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=2, KAM_NUMSUBJECT=0.5, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=cloudera.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id XXXmw3cHawaX for ; Mon, 4 Mar 2019 15:39:06 +0000 (UTC) Received: from mail-pf1-f179.google.com (mail-pf1-f179.google.com [209.85.210.179]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id C96165F1F0 for ; Mon, 4 Mar 2019 15:30:07 +0000 (UTC) Received: by mail-pf1-f179.google.com with SMTP id g6so3249082pfh.13 for ; Mon, 04 Mar 2019 07:30:07 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=UajZrLjjzH9AAtvuKHZBsFnBSki+606Tumy5qzpFokg=; b=oihZUUT6Xy1tEYpOe8+uP62Pad8xK7bFi/OU/0IwZUM5obMFkbkfiQHY0p4JYaeRUF ph8G/YKIFKRCu0++UmJNrX3Y4GYMIr6/ed+emT6zfyibJPZdFoqUIeepw6HOyFAeiMfK wNzVBrMwRFquQLKETPJaC+gBI23RANT1+mLixl+h27acYt4XcQIyFa1sVU4sNk6zJ4CC FWbf2QtPKzeM9ElFYa0zClzdvpPqb/4+0oPW7w7Jk2rybst5thEC6iR5AHlASG3tYZ1P NUIgmpXuD2aDLY5soo4ohESRu49lnGV/v0FCmVheG4l54m8qF9/2ife6Ig7QYY2PHF+o aTcQ== X-Gm-Message-State: APjAAAV5YEpQOdZfN+XYN4oAtDUyQBMovB/oQN2LL5RHJDe5gR2w/PH1 J60wuO6OL6tuCT0bsfeWTn2fOgt8kB/sk6B61cb0Etbn X-Google-Smtp-Source: APXvYqzf3psq7imK58TDlLnXWAX/zY1T5axuIGJ2YXLc5Z13/m6p7YHWuEAXtSRYKG08mJJVM66o9ocnMCEVfCREde0= X-Received: by 2002:a63:b14d:: with SMTP id g13mr19216040pgp.270.1551713405718; Mon, 04 Mar 2019 07:30:05 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Norbert Kalmar Date: Mon, 4 Mar 2019 16:29:54 +0100 Message-ID: Subject: Re: what does it mean to have exit-code of 251 To: user@zookeeper.apache.org Content-Type: multipart/alternative; boundary="000000000000576cff0583466ee7" --000000000000576cff0583466ee7 Content-Type: text/plain; charset="UTF-8" Hi Prashant, Depending on your version, exit codes are static variables in ExitCode.java But we do not use 251, we only go as far as 14 with exit codes. This looks like an app specific exit code. Are you using some kind of systemd script to start ZooKeeper? Regards, Norbert On Mon, Mar 4, 2019 at 12:49 PM prashantkumar dhotre < prashantkumardhotre@gmail.com> wrote: > Hi, > > In my journal log, I see ; > > 1199473 Mar 01 15:46:03 evo-qfx-01 systemd[1]: ifmand.service: Main process > exited, code=exited, status=251/n/a > > In my app, I don't explicitly call exit(251). > I use zookeeper lib. > Fro my logs,I see that after a call to zookeeper lib API zookeeper_close() > , I see that my service exited with 251. > Is 251 a std exit code or app/lib specific custom exit code ? > I want to know what does 251 means. > > Can you please let me know where can I see the exit-code to meaning > mapping > ? > > Thanks > > Prashant > --000000000000576cff0583466ee7--