help-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cfengine 2.0.5 cfagent segfault gethostbyname


From: Mark . Burgess
Subject: Re: Cfengine 2.0.5 cfagent segfault gethostbyname
Date: Fri, 19 Sep 2003 16:00:10 +0200 (MEST)

Whenever you see gethostbyname in one of these segfaults,
you should look in nswitch.conf or equivalent file to see the
order of lookup. They are caused by the resolver subsystem
trying to look up hostnames in non-existent services (NIS,DNS,files etc)

This issue crops up at least once a month. I'm surprised that
the resolvers havenot been fixed yet. This is not a cfengine problem.

M

On 19 Sep, Dennis, Richard wrote:
> 
> I tried to run cfengine 2.0.5 that I have been running on AS2.1 (and
> compiled on AS2.1) just fine, but cfagent segfaults.  Has anyone else seen
> this before?
> 
> [root@njlxdesk1 bin]# gdb ./cfagent
> GNU gdb Red Hat Linux (5.3.90-0.20030710.30rh)
> Copyright 2003 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you are
> welcome to change it and/or distribute copies of it under certain
> conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for details.
> This GDB was configured as "i386-redhat-linux-gnu"...(no debugging symbols
> found)...Using host libthread_db library "/lib/tls/libthread_db.so.1".
> 
> (gdb) run
> Starting program: /var/cfengine/bin/cfagent
> 
> Program received signal SIGSEGV, Segmentation fault.
> 0x081cb941 in _dl_relocate_object ()
> (gdb) bt
> #0  0x081cb941 in _dl_relocate_object ()
> #1  0x081bad5f in dl_open_worker ()
> #2  0x08196a47 in _dl_catch_error ()
> #3  0x081bae9b in _dl_open ()
> #4  0x08197472 in do_dlopen ()
> #5  0x08196a47 in _dl_catch_error ()
> #6  0x08197365 in __libc_dlopen ()
> #7  0x0818b842 in __nss_lookup_function ()
> #8  0x0818c1b2 in __nss_lookup ()
> #9  0x0818d01f in gethostbyname_r ()
> #10 0x0818cc37 in gethostbyname ()
> #11 0x08085818 in GetNameInfo ()
> #12 0x08048263 in main ()
> (gdb)
> 
> 
> 
> 
> ------------------------------------------------------------------------------
> This message is intended only for the personal and confidential use of the
> designated recipient(s) named above.  If you are not the intended recipient of
> this message you are hereby notified that any review, dissemination,
> distribution or copying of this message is strictly prohibited.  This
> communication is for information purposes only and should not be regarded as
> an offer to sell or as a solicitation of an offer to buy any financial
> product, an official confirmation of any transaction, or as an official
> statement of Lehman Brothers.  Email transmission cannot be guaranteed to be
> secure or error-free.  Therefore, we do not represent that this information is
> complete or accurate and it should not be relied upon as such.  All
> information is subject to change without notice.
> 
> 
> 
> _______________________________________________
> Help-cfengine mailing list
> Help-cfengine@gnu.org
> http://mail.gnu.org/mailman/listinfo/help-cfengine



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272            Email:  Mark.Burgess@iu.hio.no
Fax : +47 22453205            WWW  :  http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~





reply via email to

[Prev in Thread] Current Thread [Next in Thread]