我是 Ubuntu 新手,刚刚开始了解其原理。
systemctl status
我的服务器在服务器状态降级后显示。
我找到了该命令systemclt --failed
并显示了以下内容:
UNIT LOAD ACTIVE SUB DESCRIPTION
● plesk-php54-fpm.service loaded failed failed The PHP 5.4.45 FastCGI >Proce
● plesk-php55-fpm.service loaded failed failed The PHP 5.5.38 FastCGI >Proce
● plesk-php70-fpm.service loaded failed failed The PHP 7.0.21 FastCGI >Proce
plesk-php71-fpm.service loaded failed failed The PHP 7.1.7 FastCGI Proces
● systemd-sysctl.service loaded failed failed Apply Kernel Variables
● systemd-tmpfiles-setup-dev.service loaded failed failed Create Static Device >N
LOAD = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB = The low-level unit activation state, values depend on unit type.
6 loaded units listed. Pass --all to see loaded but inactive units, too.
To show all installed unit files use 'systemctl list-unit-files'.
lines 1-14/14 (END)...skipping...
> UNIT LOAD ACTIVE SUB DESCRIPTION
● plesk-php54-fpm.service loaded failed failed The PHP 5.4.45 FastCGI >Proce
● plesk-php55-fpm.service loaded failed failed The PHP 5.5.38 FastCGI >Proce
● plesk-php70-fpm.service loaded failed failed The PHP 7.0.21 FastCGI >Proce
● plesk-php71-fpm.service loaded failed failed The PHP 7.1.7 FastCGI >Proces
● systemd-sysctl.service loaded failed failed Apply Kernel Variables
● systemd-tmpfiles-setup-dev.service loaded failed failed Create Static Device >Nodes i
LOAD = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB = The low-level unit activation state, values depend on unit type.
6 loaded units listed. Pass --all to see loaded but inactive units, too.
To show all installed unit files use 'systemctl list-unit-files'.
现在它尝试加载的 php 版本我还没用过。但是对于 systemctl 命令,我不确定它们是否会影响性能。
如果有人有建议我将不胜感激。
我尝试使用搜索功能和谷歌,但没有找到合适的内容。但也可能是我不知道有什么帮助。
如果引号有误,我很抱歉,这是第一次使用这个。