Download RedHat 5.2 - Reference Guide

Transcript
348
Red Hat Linux Installation Support FAQ
rpm -Va
will give you a list of all files that have changed in one form or another since the package it is associated was installed. This can be a lot of files (and a lot may be changed due to post installation work).
To just see what packages have changed so that you can verify them more individually, you can do
the following:
rpm -Va --pipe "awk ’print $2’ | xargs rpm -qf | sort -u" &> /tmp/file1
Then look in the file /tmp/file1 for which packages have had changes from them.
E.10
Network Administration
E.10.1
Boot hangs during sendmail
Question
I have installed Linux, and it seems to initially start booting. However it gets down to something called
sendmail and then the machine seems to hang. What is happening and what should I do?
Answer
If after the install the machine seems to hang when it reaches certain processes like sendmail, apache,
or SMB there is probably a network problem. The most common cause is that Linux can not look
up the name of the machine you have called the box (if you set up networking to have a machine
name). The machine is currently paused waiting for the network timeout of DNS lookups, and will
eventually bring up the login prompt. Login in as root and check the usual culprits for a problem.
If you are directly on a network with a DNS server, make sure the file /etc/resolv.conf has the
correct values for your machine’s DNS server. Check with your systems administrator that the values
are correct.
If you are using Linux on a network without a DNS server (or this box is going to be the DNS server),
then you will need to edit the /etc/hosts file to have the hostname and IP address so that the
lookups will occur correctly. The format of the /etc/hosts file is:
127.0.0.1
192.168.200.1
localhost localhost.localdomain
mymachine mymachine.mynetwork.net
Where the example machine is called mymachine.