exit-code of 251

2019-03-06 Thread prashantkumar dhotre
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 
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 <
> prashantkumardho...@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
> >
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: exit-code of 251

2019-03-07 Thread valdis . kletnieks
On Wed, 06 Mar 2019 17:20:07 +0530, prashantkumar dhotre said:

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

strace is your friend.

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: exit-code of 251

2019-03-07 Thread prashantkumar dhotre
The issue is not easy to reproduce.
unable to reproduce that even after many retries.


On Thu, Mar 7, 2019 at 2:30 PM  wrote:

> On Wed, 06 Mar 2019 17:20:07 +0530, prashantkumar dhotre said:
>
> > Could you please let me know if any system call can exit with 251 ?
> > I am trying to find out who exited with 251 ?
>
> strace is your friend.
>
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies