[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [hobbit] Two DNS lookups for a server but one fails
- To: <hobbit (at) hswn.dk>
- Subject: RE: [hobbit] Two DNS lookups for a server but one fails
- From: "Ward, Martin" <Martin.Ward (at) colt.net>
- Date: Fri, 9 Jan 2009 15:31:06 -0000
- Thread-index: AclyJHqJi7XIi7eqSHeCRR84WGZxewAADr6wAASSHQAAAPF7cAAEJungAAi2Z4A=
- Thread-topic: [hobbit] Two DNS lookups for a server but one fails
Well I have poked and prodded at the code for the last few hours but to no avail. I can't actually see why strbuf_addtobuffer() is shown as having rubbish passed to it in the newtext variable when it is being called from dns2.c with a static text string: "Undocumented ARES return code\n"
Also I am unsure why it's even reaching this part of the code when I specified --no-ares on the command line.
Any ideas?
|\/|artin
> -----Original Message-----
> From: Ward, Martin [mailto:Martin.Ward (at) colt.net]
> Sent: 09 January 2009 11:48
> To: hobbit (at) hswn.dk
> Subject: RE: [hobbit] Two DNS lookups for a server but one fails
>
>
> OK, I found a core file and have gleaned the following (I
> removed the symbol load messages):
>
> Core was generated by `bbtest-net --report --ping
> --checkresponse --no-ares'. Program terminated with signal 6,
> Aborted. #0 0xfec64a27 in _lwp_kill () from /lib/libc.so.1
> (gdb) bt
> #0 0xfec64a27 in _lwp_kill () from /lib/libc.so.1
> #1 0xfec621d4 in thr_kill () from /lib/libc.so.1
> #2 0xfec111c7 in raise () from /lib/libc.so.1
> #3 0xfebf15d9 in abort () from /lib/libc.so.1
> #4 0x0806cbea in sigsegv_handler (signum=11) at sig.c:52
> #5 0xfec63def in __sighndlr () from /lib/libc.so.1
> #6 0xfec5a292 in call_user_handler () from /lib/libc.so.1
> #7 <signal handler called>
> #8 0x0806db51 in strbuf_addtobuffer (buf=0x10,
> newtext=0x8106960 "@\f\a\bÀX\022\b\b", newlen=135419976)
> at strfunc.c:100 #9 0x08061783 in dns_detail_callback
> (arg=0x812ee90, status=16, abuf=0x0,
> alen=0) at dns2.c:215
> #10 0x08070ba0 in end_squery (squery=0x81258c0,
> status=134700378, abuf=0x0,
> alen=0) at ares_search.c:185
> #11 0x08070c6f in search_callback (arg=0x81258c0,
> status=134700378, abuf=0x0,
> alen=0) at ares_search.c:179
> #12 0x08072fac in qcallback (arg=0x8106960, status=16,
> abuf=0x0, alen=0)
> at ares_query.c:110
> #13 0x080728b4 in ares_destroy (channel=0x8125848) at
> ares_destroy.c:40 #14 0x08060ff3 in dns_test_server (serverip=0x0,
> hostname=0x810781c "a:mx.colt.net,ns:mx.colt.net",
> banner=0x8106f60)
> at dns.c:362
> #15 0x08057bf7 in run_nslookup_service (service=0x0) at
> bbtest-net.c:970 ---Type <return> to continue, or q <return>
> to quit--- #16 0x0805abf9 in main (argc=5, argv=0x804675c) at
> bbtest-net.c:2218
> (gdb)
>
> |\/|artin
>
> > -----Original Message-----
> > From: Ward, Martin [mailto:Martin.Ward (at) colt.net]
> > Sent: 09 January 2009 10:35
> > To: hobbit (at) hswn.dk
> > Subject: RE: [hobbit] Two DNS lookups for a server but one fails
> >
> >
> > Johan,
> >
> > The "purple problems" are a different view of this same
> > error. Having experienced both I can say that you either get
> > bb-net to crash or you find that all your remote connection
> > tests (where bbtest-net verifies if a remote port is
> > accessible) turn purple. Possibly you may get both at the
> > same time, I haven't noticed that yet.
> >
> > I can confirm that using the new dns.c code bbtest-net
> > crashes on my Solaris 10 system whether I use the --no-ares
> > option or not. 8-(
> >
> > |\/|artin
> >
> >
> > > -----Original Message-----
> > > From: Johan Sjöberg [mailto:johan.sjoberg (at) deltamanagement.se]
> > > Sent: 09 January 2009 08:49
> > > To: hobbit (at) hswn.dk
> > > Subject: RE: [hobbit] Two DNS lookups for a server but one fails
> > >
> > >
> > > We did not experience any "purple" problems, only this
> single crash
> > > of the bbtest-net. But I suppose that several consecutive crashes
> > > would have caused the tests to go purple.
> > >
> > > /Johan
> > >
> > > -----Original Message-----
> > > From: Everett, Vernon [mailto:Vernon.Everett (at) woodside.com.au]
> > > Sent: den 9 januari 2009 07:44
> > > To: hobbit (at) hswn.dk
> > > Subject: RE: [hobbit] Two DNS lookups for a server but one fails
> > >
> > > This looks remarkably like the error we were
> experiencing. What are
> > > you running on?
> > >
> > > Do you have the case where all the network tests - ping, http,
> > > https, ftp etc. go purple? If so it might be the same.
> > >
> > > With Henrik's assistance, we resolved it down to a
> problem with the
> > > ARES resolver. I changed our hobbitlaunch.cfg file to include the
> > > --no-ares option (see below), and we have never had the
> issue again.
> > > [bbnet]
> > > ENVFILE /usr/lib/hobbit/server/etc/hobbitserver.cfg
> > > NEEDS hobbitd
> > > CMD bbtest-net --report --ping --checkresponse --no-ares
> > > LOGFILE $BBSERVERLOGS/bb-network.log
> > > INTERVAL 5m
> > >
> > > (Of course this does come with a caveat. See bbtest-net
> man page in
> > > Xymon docs
> > > http://www.xymon.com/hobbit/help/manpages/man1/bbtest-net.1.html )
> > >
> > > YMMV.
> > >
> > > Cheers
> > > V
> > >
> > >
> > >
> > > -----Original Message-----
> > > From: doctor (at) makelofine.org [mailto:doctor (at) makelofine.org]
> > > Sent: Friday, 9 January 2009 3:34 PM
> > > To: hobbit (at) hswn.dk
> > > Subject: Re: [hobbit] Two DNS lookups for a server but one fails
> > >
> > > On Thu, 8 Jan 2009 09:24:29 +0100, "Lars Ebeling"
> > > <lars.ebeling (at) leopg9.no-ip.org> wrote:
> > > > ----- Original Message -----
> > > > From: "Johan Sjöberg" <johan.sjoberg (at) deltamanagement.se>
> > > > To: <hobbit (at) hswn.dk>
> > > > Sent: Thursday, January 08, 2009 9:04 AM
> > > > Subject: RE: [hobbit] Two DNS lookups for a server but one fails
> > > >
> > > >
> > > > This night, after installing the new bbtest-net, we
> > > received an alarm
> > > > on bbtest for the Xymon server, saying " - Program
> crashed Fatal
> > > > signal caught!"
> > > >>From hobbitlaunch.log: "2009-01-08 05:05:07 Task bbnet
> > terminated by
> > > >>signal 6"
> > > >
> > > > /Johan
> > > >
> > > >
> > > > If the program crash, you should have a coredump. Run gdb on the
> > > > coredump
> > >
> > > > and post the result here, for Henrik to look at.
> > > >
> > > > --
> > > > Regards
> > > > Lars Ebeling
> > > >
> > > > http://leopg9.no-ip.org
> > > > Hobbithobbyist
> > > >
> > > > "I am not young enough to know everything."
> > > > -- Oscar Wilde
> > > >
> > > >
> > > >
> > > > To unsubscribe from the hobbit list, send an e-mail to
> > > > hobbit-unsubscribe (at) hswn.dk
> > > >
> > >
> > > Hi,
> > >
> > > Same issue on my side, i used the new compiled bbtest-net using
> > > corrected dns.c All is OK, but i got same issue with same error
> > > message.
> > >
> > > To unsubscribe from the hobbit list, send an e-mail to
> > > hobbit-unsubscribe (at) hswn.dk
> > >
> > >
> > >
> > > NOTICE: This email and any attachments are confidential. They may
> > > contain legally privileged information or copyright material. You
> > > must not read, copy, use or disclose them without
> authorisation. If
> > > you are not an intended recipient, please contact us at once by
> > > return email and then delete both messages and all attachments.
> > >
> > >
> > > To unsubscribe from the hobbit list, send an e-mail to
> > > hobbit-unsubscribe (at) hswn.dk
> > >
> > >
> > >
> > > To unsubscribe from the hobbit list, send an e-mail to
> > > hobbit-unsubscribe (at) hswn.dk
> > >
> > >
> > >
> >
> >
> > **************************************************************
> > ***********************
> > The message is intended for the named addressee only and may
> > not be disclosed to or used by anyone else, nor may it be
> > copied in any way.
> >
> > The contents of this message and its attachments are
> > confidential and may also be subject to legal privilege. If
> > you are not the named addressee and/or have received this
> > message in error, please advise us by e-mailing
> > security (at) colt.net and delete the message and any attachments
> > without retaining any copies.
> >
> > Internet communications are not secure and COLT does not
> > accept responsibility for this message, its contents nor
> > responsibility for any viruses.
> >
> > No contracts can be created or varied on behalf of COLT
> > Telecommunications, its subsidiaries or affiliates ("COLT")
> > and any other party by email Communications unless expressly
> > agreed in writing with such other party.
> >
> > Please note that incoming emails will be automatically
> > scanned to eliminate potential viruses and unsolicited
> > promotional emails. For more information refer to
> www.colt.net or contact us on +44(0)20 7390 3900.
>
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe (at) hswn.dk
>
>
>
>
> **************************************************************
> ***********************
> The message is intended for the named addressee only and may
> not be disclosed to or used by anyone else, nor may it be
> copied in any way.
>
> The contents of this message and its attachments are
> confidential and may also be subject to legal privilege. If
> you are not the named addressee and/or have received this
> message in error, please advise us by e-mailing
> security (at) colt.net and delete the message and any attachments
> without retaining any copies.
>
> Internet communications are not secure and COLT does not
> accept responsibility for this message, its contents nor
> responsibility for any viruses.
>
> No contracts can be created or varied on behalf of COLT
> Telecommunications, its subsidiaries or affiliates ("COLT")
> and any other party by email Communications unless expressly
> agreed in writing with such other party.
>
> Please note that incoming emails will be automatically
> scanned to eliminate potential viruses and unsolicited
> promotional emails. For more information refer to
www.colt.net or contact us on +44(0)20 7390 3900.
To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe (at) hswn.dk
*************************************************************************************
The message is intended for the named addressee only and may not be disclosed to or used by anyone else, nor may it be copied in any way.
The contents of this message and its attachments are confidential and may also be subject to legal privilege. If you are not the named addressee and/or have received this message in error, please advise us by e-mailing security (at) colt.net and delete the message and any attachments without retaining any copies.
Internet communications are not secure and COLT does not accept responsibility for this message, its contents nor responsibility for any viruses.
No contracts can be created or varied on behalf of COLT Telecommunications, its subsidiaries or affiliates ("COLT") and any other party by email Communications unless expressly agreed in writing with such other party.
Please note that incoming emails will be automatically scanned to eliminate potential viruses and unsolicited promotional emails. For more information refer to www.colt.net or contact us on +44(0)20 7390 3900.