質問するログイン新規登録

質問編集履歴

1

プロンプトの変更

2021/02/10 03:07

投稿

kyonddwell
kyonddwell

スコア1

title CHANGED
File without changes
body CHANGED
@@ -4,7 +4,7 @@
4
4
  単純に/etc/lighttpd/lighttpd.confのserver.usernameとserver.groupnameの値をwww-dataからrootに変更するだけだと
5
5
  lighttpdを下記コマンドで起動するときに以下のエラーメッセージが発生しました。
6
6
  ```
7
- $ systemctl restart lighttpd
7
+ # systemctl restart lighttpd
8
8
  Job for lighttpd.service failed because the control process exited with error code.
9
9
  See "systemctl status lighttpd.service" and "journalctl -xe" for details.
10
10
  ```
@@ -15,9 +15,10 @@
15
15
  ### 発生している問題・エラーメッセージ
16
16
  実行ユーザをrootユーザに変更後にLighttpdを起動することができなくなってしまった。
17
17
  ```
18
+ # systemctl restart lighttpd
18
19
  Job for lighttpd.service failed because the control process exited with error code.
19
20
  See "systemctl status lighttpd.service" and "journalctl -xe" for details.
20
- $ systemctl status lighttpd.service
21
+ # systemctl status lighttpd.service
21
22
  lighttpd.service - Lighttpd Deamon
22
23
  Loaded: loaded (/lib/systemd/system/lighttpd.service; enabled; vendor preset: enabled)
23
24
  Active: failed (Result: exit-code) since Wed 2021-02-10 05:38:40 JST; 1min 49s ago