質問編集履歴

3

誤字の修正

2021/03/08 20:46

投稿

kohey419
kohey419

スコア11

test CHANGED
File without changes
test CHANGED
@@ -28,82 +28,6 @@
28
28
 
29
29
  - tomcatを一度停止したら起動できなくなりました。
30
30
 
31
- 下記がsystemctl status tomcat.serviceとjournalctl -xeの内容です。
32
31
 
33
- ```Linux
34
-
35
- Mar 08 22:37:12 ik1-448-56179.vs.sakura.ne.jp systemd[1]: Starting Apache Tomcat9...
36
-
37
- Mar 08 22:37:12 ik1-448-56179.vs.sakura.ne.jp systemd[1]: tomcat.service: main process exited, code=exited, status=203/EXEC
38
-
39
- Mar 08 22:37:12 ik1-448-56179.vs.sakura.ne.jp systemd[1]: Failed to start Apache Tomcat9.
40
-
41
- Mar 08 22:37:12 ik1-448-56179.vs.sakura.ne.jp systemd[1]: Unit tomcat.service entered failed state.
42
-
43
- Mar 08 22:37:12 ik1-448-56179.vs.sakura.ne.jp systemd[1]: tomcat.service failed.
44
-
45
- ```
46
-
47
- ```Linux
48
-
49
- Mar 08 23:00:24 ik1-448-56179.vs.sakura.ne.jp sshd[1474]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=61.177.173.11 user=root
50
-
51
- Mar 08 23:00:26 ik1-448-56179.vs.sakura.ne.jp sshd[1474]: Failed password for root from 61.177.173.11 port 27665 ssh2
52
-
53
- Mar 08 23:00:29 ik1-448-56179.vs.sakura.ne.jp sshd[1474]: Failed password for root from 61.177.173.11 port 27665 ssh2
54
-
55
- Mar 08 23:00:32 ik1-448-56179.vs.sakura.ne.jp sshd[1474]: Failed password for root from 61.177.173.11 port 27665 ssh2
56
-
57
- Mar 08 23:00:33 ik1-448-56179.vs.sakura.ne.jp sshd[1474]: Received disconnect from 61.177.173.11 port 27665:11: [preauth]
58
-
59
- Mar 08 23:00:33 ik1-448-56179.vs.sakura.ne.jp sshd[1474]: Disconnected from 61.177.173.11 port 27665 [preauth]
60
-
61
- Mar 08 23:00:33 ik1-448-56179.vs.sakura.ne.jp sshd[1474]: PAM 2 more authentication failures; logname= uid=0 euid=0 tty=ssh ruser= rhost=61.177.173.11 user=root
62
-
63
- Mar 08 23:01:51 ik1-448-56179.vs.sakura.ne.jp sshd[1476]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=61.177.173.11 user=root
64
-
65
- Mar 08 23:01:54 ik1-448-56179.vs.sakura.ne.jp sshd[1476]: Failed password for root from 61.177.173.11 port 28490 ssh2
66
-
67
- Mar 08 23:01:58 ik1-448-56179.vs.sakura.ne.jp sshd[1476]: Failed password for root from 61.177.173.11 port 28490 ssh2
68
-
69
- Mar 08 23:02:01 ik1-448-56179.vs.sakura.ne.jp sshd[1476]: Failed password for root from 61.177.173.11 port 28490 ssh2
70
-
71
- Mar 08 23:02:03 ik1-448-56179.vs.sakura.ne.jp sshd[1476]: Received disconnect from 61.177.173.11 port 28490:11: [preauth]
72
-
73
- Mar 08 23:02:03 ik1-448-56179.vs.sakura.ne.jp sshd[1476]: Disconnected from 61.177.173.11 port 28490 [preauth]
74
-
75
- Mar 08 23:02:03 ik1-448-56179.vs.sakura.ne.jp sshd[1476]: PAM 2 more authentication failures; logname= uid=0 euid=0 tty=ssh ruser= rhost=61.177.173.11 user=root
76
-
77
- Mar 08 23:03:21 ik1-448-56179.vs.sakura.ne.jp sshd[1479]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=61.177.173.11 user=root
78
-
79
- Mar 08 23:03:24 ik1-448-56179.vs.sakura.ne.jp sshd[1479]: Failed password for root from 61.177.173.11 port 31336 ssh2
80
-
81
- Mar 08 23:03:27 ik1-448-56179.vs.sakura.ne.jp sshd[1479]: Failed password for root from 61.177.173.11 port 31336 ssh2
82
-
83
- Mar 08 23:03:30 ik1-448-56179.vs.sakura.ne.jp sshd[1479]: Failed password for root from 61.177.173.11 port 31336 ssh2
84
-
85
- Mar 08 23:03:30 ik1-448-56179.vs.sakura.ne.jp sshd[1479]: Received disconnect from 61.177.173.11 port 31336:11: [preauth]
86
-
87
- Mar 08 23:03:30 ik1-448-56179.vs.sakura.ne.jp sshd[1479]: Disconnected from 61.177.173.11 port 31336 [preauth]
88
-
89
- Mar 08 23:03:30 ik1-448-56179.vs.sakura.ne.jp sshd[1479]: PAM 2 more authentication failures; logname= uid=0 euid=0 tty=ssh ruser= rhost=61.177.173.11 user=root
90
-
91
- Mar 08 23:04:07 ik1-448-56179.vs.sakura.ne.jp systemd[1]: Configuration file /etc/systemd/system/tomcat.service is marked executable. Please remove executable permission bits. Proceeding anyway.
92
-
93
- Mar 08 23:04:46 ik1-448-56179.vs.sakura.ne.jp sshd[1483]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=61.177.173.11 user=root
94
-
95
- Mar 08 23:04:48 ik1-448-56179.vs.sakura.ne.jp sshd[1483]: Failed password for root from 61.177.173.11 port 45881 ssh2
96
-
97
- Mar 08 23:04:51 ik1-448-56179.vs.sakura.ne.jp sshd[1483]: Failed password for root from 61.177.173.11 port 45881 ssh2
98
-
99
- Mar 08 23:04:54 ik1-448-56179.vs.sakura.ne.jp sshd[1483]: Failed password for root from 61.177.173.11 port 45881 ssh2
100
-
101
- Mar 08 23:04:55 ik1-448-56179.vs.sakura.ne.jp sshd[1483]: Received disconnect from 61.177.173.11 port 45881:11: [preauth]
102
-
103
- Mar 08 23:04:55 ik1-448-56179.vs.sakura.ne.jp sshd[1483]: Disconnected from 61.177.173.11 port 45881 [preauth]
104
-
105
- Mar 08 23:04:55 ik1-448-56179.vs.sakura.ne.jp sshd[1483]: PAM 2 more authentication failures; logname= uid=0 euid=0 tty=ssh ruser= rhost=61.177.173.11 user=root
106
-
107
- ```
108
32
 
109
33
  訳が分かりません…ご教示願います

2

不明点を具体的に記載しました

2021/03/08 20:46

投稿

kohey419
kohey419

スコア11

test CHANGED
File without changes
test CHANGED
@@ -1,6 +1,8 @@
1
1
  ### やりたいこと
2
2
 
3
3
  warファイルをデプロイした後ドメイン名を検索してアプリを表示させるようにしたい
4
+
5
+ また、8080ポートをふさぎtomcatを起動できるようにしたい
4
6
 
5
7
  ### 環境
6
8
 
@@ -24,4 +26,84 @@
24
26
 
25
27
  - http://IPアドレス:8080/指定した文字列だとtomcatの404が表示されます
26
28
 
29
+ - tomcatを一度停止したら起動できなくなりました。
30
+
31
+ 下記がsystemctl status tomcat.serviceとjournalctl -xeの内容です。
32
+
33
+ ```Linux
34
+
35
+ Mar 08 22:37:12 ik1-448-56179.vs.sakura.ne.jp systemd[1]: Starting Apache Tomcat9...
36
+
37
+ Mar 08 22:37:12 ik1-448-56179.vs.sakura.ne.jp systemd[1]: tomcat.service: main process exited, code=exited, status=203/EXEC
38
+
39
+ Mar 08 22:37:12 ik1-448-56179.vs.sakura.ne.jp systemd[1]: Failed to start Apache Tomcat9.
40
+
41
+ Mar 08 22:37:12 ik1-448-56179.vs.sakura.ne.jp systemd[1]: Unit tomcat.service entered failed state.
42
+
43
+ Mar 08 22:37:12 ik1-448-56179.vs.sakura.ne.jp systemd[1]: tomcat.service failed.
44
+
45
+ ```
46
+
47
+ ```Linux
48
+
49
+ Mar 08 23:00:24 ik1-448-56179.vs.sakura.ne.jp sshd[1474]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=61.177.173.11 user=root
50
+
51
+ Mar 08 23:00:26 ik1-448-56179.vs.sakura.ne.jp sshd[1474]: Failed password for root from 61.177.173.11 port 27665 ssh2
52
+
53
+ Mar 08 23:00:29 ik1-448-56179.vs.sakura.ne.jp sshd[1474]: Failed password for root from 61.177.173.11 port 27665 ssh2
54
+
55
+ Mar 08 23:00:32 ik1-448-56179.vs.sakura.ne.jp sshd[1474]: Failed password for root from 61.177.173.11 port 27665 ssh2
56
+
57
+ Mar 08 23:00:33 ik1-448-56179.vs.sakura.ne.jp sshd[1474]: Received disconnect from 61.177.173.11 port 27665:11: [preauth]
58
+
59
+ Mar 08 23:00:33 ik1-448-56179.vs.sakura.ne.jp sshd[1474]: Disconnected from 61.177.173.11 port 27665 [preauth]
60
+
61
+ Mar 08 23:00:33 ik1-448-56179.vs.sakura.ne.jp sshd[1474]: PAM 2 more authentication failures; logname= uid=0 euid=0 tty=ssh ruser= rhost=61.177.173.11 user=root
62
+
63
+ Mar 08 23:01:51 ik1-448-56179.vs.sakura.ne.jp sshd[1476]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=61.177.173.11 user=root
64
+
65
+ Mar 08 23:01:54 ik1-448-56179.vs.sakura.ne.jp sshd[1476]: Failed password for root from 61.177.173.11 port 28490 ssh2
66
+
67
+ Mar 08 23:01:58 ik1-448-56179.vs.sakura.ne.jp sshd[1476]: Failed password for root from 61.177.173.11 port 28490 ssh2
68
+
69
+ Mar 08 23:02:01 ik1-448-56179.vs.sakura.ne.jp sshd[1476]: Failed password for root from 61.177.173.11 port 28490 ssh2
70
+
71
+ Mar 08 23:02:03 ik1-448-56179.vs.sakura.ne.jp sshd[1476]: Received disconnect from 61.177.173.11 port 28490:11: [preauth]
72
+
73
+ Mar 08 23:02:03 ik1-448-56179.vs.sakura.ne.jp sshd[1476]: Disconnected from 61.177.173.11 port 28490 [preauth]
74
+
75
+ Mar 08 23:02:03 ik1-448-56179.vs.sakura.ne.jp sshd[1476]: PAM 2 more authentication failures; logname= uid=0 euid=0 tty=ssh ruser= rhost=61.177.173.11 user=root
76
+
77
+ Mar 08 23:03:21 ik1-448-56179.vs.sakura.ne.jp sshd[1479]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=61.177.173.11 user=root
78
+
79
+ Mar 08 23:03:24 ik1-448-56179.vs.sakura.ne.jp sshd[1479]: Failed password for root from 61.177.173.11 port 31336 ssh2
80
+
81
+ Mar 08 23:03:27 ik1-448-56179.vs.sakura.ne.jp sshd[1479]: Failed password for root from 61.177.173.11 port 31336 ssh2
82
+
83
+ Mar 08 23:03:30 ik1-448-56179.vs.sakura.ne.jp sshd[1479]: Failed password for root from 61.177.173.11 port 31336 ssh2
84
+
85
+ Mar 08 23:03:30 ik1-448-56179.vs.sakura.ne.jp sshd[1479]: Received disconnect from 61.177.173.11 port 31336:11: [preauth]
86
+
87
+ Mar 08 23:03:30 ik1-448-56179.vs.sakura.ne.jp sshd[1479]: Disconnected from 61.177.173.11 port 31336 [preauth]
88
+
89
+ Mar 08 23:03:30 ik1-448-56179.vs.sakura.ne.jp sshd[1479]: PAM 2 more authentication failures; logname= uid=0 euid=0 tty=ssh ruser= rhost=61.177.173.11 user=root
90
+
91
+ Mar 08 23:04:07 ik1-448-56179.vs.sakura.ne.jp systemd[1]: Configuration file /etc/systemd/system/tomcat.service is marked executable. Please remove executable permission bits. Proceeding anyway.
92
+
93
+ Mar 08 23:04:46 ik1-448-56179.vs.sakura.ne.jp sshd[1483]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=61.177.173.11 user=root
94
+
95
+ Mar 08 23:04:48 ik1-448-56179.vs.sakura.ne.jp sshd[1483]: Failed password for root from 61.177.173.11 port 45881 ssh2
96
+
97
+ Mar 08 23:04:51 ik1-448-56179.vs.sakura.ne.jp sshd[1483]: Failed password for root from 61.177.173.11 port 45881 ssh2
98
+
99
+ Mar 08 23:04:54 ik1-448-56179.vs.sakura.ne.jp sshd[1483]: Failed password for root from 61.177.173.11 port 45881 ssh2
100
+
101
+ Mar 08 23:04:55 ik1-448-56179.vs.sakura.ne.jp sshd[1483]: Received disconnect from 61.177.173.11 port 45881:11: [preauth]
102
+
103
+ Mar 08 23:04:55 ik1-448-56179.vs.sakura.ne.jp sshd[1483]: Disconnected from 61.177.173.11 port 45881 [preauth]
104
+
105
+ Mar 08 23:04:55 ik1-448-56179.vs.sakura.ne.jp sshd[1483]: PAM 2 more authentication failures; logname= uid=0 euid=0 tty=ssh ruser= rhost=61.177.173.11 user=root
106
+
107
+ ```
108
+
27
109
  訳が分かりません…ご教示願います

1

2021/03/08 14:09

投稿

kohey419
kohey419

スコア11

test CHANGED
File without changes
test CHANGED
@@ -12,12 +12,16 @@
12
12
 
13
13
  ### 現在の状況
14
14
 
15
+ - デプロイ前の自PCローカルサーバー上での動作は確認済みです
16
+
17
+ - webapps内にwarファイルと同じ名前のディレクトリが作成されているのも確認しています
18
+
15
19
  - ドメイン検索では簡単なhtmlファイルが置いてあるのでそのファイルが表示されます。
16
20
 
17
21
  - http://IPアドレス:8080/ と検索かけるとtomcatは正しく動作していますのような猫マークのあるページが表示されます。
18
22
 
19
23
  - httpd.confで設定した ajp のアドレスで検索かけると(http://IPアドレス:8009/指定した文字列)アクセスできないと出ます
20
24
 
21
- - http://IPアドレス:8080/指定した文字列だと404が表示されます
25
+ - http://IPアドレス:8080/指定した文字列だとtomcatの404が表示されます
22
26
 
23
27
  訳が分かりません…ご教示願います