Я новичок в apache и ssh в целом, поэтому буду признателен за любую помощь, даже если это глупость, по которой я скучаю.
Я перевожу сайт на новый сервер и настраиваю httpd. Мне пришлось обновить старый httpd.conf до стандарта 2.4, который, как кажется, сейчас, но теперь, когда я запускаю systemctl start httpd
, он зависает на 3 минуты выше, прежде чем вернуть:
Job for httpd.service failed because a fatal signal was delivered to the control process. See "systemctl status httpd.service" and "journalctl -xe" for details.
status httpd.service
возвращает
httpd.service - The Apache HTTP Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
Active: failed (Result: signal) since Wed 2019-01-16 14:58:37 GMT; 35s ago
Docs: man:httpd(8)
man:apachectl(8)
Process: 30118 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=killed, signal=KILL)
Main PID: 30118 (code=killed, signal=KILL)
CGroup: /system.slice/httpd.service
Jan 16 14:55:37 server.miniserver.com systemd[1]: Starting The Apache HTTP Server...
Jan 16 14:57:07 server.miniserver.com systemd[1]: httpd.service start operation timed out. Terminating.
Jan 16 14:58:37 server.miniserver.com systemd[1]: httpd.service stop-final-sigterm timed out. Killing.
Jan 16 14:58:37 server.miniserver.com systemd[1]: httpd.service: main process exited, code=killed, status=9/KILL
Jan 16 14:58:37 server.miniserver.com systemd[1]: Failed to start The Apache HTTP Server.
Jan 16 14:58:37 server.miniserver.com systemd[1]: Unit httpd.service entered failed state.
Jan 16 14:58:37 server.miniserver.com systemd[1]: httpd.service failed.
journalctl -xe
возвращает
Jan 16 15:13:34 server.miniserver.com systemd[1]: Cannot add dependency job for unit rpcbind.socket, ignoring: Unit not found.
Jan 16 15:13:34 server.miniserver.com systemd[1]: Starting The Apache HTTP Server...
-- Subject: Unit httpd.service has begun start-up
-- Defined-By: systemd
--
-- Unit httpd.service has begun starting up.
Jan 16 15:15:04 server.miniserver.com systemd[1]: httpd.service start operation timed out. Terminating.
Jan 16 15:16:35 server.miniserver.com systemd[1]: httpd.service stop-final-sigterm timed out. Killing.
Jan 16 15:16:35 server.miniserver.com systemd[1]: httpd.service: main process exited, code=killed, status=9/KILL
Jan 16 15:16:35 server.miniserver.com systemd[1]: Failed to start The Apache HTTP Server.
-- Subject: Unit httpd.service has failed
HTTPD \ error_log:
[Wed Jan 16 15:13:34.752306 2019] [auth_digest:notice] [pid 30342:tid 140325595289728] AH01757: generating secret for digest authentication ...
[Wed Jan 16 15:13:34.753268 2019] [core:warn] [pid 30342:tid 140325595289728] AH00098: pid file /etc/httpd/run/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Wed Jan 16 15:13:34.754601 2019] [mpm_event:notice] [pid 30342:tid 140325595289728] AH00489: Apache/2.4.6 (CentOS) configured -- resuming normal operations
[Wed Jan 16 15:13:34.754626 2019] [core:notice] [pid 30342:tid 140325595289728] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
Я не обязательно знаю, как разобрать все это, и я не знаю, выделяется ли что-нибудь особенно. Что еще я могу сделать для дальнейшей отладки?