Category: cPanel

The YUM cache is incomplete. The system is updating the cache to repair the issue. This operation can take a few minutes to complete (it is very network and disk i/o intensive). EasyApache 4 will be available as soon as possible

While accessing easyapache4 the following error was getting. The YUM cache is incomplete. The system is updating the cache to repair the issue. This operation can take a few minutes to complete (it is very network and disk i/o intensive). EasyApache 4 will be available as soon as possible.. Fixed by # yum clean all

[ERROR] mysqld: Event Scheduler: An error occurred when initializing system tables. Disabling the Event Scheduler.

Mysql was crashed and was not starting. Though we ran innodb_force_recovery to up the mysql, there were many issues like core tables were crashed, phpmyadmin was not showing databases, 16 length user character issue and so on. Also while checking mysql_upgrade_info file in the /var/lib/mysql directory, it was showing mysql5.6 though the server was having … Continue reading [ERROR] mysqld: Event Scheduler: An error occurred when initializing system tables. Disabling the Event Scheduler.

***** FATAL: Failed to download updatenow.static from server: (XID xxmzbe) The system aborted the subprocess “/bin/rpm” (process [asis,ID] “11248”) because it reached the timeout of [quant,_3,second,seconds]

The cPanel update was resulting generating the fatal error ++++ FATAL: Failed to download updatenow.static from server: (XID xxmzbe) The system aborted the subprocess “/bin/rpm” (process [asis,ID] “112486”) because it reached the timeout of [quant,_3,second,seconds] ++++ Tried running mkdir /root/old_rpm_dbs/ mv /var/lib/rpm/__db* /root/old_rpm_dbs/ rpm --rebuilddb But the issue was not fixed. Also ran /scripts/cpanel_rpm_fix but … Continue reading ***** FATAL: Failed to download updatenow.static from server: (XID xxmzbe) The system aborted the subprocess “/bin/rpm” (process [asis,ID] “11248”) because it reached the timeout of [quant,_3,second,seconds]

Fatal error: Uncaught Error: Class ‘DOMDocument’

A Magento website was down with following error. Fatal error: Uncaught Error: Class 'DOMDocument' not found in /home/bunnytech/public_html/vendor/magento/framework/Config/Dom.php:390 Stack trace: #0 /home/bunnytech/public_html/vendor/magento/framework/Config/Dom.php(117): Magento\Framework\Config\Dom->_initDom('<?xml version="...') The issue was that php xml module was not installed/enabled. "DOM/XML" should be in enabled state while accessing the php info page.

Database getting wiped out and loading sample default page in wordpress

Cause : ThemeGrill Demo Importer < 1.6.3 - Auth Bypass & Database Wipe A critical bug was reported with ThemeGrill Demo Importer plugin. This allows the affected plugin to execute some functions with administrative privileges on the WordPress website. The prerequisite is that there must be a theme installed and activated that was published by … Continue reading Database getting wiped out and loading sample default page in wordpress

Fatal error: Cannot redeclare views_views_plugins() – Drupal

Fatal error: Cannot redeclare views_views_plugins() (previously declared in /home/bunny/public_html/sites/all/modules/views/includes/plugins.inc:15) in /home/bunny/public_html/sites/all/modules/x/profiles/x/modules/contrib/views/includes/plugins.inc on line 425 Ran the url http://www.example.com/update.php (www.example.com being the website) If your settings.php file is properly configured, you should get an access denied message. In that case, go to the directory (/home/bunny/public_html/sites/default) and open the settings.php file. Look for the line $update_free_access = … Continue reading Fatal error: Cannot redeclare views_views_plugins() – Drupal

phpMyadmin : session_start(): open(SESSION_FILE, O_RDWR) failed: No such file or directory (2)

While accessing phpMyAdmin the following error was popping up Error during session start; please check your PHP and/or webserver log file and configure your PHP installation properly. Also ensure that cookies are enabled in your browser. session_start(): open(SESSION_FILE, O_RDWR) failed: No such file or directory (2) session_start(): Failed to read session data: files (path: ) … Continue reading phpMyadmin : session_start(): open(SESSION_FILE, O_RDWR) failed: No such file or directory (2)

To change document root of an account in cPanel

1. SSH into the server and go to # /var/cpanel/userdata/USERNAME/DOMAIN.COM 2. Edit the file replacing the “username” with your cPanel account username and “domain.com” with your primary domain name and “subdir” with your new directory. Find the following two lines in this file: documentroot: /home/username/public_html path: /home/username/public_html/cgi-bin 3. Now, look for Text Documentroot and edit … Continue reading To change document root of an account in cPanel