質問編集履歴
5
所有者はtomcatです
test
CHANGED
File without changes
|
test
CHANGED
@@ -44,7 +44,9 @@
|
|
44
44
|
|
45
45
|
startup.shのパミッションエラーのような記述がでてきます。
|
46
46
|
|
47
|
-
ちなみにtomcat.serviceのパミッションは755となっています
|
47
|
+
ちなみにtomcat.serviceのパミッションは755となっています。
|
48
|
+
|
49
|
+
apache-tomcat-9.0.48の所有者はtomcatです
|
48
50
|
|
49
51
|
```ここに言語を入力
|
50
52
|
|
4
エラーの追加systemctl status tomcat.service結果
test
CHANGED
File without changes
|
test
CHANGED
@@ -45,3 +45,35 @@
|
|
45
45
|
startup.shのパミッションエラーのような記述がでてきます。
|
46
46
|
|
47
47
|
ちなみにtomcat.serviceのパミッションは755となっています
|
48
|
+
|
49
|
+
```ここに言語を入力
|
50
|
+
|
51
|
+
[root@tk2-234-26693 /]# systemctl status tomcat.service
|
52
|
+
|
53
|
+
* tomcat.service - Apache Tomcat 9
|
54
|
+
|
55
|
+
Loaded: loaded (/etc/systemd/system/tomcat.service; enabled; vendor preset: disabled)
|
56
|
+
|
57
|
+
Active: failed (Result: exit-code) since Sat 2021-07-03 05:05:06 JST; 39min ago
|
58
|
+
|
59
|
+
Main PID: 1201 (code=exited, status=203/EXEC)
|
60
|
+
|
61
|
+
|
62
|
+
|
63
|
+
Jul 03 05:05:06 tk2-234-26693.vs.sakura.ne.jp systemd[1]: Starting Apache Tomcat 9...
|
64
|
+
|
65
|
+
Jul 03 05:05:06 tk2-234-26693.vs.sakura.ne.jp systemd[1]: tomcat.service: main process exited, code=exited, status=203/EXEC
|
66
|
+
|
67
|
+
Jul 03 05:05:06 tk2-234-26693.vs.sakura.ne.jp systemd[1]: Failed to start Apache Tomcat 9.
|
68
|
+
|
69
|
+
Jul 03 05:05:06 tk2-234-26693.vs.sakura.ne.jp systemd[1]: Unit tomcat.service entered failed state.
|
70
|
+
|
71
|
+
Jul 03 05:05:06 tk2-234-26693.vs.sakura.ne.jp systemd[1]: tomcat.service failed.
|
72
|
+
|
73
|
+
Jul 03 05:13:05 tk2-234-26693.vs.sakura.ne.jp systemd[1]: [/etc/systemd/system/tomcat.service:14] Unknown lvalue 'ExecReStart' in section 'Service'
|
74
|
+
|
75
|
+
Jul 03 05:26:01 tk2-234-26693.vs.sakura.ne.jp systemd[1]: [/etc/systemd/system/tomcat.service:14] Unknown lvalue 'ExecReStart' in section 'Service'
|
76
|
+
|
77
|
+
Jul 03 05:29:43 tk2-234-26693.vs.sakura.ne.jp systemd[1]: [/etc/systemd/system/tomcat.service:14] Unknown lvalue 'ExecReStart' in section 'Service'
|
78
|
+
|
79
|
+
```
|
3
環境の追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
環境CENTOS7
|
2
|
+
|
1
3
|
tomcatでtomcat.serviceをつくりtomcatを実行しようとするとエラーが起こってしまいまいます。
|
2
4
|
|
3
5
|
tomvat.serviceの内容
|
2
tomcat.serviceのパミッションの状態追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -40,4 +40,6 @@
|
|
40
40
|
|
41
41
|
エラーの内容
|
42
42
|
|
43
|
-
startup.shのパミッションエラーのような記述がでてきます
|
43
|
+
startup.shのパミッションエラーのような記述がでてきます。
|
44
|
+
|
45
|
+
ちなみにtomcat.serviceのパミッションは755となっています
|
1
エラーの内容の変更
test
CHANGED
File without changes
|
test
CHANGED
@@ -38,54 +38,6 @@
|
|
38
38
|
|
39
39
|
|
40
40
|
|
41
|
-
エラー
|
41
|
+
エラーの内容
|
42
42
|
|
43
|
-
|
44
|
-
|
45
|
-
-- Defined-By: systemd
|
46
|
-
|
47
|
-
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
|
48
|
-
|
49
|
-
--
|
50
|
-
|
51
|
-
-- Unit tomcat.service has begun starting up.
|
52
|
-
|
53
|
-
Jul 03 03:24:31 tk2-234-26693.vs.sakura.ne.jp systemd[5986]: Failed at step EXEC spawning /opt/apache-tomcat-9.0.48/bin/startup.sh: Permission denied
|
54
|
-
|
55
|
-
-- Subject: Process /opt/apache-tomcat-9.0.48/bin/startup.sh could not be executed
|
56
|
-
|
57
|
-
-- Defined-By: systemd
|
58
|
-
|
59
|
-
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
|
60
|
-
|
61
|
-
--
|
62
|
-
|
63
|
-
-- The process /opt/apache-tomcat-9.0.48/bin/startup.sh could not be executed and failed.
|
64
|
-
|
65
|
-
--
|
66
|
-
|
67
|
-
-- The error number returned by this process is 13.
|
68
|
-
|
69
|
-
Jul 03 03:24:31 tk2-234-26693.vs.sakura.ne.jp systemd[1]: tomcat.service: main process exited, code=exited, status=203/EXEC
|
70
|
-
|
71
|
-
Jul 03 03:24:31 tk2-234-26693.vs.sakura.ne.jp systemd[1]: Failed to start Apache Tomcat 9.
|
72
|
-
|
73
|
-
-- Subject: Unit tomcat.service has failed
|
74
|
-
|
75
|
-
-- Defined-By: systemd
|
76
|
-
|
77
|
-
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
|
78
|
-
|
79
|
-
--
|
80
|
-
|
81
|
-
-- Unit tomcat.service has failed.
|
82
|
-
|
83
|
-
--
|
84
|
-
|
85
|
-
-- The result is failed.
|
86
|
-
|
87
|
-
Jul 03 03:24:31 tk2-234-26693.vs.sakura.ne.jp systemd[1]: Unit tomcat.service entered failed state.
|
88
|
-
|
89
|
-
Jul 03 03:24:31 tk2-234-26693.vs.sakura.ne.jp systemd[1]: tomcat.service failed.
|
90
|
-
|
91
|
-
Jul 03 03:24:31 tk2-234-26693.vs.sakura.ne.jp polkitd[500]: Unregistered Authentication Agent for unix-process:5980:8272444 (system bus name :1.367, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale
|
43
|
+
startup.shのパミッションエラーのような記述がでてきます
|