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

質問編集履歴

2

追加情報を記載しました。

2019/10/09 05:32

投稿

raspypy
raspypy

スコア247

title CHANGED
File without changes
body CHANGED
@@ -43,4 +43,26 @@
43
43
  10月 09 13:34:30 raspberrypi systemd[1]: Failed to start Shutdown Daemon.
44
44
  10月 09 13:34:30 raspberrypi systemd[1]: shutdownbuttond.service: Unit entered f a
45
45
  10月 09 13:34:30 raspberrypi systemd[1]: shutdownbuttond.service: Failed with re s
46
+ ```
47
+
48
+ ##追加情報
49
+
50
+ **pi@raspberrypi:/usr/lib/systemd/system $ systemctl -t service**
51
+ このコマンドを実行すると、fail状態となっていました。
52
+ ⇒昨日までは、activeとなっていました。
53
+
54
+ **pi@raspberrypi:/usr/lib/systemd/system $ systemctl enable shutdownbuttond.service**
55
+ このコマンドを実行すると、次のメッセージが表示されます。
56
+ ⇒昨日までは何も表示されませんでした。
57
+ ```html
58
+ ==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-unit-files ===
59
+ Authentication is required to manage system service or unit files.
60
+ Multiple identities can be used for authentication:
61
+ 1. ,,, (pi)
62
+ 2. root
63
+ Choose identity to authenticate as (1-2): 2
64
+ Password:
65
+ polkit-agent-helper-1: pam_authenticate failed: Authentication failure
66
+ ==== AUTHENTICATION FAILED ===
67
+ Failed to enable unit: Access denied
46
68
  ```

1

エラー内容を更新しました。

2019/10/09 05:32

投稿

raspypy
raspypy

スコア247

title CHANGED
File without changes
body CHANGED
@@ -27,9 +27,20 @@
27
27
 
28
28
  エラー表示内容
29
29
  ```html
30
+ pi@raspberrypi:~/dev $ sudo systemctl status shutdownbuttond.service
30
31
  ● shutdownbuttond.service - Shutdown Daemon
31
32
  Loaded: loaded (/usr/lib/systemd/system/shutdownbuttond.service; enabled; ven
32
33
  Active: failed (Result: exit-code) since Wed 2019-10-09 13:34:30 JST; 8min ag
33
34
  Process: 416 ExecStart=/home/pi/dev/3_Shutdownd.py (code=exited, status=203/EX
34
35
  Main PID: 416 (code=exited, status=203/EXEC)
36
+
37
+ 10月 09 13:34:29 raspberrypi systemd[1]: shutdownbuttond.service: Main process e x
38
+ 10月 09 13:34:29 raspberrypi systemd[1]: shutdownbuttond.service: Unit entered f a
39
+ 10月 09 13:34:29 raspberrypi systemd[1]: shutdownbuttond.service: Failed with re s
40
+ 10月 09 13:34:30 raspberrypi systemd[1]: shutdownbuttond.service: Service hold-o f
41
+ 10月 09 13:34:30 raspberrypi systemd[1]: Stopped Shutdown Daemon.
42
+ 10月 09 13:34:30 raspberrypi systemd[1]: shutdownbuttond.service: Start request r
43
+ 10月 09 13:34:30 raspberrypi systemd[1]: Failed to start Shutdown Daemon.
44
+ 10月 09 13:34:30 raspberrypi systemd[1]: shutdownbuttond.service: Unit entered f a
45
+ 10月 09 13:34:30 raspberrypi systemd[1]: shutdownbuttond.service: Failed with re s
35
46
  ```