14,958
edits
(→Apache) |
|||
| Line 96: | Line 96: | ||
=== check the server/service logs === | === check the server/service logs === | ||
==== Apache ==== | ==== Apache ==== | ||
[http://httpd.apache.org/ Apache HTTP server] log: /etc/httpd/logs (location was set up in the configuration file /etc/httpd/conf/httpd.conf) | |||
* access.log | |||
* error.log - record when the apache service restarted/stopped | |||
Using grep command to search the logs: {{kbd | key=<nowiki>grep -ir "string to search" /path/to/directory</nowiki>}}. more on [[Search text in files]] | |||
==== MySQL ==== | ==== MySQL ==== | ||