Author Topic: apachectl[17426]: (98)Address already in use: AH00072: make_sock: could not bind  (Read 2166 times)

0 Members and 1 Guest are viewing this topic.

Offline
**
Almost everyday, I see my apache stopped. When i start, it starts without any problem.

Here is the status

Quote
Aug 15 03:21:32 hosting.server systemd[1]: Started Web server Apache.
Aug 15 03:21:32 hosting.server systemd[1]: Reloading Web server Apache.
Aug 15 03:21:32 hosting.server apachectl[17426]: (98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:8181
Aug 15 03:21:32 hosting.server apachectl[17426]: no listening sockets available, shutting down
Aug 15 03:21:32 hosting.server apachectl[17426]: AH00015: Unable to open logs
Aug 15 03:21:32 hosting.server apachectl[17426]: httpd not running, trying to start
Aug 15 03:21:32 hosting.server systemd[1]: httpd.service: control process exited, code=exited status=1
Aug 15 03:21:32 hosting.server systemd[1]: Reload failed for Web server Apache.
Aug 15 03:21:36 hosting.server systemd[1]: Reloading Web server Apache.
Aug 15 03:21:36 hosting.server systemd[1]: Reloaded Web server Apache.

Quote
sudo ss -4 -tlnp | grep 8181

Quote
LISTEN     0      128          *:8181                     *:*                   users:(("httpd",pid=18503,fd=3),("httpd",pid=18502,fd=3),("httpd",pid=18501,fd=3),("httpd",pid=18500,fd=3),("httpd",pid=18499,fd=3),("httpd",pid=18498,fd=3),("httpd",pid=18497,fd=3),("httpd",pid=18496,fd=3),("httpd",pid=18495,fd=3),("httpd",pid=18494,fd=3),("httpd",pid=18493,fd=3),("httpd",pid=18492,fd=3),("httpd",pid=18491,fd=3),("httpd",pid=18490,fd=3),("httpd",pid=18489,fd=3),("httpd",pid=17398,fd=3))

Thanks in advance