Skip to main content

Apache is not restarting on VPS

Comments

8 comments

  • Jcats
    Can you provide: tail -50 /etc/apache2/logs/error_log
    0
  • cPanelLauren
    Hi @hmk I moderated your post due to a large number of IP's and identifying information, could you please repost once more with the following: -CODE tags (you can find a quick link for these in the toolbar under the + sign for include) -Remove any actual IP's and Domains -tail -10 rather than tail -50 might also be better in this instance as well. Thank you,
    0
  • hmk
    [root@dns ~]# tail -10 /etc/apache2/logs/error_log [Wed Apr 04 00:56:26.937538 2018] [:error] [pid 14434] [client IP REMOVED:53520] WordPress database error Table './mysite_ueu/dx_sitemeta' is marked as crashed and should be repaired for query SHOW FULL COLUMNS FROM `dx_sitemeta` 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'), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, rltdpstsplgn_plugin_init, bws_include_init, update_site_option, update_network_option, add_network_option [Wed Apr 04 00:56:50.237842 2018] [:error] [pid 16426] [client IP REMOVED:58246] WordPress database error Table './mysite_ueu/dx_sitemeta' is marked as crashed and should be repaired for query SELECT meta_key, meta_value FROM dx_sitemeta WHERE meta_key IN ('site_name', 'siteurl', 'active_sitewide_plugins', '_site_transient_timeout_theme_roots', '_site_transient_theme_roots', 'site_admins', 'can_compress_scripts', 'global_terms_enabled', 'ms_files_rewriting') AND site_id = 1 made by require('wp-blog-header.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), require('wp-includes/ms-settings.php'), wp_load_core_site_options [Wed Apr 04 00:56:50.238467 2018] [:error] [pid 16426] [client IP REMOVED:58246] WordPress database error Table './mysite_ueu/dx_sitemeta' is marked as crashed and should be repaired for query SELECT meta_value FROM dx_sitemeta WHERE meta_key = 'site_name' AND site_id = 1 made by require('wp-blog-header.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), require('wp-includes/ms-settings.php'), WP_Network->__construct, WP_Network->_set_site_name, get_network_option [Wed Apr 04 00:56:50.238889 2018] [:error] [pid 16426] [client IP REMOVED:58246] WordPress database error Table './mysite_ueu/dx_sitemeta' is marked as crashed and should be repaired for query SELECT meta_value FROM dx_sitemeta WHERE meta_key = 'ms_files_rewriting' AND site_id = 1 made by require('wp-blog-header.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), require('wp-includes/ms-settings.php'), ms_upload_constants, get_site_option, get_network_option [Wed Apr 04 00:56:50.370129 2018] [:error] [pid 16426] [client IP REMOVED:58246] WordPress database error Table './mysite_ueu/dx_sitemeta' is marked as crashed and should be repaired for query SELECT meta_value FROM dx_sitemeta WHERE meta_key = 'active_sitewide_plugins' AND site_id = 1 made by require('wp-blog-header.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), wp_get_active_network_plugins, get_site_option, get_network_option [Wed Apr 04 00:56:50.370602 2018] [:error] [pid 16426] [client IP REMOVED:58246] WordPress database error Table './mysite_ueu/dx_sitemeta' is marked as crashed and should be repaired for query SELECT meta_value FROM dx_sitemeta WHERE meta_key = 'siteurl' AND site_id = 1 made by require('wp-blog-header.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), wp_cookie_constants, get_site_option, get_network_option [Wed Apr 04 00:56:50.450636 2018] [:error] [pid 16426] [client IP REMOVED:58246] WordPress database error Table './mysite_ueu/dx_sitemeta' is marked as crashed and should be repaired for query SELECT meta_value FROM dx_sitemeta WHERE meta_key = 'bstwbsftwppdtplgns_options' AND site_id = 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'), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, rltdpstsplgn_plugin_init, bws_include_init, get_site_option, get_network_option [Wed Apr 04 00:56:50.451867 2018] [:error] [pid 16426] [client IP REMOVED:58246] WordPress database error Table './mysite_ueu/dx_sitemeta' is marked as crashed and should be repaired for query SHOW FULL COLUMNS FROM `dx_sitemeta` 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'), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, rltdpstsplgn_plugin_init, bws_include_init, add_site_option, add_network_option [Wed Apr 04 00:56:50.452802 2018] [:error] [pid 16426] [client IP REMOVED:58246] WordPress database error Table './mysite_ueu/dx_sitemeta' is marked as crashed and should be repaired for query SHOW FULL COLUMNS FROM `dx_sitemeta` 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'), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, rltdpstsplgn_plugin_init, bws_include_init, update_site_option, update_network_option, add_network_option [Wed Apr 04 00:56:53.831521 2018] [mpm_prefork:notice] [pid 10236] AH00169: caught SIGTERM, shutting down
    0
  • Jcats
    What happens if you /scripts/rebuildhttpdconf /scripts/restartsrv_apache
    I would also repair that database table if you haven't already. mysqlcheck -r mysite_ueu dx_sitemeta
    0
  • hmk
    [root@dns ~]# /scripts/rebuildhttpdconf /usr/sbin/httpd: error while loading shared libraries: libaprutil-1.so.0: cannot open shared object file: No such file or directory /usr/sbin/httpd: error while loading shared libraries: libaprutil-1.so.0: cannot open shared object file: No such file or directory /usr/sbin/httpd: error while loading shared libraries: libaprutil-1.so.0: cannot open shared object file: No such file or directory warn [rebuildhttpdconf] Invalid Apache Config File, /usr/sbin/httpd /usr/sbin/httpd: error while loading shared libraries: libaprutil-1.so.0: cannot open shared object file: No such file or directory /usr/sbin/httpd: error while loading shared libraries: libaprutil-1.so.0: cannot open shared object file: No such file or directory warn [rebuildhttpdconf] Invalid Apache Config File, /usr/sbin/httpd warn [rebuildhttpdconf] Unable to detect Apache version from binary Can't use string ("Unable to detect Apache version "...) as a HASH ref while "strict refs" in use at /usr/local/cpanel/Cpanel/AdvConfig.pm line 68. Problem with Recent EasyApache Update | cPanel Blog (problem not solved with that patch) [root@dns ~]# ldd /usr/sbin/httpd linux-vdso.so.1 => (0x00007fffbede6000) libpcre.so.1 => /lib64/libpcre.so.1 (0x00007f271cbb0000) libselinux.so.1 => /lib64/libselinux.so.1 (0x00007f271c988000) libaprutil-1.so.0 => not found libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00007f271c751000) libexpat.so.1 => /lib64/libexpat.so.1 (0x00007f271c526000) libdb-5.3.so => /lib64/libdb-5.3.so (0x00007f271c167000) libapr-1.so.0 => not found libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f271bf4a000) libdl.so.2 => /lib64/libdl.so.2 (0x00007f271bd46000) libc.so.6 => /lib64/libc.so.6 (0x00007f271b983000) /lib64/ld-linux-x86-64.so.2 (0x0000557cf2405000) libfreebl3.so => /lib64/libfreebl3.so (0x00007f271b77f000) [root@dns ~]# /opt/cpanel/ea-apr16/lib64/libapr-1.so.0 Segmentation fault (core dumped) [root@dns ~]# /opt/cpanel/ea-apr16/lib64/libaprutil-1.so.0 Segmentation fault (core dumped) [root@dns ~]#
    0
  • cPanelLauren
    Hi @hmk Can you please open a ticket so that we can take a closer look? Once the ticket is open please add the ticket number here so we can track it as well. Thank you,
    0
  • hmk
    i managed to solve this issue myself thanks
    0
  • cPanelLauren
    Hello @hmk Thank you for the update I'm happy to hear that the issue is resolved. If you can, please post the steps taken to resolve the issue here so that they may help someone else experiencing the issue. Thank you,
    0

Please sign in to leave a comment.