209Chapter 6Securing LinuxTo view a particular log file, (Vps web hosting)
Wednesday, October 31st, 2007209Chapter 6Securing LinuxTo view a particular log file, click the log name in the left column. If you are lookingfor a particular message or problem, type a keyword into the Filter For box, and clickFilter. Only lines containing that keyword are displayed. Case matters, so searchingfor Mem won t find mem when you use the filter. Click Reset to display the wholefile again. Table 6-3 contains a listing of log files displayed in the System Logs window, alongwith other files in the /var/logdirectory that may interest you. Many of these filesare included with most Linux systems. Table 6-3Log Files in the /var/log DirectorySystem Logs FilenameDescriptionNameBoot Logboot.logContains messages indicating which systemsservices have started and shut down successfullyand which (if any) have failed to start or stop. Themost recent bootup messages are listed near theend of the file. Cron LogcronContains status messages from the crond, adaemon that periodically runs scheduled jobs, such as backups and log file rotation. Kernel Startup dmesgA recording of messages printed by the kernel Logwhen the system boots. FTP LogxferlogContains information about files transferred usingthe wu-ftpd FTP service. Apache Access httpd/access_logLogs requests for information from your Apache LogWeb server. Apache Error httpd/error_logLogs errors encountered from clients trying to Logaccess data on your Apache Web server. Mail LogmaillogContains information about addresses to whichand from which e-mail was sent. Useful fordetecting spamming. MySQL Server mysqld.logIncludes information related to activities of the LogMySQL database server (mysqld). News LogspoolerDirectory containing logs of messages from theUsenet News server if you are running one. RPM PackagesrpmpkgsContains a listing of RPM packages that areinstalled on your system. Continued12_