Re: [Freeipa-users] strange error deleting replica?

2014-11-11 Thread Martin Kosek
On 11/10/2014 06:58 PM, Janelle wrote:
 Hi --
 
 Has anyone seen this before?
 
 # ipa-replica-manage del kermit.xyzzy.com --force
 unexpected error: [Errno -2] Name or service not known
 
 ?? Very confused as to What service or name is not known?
 
 This is 4.0.5 running on CentOS  7.
 
 ~J

This is usually DNS resolution error, though the command should not crash this 
way.

Does follow resolution work?

$ host `hostname`
$ host kermit.xyzzy.com

Alternatively, if you are not sure which DNS resolution fails, we could look at
strace output:

$ strace -o ipa.strace ipa-replica-manage del kermit.xyzzy.com --force

That would create a log caled ipa.strace with all system calls of
ipa-replica-manage del command and we would see which DNS resolution failed.

Martin

-- 
Manage your subscription for the Freeipa-users mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-users
Go To http://freeipa.org for more info on the project


Re: [Freeipa-users] strange error deleting replica?

2014-11-11 Thread Martin Kosek
Adding freeipa-users list back. Would the ipa.strace log below then tell which
name resolution fail?

On 11/11/2014 05:36 PM, Janelle wrote:
 On all the systems, besides being in DNS (external server) they are all in 
 /etc/hosts, so not sure why that would error.
 But indeed they all resolve in DNS as well.
 
 Hmm..
 ~J
 Martin Kosek mailto:mko...@redhat.com
 November 11, 2014 at 3:01 AM

 This is usually DNS resolution error, though the command should not crash 
 this 
 way.

 Does follow resolution work?

 $ host `hostname`
 $ host kermit.xyzzy.com

 Alternatively, if you are not sure which DNS resolution fails, we could look 
 at
 strace output:

 $ strace -o ipa.strace ipa-replica-manage del kermit.xyzzy.com --force

 That would create a log caled ipa.strace with all system calls of
 ipa-replica-manage del command and we would see which DNS resolution failed.

 Martin
 

-- 
Manage your subscription for the Freeipa-users mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-users
Go To http://freeipa.org for more info on the project


[Freeipa-users] strange error deleting replica?

2014-11-10 Thread Janelle

Hi --

Has anyone seen this before?

# ipa-replica-manage del kermit.xyzzy.com --force
unexpected error: [Errno -2] Name or service not known

?? Very confused as to What service or name is not known?

This is 4.0.5 running on CentOS  7.

~J
-- 
Manage your subscription for the Freeipa-users mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-users
Go To http://freeipa.org for more info on the project