Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!

Ogłoszenie

Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.

#1  2023-01-26 10:57:22

  DeWu - Użytkownik

DeWu
Użytkownik
Zarejestrowany: 2013-03-26

Serwer się nie wyłącza

Hej
Mam taki problem. Jak wydam komendę reboot z roota to wyrzuca mnie z SSH, WWW przestaje odpowiadać ale pingi do serwera idą. Czekanie nic nie pomaga. Trzeba fizycznie podjechać do serwerowni, nacisnąć wyłącznik, włączyć i jest OK. Sprawdziłem sysloga:

Kod:

Jan 26 09:44:04 fool syslog-ng[809]: syslog-ng shutting down; version='3.28.1'
Jan 26 09:44:04 fool systemd[1]: Stopping Session 11208 of user dawid.
Jan 26 09:44:04 fool systemd[1]: Removed slice system-modprobe.slice.
Jan 26 09:44:04 fool systemd[1]: Stopped target Graphical Interface.
Jan 26 09:44:04 fool systemd[1]: Stopped target Multi-User System.
Jan 26 09:44:04 fool systemd[1]: Stopped target Login Prompts.
Jan 26 09:44:04 fool systemd[1]: Stopped target Timers.
Jan 26 09:44:04 fool systemd[1]: apt-daily-upgrade.timer: Succeeded.
Jan 26 09:44:04 fool systemd[1]: Stopped Daily apt upgrade and clean activities.
Jan 26 09:44:04 fool systemd[1]: apt-daily.timer: Succeeded.
Jan 26 09:44:04 fool systemd[1]: Stopped Daily apt download activities.
Jan 26 09:44:04 fool systemd[1]: certbot.timer: Succeeded.
Jan 26 09:44:04 fool systemd[1]: Stopped Run certbot twice daily.
Jan 26 09:44:04 fool systemd[1]: e2scrub_all.timer: Succeeded.
Jan 26 09:44:04 fool systemd[1]: Stopped Periodic ext4 Online Metadata Check for All Filesystems.
Jan 26 09:44:04 fool systemd[1]: logrotate.timer: Succeeded.
Jan 26 09:44:04 fool systemd[1]: Stopped Daily rotation of log files.
Jan 26 09:44:04 fool systemd[1]: man-db.timer: Succeeded.
Jan 26 09:44:04 fool systemd[1]: Stopped Daily man-db regeneration.
Jan 26 09:44:04 fool systemd[1]: phpsessionclean.timer: Succeeded.
Jan 26 09:44:04 fool systemd[1]: Stopped Clean PHP session files every 30 mins.
Jan 26 09:44:04 fool systemd[1]: systemd-tmpfiles-clean.timer: Succeeded.
Jan 26 09:44:04 fool systemd[1]: Stopped Daily Cleanup of Temporary Directories.
Jan 26 09:44:04 fool systemd[1]: systemd-rfkill.socket: Succeeded.
Jan 26 09:44:04 fool systemd[1]: Closed Load/Save RF Kill Switch Status /dev/rfkill Watch.
Jan 26 09:44:04 fool systemd[1]: Stopping The Apache HTTP Server...
Jan 26 09:44:04 fool ntpd[847]: ntpd exiting on signal 15 (Terminated)
Jan 26 09:44:04 fool systemd[1]: Stopping Regular background program processing daemon...
Jan 26 09:44:04 fool ntpd[847]: 188.165.17.91 local addr 10.10.11.11 -> <null>
Jan 26 09:44:04 fool systemd[1]: Stopping Getty on tty1...
Jan 26 09:44:04 fool ntpd[847]: 193.25.222.136 local addr 10.10.11.11 -> <null>
Jan 26 09:44:04 fool systemd[1]: lm-sensors.service: Succeeded.
Jan 26 09:44:04 fool ntpd[847]: 162.159.200.1 local addr 10.10.11.11 -> <null>
Jan 26 09:44:04 fool systemd[1]: Stopped Initialize hardware monitoring sensors.
Jan 26 09:44:04 fool ntpd[847]: 178.215.228.24 local addr 10.10.11.11 -> <null>
Jan 26 09:44:04 fool systemd[1]: Stopping MySQL Community Server...
Jan 26 09:44:04 fool ntpd[847]: 162.159.200.123 local addr 10.10.11.11 -> <null>
Jan 26 09:44:04 fool systemd[1]: Stopping Network Time Service...
Jan 26 09:44:04 fool ntpd[847]: 89.250.197.242 local addr 10.10.11.11 -> <null>
Jan 26 09:44:04 fool systemd[1]: Stopping The PHP 7.4 FastCGI Process Manager...
Jan 26 09:44:04 fool systemd[1]: Stopping ProFTPD FTP Server...
Jan 26 09:44:04 fool systemd[1]: Stopping OpenBSD Secure Shell server...
Jan 26 09:44:04 fool systemd[1]: Stopping System Logger Daemon...
Jan 26 09:44:04 fool systemd[1]: Stopping Load/Save Random Seed...
Jan 26 09:44:04 fool systemd[1]: Stopping Webmin server daemon...
Jan 26 09:44:04 fool systemd[1]: cron.service: Succeeded.
Jan 26 09:44:04 fool systemd[1]: cron.service: Unit process 351151 (lms-arping) remains running after unit stopped.
Jan 26 09:44:04 fool systemd[1]: cron.service: Unit process 351472 (php) remains running after unit stopped.
Jan 26 09:44:04 fool systemd[1]: cron.service: Unit process 351656 (php) remains running after unit stopped.
Jan 26 09:44:04 fool systemd[1]: cron.service: Unit process 351659 (arping) remains running after unit stopped.
Jan 26 09:44:04 fool systemd[1]: Stopped Regular background program processing daemon.
Jan 26 09:44:04 fool systemd[1]: cron.service: Consumed 29min 30.307s CPU time.
Jan 26 09:44:04 fool systemd[1]: ssh.service: Succeeded.
Jan 26 09:44:04 fool systemd[1]: ssh.service: Unit process 351403 (sshd) remains running after unit stopped.
Jan 26 09:44:04 fool systemd[1]: ssh.service: Unit process 351494 (sshd) remains running after unit stopped.
Jan 26 09:44:04 fool systemd[1]: Stopped OpenBSD Secure Shell server.
Jan 26 09:44:04 fool systemd[1]: ssh.service: Consumed 8min 13.682s CPU time.
Jan 26 09:44:04 fool systemd[1]: getty@tty1.service: Succeeded.
Jan 26 09:44:04 fool systemd[1]: Stopped Getty on tty1.
Jan 26 09:44:04 fool systemd[1]: webmin.service: Main process exited, code=exited, status=1/FAILURE
Jan 26 09:44:04 fool systemd[1]: ntp.service: Succeeded.
Jan 26 09:44:04 fool systemd[1]: Stopped Network Time Service.
Jan 26 09:44:04 fool systemd[1]: ntp.service: Consumed 15.380s CPU time.
Jan 26 09:44:04 fool systemd[1]: systemd-random-seed.service: Succeeded.
Jan 26 09:44:04 fool systemd[1]: Stopped Load/Save Random Seed.
Jan 26 09:44:04 fool systemd[1]: webmin.service: Failed with result 'exit-code'.
Jan 26 09:44:04 fool systemd[1]: Stopped Webmin server daemon.
Jan 26 09:44:04 fool systemd[1]: webmin.service: Consumed 27.609s CPU time.
Jan 26 09:44:04 fool systemd[1]: php7.4-fpm.service: Succeeded.
Jan 26 09:44:04 fool systemd[1]: Stopped The PHP 7.4 FastCGI Process Manager.
Jan 26 09:44:04 fool systemd[1]: php7.4-fpm.service: Consumed 8.658s CPU time.
Jan 26 09:44:04 fool systemd[1]: Removed slice system-getty.slice.
Jan 26 09:44:04 fool systemd[1]: Stopping /etc/rc.local...
Jan 26 09:44:05 fool systemd[1]: apache2.service: Succeeded.
Jan 26 09:44:05 fool systemd[1]: Stopped The Apache HTTP Server.
Jan 26 09:44:05 fool systemd[1]: apache2.service: Consumed 1h 5min 12.382s CPU time.
Jan 26 09:44:05 fool systemd[1]: syslog-ng.service: Succeeded.
Jan 26 09:44:05 fool systemd[1]: Stopped System Logger Daemon.
Jan 26 09:44:05 fool systemd[1]: syslog-ng.service: Consumed 55min 45.617s CPU time.
Jan 26 09:44:05 fool systemd[1]: proftpd.service: Succeeded.
Jan 26 09:44:05 fool systemd[1]: Stopped ProFTPD FTP Server.
Jan 26 09:44:05 fool systemd[1]: proftpd.service: Consumed 5.302s CPU time.
Jan 26 09:44:05 fool systemd[1]: Stopped target Host and Network Name Lookups.
Jan 26 09:44:05 fool systemd[1]: Stopping BIND Domain Name Server...
Jan 26 09:44:05 fool systemd[1]: Stopped BIND Domain Name Server.
Jan 26 09:44:06 fool systemd[1]: session-11208.scope: Succeeded.
Jan 26 09:44:06 fool systemd[1]: Stopped Session 11208 of user dawid.
Jan 26 09:44:06 fool systemd[1]: Stopping User Login Management...
Jan 26 09:44:06 fool systemd[1]: Stopping User Manager for UID 1000...
Jan 26 09:44:06 fool systemd[351431]: Stopped target Main User Target.
Jan 26 09:44:06 fool systemd[351431]: Stopped target Basic System.
Jan 26 09:44:06 fool systemd[351431]: Stopped target Paths.
Jan 26 09:44:06 fool systemd[351431]: Stopped target Sockets.
Jan 26 09:44:06 fool systemd[351431]: Stopped target Timers.
Jan 26 09:44:06 fool systemd[351431]: dbus.socket: Succeeded.
Jan 26 09:44:06 fool systemd[351431]: Closed D-Bus User Message Bus Socket.
Jan 26 09:44:06 fool systemd[351431]: dirmngr.socket: Succeeded.
Jan 26 09:44:06 fool systemd[351431]: Closed GnuPG network certificate management daemon.
Jan 26 09:44:06 fool systemd[351431]: gpg-agent-browser.socket: Succeeded.
Jan 26 09:44:06 fool systemd[351431]: Closed GnuPG cryptographic agent and passphrase cache (access for web browsers).
Jan 26 09:44:06 fool systemd[351431]: gpg-agent-extra.socket: Succeeded.
Jan 26 09:44:06 fool systemd[351431]: Closed GnuPG cryptographic agent and passphrase cache (restricted).
Jan 26 09:44:06 fool systemd[351431]: gpg-agent-ssh.socket: Succeeded.
Jan 26 09:44:06 fool systemd[351431]: Closed GnuPG cryptographic agent (ssh-agent emulation).
Jan 26 09:44:06 fool systemd[351431]: gpg-agent.socket: Succeeded.
Jan 26 09:44:06 fool systemd[351431]: Closed GnuPG cryptographic agent and passphrase cache.
Jan 26 09:44:06 fool systemd[351431]: Removed slice User Application Slice.
Jan 26 09:44:06 fool systemd[351431]: Reached target Shutdown.
Jan 26 09:44:06 fool systemd[351431]: systemd-exit.service: Succeeded.
Jan 26 09:44:06 fool systemd[351431]: Finished Exit the Session.
Jan 26 09:44:06 fool systemd[351431]: Reached target Exit the Session.
Jan 26 09:44:06 fool systemd[1]: user@1000.service: Succeeded.
Jan 26 09:44:06 fool systemd[1]: Stopped User Manager for UID 1000.
Jan 26 09:44:06 fool systemd[1]: Stopping User Runtime Directory /run/user/1000...
Jan 26 09:44:06 fool systemd[1]: run-user-1000.mount: Succeeded.
Jan 26 09:44:06 fool systemd[1]: Unmounted /run/user/1000.
Jan 26 09:44:06 fool systemd[1]: user-runtime-dir@1000.service: Succeeded.
Jan 26 09:44:06 fool systemd[1]: Stopped User Runtime Directory /run/user/1000.
Jan 26 09:44:06 fool systemd[1]: Removed slice User Slice of UID 1000.
Jan 26 09:44:06 fool systemd[1]: Stopping D-Bus System Message Bus...
Jan 26 09:44:06 fool systemd[1]: Stopping Permit User Sessions...
Jan 26 09:44:06 fool systemd[1]: systemd-user-sessions.service: Succeeded.
Jan 26 09:44:06 fool systemd[1]: Stopped Permit User Sessions.
Jan 26 09:44:06 fool systemd[1]: Stopped target Remote File Systems.
Jan 26 09:44:06 fool systemd[1]: dbus.service: Succeeded.
Jan 26 09:44:06 fool systemd[1]: Stopped D-Bus System Message Bus.
Jan 26 09:44:06 fool systemd[1]: dbus.service: Consumed 6.848s CPU time.
Jan 26 09:44:06 fool systemd[1]: systemd-logind.service: Succeeded.
Jan 26 09:44:06 fool systemd[1]: Stopped User Login Management.
Jan 26 09:44:06 fool systemd[1]: systemd-logind.service: Consumed 7.510s CPU time.
Jan 26 09:44:07 fool systemd[1]: mysql.service: Succeeded.
Jan 26 09:44:07 fool systemd[1]: Stopped MySQL Community Server.
Jan 26 09:44:07 fool systemd[1]: mysql.service: Consumed 1h 44min 49.582s CPU time

Nie widzę tu nic ciekawego. Może Wam coś się rzuci w oczy?

Offline

 

#2  2023-01-28 11:55:01

  ethanak - Użytkownik

ethanak
Użytkownik
Skąd: Ungwenor
Zarejestrowany: 2010-07-19
Serwis

Re: Serwer się nie wyłącza

A shutdown działa? Miałem cos podobnego z terminalem Wyse5010, halt zatrzymuje system ale nie wyłącza zasilania. Shutdowm działa prawidłowo.
Nie chciało mi się sprawdzać dlaczego, po prostu podpiąłem skrypt pod halt.


Nim mechaniczne larum zagrasz mi, kanalio,
głosząc nadejście Javy - śmiertelnego wroga!
Zespół Adwokacki Dyskrecja

Offline

 

Stopka forum

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson
Możesz wyłączyć AdBlock — tu nie ma reklam ;-)