zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Norbert Kalmar <nkal...@cloudera.com.INVALID>
Subject Re: what does it mean to have exit-code of 251
Date Mon, 04 Mar 2019 15:29:54 GMT
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
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message