Error creating Active Directory

Trying to create an active directory, getting an error…

Task completed with errors
Initialization #1 (exit status 1)
[RepoError] Cannot find a valid baseurl for repo: base/7/x86_64

What to do?

Can you post the relevant part that was logged in /var/log/messages at the time of the error?
Has your server Internet access (can it ping a public ip address? can it ping a public domain? are the DNS ok?). Use command line and/or Diagnostics page.

Check if something in this thread helps:


Thank you. I checked the DNS in Network and it was set to I changed it to a known working address and now I have an Active Directory.