• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Resolved Apache down after log rotation

Pascal_Netenvie

Regular Pleskian
Hi,
This morning around 6h38 (approximately time of log rotation) apache gone down.
I had to restart it manually to resume normal operations.

I already replaced reload by restart in these 2 files :
/etc/logrotate.d/apache2
/etc/logrotate.d/mod_security

So it don't come from this.

Last lines in error log (IP have been replaced by 999_999_999_999 :
Code:
[Mon Jul 11 06:36:32.006394 2016] [:error] [pid 8474] python_init: Python version mismatch, expected '2.7.5+', found '2.7.9'.
[Mon Jul 11 06:36:32.007006 2016] [:error] [pid 8474] python_init: Python executable found '/usr/bin/python'.
[Mon Jul 11 06:36:32.007016 2016] [:error] [pid 8474] python_init: Python path being used '/usr/lib/python2.7/:/usr/lib/python2.7/plat-x86_64-linux-gnu:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload'.
[Mon Jul 11 06:36:32.007034 2016] [:notice] [pid 8474] mod_python: Creating 8 session mutexes based on 150 max processes and 0 max threads.
[Mon Jul 11 06:36:32.007040 2016] [:notice] [pid 8474] mod_python: using mutex_directory /tmp
[Mon Jul 11 06:36:32.027684 2016] [mpm_prefork:notice] [pid 8474] AH00163: Apache/2.4.10 (Debian) OpenSSL/1.0.1t Apache mod_fcgid/2.3.9 mod_jk/1.2.37 mod_python/3.3.1 Python/2.7.9 mod_perl/2.0.9dev Perl/v5.20.2 configured -- resuming normal operations
[Mon Jul 11 06:36:32.027737 2016] [core:notice] [pid 8474] AH00094: Command line: '/usr/sbin/apache2'
[Mon Jul 11 16:23:33.974256 2016] [mpm_prefork:notice] [pid 8474] AH00169: caught SIGTERM, shutting down
[Mon Jul 11 16:23:36.001901 2016] [ssl:warn] [pid 46502] AH01909: lists:443:0 server certificate does NOT include an ID which matches the server name
[Mon Jul 11 16:23:36.002625 2016] [ssl:warn] [pid 46502] AH01909: default-999_999_999_999:443:0 server certificate does NOT include an ID which matches the server name
[Mon Jul 11 16:23:36.002864 2016] [:notice] [pid 46502] ModSecurity for Apache/2.9.0 (http://www.modsecurity.org/) configured.
[Mon Jul 11 16:23:36.002883 2016] [:notice] [pid 46502] ModSecurity: APR compiled version="1.5.1"; loaded version="1.5.1"
[Mon Jul 11 16:23:36.002894 2016] [:notice] [pid 46502] ModSecurity: PCRE compiled version="8.35 "; loaded version="8.35 2014-04-04"
[Mon Jul 11 16:23:36.002900 2016] [:notice] [pid 46502] ModSecurity: LUA compiled version="Lua 5.1"
[Mon Jul 11 16:23:36.002905 2016] [:notice] [pid 46502] ModSecurity: LIBXML compiled version="2.9.1"
[Mon Jul 11 16:23:36.002910 2016] [:notice] [pid 46502] ModSecurity: Original server signature: Apache
[Mon Jul 11 16:23:36.002915 2016] [:notice] [pid 46502] ModSecurity: Status engine is currently disabled, enable it by set SecStatusEngine to On.
[Mon Jul 11 16:23:36.003907 2016] [suexec:notice] [pid 46502] AH01232: suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Mon Jul 11 16:23:36.163466 2016] [auth_digest:notice] [pid 46503] AH01757: generating secret for digest authentication ...
[Mon Jul 11 16:23:36.164719 2016] [:notice] [pid 46503] mod_bw : Memory Allocated 0 bytes (each conf takes 48 bytes)
[Mon Jul 11 16:23:36.164735 2016] [:notice] [pid 46503] mod_bw : Version 0.92 - Initialized [0 Confs]
[Mon Jul 11 16:23:37.002159 2016] [ssl:warn] [pid 46503] AH01909: lists:443:0 server certificate does NOT include an ID which matches the server name
[Mon Jul 11 16:23:37.004872 2016] [ssl:warn] [pid 46503] AH01909: default-999_999_999_999:443:0 server certificate does NOT include an ID which matches the server name
[Mon Jul 11 16:23:37.008676 2016] [:error] [pid 46503] python_init: Python version mismatch, expected '2.7.5+', found '2.7.9'.
[Mon Jul 11 16:23:37.009825 2016] [:error] [pid 46503] python_init: Python executable found '/usr/bin/python'.
[Mon Jul 11 16:23:37.009844 2016] [:error] [pid 46503] python_init: Python path being used '/usr/lib/python2.7/:/usr/lib/python2.7/plat-x86_64-linux-gnu:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload'.
[Mon Jul 11 16:23:37.009873 2016] [:notice] [pid 46503] mod_python: Creating 8 session mutexes based on 150 max processes and 0 max threads.
[Mon Jul 11 16:23:37.009881 2016] [:notice] [pid 46503] mod_python: using mutex_directory /tmp
[Mon Jul 11 16:23:37.031006 2016] [mpm_prefork:notice] [pid 46503] AH00163: Apache/2.4.10 (Debian) OpenSSL/1.0.1t Apache mod_fcgid/2.3.9 mod_jk/1.2.37 mod_python/3.3.1 Python/2.7.9 mod_perl/2.0.9dev Perl/v5.20.2 configured -- resuming normal operations
[Mon Jul 11 16:23:37.031040 2016] [core:notice] [pid 46503] AH00094: Command line: '/usr/sbin/apache2'
[Mon Jul 11 21:26:16.615614 2016] [fcgid:warn] [pid 46506] mod_fcgid: process 62486 graceful kill fail, sending SIGKILL
[Mon Jul 11 21:36:38.054246 2016] [fcgid:warn] [pid 46506] mod_fcgid: process 63061 graceful kill fail, sending SIGKILL
[Mon Jul 11 22:53:26.301046 2016] [ssl:error] [pid 2992] AH02032: Hostname 178.170.124.170 provided via SNI and hostname plesk provided via HTTP are different
[Tue Jul 12 06:38:05.656890 2016] [mpm_prefork:notice] [pid 46503] AH00169: caught SIGTERM, shutting down

Some idea ?
 
Back
Top