DevHeads.net

apache service unavailable

Due to a large blizzard, we lost power for some period of time today, and the server's UPS didn't hold out. After the power was back, https responds to all attempts to connect with

"The service is not available. Please try again later."

displayed in the browser.

Nothing shows up in the httpd-error.log, but httpd-access.log looks odd. This is what happened when I just tried to load a specific page.

x.x.x.x - - [13/Mar/2019:23:14:25 -0600] "\x16\x03\x01\x02" 400 226 "-" "-" 50 0
x.x.x.x - - [13/Mar/2019:23:14:25 -0600] "\x16\x03\x01\x02" 400 226 "-" "-" 56 0
x.x.x.x - - [13/Mar/2019:23:14:25 -0600] "\x16\x03\x01" 400 226 "-" "-" 48 0

apachectl -S reports no errors. I've restarted apache and even restarted the server.

When I start apache, I get this in the error log

[Wed Mar 13 22:39:38.847868 2019] [ssl:info] [pid 75453] AH02568: Certificate and private key <a href="http://www.example.com:443:0" title="www.example.com:443:0">www.example.com:443:0</a> configured from /usr/local/etc/dehydrated/certs/example.com/cert.pem and /usr/local/etc/dehydrated/certs/example.com/privkey.pem
[Wed Mar 13 22:39:38.847945 2019] [ssl:info] [pid 75453] AH01876: mod_ssl/2.4.37 compiled against Server: Apache/2.4.37, Library: OpenSSL/1.0.2o-freebsd
[Wed Mar 13 22:39:38.849271 2019] [mpm_prefork:notice] [pid 75453] AH00163: Apache/2.4.37 (FreeBSD) OpenSSL/1.0.2o-freebsd configured -- resuming normal operations
[Wed Mar 13 22:39:38.849278 2019] [mpm_prefork:info] [pid 75453] AH00164: Server built: unknown
[Wed Mar 13 22:39:38.849293 2019] [core:notice] [pid 75453] AH00094: Command line: '/usr/local/sbin/httpd'

Not sure what to do at this point.

Comments

Re: apache service unavailable

By LuKreme at 03/14/2019 - 01:37

On 13 Mar 2019, at 23:26, @lbutlr < ... at kreme dot com> wrote:
Never mind. The issue was not apache related at all, it was a misconfiguration/corruption of pound that came to light after the reboot.

Re: apache service unavailable

By LuKreme at 03/14/2019 - 01:27

forgot to include the version info.

On 13 Mar 2019, at 23:26, @lbutlr < ... at kreme dot com> wrote:
# apachectl -V
Server version: Apache/2.4.37 (FreeBSD)
Server built: unknown
Server's Module Magic Number: 20120211:83
Server loaded: APR 1.6.5, APR-UTIL 1.6.1
Compiled using: APR 1.6.5, APR-UTIL 1.6.1
Architecture: 32-bit
Server MPM: prefork
threaded: no
forked: yes (variable process count)
Server compiled with....
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses disabled)
-D APR_USE_FLOCK_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D DYNAMIC_MODULE_LIMIT=256
-D HTTPD_ROOT="/usr/local"
-D SUEXEC_BIN="/usr/local/bin/suexec"
-D DEFAULT_PIDLOG="/var/run/httpd.pid"
-D DEFAULT_SCOREBOARD="/var/run/apache_runtime_status"
-D DEFAULT_ERRORLOG="/var/log/httpd-error.log"
-D AP_TYPES_CONFIG_FILE="etc/apache24/mime.types"
-D SERVER_CONFIG_FILE="etc/apache24/httpd.conf"