needrestart vazhdon të rinis disa shërbime të dështuara

Unë e marr këtë mesazh në regjistra:

Jan 16 06:01:02 examplehost systemd [1]: xrdp-sesman.service: Unit hyri në gjendje të dështuar.

Kjo mund të burojë nga fakti që unë u shkëputa nga seanca xrdp pa u larguar.

Në rregull, kështu që unë drejtoj needrestart . Vazhdon të rifillojë shërbimin pa pushim:

root@examplehost ~ % needrestart 
Scanning processes...                                                                                     
Scanning candidates...                                                                                    
Scanning processor microcode...                                                                           
Scanning linux images...                                                                                  

Running kernel seems to be up-to-date.

The processor microcode seems to be up-to-date.

Restarting services...
 systemctl restart xrdp.service

Service restarts being deferred:
 /etc/needrestart/restart.d/dbus.service
 systemctl restart libvirtd.service
 systemctl restart systemd-journald.service
 systemctl restart systemd-logind.service

No containers need to be restarted.

User sessions running outdated binaries:
 root @ session #1: login[743]
 root @ session #626: sshd[19524]
 root @ user manager service: systemd[1208]
root@examplehost ~ % 
root@examplehost ~ % 
root@examplehost ~ % 
root@examplehost ~ % 
root@examplehost ~ % 
root@examplehost ~ % needrestart 
Scanning processes...                                                                                     
Scanning candidates...                                                                                    
Scanning processor microcode...                                                                           
Scanning linux images...                                                                                  

Running kernel seems to be up-to-date.

The processor microcode seems to be up-to-date.

Restarting services...
 systemctl restart xrdp.service

Service restarts being deferred:
 /etc/needrestart/restart.d/dbus.service
 systemctl restart libvirtd.service
 systemctl restart systemd-journald.service
 systemctl restart systemd-logind.service

No containers need to be restarted.

User sessions running outdated binaries:
 root @ session #1: login[743]
 root @ session #626: sshd[19524]
 root @ user manager service: systemd[1208]

Si mund ta rregulloj atë (pa rindezur)? Dhe pse rinisja xrdp nuk duket se funksionon (edhe manualisht)?

OS: Debian 9.6 amd64.

0
задан 16 January 2019 в 12:36
1 ответ

Вы пробовали остановить и запустить службу? После того, как вы отключились, возможно, что вас ждет зомби-процесс. Если он не может остановиться, вы можете попытаться убить или даже убить -9.

0
ответ дан 5 December 2019 в 04:26

Теги

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