Chapter 6. Troubleshooting
33
6.4. General Problems
To begin troubleshooting general problems, examine the log file or files related to the
component exhibiting failures. A useful exercise is to tail all log files and then run
up2date
--list
. You should then examine all new log entries for potential clues.
A common issue is full disk space. An almost sure sign of this is the appearance of halted
writing in the log files. If logging stopped during a write, such as mid-word, you likely
have filled disks. To confirm this, run this command and check the percentages in the
Use% column:
df -h
In addition to log files, you can obtain valuable information by retrieving the status of your
various components. This can be done for the Apache HTTP Server and Squid.
To obtain the status of the Apache HTTP Server, run the command:
service httpd status
To obtain the status of Squid, run the command:
service squid status
If the administrator isn’t getting email from the RHN Proxy Server, confirm the correct
email addresses have been set for
traceback_mail
in
/etc/rhn/rhn.conf
.
6.5. Host Not Found/Could Not Determine FQDN
Because RHN configuration files rely exclusively on fully qualified domain names
(FQDN), it is imperative key applications are able to resolve the name of the RHN Proxy
Server into an IP address.
Red Hat Update Agent
,
Red Hat Network Registration
Client
, and the Apache HTTP Server are particularly prone to this problem with the RHN
applications issuing errors of "host not found" and the Web server stating "Could not
determine the server’s fully qualified domain name" upon failing to start.
This problem typically originates from the
/etc/hosts
file. You may confirm this by
examining
/etc/nsswitch.conf
, which defines the methods and the order by which
domain names are resolved. Usually, the
/etc/hosts
file is checked first, followed by
Network Information Service (NIS) if used, followed by DNS. One of these has to succeed
for the Apache HTTP Server to start and the RHN client applications to work.
To resolve this problem, identify the contents of the
/etc/hosts
file. It may look like
this:
Содержание NETWORK PROXY SERVER 4.0 -
Страница 1: ...RHN Proxy Server 4 0 Installation Guide ...
Страница 4: ......
Страница 10: ...6 Chapter 1 Introduction ...
Страница 42: ...38 Appendix A Sample RHN Proxy Server Configuration File ...