I've looked into it somewhat and here is what I found:
When I run the command:
sudo service redis-server restart
This would just hang with the following...
I must find the PID and kill it manually
I disovered that my `mysql_slow.log` was very large (> 75 GB)
I deleted it.
But when I restart mysql, I get this:
root@myserver:/var/lib/mysql# /etc/init.d/mysql restart
* Stopping MySQL (Percona Server) mysqld [ OK ]
* Starting MySQL (Percona Server) database server mysqld [ OK ]
* Checking for corrupt, not cleanly closed and upgrade needing tables.
root@myserver:/var/lib/mysql# ERROR 126 (HY000) at line 1: Incorrect key file for table '/tmp/#sql_1335_0.MYI'; try to repair it
I have Magento running on my server, and I use a command line tool called `n98-magerun.phar`. Recently I noticed when I try to call the binary I get errors:
user@myserver:/var/www/magento$ n98-magerun.phar --version
PHP Warning: include(phar:///usr/local/bin/n98-magerun.phar/vendor/composer/../../src/N98/Magento/Command/System/Setup/CompareVersionsCommand.php): failed to open stream: phar error: internal corruption of phar "/usr/local/bin/n98-magerun.phar" (actual filesize mismatch on file "src/N98/Magento/Command/System/Setup/CompareVersionsCommand.php") in phar:///usr/local/bin/n98-magerun.phar/vendor/composer/ClassLoader.php on line 440
PHP Warning: include(): Failed opening 'phar:///usr/local/bin/n98-magerun.phar/vendor/composer/../../src/N98/Magento/Command/System/Setup/CompareVersionsCommand.php' for inclusion (include_path='.:/usr/share/php') in phar:///usr/local/bin/n98-magerun.phar/vendor/composer/ClassLoader.php on line 440
Can not add nonexistent command class "N98\Magento\Command\System\Setup\CompareVersionsCommand" as command to the application
I have serveral cron jobs setup in:
Because of the above issue I have commented them out for now. Each one that is commented will need to be tested because they worked previously, and uncommented.
NOTE: My server is provisioned using Ansible, so while initially the work that you do can be performed directly on the server, the fix(es) must then be included in the Ansible scripts I use.
February 21, 2018
I am looking for a mix of experience and value