<div dir="ltr">My Apologies. I was just trying to show the snippet of bind library code where named was failing.<div><br></div><div>I am trying to run named after compiling the bind library. The command I use to run named is as follows:</div><div><br></div><div>/bin/named -c /etc/named.conf</div><div><br></div><div>It appears that it is failing when it tries to daemonize named. what could be causing it ?</div><div><br></div><div>named will eventually run as daemon in my dns server.</div><div><br></div><div>Please let me know if more information is needed.</div><div><br></div><div>Thanks,</div><div>Avi</div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, May 20, 2024 at 10:47 AM Ondřej Surý <<a href="mailto:ondrej@isc.org">ondrej@isc.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto"><blockquote type="cite"><div dir="ltr"><div dir="ltr">Can someone please help what could be the issue here?</div></div></blockquote><div><br></div>Not really. First start by using the latest 9.18 version and not something that’s two years old and then you need to provide more information than a screenshot of random code snippet. If you want free help you need to provide information about what you are actually doing.<div><br></div><div>This old essay is still true: <a href="https://www.chiark.greenend.org.uk/~sgtatham/bugs.html" target="_blank">https://www.chiark.greenend.org.uk/~sgtatham/bugs.html</a><br><div><br></div><div>Ondrej<br><div dir="ltr"><div>--</div>Ondřej Surý — ISC (He/Him)<div><br></div><div>My working hours and your working hours may be different. Please do not feel obligated to reply outside your normal working hours.</div></div><div dir="ltr"><br><blockquote type="cite">On 20. 5. 2024, at 17:55, avijeet gupta <<a href="mailto:avijeet.gupta@gmail.com" target="_blank">avijeet.gupta@gmail.com</a>> wrote:<br><br></blockquote></div><blockquote type="cite"><div dir="ltr"><div dir="ltr">Hi All,<div><br></div><div>I compiled bind-9.18.0 successfully but when I try to run named via configuration file, named exits with return code 1.</div><div><br></div><div>The below code in bin/named/os.c is where it is failing.</div><div><br></div><div><div><image.png></div><br></div><div><br></div><div>When i run named with gdb , i see that it is exiting in the above code.</div><div><br></div><div>Can someone please help what could be the issue here?</div><div><br></div><div>Thanks,</div><div>Avij</div><div><br></div></div>
<span>-- </span><br><span>Visit <a href="https://lists.isc.org/mailman/listinfo/bind-users" target="_blank">https://lists.isc.org/mailman/listinfo/bind-users</a> to unsubscribe from this list</span><br><span></span><br><span>ISC funds the development of this software with paid support subscriptions. Contact us at <a href="https://www.isc.org/contact/" target="_blank">https://www.isc.org/contact/</a> for more information.</span><br><span></span><br><span></span><br><span>bind-users mailing list</span><br><span><a href="mailto:bind-users@lists.isc.org" target="_blank">bind-users@lists.isc.org</a></span><br><span><a href="https://lists.isc.org/mailman/listinfo/bind-users" target="_blank">https://lists.isc.org/mailman/listinfo/bind-users</a></span><br></div></blockquote></div></div></div></blockquote></div>