Testing: Difference between revisions

Jump to navigation Jump to search
147 bytes added ,  13 May 2013
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)
[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
* access.log
** error.log - record when the apache service restarted/stopped
* 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 ====

Navigation menu