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: Spam Collector
Subject: Re: Cfengine 2.0.5 cfagent segfault gethostbyname
Date: Fri, 19 Sep 2003 15:54:02 GMT
User-agent: slrn/0.9.7.4 (Linux)

In article <mailman.419.1063978783.21628.help-cfengine@gnu.org>,
  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?

I don't run AS, but I have seen cfengine segfault if /etc/nsswitch.conf
is set to use db before files if db doesn't exist.  If you are only
using files (and dns for hosts), the try removing the references
to db.

Frank
 
> [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.
> 
> 
> 


reply via email to

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