Guys, I have a much more serious problem. I do not know how it happened, but for the past hour, the server no longer works, I get the message "Error establishin database connection" and I do not know how to fix it. I looked at the apache error log and here is what it says:
Code: Select all
[Sat Jan 18 20:11:52 2014] [error] [client 173.245.49.69] WordPress database error Lost connection to MySQL server during query for query UPDATE `wp_options` SET `option_value` = '1390072292.3099479675292968750000' WHERE `option_name` = '_transient_doing_cron' made by require('wp-blog-header.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), call_user_func_array, wp_cron, spawn_cron, set_transient, update_option
[Sat Jan 18 20:11:52 2014] [error] [client 173.245.49.69] WordPress database error Lost connection to MySQL server during query for query SELECT option_value FROM wp_options WHERE option_name = 'wps_exclude_ip' LIMIT 1 made by shutdown_action_hook, do_action('shutdown'), call_user_func_array, wp_statistics_shutdown_action, Hits->__construct, get_option
[Sat Jan 18 20:11:52 2014] [error] [client 173.245.49.69] WordPress database error Lost connection to MySQL server during query for query SELECT option_value FROM wp_options WHERE option_name = 'wp-maintenance-mode' LIMIT 1 made by require('wp-blog-header.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), call_user_func_array, lrss_init, get_option
[Sat Jan 18 20:11:53 2014] [error] [client 173.245.49.69] WordPress database error Lost connection to MySQL server during query for query UPDATE `wp_options` SET `option_value` = '1390072292.3194820880889892578125' WHERE `option_name` = '_transient_doing_cron' made by require('wp-blog-header.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), call_user_func_array, wp_cron, spawn_cron, set_transient, update_option
[Sat Jan 18 20:11:53 2014] [error] [client 173.245.49.69] WordPress database error Lost connection to MySQL server during query for query SELECT option_value FROM wp_options WHERE option_name = 'wp-maintenance-mode' LIMIT 1 made by require('wp-blog-header.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), call_user_func_array, lrss_init, get_option
[Sat Jan 18 20:11:53 2014] [error] [client 173.245.49.69] WordPress database error MySQL server has gone away for query SELECT option_value FROM wp_options WHERE option_name = 'wp-maintenance-mode' LIMIT 1 made by require('wp-blog-header.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), call_user_func_array, lrss_init, get_option
[Sat Jan 18 20:11:53 2014] [error] [client 173.245.49.69] WordPress database error MySQL server has gone away for query SELECT option_value FROM wp_options WHERE option_name = 'wp-maintenance-mode-msqld' LIMIT 1 made by require('wp-blog-header.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), call_user_func_array, WPMaintenanceMode->on_init, WPMaintenanceMode::get_msqld_option, get_option
[Sat Jan 18 20:11:53 2014] [error] [client 173.245.49.69] WordPress database error MySQL server has gone away for query SELECT option_value FROM wp_options WHERE option_name = 'wp-maintenance-mode-msqld' LIMIT 1 made by require('wp-blog-header.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), call_user_func_array, WPMaintenanceMode->on_init, WPMaintenanceMode::get_msqld_option, get_option
[Sat Jan 18 20:11:53 2014] [error] [client 173.245.49.69] WordPress database error MySQL server has gone away for query SELECT option_value FROM wp_options WHERE option_name = 'wp-maintenance-mode-msqld' LIMIT 1 made by require('wp-blog-header.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), call
PHP: syntax error, unexpected '(' in /etc/php5/apache2/conf.d/20-apc.ini on line 4
PHP: syntax error, unexpected '(' in /etc/php5/apache2/conf.d/20-apc.ini on line 4
PHP: syntax error, unexpected '(' in /etc/php5/apache2/conf.d/20-apc.ini on line 4
PHP: syntax error, unexpected '(' in /etc/php5/apache2/conf.d/20-apc.ini on line 4
PHP: syntax error, unexpected '(' in /etc/php5/apache2/conf.d/20-apc.ini on line 4
PHP: syntax error, unexpected '(' in /etc/php5/apache2/conf.d/20-apc.ini on line 4
PHP: syntax error, unexpected '(' in /etc/php5/apache2/conf.d/20-apc.ini on line 4
PHP: syntax error, unexpected '(' in /etc/php5/apache2/conf.d/20-apc.ini on line 4
PHP: syntax error, unexpected '(' in /etc/php5/apache2/conf.d/20-apc.ini on line 4
[Sat Jan 18 21:19:51 2014] [error] [client 108.162.221.155] File does not exist: /var/www/wordpress
[Sat Jan 18 21:19:56 2014] [error] [client 108.162.231.142] File does not exist: /var/www/wordpress
[Sat Jan 18 21:19:57 2014] [error] [client 108.162.231.142] File does not exist: /var/www/wordpress
[Sat Jan 18 21:20:21 2014] [error] [client 192.168.1.189] File does not exist: /var/www/currentsetting.htm
[Sat Jan 18 21:21:28 2014] [error] [client 192.168.1.189] File does not exist: /var/www/favicon.ico
[Sat Jan 18 21:24:31 2014] [error] [client 192.168.1.189] File does not exist: /var/www/currentsetting.htm
[Sat Jan 18 21:24:50 2014] [error] [client 108.162.221.155] File does not exist: /var/www/wordpress
PHP: syntax error, unexpected '(' in /etc/php5/apache2/conf.d/20-apc.ini on line 4
PHP: syntax error, unexpected '(' in /etc/php5/apache2/conf.d/20-apc.ini on line 4
PHP: syntax error, unexpected '(' in /etc/php5/apache2/conf.d/20-apc.ini on line 4
[Sat Jan 18 21:29:26 2014] [error] [client 192.168.1.189] File does not exist: /var/www/currentsetting.htm
[Sat Jan 18 21:29:57 2014] [error] [client 108.162.221.155] File does not exist: /var/www/wordpress
PHP: syntax error, unexpected '(' in /etc/php5/apache2/conf.d/20-apc.ini on line 4
PHP: syntax error, unexpected '(' in /etc/php5/apache2/conf.d/20-apc.ini on line 4
PHP: syntax error, unexpected '(' in /etc/php5/apache2/conf.d/20-apc.ini on line 4
PHP: syntax error, unexpected '(' in /etc/php5/apache2/conf.d/20-apc.ini on line 4
[Sat Jan 18 21:34:21 2014] [error] [client 192.168.1.189] File does not exist: /var/www/currentsetting.htm
[Sat Jan 18 21:34:53 2014] [error] [client 108.162.221.155] File does not exist: /var/www/wordpress
I need help, I do not know how to fix it and I have a fairly recent system backup. help
I tried to access mysql via phpmyadmin it tells me "Error # 2002 Can not log in to the MySQL server, Connection for controluser as defined in your configuration failed." what's the problem?