Linking the /etc/hosts file
Linking the /etc/hosts file
If the original system displayed a symbolic link for /etc/hosts to /etc/inet/hosts, this procedure is not needed. Continue with Checking the status of the disks on page 53.
If the original system did not display a symbolic link for /etc/hosts to ./inet/hosts and the original system was operating properly, you must restore the /etc/hosts file temporarily until the customer has time to merge any relevant information into a single "hosts" file.
To restore the /etc/hosts file:
1.Enter the following commands:
mv /etc/inet/hosts /etc/inet/hosts.orig
cp
2.Enter:
ls -l /etc/hosts
A message similar to the following is displayed:
lrwxrwxrwx 1 root | root | 12 Feb 23 2002 /etc/hosts |
|
|
|
3.Do one of the following:
●If a symbolic link for /etc/hosts to ./inet/hosts is displayed (similar to what is shown above, continue with Step 6.
●If the system does not display a symbolic link for /etc/hosts to ./inet/hosts and the original system was operating properly, continue with Step 4.
4.Enter the following commands: cd /etc
ln -s ./inet/hosts /etc/hosts
5.Verify that the files are linked by repeating Step 2.
6.Inform the customer they need to merge any relevant information from the /etc/inet/hosts.orig file into the /etc/hosts file, and that in the future they should verify /etc/hosts is a symbolic link to /etc/inet/hosts before making modifications to the /etc/hosts file.
7.Continue with Checking the status of the disks on page 53.
8.Continue with Installing the remaining disk drives on page 50.