Red Hat DIRECTORY SERVER 2.0 - GATEWAY Manual de usuario Pagina 56

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 96
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 55
Chapter 7. Logging
[Mon Mar 24 09:50:58 2003] [notice] caught SIGTERM, shutting down
Figure 7-2. error_log: Shutting down
Analogous to SIGHUP is SIGTERM which is another of these operating system sig-
nals, but one with a universal function. It is the instruction to a process to shut down.
[Wed Mar 26 09:25:50 2003] [error] [client 131.111.10.87] File does
not exist: /var/www/CHEESE/nonesuch.html
Figure 7-3. error_log: File not found
Another commonly occuring error_log line is the one corresponding to a request
for a file that does not exist.
So far, the error_log lines we have looked at have had a standard format:
[date]
[severity]
message
Table 7-1. Logging levels
Level Meaning Example
emerg System is unusable. The
entire web service has
failed.
Child cannot open lock file.
Exiting
alert Action must be taken
immediately. The entire
web service has either
failed already or is
imminent danger of failing
completely.
getpwuid: couldn’t determine
user name from uid
crit Critical condition. A child
server has failed and
others are likely to follow.
socket: Failed to get a socket,
exiting child
error A request on a single
request.
File does not exist:
/var/www/CHEESE/nonesuch.html
warn Warnings. child process 10108 still did
not exit, sending a SIGTERM
notice Normal behaviour but
worthy of notice.
Apache/2.0.40 (Red Hat Linux)
configured -- resuming normal
operations
info Purely informational Server seems busy, (you may need
to increase StartServers, or
Min/MaxSpareServers)...
debug Debugging. Opening config file ...
We can change the level of the logging (of formatted messages) with the LogLevel
command. Either globally, or within specific virtual hosts’ sections we can issue the
command LogLevel debug, say, to get more debugging.
Messages issued from a running web server are well formatted. However, if you
make a syntax error in the httpd.conf file then the server won’t launch and the
error message is rather more stark.
52
Vista de pagina 55
1 2 ... 51 52 53 54 55 56 57 58 59 60 61 ... 95 96

Comentarios a estos manuales

Sin comentarios