質問編集履歴
4
再度journalctl -xe
title
CHANGED
File without changes
|
body
CHANGED
@@ -48,4 +48,14 @@
|
|
48
48
|
tq2989 /usr/sbin/httpd -DFOREGROUND
|
49
49
|
|
50
50
|
--------------------------------------------------------------
|
51
|
-
**太字の、(code=exited, status=1/FAILURE)部分が赤色になり、なにやらエラーっぽいのですが、これはなんでしょうか。**
|
51
|
+
**太字の、(code=exited, status=1/FAILURE)部分が赤色になり、なにやらエラーっぽいのですが、これはなんでしょうか。**
|
52
|
+
|
53
|
+
再度、journalctl -xeをしてみました
|
54
|
+
---------------------------------
|
55
|
+
11月 29 15:39:50 略 sudo[4280]: shohei.fujiwara : TTY=pts/0 ; PWD=/home/shohei.fujiwara ; USER=root ; COMMAND=/bin/journalctl -xe
|
56
|
+
11月 29 15:41:02 略 sudo[4286]: shohei.fujiwara : TTY=pts/0 ; PWD=/home/shohei.fujiwara ; USER=root ; COMMAND=/bin/systemctl start httpd
|
57
|
+
11月 29 15:41:02 略 polkitd[490]: Registered Authentication Agent for unix-process:4287:2763370 (system bus name :1.61 [/usr/bin/pkttyagent --notify-
|
58
|
+
11月 29 15:41:02 略 polkitd[490]: Unregistered Authentication Agent for unix-process:4287:2763370 (system bus name :1.61, object path /org/freedeskto
|
59
|
+
11月 29 15:41:09 略 sudo[4293]: shohei.fujiwara : TTY=pts/0 ; PWD=/home/shohei.fujiwara ; USER=root ; COMMAND=/bin/journalctl -xe
|
60
|
+
|
61
|
+
--------------------------------
|
3
文章を整えた
title
CHANGED
File without changes
|
body
CHANGED
@@ -17,7 +17,7 @@
|
|
17
17
|
|
18
18
|
------------------------------------------------------
|
19
19
|
|
20
|
-
systemctl start httpd後、journalctl -xe
|
20
|
+
systemctl start httpd後、journalctl -xeで表示された文言
|
21
21
|
-----------------------------
|
22
22
|
Unit httpd.service has begun starting up.
|
23
23
|
11月 29 13:54:13 略 httpd[2907]: httpd: Syntax error on line 385 of /etc/httpd/conf/httpd.conf: Syntax error on line 1 of /etc/httpd/conf/vhost/AAAA.conf: /
|
@@ -26,9 +26,10 @@
|
|
26
26
|
11月 29 13:54:13 略 kill[2909]: kill: cannot find process ""
|
27
27
|
11月 29 13:54:12 略 systemd[1]: httpd.service: control process exited, code=exited status=1
|
28
28
|
11月 29 13:54:12 略 systemd[1]: Failed to start The Apache HTTP Server.
|
29
|
+
|
29
30
|
--------------------------------------
|
30
|
-
/etc/httpd/conf/vhost/AAAA.confの1行目でしょうか、、、
|
31
|
+
**/etc/httpd/conf/vhost/AAAA.confの1行目でしょうか、、、
|
31
|
-
<!-- でコメントアウトして改行しているだけなのですがこれはダメなのでしょうか。
|
32
|
+
<!-- でコメントアウトして改行しているだけなのですがこれはダメなのでしょうか。**
|
32
33
|
|
33
34
|
#でコメントアウトしたらactiveになりました。
|
34
35
|
---------------------------------------
|
@@ -47,4 +48,4 @@
|
|
47
48
|
tq2989 /usr/sbin/httpd -DFOREGROUND
|
48
49
|
|
49
50
|
--------------------------------------------------------------
|
50
|
-
太字の、(code=exited, status=1/FAILURE)部分が赤色になり、なにやらエラーっぽいのですが、これはなんでしょうか。
|
51
|
+
**太字の、(code=exited, status=1/FAILURE)部分が赤色になり、なにやらエラーっぽいのですが、これはなんでしょうか。**
|
2
新たな問題
title
CHANGED
File without changes
|
body
CHANGED
@@ -28,4 +28,23 @@
|
|
28
28
|
11月 29 13:54:12 略 systemd[1]: Failed to start The Apache HTTP Server.
|
29
29
|
--------------------------------------
|
30
30
|
/etc/httpd/conf/vhost/AAAA.confの1行目でしょうか、、、
|
31
|
-
<!-- でコメントアウトして改行しているだけなのですがこれはダメなのでしょうか。
|
31
|
+
<!-- でコメントアウトして改行しているだけなのですがこれはダメなのでしょうか。
|
32
|
+
|
33
|
+
#でコメントアウトしたらactiveになりました。
|
34
|
+
---------------------------------------
|
35
|
+
httpd.service - The Apache HTTP Server
|
36
|
+
Loaded: loaded (/usr/lib/systemd/system/httpd.service; disabled; vendor preset: disabled)
|
37
|
+
Drop-In: /etc/systemd/system/httpd.service.d
|
38
|
+
mqlimits.conf
|
39
|
+
Active: active (running) since 木 2018-11-29 14:15:45 JST; 4s ago
|
40
|
+
Docs: man:httpd(8)
|
41
|
+
man:apachectl(8)
|
42
|
+
Process: 2909 ExecStop=/bin/kill -WINCH ${MAINPID} **(code=exited, status=1/FAILURE)**
|
43
|
+
Main PID: 2988 (httpd)
|
44
|
+
Status: "Processing requests..."
|
45
|
+
CGroup: /system.slice/httpd.service
|
46
|
+
tq2988 /usr/sbin/httpd -DFOREGROUND
|
47
|
+
tq2989 /usr/sbin/httpd -DFOREGROUND
|
48
|
+
|
49
|
+
--------------------------------------------------------------
|
50
|
+
太字の、(code=exited, status=1/FAILURE)部分が赤色になり、なにやらエラーっぽいのですが、これはなんでしょうか。
|
1
コードを追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -15,4 +15,17 @@
|
|
15
15
|
Process: 2846 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
|
16
16
|
Main PID: 2846 (code=exited, status=1/FAILURE)
|
17
17
|
|
18
|
-
------------------------------------------------------
|
18
|
+
------------------------------------------------------
|
19
|
+
|
20
|
+
systemctl start httpd後、journalctl -xeにて表示された文言
|
21
|
+
-----------------------------
|
22
|
+
Unit httpd.service has begun starting up.
|
23
|
+
11月 29 13:54:13 略 httpd[2907]: httpd: Syntax error on line 385 of /etc/httpd/conf/httpd.conf: Syntax error on line 1 of /etc/httpd/conf/vhost/AAAA.conf: /
|
24
|
+
11月 29 13:54:12 略 polkitd[490]: Unregistered Authentication Agent for unix-process:2901:2122425 (system bus name :1.50, object path /org/freedesktop/Polic
|
25
|
+
11月 29 13:54:12 略 systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
|
26
|
+
11月 29 13:54:13 略 kill[2909]: kill: cannot find process ""
|
27
|
+
11月 29 13:54:12 略 systemd[1]: httpd.service: control process exited, code=exited status=1
|
28
|
+
11月 29 13:54:12 略 systemd[1]: Failed to start The Apache HTTP Server.
|
29
|
+
--------------------------------------
|
30
|
+
/etc/httpd/conf/vhost/AAAA.confの1行目でしょうか、、、
|
31
|
+
<!-- でコメントアウトして改行しているだけなのですがこれはダメなのでしょうか。
|