Question
Web server is down - Error 521?
I just opened my website today and saw that “Error 521” web server is down! Also I’ve been using digital ocean for the past 5 months with cloudflare and haven’t seen such an error? So any help would be much appreciated.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×
Can you share us some logs? You can find these in /var/log - perhaps give us the last few lines of the apache2/error.log if you run apache. Please let us know some more information about the software your server is running and your stack. Thanks
my apache2/error.log is showing something like this
[Fri Apr 05 06:25:02.852346 2019] [mpm_prefork:notice] [pid 24151] AH00163: Apache/2.4.29 (Ubuntu) OpenSSL/1.1.0g configured – resuming normal operations
[Fri Apr 05 06:25:02.852372 2019] [core:notice] [pid 24151] AH00094: Command line: ’/usr/sbin/apache2’
[Fri Apr 05 06:48:52.348663 2019] [mpm_prefork:notice] [pid 24151] AH00169: caught SIGTERM, shutting down
[Fri Apr 05 06:48:55.399082 2019] [mpm_prefork:notice] [pid 16198] AH00163: Apache/2.4.29 (Ubuntu) OpenSSL/1.1.0g configured – resuming normal operations
[Fri Apr 05 06:48:55.399141 2019] [core:notice] [pid 16198] AH00094: Command line: ’/usr/sbin/apache2’
[Fri Apr 05 06:48:55.962026 2019] [mpm_prefork:notice] [pid 16198] AH00169: caught SIGTERM, shutting down
[Fri Apr 05 06:49:01.739451 2019] [mpm_prefork:notice] [pid 16738] AH00163: Apache/2.4.29 (Ubuntu) OpenSSL/1.1.0g configured – resuming normal operations
[Fri Apr 05 06:49:01.739508 2019] [core:notice] [pid 16738] AH00094: Command line: ’/usr/sbin/apache2’
[Fri Apr 05 06:49:02.115546 2019] [mpm_prefork:notice] [pid 16738] AH00169: caught SIGTERM, shutting down
[Fri Apr 05 12:30:16.792425 2019] [mpm_prefork:notice] [pid 18682] AH00163: Apache/2.4.29 (Ubuntu) OpenSSL/1.1.0g configured – resuming normal operations
[Fri Apr 05 12:30:16.792484 2019] [core:notice] [pid 18682] AH00094: Command line: ’/usr/sbin/apache2’
[Fri Apr 05 12:30:23.594864 2019] [mpm_prefork:notice] [pid 18682] AH00171: Graceful restart requested, doing restart
[Fri Apr 05 12:30:23.675523 2019] [mpm_prefork:notice] [pid 18682] AH00163: Apache/2.4.29 (Ubuntu) OpenSSL/1.1.0g configured – resuming normal operations
[Fri Apr 05 12:30:23.675537 2019] [core:notice] [pid 18682] AH00094: Command line: ’/usr/sbin/apache2’
[Fri Apr 05 12:30:23.909395 2019] [mpm_prefork:notice] [pid 18682] AH00169: caught SIGTERM, shutting down