grabbee
@grabbee

Сервер не загружается. Как найти проблему?

Жил себе сервер. Решил обновить и перезагрузить. Обновление не получилось. А после перезагрузки перестал отвечать. Запустил режим "спасения". Диск целый, сервер рабочий. Проблема судя по всему с софтом. Сам по себе сервер самый обычный Ubuntu 18.04(или 16) mysql+nginx+php-fpm остальное стандартные программы.

boot.log

[^[[0;32m OK ^[[0m] Started AppArmor initialization.
[^[[0;32m OK ^[[0m] Reached target System Initialization.
[^[[0;32m OK ^[[0m] Listening on UUID daemon activation socket.
[^[[0;32m OK ^[[0m] Started Discard unused blocks once a week.
[^[[0;32m OK ^[[0m] Listening on D-Bus System Message Bus Socket.
[^[[0;32m OK ^[[0m] Reached target Sockets.
[^[[0;32m OK ^[[0m] Reached target Basic System.
Starting OpenBSD Secure Shell server...
[^[[0;32m OK ^[[0m] Started BIND Domain Name Server.
[^[[0;32m OK ^[[0m] Reached target Host and Network Name Lookups.
Starting Login Service...
Starting LSB: Record successful boot for GRUB...
[^[[0;32m OK ^[[0m] Started Daily apt download activities.
[^[[0;32m OK ^[[0m] Started Daily apt upgrade and clean activities.
Starting OpenNTPd Network Time Protocol...
Starting Accounts Service...
Starting Permit User Sessions...
[^[[0;32m OK ^[[0m] Started Regular background program processing daemon.
[^[[0;32m OK ^[[0m] Started Daily Cleanup of Temporary Directories.
[^[[0;32m OK ^[[0m] Started Message of the Day.
[^[[0;32m OK ^[[0m] Reached target Timers.
Starting Dispatcher daemon for systemd-networkd...
[^[[0;32m OK ^[[0m] Started irqbalance daemon.
[^[[0;32m OK ^[[0m] Started Set the CPU Frequency Scaling governor.
[^[[0;32m OK ^[[0m] Started D-Bus System Message Bus.
[^[[0;32m OK ^[[0m] Started Login Service.
Starting System Logging Service...
[^[[0;32m OK ^[[0m] Started Permit User Sessions.
[^[[0;32m OK ^[[0m] Started OpenBSD Secure Shell server.
Starting Terminate Plymouth Boot Screen...
Starting Hold until boot process finishes up...
[^[[0;32m OK ^[[0m] Started AppArmor initialization.
[^[[0;32m OK ^[[0m] Reached target System Initialization.
[^[[0;32m OK ^[[0m] Listening on D-Bus System Message Bus Socket.
[^[[0;32m OK ^[[0m] Started Daily Cleanup of Temporary Directories.
[^[[0;32m OK ^[[0m] Started Message of the Day.
[^[[0;32m OK ^[[0m] Started Discard unused blocks once a week.
[^[[0;32m OK ^[[0m] Started Clean PHP session files every 30 mins.
[^[[0;32m OK ^[[0m] Listening on UUID daemon activation socket.
[^[[0;32m OK ^[[0m] Reached target Sockets.
[^[[0;32m OK ^[[0m] Reached target Basic System.
Starting Accounts Service...
Starting Fail2Ban Service...
Starting OpenBSD Secure Shell server...
[^[[0;32m OK ^[[0m] Started irqbalance daemon.
Starting Permit User Sessions...
Starting Dispatcher daemon for systemd-networkd...
Starting System Logging Service...
Starting LSB: Record successful boot for GRUB...
[^[[0;32m OK ^[[0m] Started Set the CPU Frequency Scaling governor.
[^[[0;32m OK ^[[0m] Started Regular background program processing daemon.
Starting OpenNTPd Network Time Protocol...
Starting The PHP 7.2 FastCGI Process Manager...
[^[[0;32m OK ^[[0m] Started D-Bus System Message Bus.
Starting Login Service...
[^[[0;32m OK ^[[0m] Started Daily apt download activities.
[^[[0;32m OK ^[[0m] Started Daily apt upgrade and clean activities.
[^[[0;32m OK ^[[0m] Reached target Timers.
[^[[0;32m OK ^[[0m] Started BIND Domain Name Server.
[^[[0;32m OK ^[[0m] Reached target Host and Network Name Lookups.
[^[[0;32m OK ^[[0m] Started System Logging Service.
[^[[0;32m OK ^[[0m] Started Fail2Ban Service.
[^[[0;32m OK ^[[0m] Started Permit User Sessions.
[^[[0;32m OK ^[[0m] Started Wait for Network to be Configured.
[^[[0;32m OK ^[[0m] Started Login Service.
[^[[0;32m OK ^[[0m] Reached target Network is Online.
Starting Munin Node...
Starting nginx - high performance web server...
Starting Terminate Plymouth Boot Screen...
Starting Hold until boot process finishes up...


Какие ещё логи посмотреть? KVM нету.
  • Вопрос задан
  • 295 просмотров
Пригласить эксперта
Ответы на вопрос 2
ky0
@ky0 Куратор тега Системное администрирование
Миллиардер, филантроп, патологический лгун
Жил себе сервер без KVM. Обновил Иванушка-админ целую пачку пакетов, в том числе, видимо, ядро-чистый изумруд - мышка прибежала, хвостиком махнула, и сервер уронила.

Вот и сказочке конец, а мораль: сервер без удалённого доступа - рано или поздно к дальней дороге.
Ответ написан
hint000
@hint000
у админа три руки
Простое гугление наводит на мысль, что с вероятностью 90% у вас не осталось места на диске (почистите).
С вероятностью 5% проблема связана с пакетом plymouth (который нафиг не нужен и его можно удалить, сам сталкивался с глюками этого пакета).
Ответ написан
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Похожие вопросы