systemctl状态输出乱码

时间:2019-03-21 03:09:33

标签: apache apache2.4

我最近遇到了这个问题,当我进行systemctl status apache2

时,无法弄清楚为什么会发生这种情况
root@sand1box:~# /etc/init.d/apache2 status
● apache2.service - The Apache HTTP Server
   Loaded: loaded (]8;;file://sand1box/lib/systemd/system/apache2.service/lib/systemd/system/apache2.service]8;;; disabled; vendor preset: enabled)
   Active: inactive (dead)
     Docs: ]8;;https://httpd.apache.org/docs/2.4/https://httpd.apache.org/docs/2.4/]8;;
root@sand1box:~# /etc/init.d/apache2 start
[ ok ] Starting apache2 (via systemctl): apache2.service.
root@sand1box:~# /etc/init.d/apache2 status
● apache2.service - The Apache HTTP Server
   Loaded: loaded (]8;;file://sand1box/lib/systemd/system/apache2.service/lib/systemd/system/apache2.service]8;;; disabled; vendor preset: enabled)
   Active: active (running) since Wed 2019-03-20 19:51:01 PDT; 2s ago
     Docs: ]8;;https://httpd.apache.org/docs/2.4/https://httpd.apache.org/docs/2.4/]8;;
  Process: 1227 ExecStart=/usr/sbin/apachectl start (code=exited, status=0/SUCCESS)
 Main PID: 1238 (apache2)
    Tasks: 55 (limit: 4915)
   Memory: 20.2M
   CGroup: /system.slice/apache2.service
           ├─1238 /usr/sbin/apache2 -k start
           ├─1239 /usr/sbin/apache2 -k start
           └─1241 /usr/sbin/apache2 -k start

我发布此问题的主要原因是特殊字符'] 8',但我不知道它来自何处。 我的apache似乎运行良好。我可以根据要求上传输出图片。 有什么建议吗?

0 个答案:

没有答案