|
Internet Services fails to start up after SP3 upgrade on Mac OS X
If FirstClass Internet Services will not start up giving you the following errors in the "FirstClass Server/fcisd.log" file, then the following procedure should resolve the issue.
[12/20/2004 10:20:08] InetSvc: GetMyIP: gethostbyname returned a NULL hostent
[12/20/2004 10:20:08] InetSvc: GetMyIP: gethostbyname returned a NULL hostent
Unable to determine this machine's IP address. Check the system configuration.
This issue occurs when the HOSTNAME value in the '/etc/hostconfig' file is not set to a valid domain name which resolves to the IP address of your FirstClass Internet Services computer.
The HOSTNAME value will need to be set to a valid domain name or IP which does resolve to your FirstClass Internet Services computer (ie. 'mail.yourdomain.com')
Step 1: You need to verify if a HOSTNAME is valid and then continue to step 2.
If you do not have an assigned host name, simply use the local IP of the machine (i.e. 192.168.40.200 in place of hostname.yourdomain.com).
You can use the following process to verify if a HOSTNAME is valid:
NB: It is important to ensure that the DNS server IP being used by the Mac OS and Internet Services are the same
1. Open the Terminal application, located in your Applications/Utilities folder.
2. Type the following command followed by 'Enter'.
host hostname.yourdomain.com (Where "hostname.yourdomain.com" represents your Fully Qualified Domain name (FQDN) name)
hostname.yourdomain.com has address 199.199.199.199 (This returned IP address should be that of your FirstClass Internet Services computer. If it is, then you can set the HostName value to the host name you entered. )
Step 2: Once you have found a valid host name that points to your FirstClass Internet Services computer, you need to set it as HOSTNAME value.
How To Set Your HOSTNAME value :
In the following processes, when you are asked for a password, enter the password you use to log into OS X as the fcadmin user.
Option 1: Temporary, but immediate change. Will NOT survive a machine restart, but will allow Internet Services to start:
1. Open the Terminal application, located in your Applications/Utilities folder.
2. Type the following command followed by 'Enter'.
sudo hostname -s hostname.yourdomain.com
Replace hostname.yourdomain.com with the assigned host name of the machine.
Option 2: Permanent change, but requires a machine restart to take effect:
This process involved editing the etc/HostConfig file and setting the "HOSTNAME" value to a valid domain name entry.
1. Open the Terminal application, located in your Applications/Utilities folder.
2. Type the following command followed by 'Enter'.
cd /etc
3. To create a backup of the 'hostconfig' file, type the following command followed by 'Enter'.
sudo cp hostconfig hostconfig.old
4. To edit the 'hostconfig' file in the text editor "pico", type the following command followed by 'Enter'.
sudo pico hostconfig
5. Then use the arrow keys to move to the "HOSTNAME=" line, and change it to read:
HOSTNAME=hostname.yourdomain.com
Replace hostname.yourdomain.com with the assigned host name of the machine.
If you do not have an assigned host name, simply use the local IP of the machine (i.e. HOSTNAME=192.168.40.200).
6. Save the hostconfig file by pressing (Control + O) followed by 'Enter' and then exit pico using (Control + X)
7. Restart the computer for the change to take effect.
|