質問編集履歴

4

修正

2017/02/08 06:47

投稿

Ytpzbii
Ytpzbii

スコア14

test CHANGED
File without changes
test CHANGED
@@ -65,215 +65,3 @@
65
65
  Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details.
66
66
 
67
67
  ```
68
-
69
-
70
-
71
- ```
72
-
73
- root@xxx /]# systemctl status httpd
74
-
75
- ● httpd.service - The Apache HTTP Server
76
-
77
- Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
78
-
79
- Active: failed (Result: exit-code) since Thu 2017-02-02 10:48:37 JST; 5min ago
80
-
81
- Docs: man:httpd(8)
82
-
83
- man:apachectl(8)
84
-
85
- Process: 5029 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=1/FAILURE)
86
-
87
- Process: 5025 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=dumped, signal=SEGV)
88
-
89
- Main PID: 5025 (code=dumped, signal=SEGV)
90
-
91
-
92
-
93
- Feb 02 10:48:37 tk2-248-33745.vs.sakura.ne.jp systemd[1]: Starting The Apache HTTP Server...
94
-
95
- Feb 02 10:48:37 tk2-248-33745.vs.sakura.ne.jp systemd[1]: httpd.service: main process exited, code=dumped, status=11/SEGV
96
-
97
- Feb 02 10:48:37 tk2-248-33745.vs.sakura.ne.jp kill[5029]: kill: cannot find process ""
98
-
99
- Feb 02 10:48:37 tk2-248-33745.vs.sakura.ne.jp systemd[1]: httpd.service: control process exited, code=exited status=1
100
-
101
- Feb 02 10:48:37 tk2-248-33745.vs.sakura.ne.jp systemd[1]: Failed to start The Apache HTTP Server.
102
-
103
- Feb 02 10:48:37 tk2-248-33745.vs.sakura.ne.jp systemd[1]: Unit httpd.service entered failed state.
104
-
105
- Feb 02 10:48:37 tk2-248-33745.vs.sakura.ne.jp systemd[1]: httpd.service failed.
106
-
107
- ```
108
-
109
-
110
-
111
- ```
112
-
113
- [root@tk2-248-33745 /]# journalctl -xe
114
-
115
- -- Subject: Unit httpd.service has failed
116
-
117
- -- Defined-By: systemd
118
-
119
- -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
120
-
121
- --
122
-
123
- -- Unit httpd.service has failed.
124
-
125
- --
126
-
127
- -- The result is failed.
128
-
129
- Feb 02 10:48:37 tk2-248-33745.vs.sakura.ne.jp systemd[1]: Unit httpd.service entered failed state.
130
-
131
- Feb 02 10:48:37 tk2-248-33745.vs.sakura.ne.jp systemd[1]: httpd.service failed.
132
-
133
- Feb 02 10:48:37 tk2-248-33745.vs.sakura.ne.jp polkitd[517]: Unregistered Authentication Agent for unix-process:5014:222578 (system bus name :1.64, object path /org/freedesktop/PolicyKit1/AuthenticationAge
134
-
135
- Feb 02 10:48:37 tk2-248-33745.vs.sakura.ne.jp abrt-server[5028]: Duplicate: core backtrace
136
-
137
- Feb 02 10:48:37 tk2-248-33745.vs.sakura.ne.jp abrt-server[5028]: DUP_OF_DIR: /var/spool/abrt/ccpp-2017-02-02-08:55:34-1420
138
-
139
- Feb 02 10:48:37 tk2-248-33745.vs.sakura.ne.jp abrt-server[5028]: Deleting problem directory ccpp-2017-02-02-10:48:37-5025 (dup of ccpp-2017-02-02-08:55:34-1420)
140
-
141
- Feb 02 10:48:37 tk2-248-33745.vs.sakura.ne.jp abrt-server[5028]: Email address of sender was not specified. Would you like to do so now? If not, 'user@localhost' is to be used [y/N]
142
-
143
- Feb 02 10:48:37 tk2-248-33745.vs.sakura.ne.jp abrt-server[5028]: Email address of receiver was not specified. Would you like to do so now? If not, 'root@localhost' is to be used [y/N]
144
-
145
- Feb 02 10:48:37 tk2-248-33745.vs.sakura.ne.jp abrt-server[5028]: Sending an email...
146
-
147
- Feb 02 10:48:37 tk2-248-33745.vs.sakura.ne.jp abrt-server[5028]: Sending a notification email to: root@localhost
148
-
149
- Feb 02 10:48:37 tk2-248-33745.vs.sakura.ne.jp abrt-server[5028]: /usr/sbin/sendmail: No such file or directory
150
-
151
- Feb 02 10:48:37 tk2-248-33745.vs.sakura.ne.jp abrt-server[5028]: . . . message not sent.
152
-
153
- Feb 02 10:48:37 tk2-248-33745.vs.sakura.ne.jp abrt-server[5028]: Error running '/bin/mailx'
154
-
155
- Feb 02 10:50:01 tk2-248-33745.vs.sakura.ne.jp systemd[1]: Created slice user-0.slice.
156
-
157
- -- Subject: Unit user-0.slice has finished start-up
158
-
159
- -- Defined-By: systemd
160
-
161
- -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
162
-
163
- --
164
-
165
- -- Unit user-0.slice has finished starting up.
166
-
167
- --
168
-
169
- -- The start-up result is done.
170
-
171
- Feb 02 10:50:01 tk2-248-33745.vs.sakura.ne.jp systemd[1]: Starting user-0.slice.
172
-
173
- -- Subject: Unit user-0.slice has begun start-up
174
-
175
- -- Defined-By: systemd
176
-
177
- -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
178
-
179
- --
180
-
181
- -- Unit user-0.slice has begun starting up.
182
-
183
- Feb 02 10:50:01 tk2-248-33745.vs.sakura.ne.jp systemd[1]: Started Session 13 of user root.
184
-
185
- -- Subject: Unit session-13.scope has finished start-up
186
-
187
- -- Defined-By: systemd
188
-
189
- -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
190
-
191
- --
192
-
193
- -- Unit session-13.scope has finished starting up.
194
-
195
- --
196
-
197
- -- The start-up result is done.
198
-
199
- Feb 02 10:50:01 tk2-248-33745.vs.sakura.ne.jp systemd[1]: Starting Session 13 of user root.
200
-
201
- -- Subject: Unit session-13.scope has begun start-up
202
-
203
- -- Defined-By: systemd
204
-
205
- -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
206
-
207
- --
208
-
209
- -- Unit session-13.scope has begun starting up.
210
-
211
- Feb 02 10:50:01 tk2-248-33745.vs.sakura.ne.jp CROND[5043]: (root) CMD (/usr/lib64/sa/sa1 1 1)
212
-
213
- Feb 02 10:50:01 tk2-248-33745.vs.sakura.ne.jp systemd[1]: Removed slice user-0.slice.
214
-
215
- -- Subject: Unit user-0.slice has finished shutting down
216
-
217
- -- Defined-By: systemd
218
-
219
- -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
220
-
221
- --
222
-
223
- -- Unit user-0.slice has finished shutting down.
224
-
225
- Feb 02 10:50:01 tk2-248-33745.vs.sakura.ne.jp systemd[1]: Stopping user-0.slice.
226
-
227
- -- Subject: Unit user-0.slice has begun shutting down
228
-
229
- -- Defined-By: systemd
230
-
231
- -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
232
-
233
- --
234
-
235
- -- Unit user-0.slice has begun shutting down.
236
-
237
- ```
238
-
239
-
240
-
241
-
242
-
243
- ```
244
-
245
- [root@tk2-248-33745 conf.modules.d]# vi 15-php.conf
246
-
247
-
248
-
249
- # Cannot load both php5 and php7 modules
250
-
251
- <IfModule !mod_php5.c>
252
-
253
- <IfModule prefork.c>
254
-
255
- LoadModule php7_module modules/libphp7.so
256
-
257
- </IfModule>
258
-
259
- </IfModule>
260
-
261
-
262
-
263
-
264
-
265
- <IfModule !mod_php5.c>
266
-
267
- <IfModule !prefork.c>
268
-
269
- LoadModule php7_module modules/libphp7-zts.so
270
-
271
- </IfModule>
272
-
273
- </IfModule>
274
-
275
- ~
276
-
277
-
278
-
279
- ```

3

設定ファイル

2017/02/08 06:47

投稿

Ytpzbii
Ytpzbii

スコア14

test CHANGED
File without changes
test CHANGED
@@ -235,3 +235,45 @@
235
235
  -- Unit user-0.slice has begun shutting down.
236
236
 
237
237
  ```
238
+
239
+
240
+
241
+
242
+
243
+ ```
244
+
245
+ [root@tk2-248-33745 conf.modules.d]# vi 15-php.conf
246
+
247
+
248
+
249
+ # Cannot load both php5 and php7 modules
250
+
251
+ <IfModule !mod_php5.c>
252
+
253
+ <IfModule prefork.c>
254
+
255
+ LoadModule php7_module modules/libphp7.so
256
+
257
+ </IfModule>
258
+
259
+ </IfModule>
260
+
261
+
262
+
263
+
264
+
265
+ <IfModule !mod_php5.c>
266
+
267
+ <IfModule !prefork.c>
268
+
269
+ LoadModule php7_module modules/libphp7-zts.so
270
+
271
+ </IfModule>
272
+
273
+ </IfModule>
274
+
275
+ ~
276
+
277
+
278
+
279
+ ```

2

journalctlの内容も追記しました。

2017/02/02 02:23

投稿

Ytpzbii
Ytpzbii

スコア14

test CHANGED
File without changes
test CHANGED
@@ -105,3 +105,133 @@
105
105
  Feb 02 10:48:37 tk2-248-33745.vs.sakura.ne.jp systemd[1]: httpd.service failed.
106
106
 
107
107
  ```
108
+
109
+
110
+
111
+ ```
112
+
113
+ [root@tk2-248-33745 /]# journalctl -xe
114
+
115
+ -- Subject: Unit httpd.service has failed
116
+
117
+ -- Defined-By: systemd
118
+
119
+ -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
120
+
121
+ --
122
+
123
+ -- Unit httpd.service has failed.
124
+
125
+ --
126
+
127
+ -- The result is failed.
128
+
129
+ Feb 02 10:48:37 tk2-248-33745.vs.sakura.ne.jp systemd[1]: Unit httpd.service entered failed state.
130
+
131
+ Feb 02 10:48:37 tk2-248-33745.vs.sakura.ne.jp systemd[1]: httpd.service failed.
132
+
133
+ Feb 02 10:48:37 tk2-248-33745.vs.sakura.ne.jp polkitd[517]: Unregistered Authentication Agent for unix-process:5014:222578 (system bus name :1.64, object path /org/freedesktop/PolicyKit1/AuthenticationAge
134
+
135
+ Feb 02 10:48:37 tk2-248-33745.vs.sakura.ne.jp abrt-server[5028]: Duplicate: core backtrace
136
+
137
+ Feb 02 10:48:37 tk2-248-33745.vs.sakura.ne.jp abrt-server[5028]: DUP_OF_DIR: /var/spool/abrt/ccpp-2017-02-02-08:55:34-1420
138
+
139
+ Feb 02 10:48:37 tk2-248-33745.vs.sakura.ne.jp abrt-server[5028]: Deleting problem directory ccpp-2017-02-02-10:48:37-5025 (dup of ccpp-2017-02-02-08:55:34-1420)
140
+
141
+ Feb 02 10:48:37 tk2-248-33745.vs.sakura.ne.jp abrt-server[5028]: Email address of sender was not specified. Would you like to do so now? If not, 'user@localhost' is to be used [y/N]
142
+
143
+ Feb 02 10:48:37 tk2-248-33745.vs.sakura.ne.jp abrt-server[5028]: Email address of receiver was not specified. Would you like to do so now? If not, 'root@localhost' is to be used [y/N]
144
+
145
+ Feb 02 10:48:37 tk2-248-33745.vs.sakura.ne.jp abrt-server[5028]: Sending an email...
146
+
147
+ Feb 02 10:48:37 tk2-248-33745.vs.sakura.ne.jp abrt-server[5028]: Sending a notification email to: root@localhost
148
+
149
+ Feb 02 10:48:37 tk2-248-33745.vs.sakura.ne.jp abrt-server[5028]: /usr/sbin/sendmail: No such file or directory
150
+
151
+ Feb 02 10:48:37 tk2-248-33745.vs.sakura.ne.jp abrt-server[5028]: . . . message not sent.
152
+
153
+ Feb 02 10:48:37 tk2-248-33745.vs.sakura.ne.jp abrt-server[5028]: Error running '/bin/mailx'
154
+
155
+ Feb 02 10:50:01 tk2-248-33745.vs.sakura.ne.jp systemd[1]: Created slice user-0.slice.
156
+
157
+ -- Subject: Unit user-0.slice has finished start-up
158
+
159
+ -- Defined-By: systemd
160
+
161
+ -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
162
+
163
+ --
164
+
165
+ -- Unit user-0.slice has finished starting up.
166
+
167
+ --
168
+
169
+ -- The start-up result is done.
170
+
171
+ Feb 02 10:50:01 tk2-248-33745.vs.sakura.ne.jp systemd[1]: Starting user-0.slice.
172
+
173
+ -- Subject: Unit user-0.slice has begun start-up
174
+
175
+ -- Defined-By: systemd
176
+
177
+ -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
178
+
179
+ --
180
+
181
+ -- Unit user-0.slice has begun starting up.
182
+
183
+ Feb 02 10:50:01 tk2-248-33745.vs.sakura.ne.jp systemd[1]: Started Session 13 of user root.
184
+
185
+ -- Subject: Unit session-13.scope has finished start-up
186
+
187
+ -- Defined-By: systemd
188
+
189
+ -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
190
+
191
+ --
192
+
193
+ -- Unit session-13.scope has finished starting up.
194
+
195
+ --
196
+
197
+ -- The start-up result is done.
198
+
199
+ Feb 02 10:50:01 tk2-248-33745.vs.sakura.ne.jp systemd[1]: Starting Session 13 of user root.
200
+
201
+ -- Subject: Unit session-13.scope has begun start-up
202
+
203
+ -- Defined-By: systemd
204
+
205
+ -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
206
+
207
+ --
208
+
209
+ -- Unit session-13.scope has begun starting up.
210
+
211
+ Feb 02 10:50:01 tk2-248-33745.vs.sakura.ne.jp CROND[5043]: (root) CMD (/usr/lib64/sa/sa1 1 1)
212
+
213
+ Feb 02 10:50:01 tk2-248-33745.vs.sakura.ne.jp systemd[1]: Removed slice user-0.slice.
214
+
215
+ -- Subject: Unit user-0.slice has finished shutting down
216
+
217
+ -- Defined-By: systemd
218
+
219
+ -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
220
+
221
+ --
222
+
223
+ -- Unit user-0.slice has finished shutting down.
224
+
225
+ Feb 02 10:50:01 tk2-248-33745.vs.sakura.ne.jp systemd[1]: Stopping user-0.slice.
226
+
227
+ -- Subject: Unit user-0.slice has begun shutting down
228
+
229
+ -- Defined-By: systemd
230
+
231
+ -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
232
+
233
+ --
234
+
235
+ -- Unit user-0.slice has begun shutting down.
236
+
237
+ ```

1

PHP再インストール時のhttpdのエラーを追記しました。

2017/02/02 01:58

投稿

Ytpzbii
Ytpzbii

スコア14

test CHANGED
File without changes
test CHANGED
@@ -47,3 +47,61 @@
47
47
  まとまりがなく申し訳ありませんが何か手がかりをいただけないでしょうか。
48
48
 
49
49
  よろしくお願いいたします。
50
+
51
+
52
+
53
+
54
+
55
+ ###追記
56
+
57
+
58
+
59
+ phpを再度インストールし、httpdを再起動したときのエラーコードです。
60
+
61
+
62
+
63
+ ```
64
+
65
+ Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details.
66
+
67
+ ```
68
+
69
+
70
+
71
+ ```
72
+
73
+ root@xxx /]# systemctl status httpd
74
+
75
+ ● httpd.service - The Apache HTTP Server
76
+
77
+ Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
78
+
79
+ Active: failed (Result: exit-code) since Thu 2017-02-02 10:48:37 JST; 5min ago
80
+
81
+ Docs: man:httpd(8)
82
+
83
+ man:apachectl(8)
84
+
85
+ Process: 5029 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=1/FAILURE)
86
+
87
+ Process: 5025 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=dumped, signal=SEGV)
88
+
89
+ Main PID: 5025 (code=dumped, signal=SEGV)
90
+
91
+
92
+
93
+ Feb 02 10:48:37 tk2-248-33745.vs.sakura.ne.jp systemd[1]: Starting The Apache HTTP Server...
94
+
95
+ Feb 02 10:48:37 tk2-248-33745.vs.sakura.ne.jp systemd[1]: httpd.service: main process exited, code=dumped, status=11/SEGV
96
+
97
+ Feb 02 10:48:37 tk2-248-33745.vs.sakura.ne.jp kill[5029]: kill: cannot find process ""
98
+
99
+ Feb 02 10:48:37 tk2-248-33745.vs.sakura.ne.jp systemd[1]: httpd.service: control process exited, code=exited status=1
100
+
101
+ Feb 02 10:48:37 tk2-248-33745.vs.sakura.ne.jp systemd[1]: Failed to start The Apache HTTP Server.
102
+
103
+ Feb 02 10:48:37 tk2-248-33745.vs.sakura.ne.jp systemd[1]: Unit httpd.service entered failed state.
104
+
105
+ Feb 02 10:48:37 tk2-248-33745.vs.sakura.ne.jp systemd[1]: httpd.service failed.
106
+
107
+ ```