I have a personal LAMP webserver running on a RPi2B w/ Raspbian 8 with DDNS service from duckdns and a SSL cert from LetsEncrypt.
Connecting to the server via HTTP is fine (both local and outside my network), but a few days ago, I noticed HTTPS stopped working, through either duckdns or directly to the IP Address. I'm not sure what changed. It might have been after a
sudo apt update
All the ports are forwarded correctly (Double NAT) and the cert is current and valid.
apache seems to be in INACTIVE(DEAD) mode, but HTTP still works? See TERM output below.
seems like apache can't bind to 0.0.0.0:80. Nothing else that I know of is using that address. Webmin is running, but on a different port; no torrents. This
speed_test script is running every 30 min, but it shouldn't be blocking port 80 or 443.
EDIT: now that I think about it, it was about the time I loaded the speed_test was the first time I noticed the HTTPS failure, though I had not been on the website in a week or 2. Not sure if they are related.
Tried rebooting the Pi,
sudo service apache2 restart, etc. Not sure if my Internet Provider started blocking port 443, though all other HTTPS sites work. I get service through Plateau Fiber. I doubt it is them, as even on the local network, I cannot connect via HTTPS, only HTTP.
$ service apache2 status
? apache2.service - LSB: Apache2 web server
Loaded: loaded (/etc/init.d/apache2)
Drop-In: /lib/systemd/system/apache2.service.d
+-forking.conf
Active: inactive (dead) since Sun 2016-10-16 11:47:10 MDT; 5min ago
Process: 4720 ExecStop=/etc/init.d/apache2 stop (code=exited, status=0/SUCCESS)
Process: 4702 ExecStart=/etc/init.d/apache2 start (code=exited, status=0/SUCCESS)
apache2/access.log and apache2/error.log are empty
syslog dump after reboot
$ /var/log/syslog
Oct 16 11:47:09 raspberrypi systemd[1]: Starting LSB: Apache2 web server...
Oct 16 11:47:10 raspberrypi apache2[4702]: Starting web server: apache2AH00558: apache2: Could not reliably determine the server's fully
qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
Oct 16 11:47:10 raspberrypi apache2[4702]: (98)Address already in use: AH00072: make_sock: could not bind to address [::]:80
Oct 16 11:47:10 raspberrypi apache2[4702]: (98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
Oct 16 11:47:10 raspberrypi apache2[4702]: no listening sockets available, shutting down
Oct 16 11:47:10 raspberrypi apache2[4702]: AH00015: Unable to open logs
Oct 16 11:47:10 raspberrypi apache2[4702]: Action 'start' failed.
Oct 16 11:47:10 raspberrypi apache2[4702]: The Apache error log may have more information.
Oct 16 11:47:10 raspberrypi apache2[4702]: .
Oct 16 11:47:10 raspberrypi apache2[4720]: Stopping web server: apache2.
Oct 16 11:47:10 raspberrypi systemd[1]: Started LSB: Apache2 web server.