Author Topic: Apache not loading sites well after CWP to CWPpro version: 0.9.8.244  (Read 10653 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Hello,

I've been able to get all my services working.

But my websites are not working properly after the upgrade.
Screenshot here http://prntscr.com/ffq6cj

My wordpress sites now display the following:

<?php
/**
 * Front to the WordPress application. This file doesn't do anything, but loads
 * wp-blog-header.php which does and tells WordPress to load the theme.
 *
 * @package WordPress
 */

/**
 * Tells WordPress to load the WordPress theme and output it.
 *
 * @var bool
 */
define('WP_USE_THEMES', true);

/** Loads the WordPress Environment and Template */
require( dirname( __FILE__ ) . '/wp-blog-header.php' );

Any ideas how to resolve this please?

I'm running
Distro Name: CentOS release 6.9 (Final)
Kernel Version: 2.6.32-696.3.1.el6.x86_64
Platform: x86_64 [kvm]


« Last Edit: June 04, 2017, 11:44:08 AM by ulotoyebtaa »

Offline
*
Re: Apache not loading sites well after CWP to CWPpro version: 0.9.8.244
« Reply #1 on: June 08, 2017, 05:03:50 PM »
What type of error do you get when you visit the page?
What does the apache error log state? (/usr/local/apache/logs/error_log)

Offline
*
Re: Apache not loading sites well after CWP to CWPpro version: 0.9.8.244
« Reply #2 on: June 08, 2017, 05:43:44 PM »
These are the last error_log

[root@mp logs]# tail -n 120 /usr/local/apache/logs/error_log
[Fri Jun 02 12:08:29 2017] [error] [client 162.144.115.236] File does not exist: /usr/local/apache/htdocs/A28F45CECEF7DD407E911CF89C46D8A2.txt
[Fri Jun 02 12:08:30 2017] [error] [client 162.144.115.236] File does not exist: /usr/local/apache/htdocs/A9DA65D8184016D6DB473DA1848572BB.txt
[Fri Jun 02 12:08:30 2017] [error] [client 162.144.115.236] File does not exist: /usr/local/apache/htdocs/8CF2F7117E0ED3159C03F7F8549EBCA3.txt
[Fri Jun 02 12:08:31 2017] [error] [client 162.144.115.236] File does not exist: /usr/local/apache/htdocs/8515B27FE27876A4739DAE471545B936.txt
[Fri Jun 02 12:20:51 2017] [error] [client 66.249.64.206] File does not exist: /usr/local/apache/htdocs/robots.txt
[Fri Jun 02 12:25:24 2017] [error] [client 94.177.226.66] Invalid method in request \x16\x03\x01
[Fri Jun 02 12:34:54 2017] [error] [client 91.196.50.33] File does not exist: /usr/local/apache/htdocs/testproxy.php
[Fri Jun 02 16:38:26 2017] [error] [client 42.5.54.251] Invalid URI in request GET login.cgi HTTP/1.0
[Fri Jun 02 19:01:14 2017] [error] [client 178.154.189.6] File does not exist: /usr/local/apache/htdocs/robots.txt
[Fri Jun 02 21:09:06 2017] [error] [client 91.189.36.109] File does not exist: /usr/local/apache/htdocs/userlogin
[Fri Jun 02 21:51:46 2017] [error] [client 191.96.249.136] File does not exist: /usr/local/apache/htdocs/phpMyAdmin/scripts
[Fri Jun 02 22:14:20 2017] [error] [client 5.10.148.124] File does not exist: /usr/local/apache/htdocs/robots.txt
[Sat Jun 03 00:47:37 2017] [error] [client 95.108.181.31] File does not exist: /usr/local/apache/htdocs/robots.txt
[Sat Jun 03 00:47:41 2017] [error] [client 178.154.189.6] File does not exist: /usr/local/apache/htdocs/favicon.ico
[Sat Jun 03 01:17:42 2017] [error] [client 79.143.185.183] File does not exist: /usr/local/apache/htdocs/1, referer: http://urls.api.twitter.com/1/urls/count.json?url=http://demo.nchost.com.ng/damog/home-and-family-safety-in-2012/
[Sat Jun 03 01:28:52 2017] [error] [client 69.58.178.57] File does not exist: /usr/local/apache/htdocs/robots.txt
[Sat Jun 03 01:30:40 2017] [error] [client 46.229.164.102] File does not exist: /usr/[Sat Jun 03 04:44:59 2017] [notice] SIGHUP received.  Attempting to restart
[Sat Jun 03 04:45:00 2017] [warn] Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
[Sat Jun 03 04:45:00 2017] [notice] mod_antiloris 0.4 started
[Sat Jun 03 04:45:00 2017] [notice] Apache/2.2.31 (Unix) mod_ssl/2.2.31 OpenSSL/1.0.1e-fips configured -- resuming normal operations
[Sat Jun 03 06:22:39 2017] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Sat Jun 03 06:22:39 2017] [warn] Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
[Sat Jun 03 06:22:39 2017] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
[Sat Jun 03 06:22:40 2017] [warn] Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
[Sat Jun 03 06:22:40 2017] [notice] mod_antiloris 0.4 started
[Sat Jun 03 06:22:40 2017] [warn] pid file /usr/local/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Sat Jun 03 06:22:40 2017] [notice] Apache/2.2.31 (Unix) mod_ssl/2.2.31 OpenSSL/1.0.1e-fips configured -- resuming normal operations
[Sat Jun 03 09:08:50 2017] [error] [client 180.76.15.153] File does not exist: /usr/local/apache/htdocs/robots.txt
[Sat Jun 03 09:08:50 2017] [error] [client 180.76.15.15] File does not exist: /usr/local/apache/htdocs/robots.txt
[Sat Jun 03 09:17:29 2017] [error] [client 42.236.99.44] File does not exist: /usr/local/apache/htdocs/robots.txt, referer: http://syconith.com/robots.txt
[Sat Jun 03 09:53:13 2017] [error] [client 66.249.64.147] File does not exist: /usr/local/apache/htdocs/robots.txt
[Sat Jun 03 11:07:30 2017] [error] [client 162.144.115.236] File does not exist: /usr/local/apache/htdocs/EF1EF7F44EF3C5356071E3EECB5C7738.txt
[Sat Jun 03 11:07:31 2017] [error] [client 162.144.115.236] File does not exist: /usr/local/apache/htdocs/C367BF8CEBCF82E2205CB2BC3F18D89E.txt
[Sat Jun 03 11:07:32 2017] [error] [client 162.144.115.236] File does not exist: /usr/local/apache/htdocs/4A83D1AB968F67E0D4F3E5510A0BCEAB.txt
[Sat Jun 03 11:07:33 2017] [error] [client 162.144.115.236] File does not exist: /usr/local/apache/htdocs/64157F91776114D23152A0D821262FDC.txt
[Sat Jun 03 11:07:33 2017] [error] [client 162.144.115.236] File does not exist: /usr/local/apache/htdocs/AC69113A11255D555596E7FA16FE2215.txt
[Sat Jun 03 11:11:11 2017] [error] [client 93.174.95.106] File does not exist: /usr/local/apache/htdocs/robots.txt
[Sat Jun 03 11:11:11 2017] [error] [client 93.174.95.106] File does not exist: /usr/local/apache/htdocs/sitemap.xml
[Sat Jun 03 11:42:40 2017] [error] [client 103.204.244.14] File does not exist: /usr/local/apache/htdocs/wp-login.php
[Sat Jun 03 11:42:40 2017] [error] [client 103.204.244.14] File does not exist: /usr/local/apache/htdocs/administrator
[Sat Jun 03 11:42:41 2017] [error] [client 103.204.244.14] File does not exist: /usr/local/apache/htdocs/admin.php
[Sat Jun 03 11:42:41 2017] [error] [client 103.204.244.14] File does not exist: /usr/local/apache/htdocs/bitrix
[Sat Jun 03 11:42:42 2017] [error] [client 103.204.244.14] File does not exist: /usr/local/apache/htdocs/admin
[Sat Jun 03 11:42:43 2017] [error] [client 103.204.244.14] File does not exist: /usr/local/apache/htdocs/admin
[Sat Jun 03 11:42:43 2017] [error] [client 103.204.244.14] File does not exist: /usr/local/apache/htdocs/user
[Sat Jun 03 12:57:33 2017] [error] [client 91.189.36.109] File does not exist: /usr/local/apache/htdocs/userlogin
[Sat Jun 03 13:02:32 2017] [error] [client 60.191.38.77] File does not exist: /usr/local/apache/htdocs/current_config
[Sat Jun 03 14:12:19 2017] [error] [client 180.76.15.31] File does not exist: /usr/local/apache/htdocs/robots.txt
[Sat Jun 03 14:12:20 2017] [error] [client 180.76.15.28] File does not exist: /usr/local/apache/htdocs/robots.txt
[Sat Jun 03 14:36:17 2017] [error] [client 157.55.39.23] File does not exist: /usr/local/apache/htdocs/robots.txt
[Sat Jun 03 14:36:23 2017] [error] [client 199.30.25.123] Fi[Sat Jun 03 17:07:16 2017] [notice] caught SIGTERM, shutting down
[Sat Jun 03 18:38:31.001934 2017] [mpm_event:notice] [pid 7830:tid 140150373824256] AH00489: Apache/2.4.25 (Unix) configured -- resuming normal operations
[Sat Jun 03 18:38:31.020200 2017] [core:notice] [pid 7830:tid 140150373824256] AH00094: Command line: '/usr/local/apache/bin/httpd'
[Sat Jun 03 18:41:59.205392 2017] [mpm_event:notice] [pid 7830:tid 140150373824256] AH00491: caught SIGTERM, shutting down
[Sat Jun 03 19:08:22.001657 2017] [mpm_event:notice] [pid 19665:tid 140371258312448] AH00489: Apache/2.4.23 (Unix) configured -- resuming normal operations
[Sat Jun 03 19:08:22.018411 2017] [core:notice] [pid 19665:tid 140371258312448] AH00094: Command line: '/usr/local/apache/bin/httpd'
[Sat Jun 03 19:11:52.369946 2017] [mpm_event:notice] [pid 19665:tid 140371258312448] AH00491: caught SIGTERM, shutting down
[Sat Jun 03 19:15:05.001963 2017] [mpm_event:notice] [pid 21791:tid 140603363067648] AH00489: Apache/2.4.23 (Unix) configured -- resuming normal operations
[Sat Jun 03 19:15:05.002104 2017] [core:notice] [pid 21791:tid 140603363067648] AH00094: Command line: '/usr/local/apache/bin/httpd'
[Sat Jun 03 19:18:36.566745 2017] [mpm_event:notice] [pid 21791:tid 140603363067648] AH00491: caught SIGTERM, shutting down
[Sat Jun 03 19:19:47.007716 2017] [mpm_event:notice] [pid 2139:tid 140334415566592] AH00489: Apache/2.4.23 (Unix) configured -- resuming normal operations
[Sat Jun 03 19:19:47.011868 2017] [core:notice] [pid 2139:tid 140334415566592] AH00094: Command line: '/usr/local/apache/bin/httpd'
[Sun Jun 04 03:31:03.004595 2017] [mpm_event:notice] [pid 2139:tid 140334415566592] AH00494: SIGHUP received.  Attempting to restart
[Sun Jun 04 03:31:04.019115 2017] [mpm_event:notice] [pid 2139:tid 140334415566592] AH00489: Apache/2.4.23 (Unix) configured -- resuming normal operations
[Sun Jun 04 03:31:04.019170 2017] [core:notice] [pid 2139:tid 140334415566592] AH00094: Command line: '/usr/local/apache/bin/httpd'
[Sun Jun 04 04:13:22.274000 2017] [mpm_event:notice] [pid 2139:tid 140334415566592] AH00494: SIGHUP received.  Attempting to restart
[Sun Jun 04 04:13:23.001772 2017] [mpm_event:notice] [pid 2139:tid 140334415566592] AH00489: Apache/2.4.23 (Unix) configured -- resuming normal operations
[Sun Jun 04 04:13:23.001833 2017] [core:notice] [pid 2139:tid 140334415566592] AH00094: Command line: '/usr/local/apache/bin/httpd'
[Sun Jun 04 11:24:33.045037 2017] [mpm_event:notice] [pid 2139:tid 140334415566592] AH00491: caught SIGTERM, shutting down
[Sun Jun 04 11:26:18.001457 2017] [mpm_event:notice] [pid 8934:tid 140455786452736] AH00489: Apache/2.4.23 (Unix) configured -- resuming normal operations
[Sun Jun 04 11:26:18.001602 2017] [core:notice] [pid 8934:tid 140455786452736] AH00094: Command line: '/usr/local/apache/bin/httpd'
[Sun Jun 04 11:26:49.079860 2017] [mpm_event:notice] [pid 8934:tid 140455786452736] AH00494: SIGHUP received.  Attempting to restart
[Sun Jun 04 11:26:50.001951 2017] [mpm_event:notice] [pid 8934:tid 140455786452736] AH00489: Apache/2.4.23 (Unix) configured -- resuming normal operations
[Sun Jun 04 11:26:50.001994 2017] [core:notice] [pid 8934:tid 140455786452736] AH00094: Command line: '/usr/local/apache/bin/httpd'
[Sun Jun 04 11:27:50.738623 2017] [mpm_event:notice] [pid 8934:tid 140455786452736] AH00491: caught SIGTERM, shutting down
[Sun Jun 04 11:27:52.001716 2017] [mpm_event:notice] [pid 10019:tid 140283862738688] AH00489: Apache/2.4.23 (Unix) configured -- resuming normal operations
[Sun Jun 04 11:27:52.001896 2017] [core:notice] [pid 10019:tid 140283862738688] AH00094: Command line: '/usr/local/apache/bin/httpd'
[Sun Jun 04 11:29:08.546244 2017] [mpm_event:notice] [pid 10019:tid 140283862738688] AH00491: caught SIGTERM, shutting down
[Sun Jun 04 11:30:32.002171 2017] [mpm_event:notice] [pid 2149:tid 140051857934080] AH00489: Apache/2.4.23 (Unix) configured -- resuming normal operations
[Sun Jun 04 11:30:32.006588 2017] [core:notice] [pid 2149:tid 140051857934080] AH00094: Command line: '/usr/local/apache/bin/httpd'
[Sun Jun 04 11:53:55.773683 2017] [mpm_event:notice] [pid 2149:tid 140051857934080] AH00491: caught SIGTERM, shutting down
[Sun Jun 04 11:53:57.001456 2017] [mpm_event:notice] [pid 27180:tid 140672277743360] AH00489: Apache/2.4.25 (Unix) configured -- resuming normal operations
[Sun Jun 04 11:53:57.001651 2017] [core:notice] [pid 27180:tid 140672277743360] AH00094: Command line: '/usr/local/apache/bin/httpd'
[Sun Jun 04 11:54:50.035997 2017] [mpm_event:notice] [pid 27180:tid 140672277743360] AH00491: caught SIGTERM, shutting down
[Sun Jun 04 11:54:52.002467 2017] [mpm_event:notice] [pid 27640:tid 140696251684608] AH00489: Apache/2.4.25 (Unix) configured -- resuming normal operations
[Sun Jun 04 11:54:52.002662 2017] [core:notice] [pid 27640:tid 140696251684608] AH00094: Command line: '/usr/local/apache/bin/httpd'
[Mon Jun 05 03:50:03.518924 2017] [mpm_event:notice] [pid 27640:tid 140696251684608] AH00494: SIGHUP received.  Attempting to restart
[Mon Jun 05 03:50:04.019514 2017] [mpm_event:notice] [pid 27640:tid 140696251684608] AH00489: Apache/2.4.25 (Unix) configured -- resuming normal operations
[Mon Jun 05 03:50:04.019583 2017] [core:notice] [pid 27640:tid 140696251684608] AH00094: Command line: '/usr/local/apache/bin/httpd'
[Mon Jun 05 04:10:21.939062 2017] [mpm_event:notice] [pid 27640:tid 140696251684608] AH00494: SIGHUP received.  Attempting to restart
[Mon Jun 05 04:10:22.001849 2017] [mpm_event:notice] [pid 27640:tid 140696251684608] AH00489: Apache/2.4.25 (Unix) configured -- resuming normal operations
[Mon Jun 05 04:10:22.001930 2017] [core:notice] [pid 27640:tid 140696251684608] AH00094: Command line: '/usr/local/apache/bin/httpd'
[Tue Jun 06 03:20:05.185197 2017] [mpm_event:notice] [pid 27640:tid 140696251684608] AH00494: SIGHUP received.  Attempting to restart
[Tue Jun 06 03:20:06.009818 2017] [mpm_event:notice] [pid 27640:tid 140696251684608] AH00489: Apache/2.4.25 (Unix) configured -- resuming normal operations
[Tue Jun 06 03:20:06.009882 2017] [core:notice] [pid 27640:tid 140696251684608] AH00094: Command line: '/usr/local/apache/bin/httpd'
[Tue Jun 06 03:30:08.720916 2017] [mpm_event:notice] [pid 27640:tid 140696251684608] AH00494: SIGHUP received.  Attempting to restart
[Tue Jun 06 03:30:09.002361 2017] [mpm_event:notice] [pid 27640:tid 140696251684608] AH00489: Apache/2.4.25 (Unix) configured -- resuming normal operations
[Tue Jun 06 03:30:09.002438 2017] [core:notice] [pid 27640:tid 140696251684608] AH00094: Command line: '/usr/local/apache/bin/httpd'
[Tue Jun 06 13:25:12.593710 2017] [mpm_event:notice] [pid 27640:tid 140696251684608] AH00494: SIGHUP received.  Attempting to restart
[Tue Jun 06 13:25:13.027645 2017] [mpm_event:notice] [pid 27640:tid 140696251684608] AH00489: Apache/2.4.25 (Unix) configured -- resuming normal operations
[Tue Jun 06 13:25:13.027697 2017] [core:notice] [pid 27640:tid 140696251684608] AH00094: Command line: '/usr/local/apache/bin/httpd'
[Tue Jun 06 13:25:32.594201 2017] [mpm_event:notice] [pid 27640:tid 140696251684608] AH00491: caught SIGTERM, shutting down
[Tue Jun 06 13:25:34.002456 2017] [mpm_event:notice] [pid 7583:tid 140464771495680] AH00489: Apache/2.4.25 (Unix) configured -- resuming normal operations
[Tue Jun 06 13:25:34.002693 2017] [core:notice] [pid 7583:tid 140464771495680] AH00094: Command line: '/usr/local/apache/bin/httpd'
[Tue Jun 06 14:59:37.720983 2017] [mpm_event:notice] [pid 7583:tid 140464771495680] AH00491: caught SIGTERM, shutting down
[Tue Jun 06 15:01:06.002319 2017] [mpm_event:notice] [pid 2154:tid 140604920874752] AH00489: Apache/2.4.25 (Unix) configured -- resuming normal operations
[Tue Jun 06 15:01:06.008686 2017] [core:notice] [pid 2154:tid 140604920874752] AH00094: Command line: '/usr/local/apache/bin/httpd'
[Wed Jun 07 03:39:02.467063 2017] [mpm_event:notice] [pid 2154:tid 140604920874752] AH00494: SIGHUP received.  Attempting to restart
[Wed Jun 07 03:39:03.005722 2017] [mpm_event:notice] [pid 2154:tid 140604920874752] AH00489: Apache/2.4.25 (Unix) configured -- resuming normal operations
[Wed Jun 07 03:39:03.005808 2017] [core:notice] [pid 2154:tid 140604920874752] AH00094: Command line: '/usr/local/apache/bin/httpd'
[Wed Jun 07 03:44:37.263875 2017] [mpm_event:notice] [pid 2154:tid 140604920874752] AH00494: SIGHUP received.  Attempting to restart
[Wed Jun 07 03:44:38.002170 2017] [mpm_event:notice] [pid 2154:tid 140604920874752] AH00489: Apache/2.4.25 (Unix) configured -- resuming normal operations
[Wed Jun 07 03:44:38.002213 2017] [core:notice] [pid 2154:tid 140604920874752] AH00094: Command line: '/usr/local/apache/bin/httpd'
[Thu Jun 08 03:31:03.495278 2017] [mpm_event:notice] [pid 2154:tid 140604920874752] AH00494: SIGHUP received.  Attempting to restart
[Thu Jun 08 03:31:04.016616 2017] [mpm_event:notice] [pid 2154:tid 140604920874752] AH00489: Apache/2.4.25 (Unix) configured -- resuming normal operations
[Thu Jun 08 03:31:04.016684 2017] [core:notice] [pid 2154:tid 140604920874752] AH00094: Command line: '/usr/local/apache/bin/httpd'
[Thu Jun 08 03:39:07.701077 2017] [mpm_event:notice] [pid 2154:tid 140604920874752] AH00494: SIGHUP received.  Attempting to restart
[Thu Jun 08 03:39:08.002372 2017] [mpm_event:notice] [pid 2154:tid 140604920874752] AH00489: Apache/2.4.25 (Unix) configured -- resuming normal operations
[Thu Jun 08 03:39:08.002462 2017] [core:notice] [pid 2154:tid 140604920874752] AH00094: Command line: '/usr/local/apache/bin/httpd'
[Thu Jun 08 14:46:06.050067 2017] [core:error] [pid 23447:tid 140604694570752] [client 190.16.195.109:57552] AH00126: Invalid URI in request GET login.cgi HTTP/1.0

Offline
*
Re: Apache not loading sites well after CWP to CWPpro version: 0.9.8.244
« Reply #3 on: June 09, 2017, 11:07:47 PM »
Inside /usr/local/apache/conf/httpd.conf

Check if the following is enabled and then do "services httpd restart"

LoadModule authz_host_module modules/mod_authz_host.so
LoadModule log_config_module modules/mod_log_config.so
LoadModule expires_module modules/mod_expires.so
LoadModule deflate_module modules/mod_deflate.so
LoadModule headers_module modules/mod_headers.so
LoadModule setenvif_module modules/mod_setenvif.so
LoadModule mime_module modules/mod_mime.so
LoadModule autoindex_module modules/mod_autoindex.so
LoadModule dir_module modules/mod_dir.so
LoadModule alias_module modules/mod_alias.so
LoadModule rewrite_module modules/mod_rewrite.so

These are the ones required for Wordpress sites to function.

Offline
*
Re: Apache not loading sites well after CWP to CWPpro version: 0.9.8.244
« Reply #4 on: June 10, 2017, 09:44:29 AM »
Hello zhakal,

Thanks for your response. Only  :)

LoadModule deflate_module modules/mod_deflate.so
LoadModule headers_module modules/mod_headers.so

Were not enabled. But i've enabled them. still No progress.

I might have to just backup my files and re-install Centos all over  :'( :-[. It's their automatic upgrade that caused this issue. The server has been working fine for sometime now.

Best Regards
Tolu