[Top][All Lists]

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

Re: [certi-dev] Fedora 15 x86_64 build and install problems

From: schrjaxx
Subject: Re: [certi-dev] Fedora 15 x86_64 build and install problems
Date: Fri, 22 Jul 2011 01:54:53 +0000

> There should be a problem with hostname resolution,
> Unfortunately CERTI is using the obsolete "gethostbyname" call which
> is probably failing because it cannot translate hostname to @IP.
> When you want CERTI to show more information about created exception
> you could
> then re-execute rtig, you should see more information.

OK, did that, this is the result:

address@hidden CERTI-3.4.0-Source]$ rtig
CERTI RTIG 3.4.0 - Copyright 2002-2008 ONERA
This is free software ; see the source for copying conditions. There is NO

HLALOG - 1311298660.097993 - /home/jas/src/certi/CERTI-3.4.0-Source/libCERTI/Exception.cc> CERTI::Exception [NetworkError - reason=gethostbyname gave NULL answer for hostname <hagar> with error <Success>
terminate called after throwing an instance of 'certi::NetworkError'
Aborted (core dumped)

so it looks like hostname resolution is the issue.

> In order to check if local hostname resolution is Ok you can try the
> following command:
> $ host `hostname`
Here is the result.

address@hidden CERTI-3.4.0-Source]$ host hagar
Host hagar not found: 3(NXDOMAIN)

address@hidden CERTI-3.4.0-Source]$ host localhost
Host localhost not found: 3(NXDOMAIN)

> or
> $ ping  `hostname`

address@hidden CERTI-3.4.0-Source]$ ping hagar
ping: unknown host hagar

address@hidden CERTI-3.4.0-Source]$ ping localhost
PING localhost.localdomain ( 56(84) bytes of data.
64 bytes from localhost.localdomain ( icmp_req=1 ttl=64 time=0.049 ms
64 bytes from localhost.localdomain ( icmp_req=2 ttl=64 time=0.029 ms
64 bytes from localhost.localdomain ( icmp_req=3 ttl=64 time=0.029 ms
--- localhost.localdomain ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1999ms
rtt min/avg/max/mdev = 0.029/0.035/0.049/0.011 ms

> if one of those command are failing then fix your name resolution
> (possibly by editing /etc/hosts file)

Here is the content of my /etc/hosts file

address@hidden CERTI-3.4.0-Source]$ cat /etc/hosts localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6

and my environment variables have


which obviously does not seem to work.

I have tried

export CERTI_HOST=localhost

but this does not appear to work either.

What do I do to fix the /etc/hosts file?

I apologize for my ignorance of network set ups. I am sure this is pretty basic for the
people typically tying to get CERTI up and running, so I do appreciate your patience!!

reply via email to

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