Hi,
Could you please let me know if any system call can exit with 251 ?
I am trying to find out who exited with 251 ?
Thanks


On Mon, Mar 4, 2019 at 9:09 PM Norbert Kalmar <nkalmar@cloudera.com.invalid> wrote:
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
>