httpd currently down, and up again, and down again

HostinganID

Verified User
Joined
May 5, 2016
Messages
48
Location
Indonesia
Hi,

Can someone help,
I have 2 directadmin server.

1 with Apache Web Server
and Nginx as a proxy + Apache.

But in this day httpd always down, and up again.
And down again.

1587666585724.png


I check the resources is not the problem, because cpu and memory 80% free.
 
check httpd log

/var/log/httpd/error_log

[Thu Apr 23 14:36:02.180355 2020] [ssl:warn] [pid 27854:tid 139953624381568] AH01909: localhost:443:0 server certificate does NOT include an ID which matches the server name


[Thu Apr 23 14:36:02.181083 2020] [ssl:warn] [pid 27854:tid 139953624381568] AH01909: www.example.com:8081:0 server certificate does NOT include an ID which matches the server name


[Thu Apr 23 14:36:02.181897 2020] [lbmethod_heartbeat:notice] [pid 27854:tid 139953624381568] AH02282: No slotmem from mod_heartmonitor


[Thu Apr 23 14:36:02.181953 2020] [:notice] [pid 27854:tid 139953624381568] mod_ruid2/0.9.8 enabled


[Thu Apr 23 14:36:02.182169 2020] [core:warn] [pid 27854:tid 139953624381568] AH00098: pid file /var/run/httpd.pid overwritten -- Unclean shutdown of previous Apache run?


[Thu Apr 23 14:36:02.186870 2020] [mpm_event:notice] [pid 27854:tid 139953624381568] AH00489: Apache/2.4.41 (Unix) OpenSSL/1.0.2k-fips configured -- resuming normal operations


[Thu Apr 23 14:36:02.186978 2020] [core:notice] [pid 27854:tid 139953624381568] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'


[Thu Apr 23 14:37:42.672886 2020] [ssl:warn] [pid 28953:tid 139751339317376] AH01909: localhost:443:0 server certificate does NOT include an ID which matches the server name


[Thu Apr 23 14:37:42.673626 2020] [ssl:warn] [pid 28953:tid 139751339317376] AH01909: www.example.com:8081:0 server certificate does NOT include an ID which matches the server name


[Thu Apr 23 14:37:42.674236 2020] [suexec:notice] [pid 28953:tid 139751339317376] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)


AH00112: Warning: DocumentRoot [/home/himasiun/domains/himasiunja.ac.id/private_html] does not exist


[Thu Apr 23 14:37:42.729978 2020] [ssl:warn] [pid 28953:tid 139751339317376] AH01909: localhost:443:0 server certificate does NOT include an ID which matches the server name


[Thu Apr 23 14:37:42.730770 2020] [ssl:warn] [pid 28953:tid 139751339317376] AH01909: www.example.com:8081:0 server certificate does NOT include an ID which matches the server name


[Thu Apr 23 14:37:42.731593 2020] [lbmethod_heartbeat:notice] [pid 28953:tid 139751339317376] AH02282: No slotmem from mod_heartmonitor


[Thu Apr 23 14:37:42.731643 2020] [:notice] [pid 28953:tid 139751339317376] mod_ruid2/0.9.8 enabled


[Thu Apr 23 14:37:42.731868 2020] [core:warn] [pid 28953:tid 139751339317376] AH00098: pid file /var/run/httpd.pid overwritten -- Unclean shutdown of previous Apache run?


[Thu Apr 23 14:37:42.735273 2020] [mpm_event:notice] [pid 28953:tid 139751339317376] AH00489: Apache/2.4.41 (Unix) OpenSSL/1.0.2k-fips configured -- resuming normal operations


[Thu Apr 23 14:37:42.735351 2020] [core:notice] [pid 28953:tid 139751339317376] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
 
httpd -V
php -v
maybe some extension/module broken

This is the result.

[root@host01 ~]# httpd -V


Server version: Apache/2.4.41 (Unix)


Server built: Jan 26 2020 13:04:37


Server's Module Magic Number: 20120211:88


Server loaded: APR 1.6.5, APR-UTIL 1.6.1


Compiled using: APR 1.6.5, APR-UTIL 1.6.1


Architecture: 64-bit


Server MPM: event


threaded: yes (fixed thread count)


forked: yes (variable process count)


Server compiled with....


-D APR_HAS_SENDFILE


-D APR_HAS_MMAP


-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)


-D APR_USE_SYSVSEM_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="/etc/httpd"


-D HAVE_SYSTEMD


-D SUEXEC_BIN="/usr/sbin/suexec"


-D DEFAULT_PIDLOG="/var/logs/httpd.pid"


-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"


-D DEFAULT_ERRORLOG="logs/error_log"


-D AP_TYPES_CONFIG_FILE="conf/mime.types"


-D SERVER_CONFIG_FILE="conf/httpd.conf"


[root@host01 ~]# php -v


PHP 7.3.14 (cli) (built: Jan 26 2020 13:24:52) ( NTS )


Copyright (c) 1997-2018 The PHP Group


Zend Engine v3.3.14, Copyright (c) 1998-2018 Zend Technologies


with the ionCube PHP Loader + ionCube24 v10.3.9, Copyright (c) 2002-2019, by ionCube Ltd.


with Zend OPcache v7.3.14, Copyright (c) 1999-2018, by Zend Technologies


[root@host01 ~]#

Any suggestion to fix this ?
 
Do you also run Softaculous?

That isn't the issue.

The issue is that the OP is actually using the NGINX reverse proxy setup with Apache.

Directadmin is currently generating a bad `nginx-vhosts.conf` file where they're adding 2 `listen` entries for the same IP. NGINX complains that it's a 'duplicate listen entry' and just won't start.

Francisco
 
maybe You have custom templates or softaculous rewrites ips.conf or some another config
 
I know its completely not related but we have had the same issue as OP is describing. I have had contact with Softaculous and they admitted to have done this. They also immediately released a update for this which removed the action to rewrite configs. and they said they would never do this again.


That isn't the issue.

The issue is that the OP is actually using the NGINX reverse proxy setup with Apache.

Directadmin is currently generating a bad `nginx-vhosts.conf` file where they're adding 2 `listen` entries for the same IP. NGINX complains that it's a 'duplicate listen entry' and just won't start.

Francisco
 
I know its completely not related but we have had the same issue as OP is describing. I have had contact with Softaculous and they admitted to have done this. They also immediately released a update for this which removed the action to rewrite configs. and they said they would never do this again.
Yup on the one with APACHE ( TS has 2 Servers ) this could be the cause, here at a server of us the build apache did work but also updated Apache.
 
Back
Top