Apache2 service able to restart, no error.
Apache stops loading web page after restarting the server (Azure VM)
Status as below:
systemctl status apache2
● apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
Drop-In: /lib/systemd/system/apache2.service.d
└─apache2-systemd.conf
Active: active (running) since Sun 2022-11-13 14:36:18 IST; 2min 27s ago
Process: 869255 ExecStop=/usr/sbin/apachectl stop (code=exited, status=0/SUCCESS)
Process: 487777 ExecReload=/usr/sbin/apachectl graceful (code=exited, status=0/SUCCESS)
Process: 869260 ExecStart=/usr/sbin/apachectl start (code=exited, status=0/SUCCESS)
Main PID: 869280 (apache2)
Tasks: 6 (limit: 19193)
CGroup: /system.slice/apache2.service
├─869280 /usr/sbin/apache2 -k start
├─869287 /usr/sbin/apache2 -k start
├─869288 /usr/sbin/apache2 -k start
├─869289 /usr/sbin/apache2 -k start
├─869290 /usr/sbin/apache2 -k start
└─869291 /usr/sbin/apache2 -k start
Nov 13 14:36:17 nagios3-active systemd[1]: Starting The Apache HTTP Server...
Nov 13 14:36:18 nagios3-active systemd[1]: Started The Apache HTTP Server.
Web Page Error while browsing:
The connection to the server was reset while the page was loading.
Error logs:
[Sun Nov 13 13:19:37.431191 2022] [core:notice] [pid 191629] AH00094: Command line: '/usr/sbin/apache2'
[Sun Nov 13 13:25:19.472411 2022] [mpm_prefork:notice] [pid 191629] AH00169: caught SIGTERM, shutting down
[Sun Nov 13 13:25:19.613453 2022] [mpm_prefork:notice] [pid 235744] AH00163: Apache/2.4.29 (Ubuntu) configured -- resuming normal operations
[Sun Nov 13 13:25:19.613515 2022] [core:notice] [pid 235744] AH00094: Command line: '/usr/sbin/apache2'
[Sun Nov 13 13:44:17.190859 2022] [mpm_prefork:notice] [pid 235744] AH00169: caught SIGTERM, shutting down
[Sun Nov 13 13:44:17.297688 2022] [mpm_prefork:notice] [pid 404885] AH00163: Apache/2.4.29 (Ubuntu) configured -- resuming normal operations
[Sun Nov 13 13:44:17.297743 2022] [core:notice] [pid 404885] AH00094: Command line: '/usr/sbin/apache2'
[Sun Nov 13 13:49:05.478423 2022] [mpm_prefork:notice] [pid 404885] AH00169: caught SIGTERM, shutting down
[Sun Nov 13 13:49:05.633070 2022] [mpm_prefork:notice] [pid 447609] AH00163: Apache/2.4.29 (Ubuntu) configured -- resuming normal operations
[Sun Nov 13 13:49:05.633131 2022] [core:notice] [pid 447609] AH00094: Command line: '/usr/sbin/apache2'
[Sun Nov 13 13:49:32.645430 2022] [mpm_prefork:notice] [pid 447609] AH00169: caught SIGTERM, shutting down
[Sun Nov 13 13:49:32.746787 2022] [mpm_prefork:notice] [pid 451712] AH00163: Apache/2.4.29 (Ubuntu) configured -- resuming normal operations
[Sun Nov 13 13:49:32.746853 2022] [core:notice] [pid 451712] AH00094: Command line: '/usr/sbin/apache2'
[Sun Nov 13 13:53:42.128582 2022] [mpm_prefork:notice] [pid 451712] AH00171: Graceful restart requested, doing restart
[Sun Nov 13 13:53:42.186683 2022] [mpm_prefork:notice] [pid 451712] AH00163: Apache/2.4.29 (Ubuntu) configured -- resuming normal operations
[Sun Nov 13 13:53:42.186701 2022] [core:notice] [pid 451712] AH00094: Command line: '/usr/sbin/apache2'
[Sun Nov 13 14:30:09.805370 2022] [mpm_prefork:notice] [pid 451712] AH00169: caught SIGTERM, shutting down
[Sun Nov 13 14:30:09.910778 2022] [mpm_prefork:notice] [pid 813958] AH00163: Apache/2.4.29 (Ubuntu) configured -- resuming normal operations
[Sun Nov 13 14:30:09.910842 2022] [core:notice] [pid 813958] AH00094: Command line: '/usr/sbin/apache2'
[Sun Nov 13 14:36:17.959872 2022] [mpm_prefork:notice] [pid 813958] AH00169: caught SIGTERM, shutting down
[Sun Nov 13 14:36:18.084923 2022] [mpm_prefork:notice] [pid 869280] AH00163: Apache/2.4.29 (Ubuntu) configured -- resuming normal operations
[Sun Nov 13 14:36:18.084985 2022] [core:notice] [pid 869280] AH00094: Command line: '/usr/sbin/apache2'
Tried Restarting the Apache2 services.
Related
I'm a total newbie to this and I have already managed to mess my server (tried installing APC for PHP when this happened... Here is the log. Any ideas how to restore my server functions? :(
[Sun Jul 16 03:31:02.006590 2017] [auth_digest:notice] [pid 23258] AH01757: generating secret for digest authentication ...
[Sun Jul 16 03:31:02.007261 2017] [lbmethod_heartbeat:notice] [pid 23258] AH02282: No slotmem from mod_heartmonitor
[Sun Jul 16 03:31:02.027374 2017] [mpm_prefork:notice] [pid 23258] AH00163: Apache/2.4.6 (CentOS) configured -- resuming normal operations
[Sun Jul 16 03:31:02.027395 2017] [core:notice] [pid 23258] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Sun Jul 16 03:31:02.058755 2017] [mpm_prefork:notice] [pid 23258] AH00171: Graceful restart requested, doing restart
[Sun Jul 16 03:31:02.100133 2017] [auth_digest:notice] [pid 23258] AH01757: generating secret for digest authentication ...
[Sun Jul 16 03:31:02.100780 2017] [lbmethod_heartbeat:notice] [pid 23258] AH02282: No slotmem from mod_heartmonitor
[Sun Jul 16 03:31:02.121136 2017] [mpm_prefork:notice] [pid 23258] AH00163: Apache/2.4.6 (CentOS) configured -- resuming normal operations
[Sun Jul 16 03:31:02.121158 2017] [core:notice] [pid 23258] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Sun Jul 16 13:12:50.236464 2017] [mpm_prefork:notice] [pid 23258] AH00170: caught SIGWINCH, shutting down gracefully
[Sun Jul 16 13:14:51.100292 2017] [suexec:notice] [pid 590] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sun Jul 16 13:14:51.155867 2017] [auth_digest:notice] [pid 590] AH01757: generating secret for digest authentication ...
[Sun Jul 16 13:14:51.156790 2017] [lbmethod_heartbeat:notice] [pid 590] AH02282: No slotmem from mod_heartmonitor
[Sun Jul 16 13:14:51.369027 2017] [mpm_prefork:notice] [pid 590] AH00163: Apache/2.4.6 (CentOS) configured -- resuming normal operations
[Sun Jul 16 13:14:51.369071 2017] [core:notice] [pid 590] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Sun Jul 16 13:20:01.607625 2017] [mpm_prefork:notice] [pid 590] AH00171: Graceful restart requested, doing restart
[Sun Jul 16 13:20:01.665046 2017] [auth_digest:notice] [pid 590] AH01757: generating secret for digest authentication ...
[Sun Jul 16 13:20:01.665703 2017] [lbmethod_heartbeat:notice] [pid 590] AH02282: No slotmem from mod_heartmonitor
[Sun Jul 16 13:20:01.688267 2017] [mpm_prefork:notice] [pid 590] AH00163: Apache/2.4.6 (CentOS) configured -- resuming normal operations
[Sun Jul 16 13:20:01.688297 2017] [core:notice] [pid 590] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Sun Jul 16 13:30:02.019149 2017] [mpm_prefork:notice] [pid 590] AH00171: Graceful restart requested, doing restart
[Sun Jul 16 13:30:02.082624 2017] [auth_digest:notice] [pid 590] AH01757: generating secret for digest authentication ...
[Sun Jul 16 13:30:02.083308 2017] [lbmethod_heartbeat:notice] [pid 590] AH02282: No slotmem from mod_heartmonitor
[Sun Jul 16 13:30:02.104286 2017] [mpm_prefork:notice] [pid 590] AH00163: Apache/2.4.6 (CentOS) configured -- resuming normal operations
[Sun Jul 16 13:30:02.104312 2017] [core:notice] [pid 590] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Sun Jul 16 14:10:01.665938 2017] [mpm_prefork:notice] [pid 590] AH00171: Graceful restart requested, doing restart
[Sun Jul 16 14:10:01.753728 2017] [auth_digest:notice] [pid 590] AH01757: generating secret for digest authentication ...
[Sun Jul 16 14:10:01.754391 2017] [lbmethod_heartbeat:notice] [pid 590] AH02282: No slotmem from mod_heartmonitor
[Sun Jul 16 14:10:01.775101 2017] [mpm_prefork:notice] [pid 590] AH00163: Apache/2.4.6 (CentOS) configured -- resuming normal operations
[Sun Jul 16 14:10:01.775121 2017] [core:notice] [pid 590] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Sun Jul 16 19:56:39.477667 2017] [mpm_prefork:notice] [pid 590] AH00170: caught SIGWINCH, shutting down gracefully
[Sun Jul 16 19:56:40.550616 2017] [suexec:notice] [pid 18301] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sun Jul 16 19:56:40.574146 2017] [auth_digest:notice] [pid 18301] AH01757: generating secret for digest authentication ...
[Sun Jul 16 19:56:40.574850 2017] [lbmethod_heartbeat:notice] [pid 18301] AH02282: No slotmem from mod_heartmonitor
[Sun Jul 16 19:56:40.602247 2017] [mpm_prefork:notice] [pid 18301] AH00163: Apache/2.4.6 (CentOS) configured -- resuming normal operations
[Sun Jul 16 19:56:40.602280 2017] [core:notice] [pid 18301] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Mon Jul 17 03:07:01.379026 2017] [mpm_prefork:notice] [pid 18301] AH00171: Graceful restart requested, doing restart
[Mon Jul 17 03:07:01.443341 2017] [auth_digest:notice] [pid 18301] AH01757: generating secret for digest authentication ...
[Mon Jul 17 03:07:01.444065 2017] [lbmethod_heartbeat:notice] [pid 18301] AH02282: No slotmem from mod_heartmonitor
[Mon Jul 17 03:07:01.465989 2017] [mpm_prefork:notice] [pid 18301] AH00163: Apache/2.4.6 (CentOS) configured -- resuming normal operations
[Mon Jul 17 03:07:01.466011 2017] [core:notice] [pid 18301] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Mon Jul 17 22:40:16.353423 2017] [mpm_prefork:notice] [pid 18301] AH00170: caught SIGWINCH, shutting down gracefully
[Mon Jul 17 22:41:47.131564 2017] [suexec:notice] [pid 566] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Jul 17 22:41:47.180607 2017] [auth_digest:notice] [pid 566] AH01757: generating secret for digest authentication ...
[Mon Jul 17 22:41:47.182357 2017] [lbmethod_heartbeat:notice] [pid 566] AH02282: No slotmem from mod_heartmonitor
[Mon Jul 17 22:41:47.439980 2017] [mpm_prefork:notice] [pid 566] AH00163: Apache/2.4.6 (CentOS) configured -- resuming normal operations
[Mon Jul 17 22:41:47.440032 2017] [core:notice] [pid 566] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Tue Jul 18 03:34:01.232302 2017] [mpm_prefork:notice] [pid 566] AH00171: Graceful restart requested, doing restart
[Tue Jul 18 03:34:01.308323 2017] [auth_digest:notice] [pid 566] AH01757: generating secret for digest authentication ...
[Tue Jul 18 03:34:01.309293 2017] [lbmethod_heartbeat:notice] [pid 566] AH02282: No slotmem from mod_heartmonitor
[Tue Jul 18 03:34:01.332770 2017] [mpm_prefork:notice] [pid 566] AH00163: Apache/2.4.6 (CentOS) configured -- resuming normal operations
[Tue Jul 18 03:34:01.332791 2017] [core:notice] [pid 566] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Wed Jul 19 00:23:21.218800 2017] [core:notice] [pid 566] AH00052: child pid 23334 exit signal Segmentation fault (11)
[Wed Jul 19 00:24:26.305481 2017] [core:notice] [pid 566] AH00052: child pid 17928 exit signal Segmentation fault (11)
[Wed Jul 19 00:33:21.458126 2017] [mpm_prefork:notice] [pid 566] AH00170: caught SIGWINCH, shutting down gracefully
[Wed Jul 19 00:34:55.085223 2017] [suexec:notice] [pid 575] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Wed Jul 19 00:34:55.123665 2017] [auth_digest:notice] [pid 575] AH01757: generating secret for digest authentication ...
[Wed Jul 19 00:34:55.124399 2017] [lbmethod_heartbeat:notice] [pid 575] AH02282: No slotmem from mod_heartmonitor
[Wed Jul 19 00:34:55.373515 2017] [mpm_prefork:notice] [pid 575] AH00163: Apache/2.4.6 (CentOS) configured -- resuming normal operations
[Wed Jul 19 00:34:55.373544 2017] [core:notice] [pid 575] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Wed Jul 19 02:10:09.173702 2017] [core:notice] [pid 575] AH00052: child pid 11449 exit signal Segmentation fault (11)
[Wed Jul 19 02:13:17.444142 2017] [core:notice] [pid 575] AH00052: child pid 2643 exit signal Segmentation fault (11)
[Wed Jul 19 02:14:19.603707 2017] [core:notice] [pid 575] AH00052: child pid 12390 exit signal Segmentation fault (11)
[Wed Jul 19 02:22:53.412575 2017] [core:notice] [pid 575] AH00052: child pid 12273 exit signal Segmentation fault (11)
[Wed Jul 19 02:24:52.665096 2017] [core:notice] [pid 575] AH00052: child pid 12988 exit signal Segmentation fault (11)
[Wed Jul 19 02:29:16.976828 2017] [core:notice] [pid 575] AH00052: child pid 12429 exit signal Segmentation fault (11)
[Wed Jul 19 03:24:10.692202 2017] [core:notice] [pid 575] AH00052: child pid 14983 exit signal Segmentation fault (11)
[Wed Jul 19 03:31:01.588089 2017] [mpm_prefork:notice] [pid 575] AH00171: Graceful restart requested, doing restart
[Wed Jul 19 03:31:01.682642 2017] [auth_digest:notice] [pid 575] AH01757: generating secret for digest authentication ...
[Wed Jul 19 03:31:01.685765 2017] [lbmethod_heartbeat:notice] [pid 575] AH02282: No slotmem from mod_heartmonitor
[Wed Jul 19 03:31:01.707253 2017] [mpm_prefork:notice] [pid 575] AH00163: Apache/2.4.6 (CentOS) configured -- resuming normal operations
[Wed Jul 19 03:31:01.707280 2017] [core:notice] [pid 575] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Wed Jul 19 14:27:54.516364 2017] [mpm_prefork:notice] [pid 575] AH00170: caught SIGWINCH, shutting down gracefully
[Wed Jul 19 14:29:26.805786 2017] [suexec:notice] [pid 587] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Wed Jul 19 14:29:26.860112 2017] [auth_digest:notice] [pid 587] AH01757: generating secret for digest authentication ...
[Wed Jul 19 14:29:26.860800 2017] [lbmethod_heartbeat:notice] [pid 587] AH02282: No slotmem from mod_heartmonitor
[Wed Jul 19 14:29:27.133553 2017] [mpm_prefork:notice] [pid 587] AH00163: Apache/2.4.6 (CentOS) configured -- resuming normal operations
[Wed Jul 19 14:29:27.133603 2017] [core:notice] [pid 587] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Wed Jul 19 14:34:27.499636 2017] [core:notice] [pid 587] AH00052: child pid 918 exit signal Segmentation fault (11)
[Wed Jul 19 15:48:42.277788 2017] [core:notice] [pid 587] AH00052: child pid 6725 exit signal Segmentation fault (11)
[Wed Jul 19 16:03:10.435325 2017] [mpm_prefork:notice] [pid 587] AH00170: caught SIGWINCH, shutting down gracefully
[Wed Jul 19 16:04:44.334204 2017] [suexec:notice] [pid 572] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Wed Jul 19 16:04:44.391125 2017] [auth_digest:notice] [pid 572] AH01757: generating secret for digest authentication ...
[Wed Jul 19 16:04:44.392095 2017] [lbmethod_heartbeat:notice] [pid 572] AH02282: No slotmem from mod_heartmonitor
[Wed Jul 19 16:04:44.648082 2017] [mpm_prefork:notice] [pid 572] AH00163: Apache/2.4.6 (CentOS) configured -- resuming normal operations
[Wed Jul 19 16:04:44.648119 2017] [core:notice] [pid 572] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Thu Jul 20 03:22:02.015317 2017] [mpm_prefork:notice] [pid 572] AH00171: Graceful restart requested, doing restart
[Thu Jul 20 03:22:02.109887 2017] [auth_digest:notice] [pid 572] AH01757: generating secret for digest authentication ...
[Thu Jul 20 03:22:02.114118 2017] [lbmethod_heartbeat:notice] [pid 572] AH02282: No slotmem from mod_heartmonitor
[Thu Jul 20 03:22:02.228318 2017] [mpm_prefork:notice] [pid 572] AH00163: Apache/2.4.6 (CentOS) configured -- resuming normal operations
[Thu Jul 20 03:22:02.228339 2017] [core:notice] [pid 572] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Thu Jul 20 03:43:47.687144 2017] [mpm_prefork:notice] [pid 572] AH00170: caught SIGWINCH, shutting down gracefully
[Thu Jul 20 03:45:24.079667 2017] [suexec:notice] [pid 532] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Thu Jul 20 03:45:24.116354 2017] [auth_digest:notice] [pid 532] AH01757: generating secret for digest authentication ...
[Thu Jul 20 03:45:24.117538 2017] [lbmethod_heartbeat:notice] [pid 532] AH02282: No slotmem from mod_heartmonitor
[Thu Jul 20 03:45:24.367893 2017] [mpm_prefork:notice] [pid 532] AH00163: Apache/2.4.6 (CentOS) configured -- resuming normal operations
[Thu Jul 20 03:45:24.367943 2017] [core:notice] [pid 532] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Fri Jul 21 03:34:01.565426 2017] [mpm_prefork:notice] [pid 532] AH00171: Graceful restart requested, doing restart
[Fri Jul 21 03:34:01.597084 2017] [auth_digest:notice] [pid 532] AH01757: generating secret for digest authentication ...
[Fri Jul 21 03:34:01.597788 2017] [lbmethod_heartbeat:notice] [pid 532] AH02282: No slotmem from mod_heartmonitor
[Fri Jul 21 03:34:01.622501 2017] [mpm_prefork:notice] [pid 532] AH00163: Apache/2.4.6 (CentOS) configured -- resuming normal operations
[Fri Jul 21 03:34:01.622525 2017] [core:notice] [pid 532] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Sat Jul 22 03:27:01.916200 2017] [mpm_prefork:notice] [pid 532] AH00171: Graceful restart requested, doing restart
[Sat Jul 22 03:27:01.981867 2017] [auth_digest:notice] [pid 532] AH01757: generating secret for digest authentication ...
[Sat Jul 22 03:27:01.982645 2017] [lbmethod_heartbeat:notice] [pid 532] AH02282: No slotmem from mod_heartmonitor
[Sat Jul 22 03:27:02.006622 2017] [mpm_prefork:notice] [pid 532] AH00163: Apache/2.4.6 (CentOS) configured -- resuming normal operations
[Sat Jul 22 03:27:02.006648 2017] [core:notice] [pid 532] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Sun Jul 23 03:11:01.397763 2017] [mpm_prefork:notice] [pid 532] AH00171: Graceful restart requested, doing restart
[Sun Jul 23 03:11:01.454335 2017] [auth_digest:notice] [pid 532] AH01757: generating secret for digest authentication ...
[Sun Jul 23 03:11:01.455017 2017] [lbmethod_heartbeat:notice] [pid 532] AH02282: No slotmem from mod_heartmonitor
[Sun Jul 23 03:11:01.476079 2017] [mpm_prefork:notice] [pid 532] AH00163: Apache/2.4.6 (CentOS) configured -- resuming normal operations
[Sun Jul 23 03:11:01.476099 2017] [core:notice] [pid 532] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Sun Jul 23 18:23:23.218063 2017] [mpm_prefork:notice] [pid 532] AH00170: caught SIGWINCH, shutting down gracefully
[Sun Jul 23 18:24:54.094377 2017] [suexec:notice] [pid 570] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sun Jul 23 18:24:54.127317 2017] [auth_digest:notice] [pid 570] AH01757: generating secret for digest authentication ...
[Sun Jul 23 18:24:54.128106 2017] [lbmethod_heartbeat:notice] [pid 570] AH02282: No slotmem from mod_heartmonitor
[Sun Jul 23 18:24:54.394225 2017] [mpm_prefork:notice] [pid 570] AH00163: Apache/2.4.6 (CentOS) configured -- resuming normal operations
[Sun Jul 23 18:24:54.394263 2017] [core:notice] [pid 570] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Mon Jul 24 00:32:30.456050 2017] [mpm_prefork:notice] [pid 570] AH00170: caught SIGWINCH, shutting down gracefully
Thanks a ton!!
My apache web server goes down several moment ago. I have Ubuntu 14.04 on digitalocean with PHP 7. When I visit my site, it shows this:
This site can’t be reached
crystalcrowd.ge refused to connect.
When I run service apache2 restart command, it Shows this:
* Restarting web server apache2
Segmentation fault (core dumped)
Action 'start' failed.
The Apache error log may have more information.
last Error in the error_log:
[Thu Dec 08 08:55:41.970435 2016] [mpm_prefork:notice] [pid 25213] AH00169: caught SIGTERM, shutting down
[Thu Dec 08 08:55:42.995218 2016] [mpm_prefork:notice] [pid 30673] AH00163: Apache/2.4.7 (Ubuntu) configured -- resuming normal operations
[Thu Dec 08 08:55:42.995313 2016] [core:notice] [pid 30673] AH00094: Command line: '/usr/sbin/apache2'
[Thu Dec 08 08:58:17.074621 2016] [mpm_prefork:notice] [pid 30673] AH00169: caught SIGTERM, shutting down
[Thu Dec 08 08:58:18.087459 2016] [mpm_prefork:notice] [pid 30738] AH00163: Apache/2.4.7 (Ubuntu) configured -- resuming normal operations
[Thu Dec 08 08:58:18.087522 2016] [core:notice] [pid 30738] AH00094: Command line: '/usr/sbin/apache2'
[Thu Dec 08 09:28:16.914107 2016] [mpm_prefork:notice] [pid 30738] AH00169: caught SIGTERM, shutting down
Last moment I was trying to set up mail server.
I have open stack running and it was working fine I've rebooted and since have been unable to restart httpd
[root#h30 ~]# systemctl status httpd.service
● httpd.service - The Apache HTTP Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
Drop-In: /usr/lib/systemd/system/httpd.service.d
└─openstack-dashboard.conf
Active: failed (Result: exit-code) since Thu 2016-09-01 14:11:07 BST; 2min 13s ago
Docs: man:httpd(8)
man:apachectl(8)
Process: 10030 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=1/FAILURE)
Process: 10027 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
Process: 9944 ExecStartPre=/usr/bin/python /usr/share/openstack-dashboard/manage.py compress --force (code=exited, status=0/SUCCESS)
Process: 9919 ExecStartPre=/usr/bin/python /usr/share/openstack-dashboard/manage.py collectstatic --noinput --clear (code=exited, status=0/SUCCESS)
Main PID: 10027 (code=exited, status=1/FAILURE)
Sep 01 14:10:46 h30 python[9919]: Copying '/usr/lib/python2.7/site-packages/horizon/static/framework/widgets/help-panel/help...ive.js'
Sep 01 14:10:46 h30 python[9919]: Copying '/usr/lib/python2.7/site-packages/horizon/static/framework/widgets/help-panel/help...pec.js'
Sep 01 14:10:46 h30 python[9919]: Copying '/usr/lib/python2.7/site-packages/horizon/static/framework/widgets/help-panel/help...l.html'
Sep 01 14:10:46 h30 python[9919]: Copying '/usr/lib/python2.7/site-packages/horizon/static/framework/widgets/help-panel/help...ule.js'
Sep 01 14:10:46 h30 python[9919]: Copying '/usr/lib/python2.7/site-packages/horizon/static/framework/widgets/help-panel/help...pec.js'
Sep 01 14:11:07 h30 systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Sep 01 14:11:07 h30 systemd[1]: httpd.service: control process exited, code=exited status=1
Sep 01 14:11:07 h30 systemd[1]: Failed to start The Apache HTTP Server.
Sep 01 14:11:07 h30 systemd[1]: Unit httpd.service entered failed state.
Sep 01 14:11:07 h30 systemd[1]: httpd.service failed.
Hint: Some lines were ellipsized, use -l to show in full.
and I have no idea whats causing the issue to be honest, any help would be great.
Here is the error log
[Wed Aug 31 17:23:03.796739 2016] [core:notice] [pid 4346] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Wed Aug 31 17:23:06.653781 2016] [mpm_prefork:notice] [pid 4346] AH00170: caught SIGWINCH, shutting down gracefully
[Wed Aug 31 17:23:31.884455 2016] [core:notice] [pid 7547] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0
[Wed Aug 31 17:23:31.885805 2016] [suexec:notice] [pid 7547] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Wed Aug 31 17:23:31.902192 2016] [so:warn] [pid 7547] AH01574: module php5_module is already loaded, skipping
[Wed Aug 31 17:23:31.902233 2016] [so:warn] [pid 7547] AH01574: module wsgi_module is already loaded, skipping
[Wed Aug 31 17:23:31.905613 2016] [auth_digest:notice] [pid 7547] AH01757: generating secret for digest authentication ...
[Wed Aug 31 17:23:32.100865 2016] [mpm_prefork:notice] [pid 7547] AH00163: Apache/2.4.6 (CentOS) PHP/5.4.16 mod_wsgi/3.4 Python/2.7.5 configured -- resuming normal operations
[Wed Aug 31 17:23:32.100922 2016] [core:notice] [pid 7547] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Wed Aug 31 18:35:11.515126 2016] [mpm_prefork:notice] [pid 7547] AH00170: caught SIGWINCH, shutting down gracefully
[Wed Aug 31 19:22:27.955740 2016] [core:notice] [pid 17956] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0
[Wed Aug 31 19:22:27.968206 2016] [suexec:notice] [pid 17956] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Wed Aug 31 19:22:27.984913 2016] [so:warn] [pid 17956] AH01574: module php5_module is already loaded, skipping
[Wed Aug 31 19:22:27.984949 2016] [so:warn] [pid 17956] AH01574: module wsgi_module is already loaded, skipping
[Wed Aug 31 19:22:27.988204 2016] [auth_digest:notice] [pid 17956] AH01757: generating secret for digest authentication ...
[Wed Aug 31 19:22:28.303754 2016] [mpm_prefork:notice] [pid 17956] AH00163: Apache/2.4.6 (CentOS) PHP/5.4.16 mod_wsgi/3.4 Python/2.7.5 configured -- resuming normal operations
[Wed Aug 31 19:22:28.303816 2016] [core:notice] [pid 17956] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Thu Sep 01 09:35:49.397054 2016] [core:notice] [pid 20080] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0
[Thu Sep 01 09:35:49.399094 2016] [suexec:notice] [pid 20080] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Thu Sep 01 09:35:49.415550 2016] [so:warn] [pid 20080] AH01574: module php5_module is already loaded, skipping
[Thu Sep 01 09:35:49.415588 2016] [so:warn] [pid 20080] AH01574: module wsgi_module is already loaded, skipping
[Thu Sep 01 09:35:49.418833 2016] [auth_digest:notice] [pid 20080] AH01757: generating secret for digest authentication ...
[Thu Sep 01 09:35:49.712957 2016] [mpm_prefork:notice] [pid 20080] AH00163: Apache/2.4.6 (CentOS) PHP/5.4.16 mod_wsgi/3.4 Python/2.7.5 configured -- resuming normal operations
[Thu Sep 01 09:35:49.713022 2016] [core:notice] [pid 20080] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Thu Sep 01 10:19:18.114919 2016] [mpm_prefork:notice] [pid 20080] AH00170: caught SIGWINCH, shutting down gracefully
[Thu Sep 01 10:22:37.210697 2016] [core:notice] [pid 5401] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0
[Thu Sep 01 10:22:37.212740 2016] [suexec:notice] [pid 5401] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Thu Sep 01 10:22:37.228616 2016] [so:warn] [pid 5401] AH01574: module php5_module is already loaded, skipping
[Thu Sep 01 10:22:37.228654 2016] [so:warn] [pid 5401] AH01574: module wsgi_module is already loaded, skipping
[Thu Sep 01 10:22:37.231944 2016] [auth_digest:notice] [pid 5401] AH01757: generating secret for digest authentication ...
[Thu Sep 01 10:22:37.522692 2016] [mpm_prefork:notice] [pid 5401] AH00163: Apache/2.4.6 (CentOS) PHP/5.4.16 mod_wsgi/3.4 Python/2.7.5 configured -- resuming normal operations
[Thu Sep 01 10:22:37.522741 2016] [core:notice] [pid 5401] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Thu Sep 01 13:20:14.419086 2016] [mpm_prefork:notice] [pid 5401] AH00170: caught SIGWINCH, shutting down gracefully
[Thu Sep 01 13:20:48.116596 2016] [core:notice] [pid 41924] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0
[Thu Sep 01 13:20:48.118260 2016] [suexec:notice] [pid 41924] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Thu Sep 01 13:20:48.133601 2016] [so:warn] [pid 41924] AH01574: module php5_module is already loaded, skipping
[Thu Sep 01 13:20:48.133632 2016] [so:warn] [pid 41924] AH01574: module wsgi_module is already loaded, skipping
[Thu Sep 01 13:20:48.136768 2016] [auth_digest:notice] [pid 41924] AH01757: generating secret for digest authentication ...
[Thu Sep 01 13:20:48.396768 2016] [mpm_prefork:notice] [pid 41924] AH00163: Apache/2.4.6 (CentOS) PHP/5.4.16 mod_wsgi/3.4 Python/2.7.5 configured -- resuming normal operations
[Thu Sep 01 13:20:48.396822 2016] [core:notice] [pid 41924] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Thu Sep 01 13:21:00.502249 2016] [mpm_prefork:notice] [pid 41924] AH00170: caught SIGWINCH, shutting down gracefully
[Thu Sep 01 13:21:25.497407 2016] [core:notice] [pid 44854] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0
[Thu Sep 01 13:21:25.498739 2016] [suexec:notice] [pid 44854] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Thu Sep 01 13:21:25.514803 2016] [so:warn] [pid 44854] AH01574: module php5_module is already loaded, skipping
[Thu Sep 01 13:21:25.514842 2016] [so:warn] [pid 44854] AH01574: module wsgi_module is already loaded, skipping
[Thu Sep 01 13:21:25.518264 2016] [auth_digest:notice] [pid 44854] AH01757: generating secret for digest authentication ...
[Thu Sep 01 13:21:25.709404 2016] [mpm_prefork:notice] [pid 44854] AH00163: Apache/2.4.6 (CentOS) PHP/5.4.16 mod_wsgi/3.4 Python/2.7.5 configured -- resuming normal operations
[Thu Sep 01 13:21:25.709456 2016] [core:notice] [pid 44854] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Thu Sep 01 13:27:32.427493 2016] [mpm_prefork:notice] [pid 44854] AH00170: caught SIGWINCH, shutting down gracefully
[Thu Sep 01 13:30:35.056150 2016] [core:notice] [pid 5096] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0
[Thu Sep 01 13:30:35.058238 2016] [suexec:notice] [pid 5096] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Thu Sep 01 13:30:35.075005 2016] [so:warn] [pid 5096] AH01574: module php5_module is already loaded, skipping
[Thu Sep 01 13:30:35.075040 2016] [so:warn] [pid 5096] AH01574: module wsgi_module is already loaded, skipping
[Thu Sep 01 13:30:35.078421 2016] [auth_digest:notice] [pid 5096] AH01757: generating secret for digest authentication ...
[Thu Sep 01 13:30:35.374300 2016] [mpm_prefork:notice] [pid 5096] AH00163: Apache/2.4.6 (CentOS) PHP/5.4.16 mod_wsgi/3.4 Python/2.7.5 configured -- resuming normal operations
[Thu Sep 01 13:30:35.374357 2016] [core:notice] [pid 5096] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Thu Sep 01 13:37:17.885730 2016] [mpm_prefork:notice] [pid 5096] AH00170: caught SIGWINCH, shutting down gracefully
Have you made any configuration changes? Does just rebooting the system is causing the issue? The error log does not showing any error.Can you enable the 'debug' level logging and try to restart your httpd service? and share the logs.
From the logs it seems you apache was started but immediately after few seconds it's shutdown.So,something is causing this shutdown.Have you configured any cron job for such service?
Thu Sep 01 13:20:48.396768 2016] [mpm_prefork:notice] [pid 41924] AH00163: Apache/2.4.6 (CentOS) PHP/5.4.16 mod_wsgi/3.4 Python/2.7.5 configured -- resuming normal operations
...
[Thu Sep 01 13:21:00.502249 2016] [mpm_prefork:notice] [pid 41924] AH00170: caught SIGWINCH, shutting down gracefully
Turns out SSLSessionCache was causing the issue
I had to go into /etc/httpd/conf.d ssl.conf
and comment out
#SSLSessionCache shmcb:/run/httpd/sslcache(512000)
I have an Apache Web (version 2.4.10) server running on Debian 8 (Jessie). It is mainly used as a SVN repository server.
It was working well since a few weeks, and suddenly, I got an internal error when attempting to list the SVN repos from a Web Browser as can be seen below:
Apache Internal Error & Authentication
As you can see, authentication is still working fine.
I ran the 2 following commands:
systemctl status apache2.service
and
journalctl -xn
commands
But that doesn't help me much, maybe I'm missing something?
I did NOT modify any configuration file recently related to Apache (or even anything else for that matter): neither the main apache conf file nor any vHost conf file.
I tried restarting Apache, it does restart but the Web Server still encounters an internal error.
error.log:
[Sun Jan 31 18:36:17.372502 2016] [core:notice] [pid 27449:tid 140087289513856] AH00094: Command line: '/usr/sbin/apache2'
[Sun Jan 31 18:37:07.641329 2016] [mpm_event:notice] [pid 27449:tid 140087289513856] AH00491: caught SIGTERM, shutting down
[Sun Jan 31 18:38:31.156131 2016] [wsgi:warn] [pid 1049:tid 140557851056000] mod_wsgi: Compiled for Python/2.7.8.
[Sun Jan 31 18:38:31.156330 2016] [wsgi:warn] [pid 1049:tid 140557851056000] mod_wsgi: Runtime using Python/2.7.9.
[Sun Jan 31 18:38:31.157222 2016] [mpm_event:notice] [pid 1049:tid 140557851056000] AH00489: Apache/2.4.10 (Debian) SVN/1.8.10 OpenSSL/1.0.1k mod_wsgi/4.3.0 Python/2.7.9 configured -- resuming normal operations
[Sun Jan 31 18:38:31.157241 2016] [core:notice] [pid 1049:tid 140557851056000] AH00094: Command line: '/usr/sbin/apache2'
[Sun Jan 31 19:21:39.401930 2016] [mpm_event:notice] [pid 1049:tid 140557851056000] AH00491: caught SIGTERM, shutting down
[Sun Jan 31 19:22:35.038612 2016] [wsgi:warn] [pid 1313:tid 139813423814528] mod_wsgi: Compiled for Python/2.7.8.
[Sun Jan 31 19:22:35.038672 2016] [wsgi:warn] [pid 1313:tid 139813423814528] mod_wsgi: Runtime using Python/2.7.9.
[Sun Jan 31 19:22:35.039592 2016] [mpm_event:notice] [pid 1313:tid 139813423814528] AH00489: Apache/2.4.10 (Debian) SVN/1.8.10 OpenSSL/1.0.1k mod_wsgi/4.3.0 Python/2.7.9 configured -- resuming normal operations
[Sun Jan 31 19:22:35.039611 2016] [core:notice] [pid 1313:tid 139813423814528] AH00094: Command line: '/usr/sbin/apache2'
[Sun Jan 31 19:24:57.303622 2016] [mpm_event:notice] [pid 1313:tid 139813423814528] AH00491: caught SIGTERM, shutting down
[Sun Jan 31 19:26:20.336578 2016] [wsgi:warn] [pid 1050:tid 140178825381760] mod_wsgi: Compiled for Python/2.7.8.
[Sun Jan 31 19:26:20.336805 2016] [wsgi:warn] [pid 1050:tid 140178825381760] mod_wsgi: Runtime using Python/2.7.9.
[Sun Jan 31 19:26:20.337601 2016] [mpm_event:notice] [pid 1050:tid 140178825381760] AH00489: Apache/2.4.10 (Debian) SVN/1.8.10 OpenSSL/1.0.1k mod_wsgi/4.3.0 Python/2.7.9 configured -- resuming normal operations
[Sun Jan 31 19:26:20.337617 2016] [core:notice] [pid 1050:tid 140178825381760] AH00094: Command line: '/usr/sbin/apache2'
[Sun Jan 31 19:31:24.663351 2016] [mpm_event:notice] [pid 1050:tid 140178825381760] AH00491: caught SIGTERM, shutting down
[Sun Jan 31 19:31:25.827873 2016] [wsgi:warn] [pid 1208:tid 139958437914496] mod_wsgi: Compiled for Python/2.7.8.
[Sun Jan 31 19:31:25.827919 2016] [wsgi:warn] [pid 1208:tid 139958437914496] mod_wsgi: Runtime using Python/2.7.9.
[Sun Jan 31 19:31:25.828655 2016] [mpm_event:notice] [pid 1208:tid 139958437914496] AH00489: Apache/2.4.10 (Debian) SVN/1.8.10 OpenSSL/1.0.1k mod_wsgi/4.3.0 Python/2.7.9 configured -- resuming normal operations
[Sun Jan 31 19:31:25.828679 2016] [core:notice] [pid 1208:tid 139958437914496] AH00094: Command line: '/usr/sbin/apache2'
Could that come from the Python version that mod_wsgi is running which differs from what mod_wsgi is apparently expecting?
try two commands blow:
sudo apt-get purge apache2
sudo apt-get install apache2
after that use systemctl status apache2 to check you apache's status
These commands solved my problem:
sudo apt-get remove apache2
sudo apt-get install apache2
Note: if you use purge as another answer, you should set all Apache config again, But when you use remove it just removes core of Apache and after installing you don't need anything more.
I've read many other answers about the subject but couldn't find a solution to mine. Even uninstalled everything and re-installed...
OS Win8-64bit
Wamp 64-bit, Apache : 2.4.4 MySQL : 5.6.12 PHP : 5.4.12 PHPMyAdmin : 4.0.4 SqlBuddy : 1.3.3
XDebug : 2.2.3
I downloaded 64-bit wsgi from here.
Everything I installed is 64 bit.
When I add LoadModule wsgi_module modules/mod_wsgi.so to httpd.conf WAMP failed to start, removing it solves the problem...
Apache log:
[Thu Aug 29 13:50:38.914739 2013]
[mpm_winnt:notice]
[pid 6124:tid 380]
AH00455: Apache/2.4.4 (Win64) configured -- resuming normal operations [Thu Aug 29 13:50:38.914739 2013]
[mpm_winnt:notice]
[pid 6124:tid 380]
AH00456: Server built: Feb 22 2013 22:08:37 [Thu Aug 29 13:50:38.914739 2013]
[core:notice]
[pid 6124:tid 380]
AH00094: Command line: 'c:\wamp\bin\apache\apache2.4.4\bin\httpd.exe -d C:/wamp/bin/apache/Apache2.4.4' [Thu Aug 29 13:50:38.914739 2013]
[mpm_winnt:notice]
[pid 6124:tid 380]
AH00418: Parent: Created child process 3624 [Thu Aug 29 13:50:39.308626 2013]
[mpm_winnt:notice]
[pid 3624:tid 260]
AH00354: Child: Starting 150 worker threads. [Thu Aug 29 13:52:03.007076 2013]
[mpm_winnt:notice]
[pid 6124:tid 380]
AH00422: Parent: Received shutdown signal -- Shutting down the server. [Thu Aug 29 13:52:05.009448 2013]
[mpm_winnt:notice]
[pid 3624:tid 260]
AH00364: Child: All worker threads have exited. [Thu Aug 29 13:52:05.023457 2013]
[mpm_winnt:notice]
[pid 6124:tid 380]
AH00430: Parent: Child process 3624 exited successfully. [Thu Aug 29 13:59:22.716409 2013]
[mpm_winnt:notice]
[pid 5948:tid 376]
AH00455: Apache/2.4.4 (Win64) configured -- resuming normal operations [Thu Aug 29 13:59:22.717411 2013]
[mpm_winnt:notice]
[pid 5948:tid 376]
AH00456: Server built: Feb 22 2013 22:08:37 [Thu Aug 29 13:59:22.717411 2013]
[core:notice]
[pid 5948:tid 376]
AH00094: Command line: 'c:\wamp\bin\apache\apache2.4.4\bin\httpd.exe -d C:/wamp/bin/apache/Apache2.4.4' [Thu Aug 29 13:59:22.717411 2013]
[mpm_winnt:notice]
[pid 5948:tid 376]
AH00418: Parent: Created child process 5956 [Thu Aug 29 13:59:22.963535 2013]
[mpm_winnt:notice]
[pid 5956:tid 252]
AH00354: Child: Starting 150 worker threads.