Begin here: OS X Server requirements and follow the complete series "before you set up" in the left hand side of the screen to get many potential startup problems ironed out.
Also do a
sudo changeip -checkhostname
in terminal and post changes here.
i didn't know about that page, it helped me because it shows information that i didn't found.
Regarding the command, the syntax is a bit strange, isn't it?? changeip and checkhostname? you want to know my public ip? my hostname? the name of the domain?
what information you want to know?? ask me and i'll try to find it.
Thanks anyway for the tip on the link!
That's why i'm asking for the command you asked me to put on the term. the information it could show, is regarding ip's and hostname's, nevertheless it didn't work changeip, is not recognized by the term, with sudo, nor bash...
i do, but this server, will not use that information, i will access it through VPN and LAN
You likely received an error titled "this computer's host name is invalid", with the description: "the host name does not resolve to any configured address of this computer. Please ensure the host name is correct" while setting up Open Directory (via Provile Manager), am I right?
changeip(8) BSD System Manager's Manual changeip(8)
changeip -- Change service configuration files with hard-coded IP
changeip [-v] [-d path] old-ip [new-ip] [old-hostname new-hostname]
changeip is used to manually update configuration records when a server's
IP address or hostname changed in a way that affected services were
unable to properly process, for example when the server is behind a NAT
device and the WAN identity changed.
In typical usage, this command is used by an administrator to correct
affected services when a server's network information changes. changeip
can be invoked before the change is applied; in such an invocation, the
arguments consist of the server's current and pending IP addresses, and
optionally the existing and new host name. Their usage and valid values
old-ip If the IP address has not yet been changed, this is the
existing IP address of the server. If the IP has already
been changed, this is the previous address. (This is the
value that will be replaced in the server's relevant con-
new-ip If the IP address has not yet been changed, this is the IP
address that will be assigned to the server. If the IP has
already been changed, this is the existing IP address. This
value will replace old-ip in the machine's configuration.
old-hostname As with old-ip, the existing or previous fully qualified
domain name ("FQDN" or sometimes "DNS name") for this
server. If only the IP address was affected, this argument
and the next may be omitted.
new-hostname If old-hostname was provided, this argument must also be
provided. The machine's fully qualified domain name and
related service configuration will be set to this value.
Once the tool has successfully completed, the administrator must change
the machine's network settings in the Network Control Panel to match
new-ip (if new-ip is not the current IP) and immediately reboot the
The second invocation, -checkhostname, provides a diagnostic tool that
compares the current IP address and hostname to the information returned
The final invocation prints usage information.
changeip must be run as root.
The following options are available:
-d path Iterate over the executables in path instead of the default
-h Print usage summary and exit.
-v Run verbosely, that is with additional diagnostic output.
FILES & FOLDERS
- directory containing service-specific tools
This would be a typical invocation for a server redeployment:
It is also possible to leave the host name intact and only change the IP
Its complement could be used to change only the host names, perhaps
because the DNS tables have been changed:
184.108.40.206 220.127.116.11 old.example.com new.example.com
Note how the IP addresses are required, but that they are identical.
Optionally you may supply only a single IP Address if only the hostname
18.104.22.168 old.example.com new.example.com
Note a warning will be returned if, after setting the new hostname, it
does not resolve to the IP Address supplied.
The changeip utility exits 0 on success, and >0 if an error occurs.
/Applications/Server.app/Contents/ServerRoot/usr/sbin/changeip must be
run as root. Because changeip modifies system-wide resources, it must be
executed by the root user.
Invalid IP Address: One of the IP address arguments was invalid.
dscl(1), DirectoryServiceAttributes(7), DirectoryService(8), scutil(8)
The script does not perform the actual change of IP address; this is by
A version of changeip has been present in Mac OS X Server since at least
version 10.3 (Panther).
In 10.6 (Snow Leopard), changeip no longer manipulates the directory and
therefore no longer takes a directory URL as an argument.
Mac OS X Server 10.8 September 17, 2008 Mac OS X Server 10.8
Go through each link pointing to the "Before you set up" pages in the Server documentation and try to find errors:
You are doing all these steps on your server, right?