質問編集履歴

2

status追記

2020/08/06 13:05

投稿

Masalu_Kudou
Masalu_Kudou

スコア91

test CHANGED
File without changes
test CHANGED
@@ -277,3 +277,73 @@
277
277
 
278
278
 
279
279
  -----------------------------------------------------
280
+
281
+ 【Status確認】
282
+
283
+
284
+
285
+ [root@tk2-258-38511 ~]# systemctl status httpd
286
+
287
+ * httpd.service - The Apache HTTP Server
288
+
289
+ Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
290
+
291
+ Active: active (running) since Tue 2020-07-28 23:28:20 JST; 1 weeks 1 days ago
292
+
293
+ Docs: man:httpd(8)
294
+
295
+ man:apachectl(8)
296
+
297
+ Process: 18345 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=0/SUCCESS)
298
+
299
+ Process: 20010 ExecReload=/usr/sbin/httpd $OPTIONS -k graceful (code=exited, status=0/SUCCESS)
300
+
301
+ Main PID: 18348 (httpd)
302
+
303
+ Status: "Total requests: 0; Current requests/sec: 0; Current traffic: 0 B/sec"
304
+
305
+ CGroup: /system.slice/httpd.service
306
+
307
+ |-18348 /usr/sbin/httpd -DFOREGROUND
308
+
309
+ |-20023 /usr/sbin/httpd -DFOREGROUND
310
+
311
+ |-20024 /usr/sbin/httpd -DFOREGROUND
312
+
313
+ |-20025 /usr/sbin/httpd -DFOREGROUND
314
+
315
+ |-20026 /usr/sbin/httpd -DFOREGROUND
316
+
317
+ `-20027 /usr/sbin/httpd -DFOREGROUND
318
+
319
+
320
+
321
+ [root@tk2-258-38511 ~]# systemctl status firewalld
322
+
323
+ * firewalld.service - firewalld - dynamic firewall daemon
324
+
325
+ Loaded: loaded (/usr/lib/systemd/system/firewalld.service; disabled; vendor preset: enabled)
326
+
327
+ Active: active (running) since Thu 2020-08-06 21:58:13 JST; 5min ago
328
+
329
+ Docs: man:firewalld(1)
330
+
331
+ Main PID: 28040 (firewalld)
332
+
333
+ CGroup: /system.slice/firewalld.service
334
+
335
+ `-28040 /usr/bin/python2 -Es /usr/sbin/firewalld --nofork --nopid
336
+
337
+
338
+
339
+ Aug 06 21:58:13 tk2-258-38511.vs.sakura.ne.jp systemd[1]: Starting firewalld - dynamic firewall daemon...
340
+
341
+ Aug 06 21:58:13 tk2-258-38511.vs.sakura.ne.jp systemd[1]: Started firewalld - dynamic firewall daemon.
342
+
343
+ Aug 06 21:58:14 tk2-258-38511.vs.sakura.ne.jp firewalld[28040]: WARNING: AllowZoneDrifting is enabled. This is considered an insecure configuration option. It will be removed in a future release. Please consider...abling it now.
344
+
345
+ Hint: Some lines were ellipsized, use -l to show in full.
346
+
347
+
348
+
349
+ ----------------------------------------

1

curlの実行結果追記

2020/08/06 13:05

投稿

Masalu_Kudou
Masalu_Kudou

スコア91

test CHANGED
File without changes
test CHANGED
@@ -23,3 +23,257 @@
23
23
 
24
24
 
25
25
  他に原因として考えられるのはなんでしょうか?お分かりの方、よろしくお願いいたします。
26
+
27
+
28
+
29
+ 8/6 追記------------------------
30
+
31
+ 【curlの実行結果】
32
+
33
+
34
+
35
+ [root@tk2-258-38511 ~]# curl http://127.0.0.1/
36
+
37
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"><html><head>
38
+
39
+ <meta http-equiv="content-type" content="text/html; charset=UTF-8">
40
+
41
+ <title>Apache HTTP Server Test Page powered by CentOS</title>
42
+
43
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
44
+
45
+
46
+
47
+ <!-- Bootstrap -->
48
+
49
+ <link href="/noindex/css/bootstrap.min.css" rel="stylesheet">
50
+
51
+ <link rel="stylesheet" href="noindex/css/open-sans.css" type="text/css" />
52
+
53
+
54
+
55
+ <style type="text/css"><!--
56
+
57
+
58
+
59
+ body {
60
+
61
+ font-family: "Open Sans", Helvetica, sans-serif;
62
+
63
+ font-weight: 100;
64
+
65
+ color: #ccc;
66
+
67
+ background: rgba(10, 24, 55, 1);
68
+
69
+ font-size: 16px;
70
+
71
+ }
72
+
73
+
74
+
75
+ h2, h3, h4 {
76
+
77
+ font-weight: 200;
78
+
79
+ }
80
+
81
+
82
+
83
+ h2 {
84
+
85
+ font-size: 28px;
86
+
87
+ }
88
+
89
+
90
+
91
+ .jumbotron {
92
+
93
+ margin-bottom: 0;
94
+
95
+ color: #333;
96
+
97
+ background: rgb(212,212,221); /* Old browsers */
98
+
99
+ background: radial-gradient(ellipse at center top, rgba(255,255,255,1) 0%,rgba(174,174,183,1) 100%); /* W3C */
100
+
101
+ }
102
+
103
+
104
+
105
+ .jumbotron h1 {
106
+
107
+ font-size: 128px;
108
+
109
+ font-weight: 700;
110
+
111
+ color: white;
112
+
113
+ text-shadow: 0px 2px 0px #abc,
114
+
115
+ 0px 4px 10px rgba(0,0,0,0.15),
116
+
117
+ 0px 5px 2px rgba(0,0,0,0.1),
118
+
119
+ 0px 6px 30px rgba(0,0,0,0.1);
120
+
121
+ }
122
+
123
+
124
+
125
+ .jumbotron p {
126
+
127
+ font-size: 28px;
128
+
129
+ font-weight: 100;
130
+
131
+ }
132
+
133
+
134
+
135
+ .main {
136
+
137
+ background: white;
138
+
139
+ color: #234;
140
+
141
+ border-top: 1px solid rgba(0,0,0,0.12);
142
+
143
+ padding-top: 30px;
144
+
145
+ padding-bottom: 40px;
146
+
147
+ }
148
+
149
+
150
+
151
+ .footer {
152
+
153
+ border-top: 1px solid rgba(255,255,255,0.2);
154
+
155
+ padding-top: 30px;
156
+
157
+ }
158
+
159
+
160
+
161
+ --></style>
162
+
163
+ </head>
164
+
165
+ <body>
166
+
167
+ <div class="jumbotron text-center">
168
+
169
+ <div class="container">
170
+
171
+ <h1>Testing 123..</h1>
172
+
173
+ <p class="lead">This page is used to test the proper operation of the <a href="http://apache.org">Apache HTTP server</a> after it has been installed. If you can read this page it means that this site is working properly. This server is powered by <a href="http://centos.org">CentOS</a>.</p>
174
+
175
+ </div>
176
+
177
+ </div>
178
+
179
+ <div class="main">
180
+
181
+ <div class="container">
182
+
183
+ <div class="row">
184
+
185
+ <div class="col-sm-6">
186
+
187
+ <h2>Just visiting?</h2>
188
+
189
+ <p class="lead">The website you just visited is either experiencing problems or is undergoing routine maintenance.</p>
190
+
191
+ <p>If you would like to let the administrators of this website know that you've seen this page instead of the page you expected, you should send them e-mail. In general, mail sent to the name "webmaster" and directed to the website's domain should reach the appropriate person.</p>
192
+
193
+ <p>For example, if you experienced problems while visiting www.example.com, you should send e-mail to "webmaster@example.com".</p>
194
+
195
+ </div>
196
+
197
+ <div class="col-sm-6">
198
+
199
+ <h2>Are you the Administrator?</h2>
200
+
201
+ <p>You should add your website content to the directory <tt>/var/www/html/</tt>.</p>
202
+
203
+ <p>To prevent this page from ever being used, follow the instructions in the file <tt>/etc/httpd/conf.d/welcome.conf</tt>.</p>
204
+
205
+
206
+
207
+ <h2>Promoting Apache and CentOS</h2>
208
+
209
+ <p>You are free to use the images below on Apache and CentOS Linux powered HTTP servers. Thanks for using Apache and CentOS!</p>
210
+
211
+ <p><a href="http://httpd.apache.org/"><img src="images/apache_pb.gif" alt="[ Powered by Apache ]"></a> <a href="http://www.centos.org/"><img src="images/poweredby.png" alt="[ Powered by CentOS Linux ]" height="31" width="88"></a></p>
212
+
213
+ </div>
214
+
215
+ </div>
216
+
217
+ </div>
218
+
219
+ </div>
220
+
221
+ </div>
222
+
223
+ <div class="footer">
224
+
225
+ <div class="container">
226
+
227
+ <div class="row">
228
+
229
+ <div class="col-sm-6">
230
+
231
+ <h2>Important note:</h2>
232
+
233
+ <p class="lead">The CentOS Project has nothing to do with this website or its content,
234
+
235
+ it just provides the software that makes the website run.</p>
236
+
237
+
238
+
239
+ <p>If you have issues with the content of this site, contact the owner of the domain, not the CentOS project.
240
+
241
+ Unless you intended to visit CentOS.org, the CentOS Project does not have anything to do with this website,
242
+
243
+ the content or the lack of it.</p>
244
+
245
+ <p>For example, if this website is www.example.com, you would find the owner of the example.com domain at the following WHOIS server:</p>
246
+
247
+ <p><a href="http://www.internic.net/whois.html">http://www.internic.net/whois.html</a></p>
248
+
249
+ </div>
250
+
251
+ <div class="col-sm-6">
252
+
253
+ <h2>The CentOS Project</h2>
254
+
255
+ <p>The CentOS Linux distribution is a stable, predictable, manageable and reproduceable platform derived from
256
+
257
+ the sources of Red Hat Enterprise Linux (RHEL).<p>
258
+
259
+
260
+
261
+ <p>Additionally to being a popular choice for web hosting, CentOS also provides a rich platform for open source communities to build upon. For more information
262
+
263
+ please visit the <a href="http://www.centos.org/">CentOS website</a>.</p>
264
+
265
+ </div>
266
+
267
+ </div>
268
+
269
+ </div>
270
+
271
+ </div>
272
+
273
+ </div>
274
+
275
+ </body></html>
276
+
277
+
278
+
279
+ -----------------------------------------------------