This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Apache Needs to be restart
#1
Apache Needs to be restart
Hi,
I am facing a strange issue, Every now and then [1-3 hours or random] website shows connection problem.
It works again after restarting apache but I can restart apache all the time.

How to fix it?
My httpd.conf

Code:
...
[Wed Sep 07 15:37:44.559944 2016] [auth_digest:notice] [pid 23531] AH01757: generating secret for digest authentication ...
[Wed Sep 07 15:37:44.560353 2016] [lbmethod_heartbeat:notice] [pid 23531] AH02282: No slotmem from mod_heartmonitor
[Wed Sep 07 15:37:44.576939 2016] [mpm_prefork:notice] [pid 23531] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.1e-fips configured -- resuming normal operations
[Wed Sep 07 15:37:44.576959 2016] [core:notice] [pid 23531] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Wed Sep 07 15:38:04.224512 2016] [suexec:notice] [pid 23562] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Wed Sep 07 15:38:04.240489 2016] [auth_digest:notice] [pid 23562] AH01757: generating secret for digest authentication ...
[Wed Sep 07 15:38:04.240897 2016] [lbmethod_heartbeat:notice] [pid 23562] AH02282: No slotmem from mod_heartmonitor
[Wed Sep 07 15:38:04.253540 2016] [core:warn] [pid 23562] AH00098: pid file /run/httpd/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Wed Sep 07 15:38:04.257190 2016] [mpm_prefork:notice] [pid 23562] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.1e-fips configured -- resuming normal operations
[Wed Sep 07 15:38:04.257212 2016] [core:notice] [pid 23562] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'

My 00-base.conf
Code:
#
# This file loads most of the modules included with the Apache HTTP
# Server itself.
#

LoadModule access_compat_module modules/mod_access_compat.so
LoadModule actions_module modules/mod_actions.so
LoadModule alias_module modules/mod_alias.so
LoadModule allowmethods_module modules/mod_allowmethods.so
LoadModule auth_basic_module modules/mod_auth_basic.so
LoadModule auth_digest_module modules/mod_auth_digest.so
LoadModule authn_anon_module modules/mod_authn_anon.so
LoadModule authn_core_module modules/mod_authn_core.so
LoadModule authn_dbd_module modules/mod_authn_dbd.so
LoadModule authn_dbm_module modules/mod_authn_dbm.so
LoadModule authn_file_module modules/mod_authn_file.so
LoadModule authn_socache_module modules/mod_authn_socache.so
LoadModule authz_core_module modules/mod_authz_core.so
LoadModule authz_dbd_module modules/mod_authz_dbd.so
LoadModule authz_dbm_module modules/mod_authz_dbm.so
LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
LoadModule authz_host_module modules/mod_authz_host.so
LoadModule authz_owner_module modules/mod_authz_owner.so
LoadModule authz_user_module modules/mod_authz_user.so
LoadModule autoindex_module modules/mod_autoindex.so
LoadModule cache_module modules/mod_cache.so
LoadModule cache_disk_module modules/mod_cache_disk.so
LoadModule data_module modules/mod_data.so
LoadModule dbd_module modules/mod_dbd.so
LoadModule deflate_module modules/mod_deflate.so
LoadModule dir_module modules/mod_dir.so
LoadModule dumpio_module modules/mod_dumpio.so
LoadModule echo_module modules/mod_echo.so
LoadModule env_module modules/mod_env.so
LoadModule expires_module modules/mod_expires.so
LoadModule ext_filter_module modules/mod_ext_filter.so
LoadModule filter_module modules/mod_filter.so
LoadModule headers_module modules/mod_headers.so
LoadModule include_module modules/mod_include.so
LoadModule info_module modules/mod_info.so
LoadModule log_config_module modules/mod_log_config.so
LoadModule logio_module modules/mod_logio.so
LoadModule mime_magic_module modules/mod_mime_magic.so
LoadModule mime_module modules/mod_mime.so
LoadModule negotiation_module modules/mod_negotiation.so
LoadModule remoteip_module modules/mod_remoteip.so
LoadModule reqtimeout_module modules/mod_reqtimeout.so
LoadModule rewrite_module modules/mod_rewrite.so
LoadModule setenvif_module modules/mod_setenvif.so
LoadModule slotmem_plain_module modules/mod_slotmem_plain.so
LoadModule slotmem_shm_module modules/mod_slotmem_shm.so
LoadModule socache_dbm_module modules/mod_socache_dbm.so
LoadModule socache_memcache_module modules/mod_socache_memcache.so
LoadModule socache_shmcb_module modules/mod_socache_shmcb.so
LoadModule status_module modules/mod_status.so
LoadModule substitute_module modules/mod_substitute.so
LoadModule suexec_module modules/mod_suexec.so
LoadModule unique_id_module modules/mod_unique_id.so
LoadModule unixd_module modules/mod_unixd.so
LoadModule userdir_module modules/mod_userdir.so
LoadModule version_module modules/mod_version.so
LoadModule vhost_alias_module modules/mod_vhost_alias.so

#LoadModule
buffer_module modules/mod_buffer.so
#LoadModule
watchdog_module modules/mod_watchdog.so
#LoadModule
heartbeat_module modules/mod_heartbeat.so
#LoadModule
heartmonitor_module modules/mod_heartmonitor.so
#LoadModule
usertrack_module modules/mod_usertrack.so
#LoadModule
dialup_module modules/mod_dialup.so
#LoadModule
charset_lite_module modules/mod_charset_lite.so
#LoadModule
log_debug_module modules/mod_log_debug.so
#LoadModule
ratelimit_module modules/mod_ratelimit.so
#LoadModule
reflector_module modules/mod_reflector.so
#LoadModule
request_module modules/mod_request.so
#LoadModule
sed_module modules/mod_sed.so
#LoadModule
speling_module modules/mod_speling.so


Helps ASAP pls
Reply
Thanks given by:
#2
RE: Apache Needs to be restart
Server specs? Ram? Server load?

Did you check logs to detect what script was run before crash.
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask

200$ free to start your VPS 60 days credit
Reply
Thanks given by:
#3
RE: Apache Needs to be restart
(09-08-2016, 05:30 AM)Me.B Wrote: Server specs? Ram? Server load?

Did you check logs to detect what script was run before crash.

Server is very less loaded currently, also 3GB ram.

Also, Please specific which log file?
Reply
Thanks given by:
#4
RE: Apache Needs to be restart
Apache logs/ MySQL queries and if you can monitor CPU/RAM use.
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask

200$ free to start your VPS 60 days credit
Reply
Thanks given by:
#5
RE: Apache Needs to be restart
(09-09-2016, 05:45 AM)Me.B Wrote: Apache logs/ MySQL queries and if you can monitor CPU/RAM use.

Apache log:
Code:
[Fri Sep 09 09:00:15.265435 2016] [mpm_prefork:notice] [pid 32473] AH00171: Graceful restart requested, doing restart
[Fri Sep 09 09:00:15.983026 2016] [auth_digest:notice] [pid 32473] AH01757: generating secret for digest authentication ...
[Fri Sep 09 09:00:16.011558 2016] [lbmethod_heartbeat:notice] [pid 32473] AH02282: No slotmem from mod_heartmonitor
[Fri Sep 09 09:00:16.870620 2016] [mpm_prefork:notice] [pid 32473] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.1e-fips configured -- resuming normal operations
[Fri Sep 09 09:00:16.870630 2016] [core:notice] [pid 32473] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Fri Sep 09 09:24:23.959440 2016] [mpm_prefork:notice] [pid 32473] AH00170: caught SIGWINCH, shutting down gracefully
[Fri Sep 09 09:24:25.335831 2016] [suexec:notice] [pid 21380] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Fri Sep 09 09:24:25.369487 2016] [auth_digest:notice] [pid 21380] AH01757: generating secret for digest authentication ...
[Fri Sep 09 09:24:25.369895 2016] [lbmethod_heartbeat:notice] [pid 21380] AH02282: No slotmem from mod_heartmonitor
[Fri Sep 09 09:24:25.656203 2016] [mpm_prefork:notice] [pid 21380] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.1e-fips configured -- resuming normal operations
[Fri Sep 09 09:24:25.656222 2016] [core:notice] [pid 21380] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Fri Sep 09 09:24:33.098130 2016] [mpm_prefork:notice] [pid 21380] AH00170: caught SIGWINCH, shutting down gracefully
[Fri Sep 09 09:24:34.209340 2016] [suexec:notice] [pid 21401] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Fri Sep 09 09:24:34.225947 2016] [auth_digest:notice] [pid 21401] AH01757: generating secret for digest authentication ...
[Fri Sep 09 09:24:34.226368 2016] [lbmethod_heartbeat:notice] [pid 21401] AH02282: No slotmem from mod_heartmonitor
[Fri Sep 09 09:24:34.243290 2016] [mpm_prefork:notice] [pid 21401] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.1e-fips configured -- resuming normal operations
[Fri Sep 09 09:24:34.243309 2016] [core:notice] [pid 21401] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Fri Sep 09 09:24:50.058637 2016] [mpm_prefork:notice] [pid 21401] AH00170: caught SIGWINCH, shutting down gracefully
[Fri Sep 09 09:24:56.107918 2016] [suexec:notice] [pid 21468] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Fri Sep 09 09:24:56.123756 2016] [auth_digest:notice] [pid 21468] AH01757: generating secret for digest authentication ...
[Fri Sep 09 09:24:56.124161 2016] [lbmethod_heartbeat:notice] [pid 21468] AH02282: No slotmem from mod_heartmonitor
[Fri Sep 09 09:24:56.140406 2016] [mpm_prefork:notice] [pid 21468] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.1e-fips configured -- resuming normal operations
[Fri Sep 09 09:24:56.140426 2016] [core:notice] [pid 21468] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Fri Sep 09 10:50:05.586753 2016] [mpm_prefork:notice] [pid 21468] AH00171: Graceful restart requested, doing restart
[Fri Sep 09 10:50:05.770607 2016] [auth_digest:notice] [pid 21468] AH01757: generating secret for digest authentication ...
[Fri Sep 09 10:50:05.786261 2016] [lbmethod_heartbeat:notice] [pid 21468] AH02282: No slotmem from mod_heartmonitor
[Fri Sep 09 10:50:05.883127 2016] [mpm_prefork:notice] [pid 21468] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.1e-fips configured -- resuming normal operations
[Fri Sep 09 10:50:05.883136 2016] [core:notice] [pid 21468] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
sendmail: Cannot open mail:25
[Fri Sep 09 15:55:06.814424 2016] [mpm_prefork:notice] [pid 21468] AH00171: Graceful restart requested, doing restart
[Fri Sep 09 15:55:06.933167 2016] [auth_digest:notice] [pid 21468] AH01757: generating secret for digest authentication ...
[Fri Sep 09 15:55:06.946786 2016] [lbmethod_heartbeat:notice] [pid 21468] AH02282: No slotmem from mod_heartmonitor
[Fri Sep 09 15:55:07.162804 2016] [mpm_prefork:notice] [pid 21468] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.1e-fips configured -- resuming normal operations
[Fri Sep 09 15:55:07.162818 2016] [core:notice] [pid 21468] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
sendmail: Cannot open mail:25
sendmail: Cannot open mail:25
sendmail: Cannot open mail:25
sendmail: Cannot open mail:25
sendmail: Cannot open mail:25
sendmail: Cannot open mail:25
sendmail: Cannot open mail:25
du: cannot access '/var/sentora/vmail/thetechpie.com': Permission denied
sendmail: Cannot open mail:25
du: cannot access '/var/sentora/vmail/thetechpie.com': Permission denied
sendmail: Cannot open mail:25
du: cannot access '/var/sentora/vmail/thetechpie.com': Permission denied
sendmail: Cannot open mail:25
sendmail: Cannot open mail:25
sendmail: Cannot open mail:25
[Sun Sep 11 07:59:29.813646 2016] [mpm_prefork:notice] [pid 21468] AH00170: caught SIGWINCH, shutting down gracefully
[Sun Sep 11 07:59:32.534105 2016] [suexec:notice] [pid 20600] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sun Sep 11 07:59:32.609821 2016] [auth_digest:notice] [pid 20600] AH01757: generating secret for digest authentication ...
[Sun Sep 11 07:59:32.610229 2016] [lbmethod_heartbeat:notice] [pid 20600] AH02282: No slotmem from mod_heartmonitor
[Sun Sep 11 07:59:32.783519 2016] [mpm_prefork:notice] [pid 20600] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.1e-fips configured -- resuming normal operations
[Sun Sep 11 07:59:32.783556 2016] [core:notice] [pid 20600] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
sendmail: Cannot open mail:25
sendmail: Cannot open mail:25
sendmail: Cannot open mail:25
sendmail: Cannot open mail:25
[Sun Sep 11 08:35:06.834868 2016] [mpm_prefork:notice] [pid 20600] AH00171: Graceful restart requested, doing restart
[Sun Sep 11 08:35:06.917080 2016] [auth_digest:notice] [pid 20600] AH01757: generating secret for digest authentication ...
[Sun Sep 11 08:35:06.997332 2016] [lbmethod_heartbeat:notice] [pid 20600] AH02282: No slotmem from mod_heartmonitor
[Sun Sep 11 08:35:07.207111 2016] [mpm_prefork:notice] [pid 20600] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.1e-fips configured -- resuming normal operations
[Sun Sep 11 08:35:07.207122 2016] [core:notice] [pid 20600] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
sendmail: Cannot open mail:25
du: cannot access '/var/sentora/vmail/thetechpie.com': Permission denied
sendmail: Cannot open mail:25
libpng warning: Incorrect sBIT chunk length
[Sun Sep 11 14:13:57.810476 2016] [mpm_prefork:notice] [pid 20600] AH00170: caught SIGWINCH, shutting down gracefully
[Sun Sep 11 14:14:18.315913 2016] [suexec:notice] [pid 5047] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sun Sep 11 14:14:18.358777 2016] [auth_digest:notice] [pid 5047] AH01757: generating secret for digest authentication ...
[Sun Sep 11 14:14:18.359177 2016] [lbmethod_heartbeat:notice] [pid 5047] AH02282: No slotmem from mod_heartmonitor
[Sun Sep 11 14:14:18.522982 2016] [mpm_prefork:notice] [pid 5047] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.1e-fips configured -- resuming normal operations
[Sun Sep 11 14:14:18.523001 2016] [core:notice] [pid 5047] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Sun Sep 11 14:14:33.652800 2016] [mpm_prefork:notice] [pid 5047] AH00170: caught SIGWINCH, shutting down gracefully
[Sun Sep 11 14:14:41.707419 2016] [suexec:notice] [pid 5143] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sun Sep 11 14:14:41.723105 2016] [auth_digest:notice] [pid 5143] AH01757: generating secret for digest authentication ...
[Sun Sep 11 14:14:41.723521 2016] [lbmethod_heartbeat:notice] [pid 5143] AH02282: No slotmem from mod_heartmonitor
[Sun Sep 11 14:14:41.739666 2016] [mpm_prefork:notice] [pid 5143] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.1e-fips configured -- resuming normal operations
[Sun Sep 11 14:14:41.739685 2016] [core:notice] [pid 5143] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
Sentora & Apache behind Nginx Reverse Proxy Feilding Weather 7 15 ,936 08-06-2021, 02:58 PM
Last Post: ccr1969
How to run multiple version PHP with Apache (use Sentora panel) on Centos ??? BigBang 4 9 ,336 12-23-2020, 03:31 PM
Last Post: djkashdui1
SSL install breaks apache service EGOSKY123 1 4 ,579 10-28-2020, 12:12 AM
Last Post: iraqiboy90

Forum Jump:


Users browsing this thread: 2 Guest(s)