Удалился apache + php 7.2

Обсуждение установки и настройки поддерживаемых вебсерверов, а также работы с ними.
Ответить
beltyukovpro
Сообщения: 5
Зарегистрирован: Вс ноя 10, 2019 6:51 pm

Удалился apache + php 7.2

Сообщение beltyukovpro » Вс ноя 10, 2019 6:55 pm

Здравствуйте.

Установил панель на VPS, сайт проработал примерно 3 дня в отличном состоянии.

Сегодня обнаружил, что после 16 часов по МСК сайт выдаёт ошибку 503.

Зашёл в панель брайни, чтобы перезапустить апач.

Обнаружил, что кнопки перезапуска нет, есть кнопка установки, не было галочек на версиях php.

То есть всё удалилось.

Есть информация почему так могло произойти?

beltyukovpro
Сообщения: 5
Зарегистрирован: Вс ноя 10, 2019 6:51 pm

Re: Удалился apache + php 7.2

Сообщение beltyukovpro » Вс ноя 10, 2019 6:58 pm

Вот, что есть в логах:

[Sun Nov 10 03:14:03.671815 2019] [lbmethod_heartbeat:notice] [pid 16248:tid 140124228724864] AH02282: No slotmem from mod_heartmonitor
[Sun Nov 10 03:14:03.674166 2019] [mpm_worker:notice] [pid 16248:tid 140124228724864] AH00292: Apache/2.4.39 (BrainyCP - Sasha Bury) OpenSSL/1.0.2r-fips configured -- resuming normal operations
[Sun Nov 10 03:14:03.674202 2019] [core:notice] [pid 16248:tid 140124228724864] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Sun Nov 10 16:00:04.142167 2019] [mpm_worker:notice] [pid 16248:tid 140124228724864] AH00297: SIGUSR1 received. Doing graceful restart
[Sun Nov 10 16:00:04.317486 2019] [lbmethod_heartbeat:notice] [pid 16248:tid 140124228724864] AH02282: No slotmem from mod_heartmonitor
[Sun Nov 10 16:00:04.320438 2019] [mpm_worker:notice] [pid 16248:tid 140124228724864] AH00292: Apache/2.4.39 (BrainyCP - Sasha Bury) OpenSSL/1.0.2r-fips configured -- resuming normal operations
[Sun Nov 10 16:00:04.320486 2019] [core:notice] [pid 16248:tid 140124228724864] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Sun Nov 10 16:26:24.813142 2019] [mpm_worker:notice] [pid 16248:tid 140124228724864] AH00296: caught SIGWINCH, shutting down gracefully
[Sun Nov 10 16:27:05.759044 2019] [suexec:notice] [pid 857:tid 140609808074880] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sun Nov 10 16:27:05.776050 2019] [:notice] [pid 857:tid 140609808074880] ModSecurity for Apache/2.9.2 (http://www.modsecurity.org/) configured.
[Sun Nov 10 16:27:05.776079 2019] [:notice] [pid 857:tid 140609808074880] ModSecurity: APR compiled version="1.5.2"; loaded version="1.5.2"
[Sun Nov 10 16:27:05.776087 2019] [:notice] [pid 857:tid 140609808074880] ModSecurity: PCRE compiled version="8.32 "; loaded version="8.32 2012-11-30"
[Sun Nov 10 16:27:05.776092 2019] [:notice] [pid 857:tid 140609808074880] ModSecurity: LUA compiled version="Lua 5.1"
[Sun Nov 10 16:27:05.776095 2019] [:notice] [pid 857:tid 140609808074880] ModSecurity: YAJL compiled version="2.0.4"
[Sun Nov 10 16:27:05.776098 2019] [:notice] [pid 857:tid 140609808074880] ModSecurity: LIBXML compiled version="2.9.1"
[Sun Nov 10 16:27:05.776101 2019] [:notice] [pid 857:tid 140609808074880] ModSecurity: Status engine is currently disabled, enable it by set SecStatusEngine to On.
[Sun Nov 10 16:27:06.066179 2019] [lbmethod_heartbeat:notice] [pid 857:tid 140609808074880] AH02282: No slotmem from mod_heartmonitor
[Sun Nov 10 16:27:06.115329 2019] [mpm_worker:notice] [pid 857:tid 140609808074880] AH00292: Apache/2.4.39 (BrainyCP - Sasha Bury) OpenSSL/1.0.2r-fips configured -- resuming normal operations
[Sun Nov 10 16:27:06.115410 2019] [core:notice] [pid 857:tid 140609808074880] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Sun Nov 10 20:21:56.525475 2019] [mpm_worker:notice] [pid 857:tid 140609808074880] AH00296: caught SIGWINCH, shutting down gracefully
[Sun Nov 10 20:22:52.011639 2019] [suexec:notice] [pid 871:tid 139686736148608] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sun Nov 10 20:22:52.041790 2019] [:notice] [pid 871:tid 139686736148608] ModSecurity for Apache/2.9.2 (http://www.modsecurity.org/) configured.
[Sun Nov 10 20:22:52.041829 2019] [:notice] [pid 871:tid 139686736148608] ModSecurity: APR compiled version="1.5.2"; loaded version="1.5.2"
[Sun Nov 10 20:22:52.041837 2019] [:notice] [pid 871:tid 139686736148608] ModSecurity: PCRE compiled version="8.32 "; loaded version="8.32 2012-11-30"
[Sun Nov 10 20:22:52.041841 2019] [:notice] [pid 871:tid 139686736148608] ModSecurity: LUA compiled version="Lua 5.1"
[Sun Nov 10 20:22:52.041844 2019] [:notice] [pid 871:tid 139686736148608] ModSecurity: YAJL compiled version="2.0.4"
[Sun Nov 10 20:22:52.041846 2019] [:notice] [pid 871:tid 139686736148608] ModSecurity: LIBXML compiled version="2.9.1"
[Sun Nov 10 20:22:52.041849 2019] [:notice] [pid 871:tid 139686736148608] ModSecurity: Status engine is currently disabled, enable it by set SecStatusEngine to On.
[Sun Nov 10 20:22:52.324225 2019] [lbmethod_heartbeat:notice] [pid 871:tid 139686736148608] AH02282: No slotmem from mod_hearmonitor

beltyukovpro
Сообщения: 5
Зарегистрирован: Вс ноя 10, 2019 6:51 pm

Re: Удалился apache + php 7.2

Сообщение beltyukovpro » Вс ноя 10, 2019 6:59 pm

[Sun Nov 10 20:22:52.458028 2019] [mpm_worker:notice] [pid 871:tid 139686736148608] AH00292: Apache/2.4.39 (BrainyCP - Sasha Bury) OpenSSL/1.0.2r-fips configured -- resuming normal operations
[Sun Nov 10 20:22:52.458099 2019] [core:notice] [pid 871:tid 139686736148608] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Sun Nov 10 20:23:32.728736 2019] [mpm_worker:notice] [pid 871:tid 139686736148608] AH00296: caught SIGWINCH, shutting down gracefully
[Sun Nov 10 20:24:17.340899 2019] [suexec:notice] [pid 845:tid 140234190190720] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sun Nov 10 20:24:17.356715 2019] [:notice] [pid 845:tid 140234190190720] ModSecurity for Apache/2.9.2 (http://www.modsecurity.org/) configured.
[Sun Nov 10 20:24:17.356753 2019] [:notice] [pid 845:tid 140234190190720] ModSecurity: APR compiled version="1.5.2"; loaded version="1.5.2"
[Sun Nov 10 20:24:17.356760 2019] [:notice] [pid 845:tid 140234190190720] ModSecurity: PCRE compiled version="8.32 "; loaded version="8.32 2012-11-30"
[Sun Nov 10 20:24:17.356764 2019] [:notice] [pid 845:tid 140234190190720] ModSecurity: LUA compiled version="Lua 5.1"
[Sun Nov 10 20:24:17.356766 2019] [:notice] [pid 845:tid 140234190190720] ModSecurity: YAJL compiled version="2.0.4"
[Sun Nov 10 20:24:17.356769 2019] [:notice] [pid 845:tid 140234190190720] ModSecurity: LIBXML compiled version="2.9.1"
[Sun Nov 10 20:24:17.356772 2019] [:notice] [pid 845:tid 140234190190720] ModSecurity: Status engine is currently disabled, enable it by set SecStatusEngine to On.
[Sun Nov 10 20:24:17.584371 2019] [lbmethod_heartbeat:notice] [pid 845:tid 140234190190720] AH02282: No slotmem from mod_heartmonitor
[Sun Nov 10 20:24:17.707115 2019] [mpm_worker:notice] [pid 845:tid 140234190190720] AH00292: Apache/2.4.39 (BrainyCP - Sasha Bury) OpenSSL/1.0.2r-fips configured -- resuming normal operations
[Sun Nov 10 20:24:17.707206 2019] [core:notice] [pid 845:tid 140234190190720] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Sun Nov 10 20:36:26.232313 2019] [mpm_worker:notice] [pid 845:tid 140234190190720] AH00296: caught SIGWINCH, shutting down gracefully
[Sun Nov 10 20:38:06.090248 2019] [suexec:notice] [pid 13488] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sun Nov 10 20:38:06.092196 2019] [:notice] [pid 13488] ModSecurity for Apache/2.9.2 (http://www.modsecurity.org/) configured.
[Sun Nov 10 20:38:06.092213 2019] [:notice] [pid 13488] ModSecurity: APR compiled version="1.5.2"; loaded version="1.5.2"
[Sun Nov 10 20:38:06.092219 2019] [:notice] [pid 13488] ModSecurity: PCRE compiled version="8.32 "; loaded version="8.32 2012-11-30"
[Sun Nov 10 20:38:06.092223 2019] [:notice] [pid 13488] ModSecurity: LUA compiled version="Lua 5.1"
[Sun Nov 10 20:38:06.092226 2019] [:notice] [pid 13488] ModSecurity: YAJL compiled version="2.0.4"
[Sun Nov 10 20:38:06.092229 2019] [:notice] [pid 13488] ModSecurity: LIBXML compiled version="2.9.1"
[Sun Nov 10 20:38:06.092232 2019] [:notice] [pid 13488] ModSecurity: Status engine is currently disabled, enable it by set SecStatusEngine to On.
[Sun Nov 10 20:38:06.293364 2019] [lbmethod_heartbeat:notice] [pid 13488] AH02282: No slotmem from mod_heartmonitor
[Sun Nov 10 20:38:06.293489 2019] [http2:warn] [pid 13488] AH10034: The mpm module (prefork.c) is not supported by mod_http2. The mpm determines how things are processed in your server. HTTP/2 has more demands in this regard and the currently selected mpm will just not do. This is an advisory warning. Your server will continue to work, but the HTTP/2 protocol will be inactive.
[Sun Nov 10 20:38:06.771138 2019] [mpm_prefork:notice] [pid 13488] AH00163: Apache/2.4.39 (BrainyCP - Sasha Bury) OpenSSL/1.0.2r-fips PHP/7.2.19 configured -- resuming normal operations
[Sun Nov 10 20:38:06.771229 2019] [core:notice] [pid 13488] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Sun Nov 10 20:38:06.811082 2019] [mpm_prefork:notice] [pid 13488] AH00170: caught SIGWINCH, shutting down gracefully
[Sun Nov 10 20:38:31.857427 2019] [suexec:notice] [

Аватара пользователя
sbury
Сообщения: 449
Зарегистрирован: Вт фев 06, 2018 7:51 am

Re: Удалился apache + php 7.2

Сообщение sbury » Пн ноя 11, 2019 9:32 am

автоапдейт стоит?

rm -f //etc/brainy/tpl/basic/tpl_c/*

beltyukovpro
Сообщения: 5
Зарегистрирован: Вс ноя 10, 2019 6:51 pm

Re: Удалился apache + php 7.2

Сообщение beltyukovpro » Пн ноя 11, 2019 11:35 am

sbury писал(а):
Пн ноя 11, 2019 9:32 am
автоапдейт стоит?

rm -f //etc/brainy/tpl/basic/tpl_c/*
Нет, отключил при первом входе в панель.

Аватара пользователя
sbury
Сообщения: 449
Зарегистрирован: Вт фев 06, 2018 7:51 am

Re: Удалился apache + php 7.2

Сообщение sbury » Пн ноя 11, 2019 12:56 pm

установите обновления они необходимы.

покажите выводы команд

uname -r
sestatus
cat /proc/meminfo

сделать
yum clean all
и переустановть связку вместе с пхп

beltyukovpro
Сообщения: 5
Зарегистрирован: Вс ноя 10, 2019 6:51 pm

Re: Удалился apache + php 7.2

Сообщение beltyukovpro » Пн ноя 11, 2019 8:56 pm

sbury писал(а):
Пн ноя 11, 2019 12:56 pm
установите обновления они необходимы.
Я установил последнюю версию через SSH.
В разделе "обновление" пишется, что последняя версия стоит

Последняя доступная версия: 1.0798
Все последние обновления установлены.

Всё-таки очень странно, почему внезапно удалился апач с php

Ответить