On Tue, Feb 7, 2012 at 8:39 PM, Craig T <[email protected]> wrote: > Hi, > > Is IPA somehow restricted from running on machines with a public IP address? > > I'm attempting to install IPA for practise on my Linux VPS (Centos 6.2 > x86_64); ...snip... > > Error: > ---------------------------------------------------------------------------- > Server host name [mx1.example.com]: > > root : DEBUG will use host_name: mx1.example.com > > The domain name has been calculated based on the host name. > > Please confirm the domain name [example.com]: > > root : DEBUG read domain_name: example.com > > root : DEBUG args=/sbin/ip -family inet -oneline address show > root : DEBUG stdout=1: lo inet 127.0.0.1/8 scope host lo > 3: venet0 inet 127.0.0.1/32 scope host venet0 > 3: venet0 inet 100.111.111.1/32 brd 100.111.111.1 scope global venet0:0 > 3: venet0 inet 100.111.111.2/32 brd 100.111.111.2 scope global venet0:1 > > root : DEBUG stderr= > Unexpected error - see ipaserver-install.log for details: > cannot use IP network address > root : DEBUG cannot use IP network address > File "/usr/sbin/ipa-server-install", line 1151, in <module> > sys.exit(main()) > > File "/usr/sbin/ipa-server-install", line 770, in main > ip = CheckedIPAddress(hostaddr, match_local=True) > > File "/usr/lib/python2.6/site-packages/ipapython/ipautil.py", line 145, in > __init__ > raise ValueError("cannot use IP network address") > ----------------------------------------------------------------------------
I can see you are trying to install FreeIPA on an OpenVZ VM. The problem is the venet interfaces you are using which don't use a routed network configuration. I have successfully installed it, but using veth interfaces instead. FreeIPA will then be able to correctly determine the IP address and install without issue. Steve _______________________________________________ Freeipa-users mailing list [email protected] https://www.redhat.com/mailman/listinfo/freeipa-users
