Current-Users archive

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

Re: having problems using 'gethostbyname'



ktrace is a pretty handy program!

I'm including the output file to see if something can be figured from it.
Looks to me like it tries to open a whole sequence of files
unsuccessfully, and then fails.

David

On 12/18/08, Michael van Elst <mlelstv%serpens.de@localhost> wrote:
> dldudley%gmail.com@localhost ("David Dudley") writes:
>
>>Edm is a pretty big program, made up of around 10-15 different libraries
>> and
>>component parts.
>
>>The problem this program is having is clearly in the 'hosts' line of the
>>nsswitch.conf file, and as I change my nsswitch.conf file, I can change the
>>failure message from 'nss_dns.so.0' to 'nss_files.so.0' (don't see an error
>>on loading 'nss_nis.so.0' however).
>
> Looks like edm does something nasty, like doing a chroot or limiting
> or exhausting ressources so that the nss shared objects cannot be
> loaded.
>
> Please try ktrace to find out what part of that process actually fails.
>
> --
> --
>                                 Michael van Elst
> Internet: mlelstv%serpens.de@localhost
>                                 "A potential Snark may lurk in every tree."
>

Attachment: ktrace.out
Description: Binary data



Home | Main Index | Thread Index | Old Index