Crash sem logs | Fórum | School of Net

Deseja poder participar de nosso fórum e tirar todas as suas dúvidas?
Clique aqui e assine nosso plano de acesso ilimitado. Saiba mais.

por Natália

1 ano, 10 meses atrás Natália

Crash sem logs

Boa Tarde. Em um servidor CENTOS 7, rodando apache. *** Tenho cpu em 40% memoria 8% 43% de espaço físico usado Isso na hora em que o servidor caiu. Não tenho registrado, pelo menos que eu tenha conseguido identificar. Isso tem acontecido, regularmente. Não consigo identificar o problema. Em /var/log/messages: ``` vim /var/log/messages Jan 20 20:49:26 efuturo systemd: Created slice User Slice of root. Jan 20 20:49:26 efuturo systemd: Started Session 1969 of user root. Jan 20 20:49:26 efuturo systemd-logind: New session 1969 of user root. Jan 20 20:49:33 efuturo systemd: Stopping The Apache HTTP Server... Jan 20 20:51:01 efuturo systemd: Started Session 1970 of user root. Jan 20 20:51:03 efuturo systemd: httpd.service stop-sigterm timed out. Killing. Jan 20 20:51:03 efuturo systemd: httpd.service: main process exited, code=killed, status=9/KILL Jan 20 20:51:03 efuturo systemd: Stopped The Apache HTTP Server. Jan 20 20:51:03 efuturo systemd: Unit httpd.service entered failed state. Jan 20 20:51:03 efuturo systemd: httpd.service failed. Jan 20 20:51:03 efuturo systemd: Starting The Apache HTTP Server... Jan 20 20:51:03 efuturo httpd: AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using ::1. Set the 'ServerName' directive globally to suppress this message Jan 20 20:51:03 efuturo systemd: Started The Apache HTTP Server.:q ``` em /var/log/error.log ``` [Wed Jan 20 20:49:33.119772 2021] [mpm_prefork:notice] [pid 26051] AH00170: caught SIGWINCH, shutting down gracefully [Wed Jan 20 20:51:03.539698 2021] [core:notice] [pid 9241] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0 [Wed Jan 20 20:51:03.541001 2021] [suexec:notice] [pid 9241] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using ::1. Set the 'ServerName' directive globally to suppress this message [Wed Jan 20 20:51:03.566288 2021] [lbmethod_heartbeat:notice] [pid 9241] AH02282: No slotmem from mod_heartmonitor [Wed Jan 20 20:51:03.616519 2021] [mpm_prefork:notice] [pid 9241] AH00163: Apache/2.4.6 (CentOS) PHP/5.6.40 configured -- resuming normal operations [Wed Jan 20 20:51:03.616577 2021] [core:notice] [pid 9241] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND' [Thu Jan 21 12:23:25.252447 2021] [cgi:error] [pid 31092] [client 172.98.64.135:37038] script not found or unable to stat: /var/www/cgi-bin/kerbynet [Thu Jan 21 12:40:11.836004 2021] [cgi:error] [pid 31783] [client 181.143.101.194:54258] script not found or unable to stat: /var/www/cgi-bin/ViewLog.asp [Thu Jan 21 13:51:52.237854 2021] [cgi:error] [pid 1911] [client 181.143.101.194:48505] script not found or unable to stat: /var/www/cgi-bin/ViewLog.asp [Thu Jan 21 14:08:53.980767 2021] [cgi:error] [pid 2358] [client 181.143.101.194:60320] script not found or unable to stat: /var/www/cgi-bin/ViewLog.asp ``` unica referencia em last -x no horário do crash, ip de um servidor País:Japan Estado:Tokyo Cidade:Tokyo ´´´ root pts/0 126.2.37.188.rev Wed Jan 20 20:49 - 02:10 (05:20) root pts/0 126.2.37.188.rev Tue Jan 19 19:13 - 05:09 (09:55) ``` Podem ajudar a saber quem quais servições estão desligando o servidor e porque motivo Obrigada

2 Respostas