Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
Apache shuts down when accessing from LAN via domain (AH00169: caught SIGTERM)
In my office setup I have Windows 10 machine with Linux on virtual machine (Turnkey Linux installed on VirtualBox with bridged setup). Let’s call it server.
- The server runs apache and owncloud.
- The server is accessible to the outside world trough public IP and our subdomain (DNS are pointing to public IP).
- It has Let’s encrypt certificate installed.
Everything works fine when I access server from outside. The web-server is accessible both via IP and subdomain (it’s serving proper content). However, when I try to access it from LAN, it works only via local IP address. When I try to use public IP or domain, I get error message ERREMPTYRESPONSE in browser.
Error log shows that apache is shutting down for some reason (only when accessed from LAN via domain or public IP). It happens both in HTTP and HTTPS settings.
[Thu May 27 15:02:10.985765 2021] [mpm_prefork:notice] [pid 2889] AH00169: caught SIGTERM, shutting down [Thu May 27 15:02:11.481503 2021] [mpm_prefork:notice] [pid 3111] AH00163: Apache/2.4.38 (Debian) OpenSSL/1.1.1d configured -- resuming normal operations [Thu May 27 15:02:11.481570 2021] [core:notice] [pid 3111] AH00094: Command line: '/usr/sbin/apache2'
No IPs are blocked in firewall. DNS are correctly resolving domain to public IP.
Does any one have an idea how to find some answers?
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.×