httpd failing after rebuild

pingpong123

Verified User
Joined
Jan 5, 2021
Messages
18
Just rebuild the apache but now its failing with errors.


[Sun Jan 10 16:16:01.464432 2021] [http2:warn] [pid 24854] AH10034: The mpm module (prefork.c) is not supported by mod_http2. The mpm determines how things are processed in your server. HTTP/2 has more demands in this regard and the currently selected mpm will just not do. This is an advisory warning. Your server will continue to work, but the HTTP/2 protocol will be inactive.
[Sun Jan 10 16:16:01.464506 2021] [lbmethod_heartbeat:notice] [pid 24854] AH02282: No slotmem from mod_heartmonitor
[Sun Jan 10 16:16:01.464521 2021] [:notice] [pid 24854] mod_ruid2/0.9.8 enabled
[Sun Jan 10 16:16:01.470947 2021] [core:warn] [pid 24854] AH00098: pid file /var/run/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Sun Jan 10 16:16:01.472991 2021] [mpm_prefork:notice] [pid 24854] AH00163: Apache/2.4.38 (Unix) OpenSSL/1.0.2k-fips PHP/5.6.40 configured -- resuming normal operations
[Sun Jan 10 16:16:01.473027 2021] [core:notice] [pid 24854] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Sun Jan 10 16:17:41.999946 2021] [ssl:warn] [pid 25573] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun Jan 10 16:17:42.000154 2021] [suexec:notice] [pid 25573] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sun Jan 10 16:17:42.031788 2021] [ssl:warn] [pid 25573] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun Jan 10 16:17:42.031978 2021] [http2:warn] [pid 25573] AH10034: The mpm module (prefork.c) is not supported by mod_http2. The mpm determines how things are processed in your server. HTTP/2 has more demands in this regard and the currently selected mpm will just not do. This is an advisory warning. Your server will continue to work, but the HTTP/2 protocol will be inactive.
[Sun Jan 10 16:17:42.032055 2021] [lbmethod_heartbeat:notice] [pid 25573] AH02282: No slotmem from mod_heartmonitor
[Sun Jan 10 16:17:42.032070 2021] [:notice] [pid 25573] mod_ruid2/0.9.8 enabled
[Sun Jan 10 16:17:42.038679 2021] [core:warn] [pid 25573] AH00098: pid file /var/run/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Sun Jan 10 16:17:42.041051 2021] [mpm_prefork:notice] [pid 25573] AH00163: Apache/2.4.38 (Unix) OpenSSL/1.0.2k-fips PHP/5.6.40 configured -- resuming normal operations
[Sun Jan 10 16:17:42.041098 2021] [core:notice] [pid 25573] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Sun Jan 10 16:21:48.351895 2021] [ssl:warn] [pid 13430] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun Jan 10 16:21:48.352047 2021] [suexec:notice] [pid 13430] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sun Jan 10 16:21:48.391511 2021] [ssl:warn] [pid 13430] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun Jan 10 16:21:48.391795 2021] [http2:warn] [pid 13430] AH10034: The mpm module (prefork.c) is not supported by mod_http2. The mpm determines how things are processed in your server. HTTP/2 has more demands in this regard and the currently selected mpm will just not do. This is an advisory warning. Your server will continue to work, but the HTTP/2 protocol will be inactive.
[Sun Jan 10 16:21:48.391892 2021] [lbmethod_heartbeat:notice] [pid 13430] AH02282: No slotmem from mod_heartmonitor
[Sun Jan 10 16:21:48.391911 2021] [:notice] [pid 13430] mod_ruid2/0.9.8 enabled
[Sun Jan 10 16:21:48.400308 2021] [core:warn] [pid 13430] AH00098: pid file /var/run/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Sun Jan 10 16:21:48.403024 2021] [mpm_prefork:notice] [pid 13430] AH00163: Apache/2.4.38 (Unix) OpenSSL/1.0.2k-fips PHP/5.6.40 configured -- resuming normal operations
[Sun Jan 10 16:21:48.403085 2021] [core:notice] [pid 13430] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Sun Jan 10 16:24:01.202691 2021] [ssl:warn] [pid 23340] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun Jan 10 16:24:01.202934 2021] [suexec:notice] [pid 23340] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sun Jan 10 16:24:01.228203 2021] [ssl:warn] [pid 23340] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun Jan 10 16:24:01.228383 2021] [http2:warn] [pid 23340] AH10034: The mpm module (prefork.c) is not supported by mod_http2. The mpm determines how things are processed in your server. HTTP/2 has more demands in this regard and the currently selected mpm will just not do. This is an advisory warning. Your server will continue to work, but the HTTP/2 protocol will be inactive.
[Sun Jan 10 16:24:01.228452 2021] [lbmethod_heartbeat:notice] [pid 23340] AH02282: No slotmem from mod_heartmonitor
[Sun Jan 10 16:24:01.228468 2021] [:notice] [pid 23340] mod_ruid2/0.9.8 enabled
[Sun Jan 10 16:24:01.234443 2021] [core:warn] [pid 23340] AH00098: pid file /var/run/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Sun Jan 10 16:24:01.236788 2021] [mpm_prefork:notice] [pid 23340] AH00163: Apache/2.4.38 (Unix) OpenSSL/1.0.2k-fips PHP/5.6.40 configured -- resuming normal operations
[Sun Jan 10 16:24:01.236816 2021] [core:notice] [pid 23340] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
 
Rebuild is 100% success but I still see old version
Apache 2.4.27
I updated t0 2.4.46
First tried custombuild2.0 GUI option and then Command line
cd /usr/local/directadmin/custombuild ./build update ./build clean ./build apache ./build php ./build rewrite_confs
 
httpd -v
Server version: Apache/2.4.27 (Unix)
Server built: Aug 1 2017 16:27:22

In Directadmin under

Apache 2.4.27Running

I used the GUI custom build and command line.
Under DA CMD_PLUGINS_ADMIN/custombuild/build_software.html
Build Apache Version 2.4.46.

Install/update Apache WEB server.
Did all and 100% success restarted apache it stillshow 2.4.27
 
did you change mode from "prefork" to "event"? because 2.4.27 it's latest version that works with prefork, so DA will not update to higher if You are using prefork.
 
Thanks for the tip :)
so we edit
/usr/local/directadmin/custombuild/options.conf
Add these lines in the file and rebuild from custombuild DA GUI or command line?
apache_ver=2.4
apache_mpm=auto
mod_ruid2=no
 
Ok rebuild it and then used GUI to update from
Apache 2.4.27 update to 2.4.46 is available
shows done but its not showing latest 2.4.46 version :D
 
from console:
httpd -V
what shows?
my:
[root@da ~]# httpd -V
Server version: Apache/2.4.46 (Unix)
Server built: Aug 29 2020 11:21:18
Server's Module Magic Number: 20120211:93
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)
----
here Server MPM: event
---
also what php mode? mod_php? or fcgi fpm?
 
Server version: Apache/2.4.27 (Unix)
Server built: Aug 1 2017 16:27:22
Server's Module Magic Number: 20120211:68
Server loaded: APR 1.6.2, APR-UTIL 1.6.0
Compiled using: APR 1.6.2, APR-UTIL 1.6.0
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 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"

fcgi fpm for all versions
If any other info need pls let me know.
OS is centos 6.10
 
Don't know if while Centos 6x you can't have higher version and HTTP2 , sofar i know you have to do things not adviced with openssl versions to get it up and running!

Sorry don't know where to look for those!
 
 
Back
Top