質問編集履歴
3
回答について
test
CHANGED
File without changes
|
test
CHANGED
@@ -111,3 +111,29 @@
|
|
111
111
|
|
112
112
|
|
113
113
|
です。どなたかわかる方お願いします。
|
114
|
+
|
115
|
+
###追記分です
|
116
|
+
|
117
|
+
` ./startup.sh
|
118
|
+
|
119
|
+
Using CATALINA_BASE: /opt/apache-tomcat-9.0.6
|
120
|
+
|
121
|
+
Using CATALINA_HOME: /opt/apache-tomcat-9.0.6
|
122
|
+
|
123
|
+
Using CATALINA_TMPDIR: /opt/apache-tomcat-9.0.6/temp
|
124
|
+
|
125
|
+
Using JRE_HOME: /root/.sdkman/candidates/java/current
|
126
|
+
|
127
|
+
Using CLASSPATH: /opt/apache-tomcat-9.0.6/bin/bootstrap.jar:/opt/apache-tomcat-9.0.6/bin/tomcat-juli.jar
|
128
|
+
|
129
|
+
Tomcat started.`
|
130
|
+
|
131
|
+
|
132
|
+
|
133
|
+
となりました。localhost:8080を開いてみたのですが、
|
134
|
+
|
135
|
+
`このサイトにアクセスできません
|
136
|
+
|
137
|
+
localhost で接続が拒否されました。`
|
138
|
+
|
139
|
+
といわれまいした。
|
2
題名の変更
test
CHANGED
@@ -1 +1 @@
|
|
1
|
-
centos7 に tomcatを入れた
|
1
|
+
centos7 に tomcatを入れようとしたらエラーがでました
|
test
CHANGED
@@ -32,11 +32,11 @@
|
|
32
32
|
|
33
33
|
|
34
34
|
|
35
|
-
`
|
35
|
+
`systemctl status tomcat.service`
|
36
36
|
|
37
37
|
|
38
38
|
|
39
|
-
|
39
|
+
```
|
40
40
|
|
41
41
|
tomcat.service - Apache Tomcat 9
|
42
42
|
|
1
枠忘れてました
test
CHANGED
File without changes
|
test
CHANGED
@@ -36,7 +36,9 @@
|
|
36
36
|
|
37
37
|
|
38
38
|
|
39
|
+
|
40
|
+
|
39
|
-
|
41
|
+
tomcat.service - Apache Tomcat 9
|
40
42
|
|
41
43
|
Loaded: loaded (/etc/systemd/system/tomcat.service; enabled; vendor preset: disabled)
|
42
44
|
|
@@ -56,7 +58,9 @@
|
|
56
58
|
|
57
59
|
Apr 01 10:40:59 localhost.localdomain systemd[1]: Unit tomcat.service entered failed state.
|
58
60
|
|
59
|
-
Apr 01 10:40:59 localhost.localdomain systemd[1]: tomcat.service failed.
|
61
|
+
Apr 01 10:40:59 localhost.localdomain systemd[1]: tomcat.service failed.
|
62
|
+
|
63
|
+
```
|
60
64
|
|
61
65
|
|
62
66
|
|
@@ -68,7 +72,7 @@
|
|
68
72
|
|
69
73
|
###ついでに vi /etc/systemd/system/tomcat.serviceの中身も載せておきます
|
70
74
|
|
71
|
-
[Unit]
|
75
|
+
```[Unit]
|
72
76
|
|
73
77
|
Description=Apache Tomcat 9
|
74
78
|
|
@@ -102,7 +106,7 @@
|
|
102
106
|
|
103
107
|
WantedBy=multi-user.targe
|
104
108
|
|
105
|
-
|
109
|
+
```
|
106
110
|
|
107
111
|
|
108
112
|
|