apache service interruption

yrdesign

Verified User
Joined
Aug 1, 2019
Messages
28
Apache always interrupts itself and then restarts itself.
This causes 1-2 second interruptions to access the customer's website.

Code:
Nov 20 14:53:01 hkda3 systemd: Started Session c225125 of user root.
Nov 20 14:53:01 hkda3 systemd: Started Session c225126 of user root.
Nov 20 14:53:01 hkda3 systemd: Stopping The Apache HTTP Server...
Nov 20 14:53:02 hkda3 kernel: Firewall: *TCP_IN Blocked* IN=enp4s0 OUT= MAC=00:24:ec:f0:00:e2:00:00:5e:00:01:04:08:00 SRC=43.240.100.34 DST=43.240.15.184 LEN=44 TOS=0x00 PREC=0x00 TTL=243 ID=59923 DF PROTO=TCP SPT=55896 DPT=8291 WINDOW=14600 RES=0x00 SYN URGP=0 
Nov 20 14:53:04 hkda3 kernel: Firewall: *TCP_IN Blocked* IN=enp4s0 OUT= MAC=00:24:ec:f0:00:e2:00:00:5e:00:01:04:08:00 SRC=103.51.44.110 DST=103.51.147.66 LEN=44 TOS=0x00 PREC=0x00 TTL=244 ID=14204 DF PROTO=TCP SPT=43747 DPT=7547 WINDOW=14600 RES=0x00 SYN URGP=0 
Nov 20 14:53:06 hkda3 kernel: Firewall: *TCP_IN Blocked* IN=enp4s0 OUT= MAC=00:24:ec:f0:00:e2:00:00:5e:00:01:04:08:00 SRC=119.61.28.114 DST=123.254.106.25 LEN=44 TOS=0x00 PREC=0x00 TTL=231 ID=28178 PROTO=TCP SPT=41789 DPT=1433 WINDOW=1024 RES=0x00 SYN URGP=0 
Nov 20 14:53:06 hkda3 systemd: httpd.service stop-sigterm timed out. Killing.
Nov 20 14:53:06 hkda3 systemd: httpd.service: main process exited, code=killed, status=9/KILL
Nov 20 14:53:07 hkda3 systemd: Stopped The Apache HTTP Server.
Nov 20 14:53:07 hkda3 systemd: Unit httpd.service entered failed state.
Nov 20 14:53:07 hkda3 systemd: httpd.service failed.
Nov 20 14:53:07 hkda3 systemd: Starting The Apache HTTP Server...
Nov 20 14:53:07 hkda3 httpd: AH00112: Warning: DocumentRoot [/home/hkpang2cefhost/domains/sharedip] does not exist
Nov 20 14:53:07 hkda3 httpd: AH00112: Warning: DocumentRoot [/home/hkpang2cefhost/domains/sharedip] does not exist
Nov 20 14:53:07 hkda3 httpd: AH00112: Warning: DocumentRoot [/home/pn47/domains/sharedip] does not exist
Nov 20 14:53:07 hkda3 httpd: AH00112: Warning: DocumentRoot [/home/pn47/domains/sharedip] does not exist
Nov 20 14:53:07 hkda3 httpd: AH00112: Warning: DocumentRoot [/home/pn48cefhost/domains/sharedip] does not exist
Nov 20 14:53:07 hkda3 httpd: AH00112: Warning: DocumentRoot [/home/pn48cefhost/domains/suspended/test] does not exist
Nov 20 14:53:07 hkda3 httpd: AH00112: Warning: DocumentRoot [/home/admin/domains/suspended/m] does not exist
Nov 20 14:53:07 hkda3 httpd: AH00112: Warning: DocumentRoot [/home/pangnet3/domains/suspended/cloud] does not exist
Nov 20 14:53:07 hkda3 httpd: AH00112: Warning: DocumentRoot [/home/pangnet3/domains/suspended/cloud] does not exist
Nov 20 14:53:08 hkda3 systemd: Started The Apache HTTP Server.
Nov 20 14:53:08 hkda3 kernel: Firewall: *ICMP_IN Blocked* IN=enp4s0 OUT= MAC=00:24:ec:f0:00:e2:00:00:5e:00:01:04:08:00 SRC=54.255.219.22 DST=122.10.90.178 LEN=36 TOS=0x00 PREC=0x00 TTL=239 ID=28483 DF PROTO=ICMP TYPE=8 CODE=0 ID=17 SEQ=17128 
Nov 20 14:53:08 hkda3 kernel: Firewall: *TCP_IN Blocked* IN=enp4s0 OUT= MAC=00:24:ec:f0:00:e2:00:00:5e:00:01:04:08:00 SRC=89.248.167.136 DST=43.240.12.12 LEN=44 TOS=0x00 PREC=0x00 TTL=239 ID=27799 PROTO=TCP SPT=43427 DPT=59279 WINDOW=1024 RES=0x00 SYN URGP=0 
Nov 20 14:53:10 hkda3 kernel: Firewall: *UDP_IN Blocked* IN=enp4s0 OUT= MAC=00:24:ec:f0:00:e2:00:00:5e:00:01:04:08:00 SRC=222.186.10.96 DST=103.39.111.77 LEN=80 TOS=0x00 PREC=0x00 TTL=44 ID=15808 DF PROTO=UDP SPT=56137 DPT=389 LEN=60 
Nov 20 14:53:10 hkda3 kernel: Firewall: *UDP_IN Blocked* IN=enp4s0 OUT= MAC=00:24:ec:f0:00:e2:00:00:5e:00:01:04:08:00 SRC=222.186.10.96 DST=103.39.111.72 LEN=80 TOS=0x00 PREC=0x00 TTL=44 ID=32128 DF PROTO=UDP SPT=56137 DPT=389 LEN=60 
Nov 20 14:53:10 hkda3 kernel: Firewall: *UDP_IN Blocked* IN=enp4s0 OUT= MAC=00:24:ec:f0:00:e2:00:00:5e:00:01:04:08:00 SRC=222.186.10.96 DST=103.39.111.66 LEN=80 TOS=0x00 PREC=0x00 TTL=44 ID=49919 DF PROTO=UDP SPT=56137 DPT=389 LEN=60 
Nov 20 14:53:10 hkda3 kernel: Firewall: *UDP_IN Blocked* IN=enp4s0 OUT= MAC=00:24:ec:f0:00:e2:00:00:5e:00:01:04:08:00 SRC=222.186.10.96 DST=103.39.111.64 LEN=80 TOS=0x00 PREC=0x00 TTL=44 ID=25451 DF PROTO=UDP SPT=56137 DPT=389 LEN=60 
Nov 20 14:53:14 hkda3 kernel: Firewall: *TCP_IN Blocked* IN=enp4s0 OUT= MAC=00:24:ec:f0:00:e2:00:00:5e:00:01:04:08:00 SRC=103.39.232.200 DST=103.39.111.190 LEN=44 TOS=0x00 PREC=0x00 TTL=237 ID=43566 PROTO=TCP SPT=52813 DPT=88 WINDOW=1024 RES=0x00 SYN URGP=0 
Nov 20 14:53:16 hkda3 kernel: Firewall: *TCP_IN Blocked* IN=enp4s0 OUT= MAC=00:24:ec:f0:00:e2:00:00:5e:00:01:04:08:00 SRC=202.102.144.120 DST=103.51.147.67 LEN=44 TOS=0x00 PREC=0x00 TTL=243 ID=43977 PROTO=TCP SPT=46459 DPT=52625 WINDOW=1024 RES=0x00 SYN URGP=0 
Nov 20 14:53:18 hkda3 kernel: Firewall: *UDP_IN Blocked* IN=enp4s0 OUT= MAC=00:24:ec:f0:00:e2:00:00:5e:00:01:04:08:00 SRC=184.105.247.203 DST=122.10.90.176 LEN=30 TOS=0x00 PREC=0x00 TTL=55 ID=9526 DF PROTO=UDP SPT=32710 DPT=5351 LEN=10 
Nov 20 14:53:18 hkda3 kernel: Firewall: *TCP_IN Blocked* IN=enp4s0 OUT= MAC=00:24:ec:f0:00:e2:00:00:5e:00:01:04:08:00 SRC=202.102.144.120 DST=123.108.110.249 LEN=44 TOS=0x00 PREC=0x00 TTL=243 ID=22085 PROTO=TCP SPT=46459 DPT=53249 WINDOW=1024 RES=0x00 SYN URGP=0 
Nov 20 14:53:20 hkda3 kernel: Firewall: *TCP_IN Blocked* IN=enp4s0 OUT= MAC=00:24:ec:f0:00:e2:00:00:5e:00:01:04:08:00 SRC=89.248.167.136 DST=103.51.144.53 LEN=44 TOS=0x00 PREC=0x00 TTL=237 ID=27290 PROTO=TCP SPT=43427 DPT=59048 WINDOW=1024 RES=0x00 SYN URGP=0 
Nov 20 14:53:23 hkda3 kernel: Firewall: *TCP_IN Blocked* IN=enp4s0 OUT= MAC=00:24:ec:f0:00:e2:00:00:5e:00:01:04:08:00 SRC=202.102.144.120 DST=103.51.144.53 LEN=44 TOS=0x00 PREC=0x00 TTL=243 ID=24441 PROTO=TCP SPT=46459 DPT=52773 WINDOW=1024 RES=0x00 SYN URGP=0 
Nov 20 14:53:25 hkda3 kernel: Firewall: *TCP_IN Blocked* IN=enp4s0 OUT= MAC=00:24:ec:f0:00:e2:00:00:5e:00:01:04:08:00 SRC=60.191.38.78 DST=123.254.107.197 LEN=44 TOS=0x00 PREC=0x00 TTL=109 ID=51771 PROTO=TCP SPT=51519 DPT=666 WINDOW=29200 RES=0x00 SYN URGP=0 
Nov 20 14:53:27 hkda3 kernel: Firewall: *TCP_IN Blocked* IN=enp4s0 OUT= MAC=00:24:ec:f0:00:e2:00:00:5e:00:01:04:08:00 SRC=80.82.70.187 DST=103.51.147.60 LEN=44 TOS=0x00 PREC=0x00 TTL=240 ID=52976 PROTO=TCP SPT=52719 DPT=8910 WINDOW=1024 RES=0x00 SYN URGP=0 
Nov 20 14:53:28 hkda3 kernel: Firewall: *UDP_IN Blocked* IN=enp4s0 OUT= MAC=00:24:ec:f0:00:e2:00:00:5e:00:01:04:08:00 SRC=223.71.167.154 DST=103.51.147.65 LEN=28 TOS=0x04 PREC=0x00 TTL=115 ID=54094 PROTO=UDP SPT=55659 DPT=7 LEN=8 
Nov 20 14:53:28 hkda3 kernel: Firewall: *TCP_IN Blocked* IN=enp4s0 OUT= MAC=00:24:ec:f0:00:e2:00:00:5e:00:01:04:08:00 SRC=123.116.201.55 DST=123.254.108.57 LEN=44 TOS=0x00 PREC=0x00 TTL=51 ID=58652 PROTO=TCP SPT=17768 DPT=60001 WINDOW=7483 RES=0x00 SYN URGP=0 
Nov 20 14:53:30 hkda3 kernel: Firewall: *TCP_IN Blocked* IN=enp4s0 OUT= MAC=00:24:ec:f0:00:e2:00:00:5e:00:01:04:08:00 SRC=92.118.160.29 DST=123.108.110.255 LEN=44 TOS=0x00 PREC=0x00 TTL=242 ID=9401 PROTO=TCP SPT=64960 DPT=5903 WINDOW=1024 RES=0x00 SYN URGP=0 
Nov 20 14:53:33 hkda3 kernel: Firewall: *TCP_IN Blocked* IN=enp4s0 OUT= MAC=00:24:ec:f0:00:e2:00:00:5e:00:01:04:08:00 SRC=89.248.168.62 DST=122.10.90.176 LEN=44 TOS=0x00 PREC=0x00 TTL=238 ID=56872 PROTO=TCP SPT=43419 DPT=60566 WINDOW=1024 RES=0x00 SYN URGP=0 
Nov 20 14:53:34 hkda3 kernel: Firewall: *TCP_IN Blocked* IN=enp4s0 OUT= MAC=00:24:ec:f0:00:e2:00:00:5e:00:01:04:08:00 SRC=185.176.27.122 DST=103.51.147.72 LEN=44 TOS=0x00 PREC=0x00 TTL=238 ID=12876 PROTO=TCP SPT=8080 DPT=8657 WINDOW=1024 RES=0x00 SYN URGP=0 
Nov 20 14:53:36 hkda3 kernel: Firewall: *TCP_IN Blocked* IN=enp4s0 OUT= MAC=00:24:ec:f0:00:e2:00:00:5e:00:01:04:08:00 SRC=202.102.144.120 DST=123.254.106.25 LEN=44 TOS=0x00 PREC=0x20 TTL=243 ID=14601 PROTO=TCP SPT=46459 DPT=51189 WINDOW=1024 RES=0x00 SYN URGP=0 
Nov 20 14:54:01 hkda3 systemd: Started Session c225127 of user root.
Nov 20 14:54:01 hkda3 systemd: Started Session c225128 of user root.
Nov 20 14:54:01 hkda3 systemd: Stopping The Apache HTTP Server...
Nov 20 14:54:01 hkda3 kernel: Firewall: *UDP_IN Blocked* IN=enp4s0 OUT= MAC=00:24:ec:f0:00:e2:00:00:5e:00:01:04:08:00 SRC=62.210.10.244 DST=123.254.110.66 LEN=513 TOS=0x00 PREC=0x00 TTL=239 ID=10381 PROTO=UDP SPT=7707 DPT=5060 LEN=493 
Nov 20 14:54:01 hkda3 kernel: Firewall: *UDP_IN Blocked* IN=enp4s0 OUT= MAC=00:24:ec:f0:00:e2:00:00:5e:00:01:04:08:00 SRC=62.210.10.244 DST=123.254.110.65 LEN=513 TOS=0x00 PREC=0x00 TTL=239 ID=13316 PROTO=UDP SPT=7707 DPT=5060 LEN=493 
Nov 20 14:54:03 hkda3 kernel: Firewall: *TCP_IN Blocked* IN=enp4s0 OUT= MAC=00:24:ec:f0:00:e2:00:00:5e:00:01:04:08:00 SRC=81.22.45.225 DST=103.39.111.78 LEN=44 TOS=0x00 PREC=0x00 TTL=238 ID=1337 PROTO=TCP SPT=45627 DPT=2716 WINDOW=1024 RES=0x00 SYN URGP=0 
Nov 20 14:54:04 hkda3 kernel: Firewall: *TCP_IN Blocked* IN=enp4s0 OUT= MAC=00:24:ec:f0:00:e2:00:00:5e:00:01:04:08:00 SRC=103.227.241.51 DST=123.254.108.56 LEN=44 TOS=0x00 PREC=0x00 TTL=245 ID=13208 PROTO=TCP SPT=45284 DPT=1433 WINDOW=1024 RES=0x00 SYN URGP=0 
Nov 20 14:54:06 hkda3 systemd: httpd.service stop-sigterm timed out. Killing.
Nov 20 14:54:06 hkda3 systemd: httpd.service: main process exited, code=killed, status=9/KILL
Nov 20 14:54:06 hkda3 systemd: Stopped The Apache HTTP Server.
Nov 20 14:54:06 hkda3 systemd: Unit httpd.service entered failed state.
Nov 20 14:54:06 hkda3 systemd: httpd.service failed.
Nov 20 14:54:06 hkda3 systemd: Starting The Apache HTTP Server...
Nov 20 14:54:06 hkda3 kernel: Firewall: *UDP_IN Blocked* IN=enp4s0 OUT= MAC=00:24:ec:f0:00:e2:00:00:5e:00:01:04:08:00 SRC=216.218.206.101 DST=103.39.111.188 LEN=29 TOS=0x00 PREC=0x00 TTL=55 ID=1525 DF PROTO=UDP SPT=12318 DPT=1434 LEN=9
 

yrdesign

Verified User
Joined
Aug 1, 2019
Messages
28
Here,:
Nov 20 14:54:06 hkda3 systemd: httpd.service stop-sigterm timed out. Killing.
Nov 20 14:54:06 hkda3 systemd: httpd.service: main process exited, code=killed, status=9/KILL
Nov 20 14:54:06 hkda3 systemd: Stopped The Apache HTTP Server.
Nov 20 14:54:06 hkda3 systemd: Unit httpd.service entered failed state.
Nov 20 14:54:06 hkda3 systemd: httpd.service failed.
Nov 20 14:54:06 hkda3 systemd: Starting The Apache HTTP Server...
 

smtalk

Administrator
Staff member
Joined
Aug 22, 2006
Messages
8,341
Location
LT, EU
What's the PHP mode used there? Any other 3rd party modules loaded in apache?
 

yrdesign

Verified User
Joined
Aug 1, 2019
Messages
28
What's the PHP mode used there? Any other 3rd party modules loaded in apache?
Code:
[root@hkda3 ~]# httpd -l
Compiled in modules:
  core.c
  mod_authn_file.c
  mod_authn_dbm.c
  mod_authn_anon.c
  mod_authn_dbd.c
  mod_authn_socache.c
  mod_authn_core.c
  mod_authz_host.c
  mod_authz_groupfile.c
  mod_authz_user.c
  mod_authz_dbm.c
  mod_authz_owner.c
  mod_authz_dbd.c
  mod_authz_core.c
  mod_access_compat.c
  mod_auth_basic.c
  mod_auth_form.c
  mod_auth_digest.c
  mod_allowmethods.c
  mod_file_cache.c
  mod_cache.c
  mod_cache_disk.c
  mod_cache_socache.c
  mod_socache_shmcb.c
  mod_socache_dbm.c
  mod_socache_memcache.c
  mod_socache_redis.c
  mod_so.c
  mod_watchdog.c
  mod_macro.c
  mod_dbd.c
  mod_dumpio.c
  mod_buffer.c
  mod_ratelimit.c
  mod_reqtimeout.c
  mod_ext_filter.c
  mod_request.c
  mod_include.c
  mod_filter.c
  mod_substitute.c
  mod_sed.c
  mod_deflate.c
  http_core.c
  mod_mime.c
  mod_log_config.c
  mod_log_debug.c
  mod_logio.c
  mod_env.c
  mod_expires.c
  mod_headers.c
  mod_unique_id.c
  mod_setenvif.c
  mod_version.c
  mod_remoteip.c
  mod_proxy.c
  mod_proxy_connect.c
  mod_proxy_ftp.c
  mod_proxy_http.c
  mod_proxy_fcgi.c
  mod_proxy_scgi.c
  mod_proxy_uwsgi.c
  mod_proxy_fdpass.c
  mod_proxy_wstunnel.c
  mod_proxy_ajp.c
  mod_proxy_balancer.c
  mod_proxy_express.c
  mod_proxy_hcheck.c
  mod_session.c
  mod_session_cookie.c
  mod_session_dbd.c
  mod_slotmem_shm.c
  mod_ssl.c
  mod_http2.c
  mod_lbmethod_byrequests.c
  mod_lbmethod_bytraffic.c
  mod_lbmethod_bybusyness.c
  mod_lbmethod_heartbeat.c
  mod_unixd.c
  mod_dav.c
  mod_status.c
  mod_autoindex.c
  mod_info.c
  mod_suexec.c
  mod_cgi.c
  mod_dav_fs.c
  mod_dav_lock.c
  mod_vhost_alias.c
  mod_negotiation.c
  mod_dir.c
  mod_actions.c
  mod_speling.c
  mod_userdir.c
  mod_alias.c
  mod_rewrite.c
 

yrdesign

Verified User
Joined
Aug 1, 2019
Messages
28
What's the PHP mode used there? Any other 3rd party modules loaded in apache?
Code:
[root@hkda3 ~]# httpd -M
Loaded Modules:
 core_module (static)
 authn_file_module (static)
 authn_dbm_module (static)
 authn_anon_module (static)
 authn_dbd_module (static)
 authn_socache_module (static)
 authn_core_module (static)
 authz_host_module (static)
 authz_groupfile_module (static)
 authz_user_module (static)
 authz_dbm_module (static)
 authz_owner_module (static)
 authz_dbd_module (static)
 authz_core_module (static)
 access_compat_module (static)
 auth_basic_module (static)
 auth_form_module (static)
 auth_digest_module (static)
 allowmethods_module (static)
 file_cache_module (static)
 cache_module (static)
 cache_disk_module (static)
 cache_socache_module (static)
 socache_shmcb_module (static)
 socache_dbm_module (static)
 socache_memcache_module (static)
 socache_redis_module (static)
 so_module (static)
 watchdog_module (static)
 macro_module (static)
 dbd_module (static)
 dumpio_module (static)
 buffer_module (static)
 ratelimit_module (static)
 reqtimeout_module (static)
 ext_filter_module (static)
 request_module (static)
 include_module (static)
 filter_module (static)
 substitute_module (static)
 sed_module (static)
 deflate_module (static)
 http_module (static)
 mime_module (static)
 log_config_module (static)
 log_debug_module (static)
 logio_module (static)
 env_module (static)
 expires_module (static)
 headers_module (static)
 unique_id_module (static)
 setenvif_module (static)
 version_module (static)
 remoteip_module (static)
 proxy_module (static)
 proxy_connect_module (static)
 proxy_ftp_module (static)
 proxy_http_module (static)
 proxy_fcgi_module (static)
 proxy_scgi_module (static)
 proxy_uwsgi_module (static)
 proxy_fdpass_module (static)
 proxy_wstunnel_module (static)
 proxy_ajp_module (static)
 proxy_balancer_module (static)
 proxy_express_module (static)
 proxy_hcheck_module (static)
 session_module (static)
 session_cookie_module (static)
 session_dbd_module (static)
 slotmem_shm_module (static)
 ssl_module (static)
 http2_module (static)
 lbmethod_byrequests_module (static)
 lbmethod_bytraffic_module (static)
 lbmethod_bybusyness_module (static)
 lbmethod_heartbeat_module (static)
 unixd_module (static)
 dav_module (static)
 status_module (static)
 autoindex_module (static)
 info_module (static)
 suexec_module (static)
 cgi_module (static)
 dav_fs_module (static)
 dav_lock_module (static)
 vhost_alias_module (static)
 negotiation_module (static)
 dir_module (static)
 actions_module (static)
 speling_module (static)
 userdir_module (static)
 alias_module (static)
 rewrite_module (static)
 suphp_module (shared)
 systemd_module (shared)
 mpm_event_module (shared)
 proctitle_module (shared)
 hostinglimits_module (shared)
 

yrdesign

Verified User
Joined
Aug 1, 2019
Messages
28
What's the PHP mode used there? Any other 3rd party modules loaded in apache?

I have cloudlinux installed

Code:
[root@hkda3 ~]# httpd -V
Server version: Apache/2.4.41 (Unix)
Server built:   Oct 13 2019 14:27:55
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"
 
Top