All of lore.kernel.org
 help / color / mirror / Atom feed
* exit-code of 251
@ 2019-03-06 11:50 prashantkumar dhotre
  2019-03-07  9:00 ` valdis.kletnieks
  0 siblings, 1 reply; 3+ messages in thread
From: prashantkumar dhotre @ 2019-03-06 11:50 UTC (permalink / raw)
  To: kernelnewbies


[-- Attachment #1.1: Type: text/plain, Size: 1218 bytes --]

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
> >

[-- Attachment #1.2: Type: text/html, Size: 1841 bytes --]

[-- Attachment #2: Type: text/plain, Size: 170 bytes --]

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: exit-code of 251
  2019-03-06 11:50 exit-code of 251 prashantkumar dhotre
@ 2019-03-07  9:00 ` valdis.kletnieks
  2019-03-07 13:52   ` prashantkumar dhotre
  0 siblings, 1 reply; 3+ messages in thread
From: valdis.kletnieks @ 2019-03-07  9:00 UTC (permalink / raw)
  To: prashantkumar dhotre; +Cc: kernelnewbies

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: exit-code of 251
  2019-03-07  9:00 ` valdis.kletnieks
@ 2019-03-07 13:52   ` prashantkumar dhotre
  0 siblings, 0 replies; 3+ messages in thread
From: prashantkumar dhotre @ 2019-03-07 13:52 UTC (permalink / raw)
  To: valdis.kletnieks; +Cc: kernelnewbies


[-- Attachment #1.1: Type: text/plain, Size: 371 bytes --]

The issue is not easy to reproduce.
unable to reproduce that even after many retries.


On Thu, Mar 7, 2019 at 2:30 PM <valdis.kletnieks@vt.edu> 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.
>

[-- Attachment #1.2: Type: text/html, Size: 706 bytes --]

[-- Attachment #2: Type: text/plain, Size: 170 bytes --]

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-03-07 13:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-06 11:50 exit-code of 251 prashantkumar dhotre
2019-03-07  9:00 ` valdis.kletnieks
2019-03-07 13:52   ` prashantkumar dhotre

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.